Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ba316af6d4 | |||
| 78d91fa36b | |||
| aef82d0cc2 | |||
| 6a4d5ac0ad |
@ -54,7 +54,7 @@
|
|||||||
<div class="layui-form">
|
<div class="layui-form">
|
||||||
<div class="layui-form-item df">
|
<div class="layui-form-item df">
|
||||||
<div class="layui-inline">
|
<div class="layui-inline">
|
||||||
<label class="layui-form-label" style="width: 140px;">是否参加2025年高考<i
|
<label class="layui-form-label" style="width: 140px !important;">是否参加2025年高考<i
|
||||||
class="must fs-20">*</i></label>
|
class="must fs-20">*</i></label>
|
||||||
<div class="layui-input-inline">
|
<div class="layui-input-inline">
|
||||||
<select name="currentExam" id="currentExam" lay-verify="requiredSelect" lay-verType="tips"
|
<select name="currentExam" id="currentExam" lay-verify="requiredSelect" lay-verType="tips"
|
||||||
@ -464,7 +464,7 @@
|
|||||||
if (file) {
|
if (file) {
|
||||||
let formData = new FormData();
|
let formData = new FormData();
|
||||||
formData.append('file', file);
|
formData.append('file', file);
|
||||||
axios.post('http://sms-auth.magicany.cc/student/upload', formData, {
|
axios.post('http://studentadmin.hshuishang.com/student/upload', formData, {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'multipart/form-data',
|
'Content-Type': 'multipart/form-data',
|
||||||
"Authorization": token
|
"Authorization": token
|
||||||
@ -472,7 +472,7 @@
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res.data.data.path);
|
console.log(res.data.data.path);
|
||||||
imgUrl2 = res.data.data.path
|
imgUrl2 = res.data.data.path
|
||||||
imgUrl = 'http://sms-auth.magicany.cc/' + res.data.data.path
|
imgUrl = 'http://studentadmin.hshuishang.com/' + res.data.data.path
|
||||||
$("#userPic").attr("src", imgUrl)
|
$("#userPic").attr("src", imgUrl)
|
||||||
$('#uploadPhoto').hide()
|
$('#uploadPhoto').hide()
|
||||||
$('.userImg').show()
|
$('.userImg').show()
|
||||||
@ -506,14 +506,14 @@
|
|||||||
if (file) {
|
if (file) {
|
||||||
let formData = new FormData();
|
let formData = new FormData();
|
||||||
formData.append('file', file);
|
formData.append('file', file);
|
||||||
axios.post('http://sms-auth.magicany.cc/student/upload', formData, {
|
axios.post('http://studentadmin.hshuishang.com/student/upload', formData, {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'multipart/form-data',
|
'Content-Type': 'multipart/form-data',
|
||||||
"Authorization": token
|
"Authorization": token
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
imgUrl3 = res.data.data.path
|
imgUrl3 = res.data.data.path
|
||||||
imgUrl4 = 'http://sms-auth.magicany.cc/' + res.data.data.path
|
imgUrl4 = 'http://studentadmin.hshuishang.com/' + res.data.data.path
|
||||||
$("#userPic2").attr("src", imgUrl4)
|
$("#userPic2").attr("src", imgUrl4)
|
||||||
$('#uploadPhoto2').hide()
|
$('#uploadPhoto2').hide()
|
||||||
$('.userImg2').show()
|
$('.userImg2').show()
|
||||||
@ -542,14 +542,12 @@
|
|||||||
//获取省份
|
//获取省份
|
||||||
let proviceList
|
let proviceList
|
||||||
function getCityTree() {
|
function getCityTree() {
|
||||||
axios.post('http://sms-auth.magicany.cc/student/cityTree', {
|
|
||||||
}, {
|
fetch('./static/js/area.json')
|
||||||
headers: {
|
.then(response => response.json())
|
||||||
'Content-Type': 'application/json',
|
.then(data => {
|
||||||
"Authorization": token
|
console.log(data); // 在这里使用 JSON 数据
|
||||||
}
|
proviceList = data
|
||||||
}).then(res => {
|
|
||||||
proviceList = res.data.data.list
|
|
||||||
$.each(proviceList, function (index, item) {
|
$.each(proviceList, function (index, item) {
|
||||||
$("#hukouProvince").append(`<option value="${item.id}">${item.name}</option>`);
|
$("#hukouProvince").append(`<option value="${item.id}">${item.name}</option>`);
|
||||||
$("#nextYearFinalExamProvince1").append(`<option value="${item.id}">${item.name}</option>`);
|
$("#nextYearFinalExamProvince1").append(`<option value="${item.id}">${item.name}</option>`);
|
||||||
@ -557,9 +555,8 @@
|
|||||||
$("#nextYearFinalExamProvince2").append(`<option value="${item.id}">${item.name}</option>`);
|
$("#nextYearFinalExamProvince2").append(`<option value="${item.id}">${item.name}</option>`);
|
||||||
});
|
});
|
||||||
|
|
||||||
}).catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
})
|
})
|
||||||
|
.catch(error => console.error('加载 JSON 出错:', error));
|
||||||
}
|
}
|
||||||
getCityTree()
|
getCityTree()
|
||||||
|
|
||||||
@ -683,203 +680,203 @@
|
|||||||
//不参加25高考
|
//不参加25高考
|
||||||
if (currentExam == 0) {
|
if (currentExam == 0) {
|
||||||
if (!gaokaoYear) {
|
if (!gaokaoYear) {
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写高考年份',
|
text: '请填写高考年份',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
if (!schoolName) {
|
if (!schoolName) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写大学名称',
|
text: '请填写大学名称',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!nextYearFinalExamProvince1) {
|
if (!nextYearFinalExamProvince1) {
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择26年高考省份',
|
text: '请选择26年高考省份',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!nextYearFinalExamGroup1) {
|
if (!nextYearFinalExamGroup1) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择26年高考组合',
|
text: '请选择26年高考组合',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!imgUrl3) {
|
if (!imgUrl3) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请上传证明材料',
|
text: '请上传证明材料',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
//参加25高考
|
//参加25高考
|
||||||
} else if (currentExam == 1) {
|
} else if (currentExam == 1) {
|
||||||
if (!examProvince) {
|
if (!examProvince) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择25年高考省份',
|
text: '请选择25年高考省份',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!thisYearFinalExamGroup) {
|
if (!thisYearFinalExamGroup) {
|
||||||
|
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择25年高考组合',
|
text: '请选择25年高考组合',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!finalExamNo) {
|
if (!finalExamNo) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写准考证号',
|
text: '请填写准考证号',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!kaoshenghao) {
|
if (!kaoshenghao) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写考生号',
|
text: '请填写考生号',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!finalExamTotalScore1) {
|
if (!finalExamTotalScore1) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写高考总成绩',
|
text: '请填写高考总成绩',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!finalExamRank1) {
|
if (!finalExamRank1) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写高考省排名',
|
text: '请填写高考省排名',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!checkScoreType1) {
|
if (!checkScoreType1) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写查验方式',
|
text: '请填写查验方式',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!nextYearFinalExamProvince2) {
|
if (!nextYearFinalExamProvince2) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择26年高考省份',
|
text: '请选择26年高考省份',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!nextYearFinalExamGroup2) {
|
if (!nextYearFinalExamGroup2) {
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择26年高考组合',
|
text: '请选择26年高考组合',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!imgUrl2) {
|
if (!imgUrl2) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请上传高考成绩截图',
|
text: '请上传高考成绩截图',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
axios.post('http://sms-auth.magicany.cc/student/college_score/add', {
|
axios.post('http://studentadmin.hshuishang.com/student/college_score/add', {
|
||||||
baseId: Number(localStorage.getItem('baseId')),
|
baseId: Number(localStorage.getItem('baseId')),
|
||||||
isJoin: isJoin,
|
isJoin: isJoin,
|
||||||
collegeYear: gaokaoYear,
|
collegeYear: gaokaoYear,
|
||||||
schoolName: schoolName,
|
schoolName: schoolName,
|
||||||
province: examProvince,
|
province: Number(examProvince),
|
||||||
preselection: Number(thisYearFinalExamGroup),
|
preselection: Number(thisYearFinalExamGroup),
|
||||||
admissionTicket: finalExamNo,
|
admissionTicket: finalExamNo,
|
||||||
studentId: kaoshenghao,
|
studentId: kaoshenghao,
|
||||||
total: Number(finalExamTotalScore1),
|
total: Number(finalExamTotalScore1),
|
||||||
ranking: finalExamRank1,
|
ranking: Number(finalExamRank1),
|
||||||
authUrl: checkScoreType1,
|
authUrl: checkScoreType1,
|
||||||
nextProvince: Number(province),
|
nextProvince: Number(province),
|
||||||
nextPreselection: Number(preselection),
|
nextPreselection: Number(preselection),
|
||||||
@ -896,25 +893,25 @@
|
|||||||
console.log(res);
|
console.log(res);
|
||||||
if (res.status == 500) {
|
if (res.status == 500) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: res.response.data.msg,
|
text: res.response.data.msg,
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '提交成功',
|
text: '提交成功',
|
||||||
icon: 'success', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'success', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -928,7 +925,7 @@
|
|||||||
let allSubject
|
let allSubject
|
||||||
//获取学科
|
//获取学科
|
||||||
function AllSub(e) {
|
function AllSub(e) {
|
||||||
axios.post('http://sms-auth.magicany.cc/student/allSubject', {
|
axios.post('http://studentadmin.hshuishang.com/student/allSubject', {
|
||||||
name: e,
|
name: e,
|
||||||
}, {
|
}, {
|
||||||
headers: {
|
headers: {
|
||||||
@ -959,7 +956,7 @@
|
|||||||
$("#exit").click(function () {
|
$("#exit").click(function () {
|
||||||
localStorage.removeItem('baseId')
|
localStorage.removeItem('baseId')
|
||||||
localStorage.removeItem('authToken')
|
localStorage.removeItem('authToken')
|
||||||
localStorage.removeItem('authToken')
|
window.location.href = './login.html'
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
742
finalExamScore2.html
Normal file
742
finalExamScore2.html
Normal file
@ -0,0 +1,742 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<meta name="renderer" content="webkit" />
|
||||||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||||
|
<title>高考信息</title>
|
||||||
|
<link type="text/css" rel="stylesheet" href="./assets/layui/css/layui.css" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="./assets/css/common.css" />
|
||||||
|
<link type="text/css" rel="stylesheet" href="./assets/css/mobile/info.css" />
|
||||||
|
<link rel="stylesheet" href="./newCSS/finalExamScore.css">
|
||||||
|
<link href="./newCSS/sweetalert2.min.css" rel="stylesheet">
|
||||||
|
<style type="text/css">
|
||||||
|
.layui-input,
|
||||||
|
.layui-textarea {
|
||||||
|
width: 80%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.layui-form-label {
|
||||||
|
width: 100px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body class="pd-20">
|
||||||
|
<div class="layui-layout layui-layout-admin">
|
||||||
|
<!-- 头部区域 -->
|
||||||
|
<div class="layui-header">
|
||||||
|
<div class="layui-logo">学生端信息管理</div>
|
||||||
|
<ul class="layui-nav layui-layout-right">
|
||||||
|
<li class="layui-nav-item">
|
||||||
|
<div id="exit">安全退出</div>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- 左侧导航区域 -->
|
||||||
|
<div class="layui-side layui-bg-black">
|
||||||
|
<div class="layui-side-scroll">
|
||||||
|
<ul class="layui-nav layui-nav-tree">
|
||||||
|
<li class="layui-nav-item layui-nav-itemed">
|
||||||
|
<a href="javascript:;">个人中心</a>
|
||||||
|
<dl class="layui-nav-child">
|
||||||
|
<dd class=""><a href="./nav.html">报名进度</a></dd>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="layui-body">
|
||||||
|
<p class="tips mb-20 fs-16">请填写高考信息</p>
|
||||||
|
<div class="layui-form">
|
||||||
|
<div class="layui-form-item df">
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label" style="width: 140px !important;">是否参加2025年高考<i
|
||||||
|
class="must fs-20">*</i></label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<select name="currentExam" id="currentExam" disabled lay-verify="requiredSelect"
|
||||||
|
lay-verType="tips" lay-filter="currentExam">
|
||||||
|
<option value="">请选择</option>
|
||||||
|
<option value="1">是</option>
|
||||||
|
<option value="0">否</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="final-exam-content-0 layui-hide disabled ">
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline finalExamYear-content ">
|
||||||
|
<label class="layui-form-label">高考年份</label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<input type="text" name="finalExamYear" disabled placeholder="请输入高考年份"
|
||||||
|
autocomplete="off" class="layui-input finalExamYear-content-item" id="gaokaoYear"
|
||||||
|
lay-verify="" lay-vertype="tips" value="">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-inline finalExamYear-content">
|
||||||
|
<label class="layui-form-label">大学名称</label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<input type="text" name="finalExamSchool" disabled placeholder="请输入大学名称"
|
||||||
|
autocomplete="off" class="layui-input finalExamYear-content-item" id="schoolName"
|
||||||
|
lay-verify="" lay-vertype="tips" value="">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label" style="width: 125px">2026年高考省份<i
|
||||||
|
class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<select name="nextYearFinalExamProvince1" disabled id="nextYearFinalExamProvince1"
|
||||||
|
lay-verify="" lay-vertype="tips" lay-search lay-filter="nextExamProvice1">
|
||||||
|
<option value=""></option>
|
||||||
|
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label" style="width: 125px">2026年高考组合<i
|
||||||
|
class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<select name="nextYearFinalExamGroup1" disabled id="nextYearFinalExamGroup1"
|
||||||
|
lay-verify="" lay-verType="tips">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="1">1物理化学政治</option>
|
||||||
|
<option value="2">2物理化学生物</option>
|
||||||
|
<option value="3">3物理化学地理</option>
|
||||||
|
<option value="4">4物理生物地理</option>
|
||||||
|
<option value="5">5物理生物政治</option>
|
||||||
|
<option value="6">6物理政治地理</option>
|
||||||
|
<option value="7">7历史化学地理</option>
|
||||||
|
<option value="8">8历史化学政治</option>
|
||||||
|
<option value="9">9历史生物地理</option>
|
||||||
|
<option value="10">10历史化学生物</option>
|
||||||
|
<option value="11">11历史政治生物</option>
|
||||||
|
<option value="12">12历史政治地理</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<fieldset class="layui-elem-field layui-field-title border-blue finalExamYear-content ">
|
||||||
|
<legend>证明材料</legend>
|
||||||
|
<p class="tips mb-20 fs-16">
|
||||||
|
请上传以下四种方式一项截图即可<br>1.大学录取通知书<br>2.大学证明(盖章)<br>3.学信网相关记录<br>4.其他证明材料</p>
|
||||||
|
<div class="layui-field-box personPic" style="padding: 10px 270px;">
|
||||||
|
<label class="layui-upload-drag left" id="uploadPhoto2">
|
||||||
|
<img src="./newImg/upload.png" id="upload" alt="">
|
||||||
|
<p>点击上传</p>
|
||||||
|
<b class="must">*请上传 一寸证件照片</b>
|
||||||
|
<p>照片大小:<span class="must">10M以内</span></p>
|
||||||
|
<p>照片格式:<span class="must">jpg,png,jpeg</span></p>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div class="userImg2">
|
||||||
|
<img src="" id="userPic2" alt="">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input type="file" id="upload2" accept="image/*">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-input-block">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="final-exam-content-1 ">
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label" style="width: 100px;">2025高考省份<i
|
||||||
|
class="must fs-20">*</i></label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<select name="finalExamProvince" disabled id="examProvince" lay-verify=""
|
||||||
|
lay-verType="tips" lay-filter="finalExamProvince" class="currentExam-item-select">
|
||||||
|
<option value=""></option>
|
||||||
|
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label" style="width: 100px">2025高考组合 <i class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<select name="thisYearFinalExamGroup" disabled id="thisYearFinalExamGroup" lay-verify=""
|
||||||
|
lay-filter="finalExamGroup" lay-verType="tips" class="currentExam-item-select">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="1">1物理化学政治</option>
|
||||||
|
<option value="2">2物理化学生物</option>
|
||||||
|
<option value="3">3物理化学地理</option>
|
||||||
|
<option value="4">4物理生物地理</option>
|
||||||
|
<option value="5">5物理生物政治</option>
|
||||||
|
<option value="6">6物理政治地理</option>
|
||||||
|
<option value="7">7历史化学地理</option>
|
||||||
|
<option value="8">8历史化学政治</option>
|
||||||
|
<option value="9">9历史生物地理</option>
|
||||||
|
<option value="10">10历史化学生物</option>
|
||||||
|
<option value="11">11历史政治生物</option>
|
||||||
|
<option value="12">12历史政治地理</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-inline">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- <div class="score-content" style="max-width: 1000px;">
|
||||||
|
<p class="tip left">~ 请先选择高考省份 ~</p>
|
||||||
|
<div class="layui-clear"></div>
|
||||||
|
</div> -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="score-content" style="max-width: 1000px;">
|
||||||
|
<p class="tips mb-20 fs-16">如考生号和准考证号只有一项,准考证号与考生号请填写一致,外语科目为非英语科目学生不予录取</p>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline"> <label class="layui-form-label">准考证号 <i class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline"> <input type="text" disabled name="finalExamNo"
|
||||||
|
placeholder="请输入高考准考证号" id="finalExamNo" autocomplete="off" class="layui-input"
|
||||||
|
lay-verify="required" lay-vertype="tips"> </div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline"> <label class="layui-form-label">考生号 <i class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline"> <input type="text" id="kaoshenghao" name="kaoshenghao"
|
||||||
|
disabled placeholder="请输入考生号" autocomplete="off" class="layui-input"
|
||||||
|
lay-verify="required" lay-vertype="tips">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item Allsub">
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="m-content">
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label">高考总成绩 <i class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<input type="number" name="finalExamTotalScore1" id="finalExamTotalScore1" disabled
|
||||||
|
placeholder="请输入高考总成绩" autocomplete="off" class="layui-input" lay-verify=""
|
||||||
|
lay-vertype="tips">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label">高考省排名 <i class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<input type="number" name="finalExamRank1" id="finalExamRank1" disabled
|
||||||
|
placeholder="请输入高考省排名" autocomplete="off" class="layui-input" lay-verify=""
|
||||||
|
lay-vertype="tips">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<p class="tips mb-20 fs-16">请提供高考查分网址 查分用户名 密码 只用于验证成绩真伪</p>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item layui-form-text df">
|
||||||
|
<label class="layui-form-label">查分验证<br>方式 <i class="must">*</i></label>
|
||||||
|
<div class="layui-input-block flex1" style="max-width: 510px;">
|
||||||
|
<textarea name="checkScoreType1" id="checkScoreType1" disabled
|
||||||
|
placeholder="请提供高考查分网址 查分用户名 密码 只用于验证成绩真伪" class="layui-textarea" lay-verify=""
|
||||||
|
lay-vertype="tips"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label" style="width: 125px">2026年高考省份<i class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<select name="nextYearFinalExamProvince2" id="nextYearFinalExamProvince2" lay-verify=""
|
||||||
|
disabled lay-vertype="tips" lay-search="" lay-filter="nextExamProvice2">
|
||||||
|
<option value=""></option>
|
||||||
|
|
||||||
|
</select>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label" style="width: 125px">2026年高考组合 <i class="must">*</i></label>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<select name="nextYearFinalExamGroup2" disabled id="nextYearFinalExamGroup2"
|
||||||
|
lay-verify="" lay-vertype="tips" lay-search lay-filter="nextYearFinalExamGroup2">
|
||||||
|
<option value=""></option>
|
||||||
|
<option value="1">1物理化学政治</option>
|
||||||
|
<option value="2">2物理化学生物</option>
|
||||||
|
<option value="3">3物理化学地理</option>
|
||||||
|
<option value="4">4物理生物地理</option>
|
||||||
|
<option value="5">5物理生物政治</option>
|
||||||
|
<option value="6">6物理政治地理</option>
|
||||||
|
<option value="7">7历史化学地理</option>
|
||||||
|
<option value="8">8历史化学政治</option>
|
||||||
|
<option value="9">9历史生物地理</option>
|
||||||
|
<option value="10">10历史化学生物</option>
|
||||||
|
<option value="11">11历史政治生物</option>
|
||||||
|
<option value="12">12历史政治地理</option>
|
||||||
|
</select>
|
||||||
|
<div class="layui-unselect layui-form-select">
|
||||||
|
<div class="layui-select-title"><input type="text" placeholder="请选择" value=""
|
||||||
|
readonly="" class="layui-input layui-unselect"><i class="layui-edge"></i>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="m-content">
|
||||||
|
<fieldset class="layui-elem-field layui-field-title border-blue">
|
||||||
|
<legend>高考成绩截图</legend>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="layui-field-box personPic" style="padding: 10px 270px;">
|
||||||
|
<label class="layui-upload-drag left" id="uploadPhoto">
|
||||||
|
<img src="./newImg/upload.png" id="upload" alt="">
|
||||||
|
<p>点击上传</p>
|
||||||
|
<b class="must">*请上传 一寸证件照片</b>
|
||||||
|
<p>照片大小:<span class="must">10M以内</span></p>
|
||||||
|
<p>照片格式:<span class="must">jpg,png,jpeg</span></p>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div class="userImg">
|
||||||
|
<img src="" id="userPic" alt="">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<input type="file" id="upload1" accept="image/*">
|
||||||
|
|
||||||
|
<div class="layui-show-drag left layui-hide" id="showPhoto">
|
||||||
|
<div style="margin-bottom: 5px;">
|
||||||
|
<img src="" height="125">
|
||||||
|
</div>
|
||||||
|
<button class="layui-btn layui-btn-danger layui-btn-sm" type="button"
|
||||||
|
id="deletePhoto">删除图片</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item df2">
|
||||||
|
<div class="layui-input-block">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- <div>
|
||||||
|
<blockquote class="layui-elem-quote">
|
||||||
|
<h3>如有疑问,可扫码咨询:</h3>
|
||||||
|
<hr>
|
||||||
|
<div class="ml-30">
|
||||||
|
<img src="/newImg/qrcode.png">
|
||||||
|
</div>
|
||||||
|
</blockquote>
|
||||||
|
</div> -->
|
||||||
|
|
||||||
|
<div class="form-content layui-hide">
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label">高考总成绩 <i class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<input type="number" name="finalExamTotalScore1" id="finalExamTotalScore1" disabled
|
||||||
|
placeholder="请输入高考总成绩" autocomplete="off" class="layui-input" lay-verify=""
|
||||||
|
lay-vertype="tips">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label">高考省排名 <i class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline">
|
||||||
|
<input type="number" name="finalExamRank1" id="finalExamRank1" placeholder="请输入高考省排名"
|
||||||
|
disabled autocomplete="off" class="layui-input" lay-verify="" lay-vertype="tips">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<p class="tips mb-20 fs-16">请提供高考查分网址 查分用户名 密码 只用于验证成绩真伪</p>
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item layui-form-text">
|
||||||
|
<label class="layui-form-label">查分验证<br>方式 <i class="must">*</i></label>
|
||||||
|
<div class="layui-input-block" style="max-width: 510px;">
|
||||||
|
<textarea name="checkScoreType1" id="checkScoreType1" disabled
|
||||||
|
placeholder="请提供高考查分网址 查分用户名 密码 只用于验证成绩真伪" class="layui-textarea" lay-verify=""
|
||||||
|
lay-vertype="tips"></textarea>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label" style="width: 125px">2026年高考省份 <i class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline" style="margin-left: 155px;">
|
||||||
|
<select name="nextYearFinalExamProvince3" id="nextYearFinalExamProvince3" disabled
|
||||||
|
lay-verify="requiredSelect" lay-vertype="tips" lay-filter="nextExamProvice2">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-inline">
|
||||||
|
<label class="layui-form-label" style="width: 125px">2026年高考组合4 <i
|
||||||
|
class="must">*</i></label>
|
||||||
|
<div class="layui-input-inline" style="margin-left: 155px;">
|
||||||
|
<select name="nextYearFinalExamGroup4" id="nextYearFinalExamProvince4" disabled
|
||||||
|
lay-verify=lay-verType="tips">
|
||||||
|
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fieldset class="layui-elem-field layui-field-title border-blue">
|
||||||
|
<hr class="layui-bg-blue">
|
||||||
|
<legend>高考成绩截图</legend>
|
||||||
|
<div class="layui-field-box center">
|
||||||
|
<div class="layui-upload-drag center" id="uploadScorePhoto">
|
||||||
|
<img src="./newImg/upload.png" id="upload" alt="">
|
||||||
|
|
||||||
|
<p>点击上传,或将文件拖拽到此处</p>
|
||||||
|
<p>照片大小:<span class="must">10M以内</span></p>
|
||||||
|
<p>照片格式:<span class="must">jpg,png,jpeg</span></p>
|
||||||
|
</div>
|
||||||
|
<div class="layui-show-drag center layui-hide" id="showPhoto">
|
||||||
|
<div style="margin-bottom: 5px;">
|
||||||
|
<img src="" height="125">
|
||||||
|
</div>
|
||||||
|
<button class="layui-btn layui-btn-danger layui-btn-sm" type="button"
|
||||||
|
id="deleteScorePhoto_r">删除图片</button>
|
||||||
|
</div>
|
||||||
|
<input type="hidden" name="finalScorePhotoUrl" id="finalScorePhotoUrl">
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
<div class="layui-form-item">
|
||||||
|
<div class="layui-input-block" style="margin-left: 0; text-align: center;">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
<script src="./static/js/jquery.js"></script>
|
||||||
|
<script src="./static/js/axios.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
<script src="./static/js/sweetalert2.min.js"></script>
|
||||||
|
<script>
|
||||||
|
let token = localStorage.getItem("authToken")
|
||||||
|
if (!token) {
|
||||||
|
Swal.fire({
|
||||||
|
title: '提示',
|
||||||
|
text: '请重新登录',
|
||||||
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
}).then(res => {
|
||||||
|
if (res.isConfirmed) {
|
||||||
|
window.location.href = './login.html'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// 高考成绩截图
|
||||||
|
$('#uploadPhoto').click(function () {
|
||||||
|
$("#upload1").click()
|
||||||
|
})
|
||||||
|
let imgUrl
|
||||||
|
let imgUrl2
|
||||||
|
$("#upload1").change(function (e) {
|
||||||
|
let file = e.target.files[0];
|
||||||
|
if (file) {
|
||||||
|
let formData = new FormData();
|
||||||
|
formData.append('file', file);
|
||||||
|
axios.post('http://studentadmin.hshuishang.com/student/upload', formData, {
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'multipart/form-data',
|
||||||
|
"Authorization": token
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
console.log(res.data.data.path);
|
||||||
|
imgUrl2 = res.data.data.path
|
||||||
|
imgUrl = 'http://studentadmin.hshuishang.com/' + res.data.data.path
|
||||||
|
$("#userPic").attr("src", imgUrl)
|
||||||
|
$('#uploadPhoto').hide()
|
||||||
|
$('.userImg').show()
|
||||||
|
|
||||||
|
// 清除输入框的值
|
||||||
|
$("#upload1").val('');
|
||||||
|
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
})
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#close").click(function () {
|
||||||
|
$("#userPic").attr("src", '')
|
||||||
|
$('#uploadPhoto').show()
|
||||||
|
$('.userImg').hide()
|
||||||
|
// 清除输入框的值
|
||||||
|
$("#upload1").val('');
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
// 证明材料
|
||||||
|
$('#uploadPhoto2').click(function () {
|
||||||
|
$("#upload2").click()
|
||||||
|
})
|
||||||
|
let imgUrl3
|
||||||
|
let imgUrl4
|
||||||
|
$("#upload2").change(function (e) {
|
||||||
|
let file = e.target.files[0];
|
||||||
|
if (file) {
|
||||||
|
let formData = new FormData();
|
||||||
|
formData.append('file', file);
|
||||||
|
axios.post('http://studentadmin.hshuishang.com/student/upload', formData, {
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'multipart/form-data',
|
||||||
|
"Authorization": token
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
imgUrl3 = res.data.data.path
|
||||||
|
imgUrl4 = 'http://studentadmin.hshuishang.com/' + res.data.data.path
|
||||||
|
$("#userPic2").attr("src", imgUrl4)
|
||||||
|
$('#uploadPhoto2').hide()
|
||||||
|
$('.userImg2').show()
|
||||||
|
|
||||||
|
// 清除输入框的值
|
||||||
|
$("#upload2").val('');
|
||||||
|
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
})
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
$("#close2").click(function () {
|
||||||
|
$("#userPic2").attr("src", '')
|
||||||
|
$('#uploadPhoto2').show()
|
||||||
|
$('.userImg2').hide()
|
||||||
|
imgUrl3 = ''
|
||||||
|
imgUrl4 = ''
|
||||||
|
|
||||||
|
// 清除输入框的值
|
||||||
|
$("#upload2").val('');
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
//获取省份
|
||||||
|
let proviceList
|
||||||
|
function getCityTree() {
|
||||||
|
|
||||||
|
fetch('./static/js/area.json')
|
||||||
|
.then(response => response.json())
|
||||||
|
.then(data => {
|
||||||
|
console.log(data); // 在这里使用 JSON 数据
|
||||||
|
proviceList = data
|
||||||
|
$.each(proviceList, function (index, item) {
|
||||||
|
$("#hukouProvince").append(`<option value="${item.id}">${item.name}</option>`);
|
||||||
|
$("#nextYearFinalExamProvince1").append(`<option value="${item.id}">${item.name}</option>`);
|
||||||
|
$("#examProvince").append(`<option value="${item.id}">${item.name}</option>`);
|
||||||
|
$("#nextYearFinalExamProvince2").append(`<option value="${item.id}">${item.name}</option>`);
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
})
|
||||||
|
.catch(error => console.error('加载 JSON 出错:', error));
|
||||||
|
}
|
||||||
|
getCityTree()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
let currentValue
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
$("#btn1").click(function () {
|
||||||
|
submit()
|
||||||
|
})
|
||||||
|
|
||||||
|
$("#btn2").click(function () {
|
||||||
|
submit()
|
||||||
|
})
|
||||||
|
|
||||||
|
let allSubject
|
||||||
|
//获取学科
|
||||||
|
function AllSub(e) {
|
||||||
|
axios.post('http://studentadmin.hshuishang.com/student/allSubject', {
|
||||||
|
name: e,
|
||||||
|
}, {
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'multipart/form-data',
|
||||||
|
"Authorization": token
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
console.log(res.data.data.list);
|
||||||
|
allSubject = res.data.data.list
|
||||||
|
|
||||||
|
|
||||||
|
// 创建一个Map来存储合并后的对象
|
||||||
|
const mergedMap = new Map();
|
||||||
|
|
||||||
|
// 合并第一个数组
|
||||||
|
allSubject.forEach(item => {
|
||||||
|
mergedMap.set(item.id, { ...item });
|
||||||
|
});
|
||||||
|
|
||||||
|
// 合并第二个数组,保留已有属性
|
||||||
|
obj.scoreInfo.forEach(item => {
|
||||||
|
const existing = mergedMap.get(item.id) || {};
|
||||||
|
mergedMap.set(item.id, { ...existing, ...item });
|
||||||
|
});
|
||||||
|
|
||||||
|
// 转换回数组
|
||||||
|
const mergedArray = Array.from(mergedMap.values());
|
||||||
|
|
||||||
|
|
||||||
|
const mergedArray2 = allSubject.map(item1 => {
|
||||||
|
const matchingItem2 = obj.scoreInfo.find(item2 => item2.subjectId === item1.id);
|
||||||
|
return {
|
||||||
|
...item1,
|
||||||
|
...matchingItem2
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
|
console.log(mergedArray,'asdsad');
|
||||||
|
|
||||||
|
|
||||||
|
$.each(mergedArray2, function (index, item) {
|
||||||
|
|
||||||
|
$(".Allsub").append(
|
||||||
|
`
|
||||||
|
<div class="layui-inline"> <label class="layui-form-label">${item.name}</label>
|
||||||
|
<div class="layui-input-inline"> <input type="hidden" name="subjectId" value="1"> <input
|
||||||
|
disabled type="number" name="score" id="${'all' + item.id}" placeholder="请输入分数" autocomplete="off"
|
||||||
|
value=${item.score} class="layui-input"> </div>
|
||||||
|
</div>
|
||||||
|
`
|
||||||
|
)
|
||||||
|
});
|
||||||
|
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err);
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$("#exit").click(function () {
|
||||||
|
localStorage.removeItem('baseId')
|
||||||
|
localStorage.removeItem('authToken')
|
||||||
|
window.location.href = './login.html'
|
||||||
|
})
|
||||||
|
|
||||||
|
let obj = {}
|
||||||
|
function getInfo() {
|
||||||
|
|
||||||
|
axios.post('http://studentadmin.hshuishang.com/student/loginInfo', {}, {
|
||||||
|
headers: {
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
"Authorization": token
|
||||||
|
}
|
||||||
|
}).then(res => {
|
||||||
|
console.log(res.data.data.info.collegeInfo);
|
||||||
|
|
||||||
|
obj = res.data.data.info.collegeInfo
|
||||||
|
|
||||||
|
let isJoin = obj.isJoin == 0 ? 2 : 1
|
||||||
|
|
||||||
|
console.log(isJoin, '2323');
|
||||||
|
if (isJoin == 1) {
|
||||||
|
|
||||||
|
$('.final-exam-content-0').addClass('layui-hide')
|
||||||
|
$('.final-exam-content-0').addClass('disabled')
|
||||||
|
$('.final-exam-content-1 ').show()
|
||||||
|
$(".score-content").show()
|
||||||
|
} else {
|
||||||
|
$(".score-content").hide()
|
||||||
|
$('.final-exam-content-1 ').hide()
|
||||||
|
$('.final-exam-content-0').removeClass('layui-hide')
|
||||||
|
$('.final-exam-content-0').removeClass('disabled')
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//是否参加25高考
|
||||||
|
$('#currentExam').val(isJoin)
|
||||||
|
//25高考省份
|
||||||
|
$("#examProvince").val(obj.province)
|
||||||
|
//25高考组合
|
||||||
|
$('#thisYearFinalExamGroup').val(obj.preselection)
|
||||||
|
//准考证号
|
||||||
|
$("#finalExamNo").val(obj.admissionTicket)
|
||||||
|
//考生号
|
||||||
|
$('#kaoshenghao').val(obj.studentId)
|
||||||
|
//总分
|
||||||
|
$("#finalExamTotalScore1").val(obj.total)
|
||||||
|
//排名
|
||||||
|
$("#finalExamRank1").val(obj.ranking)
|
||||||
|
//查分方式
|
||||||
|
$("#checkScoreType1").val(obj.authUrl)
|
||||||
|
|
||||||
|
// //26高考省份
|
||||||
|
$("#nextYearFinalExamProvince2").val(obj.nextProvince)
|
||||||
|
$("#nextYearFinalExamProvince1").val(obj.nextProvince)
|
||||||
|
|
||||||
|
console.log(obj.nextProvince);
|
||||||
|
|
||||||
|
|
||||||
|
// //26高考组合
|
||||||
|
$("#nextYearFinalExamGroup2").val(obj.preselection)
|
||||||
|
|
||||||
|
//高考年份
|
||||||
|
$("#gaokaoYear").val(obj.collegeYear)
|
||||||
|
//大学名称
|
||||||
|
$("#schoolName").val(obj.schoolName)
|
||||||
|
//26年组合
|
||||||
|
$("#nextYearFinalExamGroup1").val(obj.nextPreselection)
|
||||||
|
|
||||||
|
imgUrl = 'http://studentadmin.hshuishang.com/' + obj.pic
|
||||||
|
imgUrl4 = 'http://studentadmin.hshuishang.com/' + obj.material
|
||||||
|
|
||||||
|
$("#userPic").attr("src", imgUrl)
|
||||||
|
$('#uploadPhoto').hide()
|
||||||
|
$('.userImg').show()
|
||||||
|
|
||||||
|
$("#userPic2").attr("src", imgUrl4)
|
||||||
|
$('#uploadPhoto2').hide()
|
||||||
|
$('.userImg2').show()
|
||||||
|
|
||||||
|
// 清除输入框的值
|
||||||
|
$("#upload2").val('');
|
||||||
|
|
||||||
|
let name
|
||||||
|
proviceList.forEach(item => {
|
||||||
|
if (item.id == obj.province) {
|
||||||
|
name = item.name
|
||||||
|
return
|
||||||
|
}
|
||||||
|
});
|
||||||
|
AllSub(name)
|
||||||
|
|
||||||
|
}).catch(error => {
|
||||||
|
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
getInfo()
|
||||||
|
|
||||||
|
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</html>
|
||||||
239
index.html
239
index.html
@ -14,6 +14,16 @@
|
|||||||
<link rel="stylesheet" href="./newCSS/enroll.css">
|
<link rel="stylesheet" href="./newCSS/enroll.css">
|
||||||
<link href="./newCSS/sweetalert2.min.css" rel="stylesheet">
|
<link href="./newCSS/sweetalert2.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
<style>
|
||||||
|
@media (max-width:1000px){
|
||||||
|
.personPic .left{
|
||||||
|
margin-left: 0 !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="bg">
|
<body class="bg">
|
||||||
@ -329,7 +339,7 @@
|
|||||||
|
|
||||||
<div class="radioBox">
|
<div class="radioBox">
|
||||||
<label>
|
<label>
|
||||||
<input type="radio" id="te2" name="isSpecial" value="0" title="否"
|
<input type="radio" id="te2" name="isSpecial" value="2" title="否"
|
||||||
lay-verify="otherReq" lay-vertype="tips" lay-filter="isSpecial" checked>
|
lay-verify="otherReq" lay-vertype="tips" lay-filter="isSpecial" checked>
|
||||||
否
|
否
|
||||||
</label>
|
</label>
|
||||||
@ -472,58 +482,67 @@
|
|||||||
</p>
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script src="https://code.jquery.com/jquery-3.7.1.js"
|
|
||||||
integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4=" crossorigin="anonymous"></script>
|
<script src="./static/js/jquery.js"></script>
|
||||||
|
|
||||||
<script src="./static/js/axios.min.js"></script>
|
<script src="./static/js/axios.min.js"></script>
|
||||||
|
|
||||||
<script src="./static/js/sweetalert2.min.js"></script>
|
<script src="./static/js/sweetalert2.min.js"></script>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
let token = localStorage.getItem("authToken")
|
let token = localStorage.getItem("authToken")
|
||||||
//省份树
|
//省份树
|
||||||
let proviceList
|
let proviceList
|
||||||
function getCityTree() {
|
function getCityTree() {
|
||||||
axios.post('http://sms-auth.magicany.cc/student/cityTree', {
|
// axios.post('http://studentadmin.hshuishang.com/student/cityTree', {
|
||||||
}, {
|
// }, {
|
||||||
headers: {
|
// headers: {
|
||||||
'Content-Type': 'application/json',
|
// 'Content-Type': 'application/json',
|
||||||
"Authorization": token
|
// "Authorization": token
|
||||||
}
|
// }
|
||||||
}).then(res => {
|
// }).then(res => {
|
||||||
proviceList = res.data.data.list
|
// proviceList = res.data.data.list
|
||||||
|
// $.each(proviceList, function (index, item) {
|
||||||
|
// $("#hukouProvince").append(`<option value="${item.id}">${item.name}</option>`);
|
||||||
|
// $("#graduateProvince").append(`<option value="${item.id}">${item.name}</option>`);
|
||||||
|
// });
|
||||||
|
|
||||||
|
// }).catch(err => {
|
||||||
|
// console.log(err);
|
||||||
|
// })
|
||||||
|
fetch('./static/js/area.json')
|
||||||
|
.then(response => response.json())
|
||||||
|
.then(data => {
|
||||||
|
console.log(data); // 在这里使用 JSON 数据
|
||||||
|
proviceList = data
|
||||||
$.each(proviceList, function (index, item) {
|
$.each(proviceList, function (index, item) {
|
||||||
$("#hukouProvince").append(`<option value="${item.id}">${item.name}</option>`);
|
$("#hukouProvince").append(`<option value="${item.id}">${item.name}</option>`);
|
||||||
$("#graduateProvince").append(`<option value="${item.id}">${item.name}</option>`);
|
$("#graduateProvince").append(`<option value="${item.id}">${item.name}</option>`);
|
||||||
});
|
});
|
||||||
|
|
||||||
}).catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
})
|
})
|
||||||
|
.catch(error => console.error('加载 JSON 出错:', error));
|
||||||
}
|
}
|
||||||
getCityTree()
|
getCityTree()
|
||||||
|
|
||||||
let taLentList
|
let taLentList
|
||||||
//特长树
|
//特长树
|
||||||
function getTalentTree() {
|
function getTalentTree() {
|
||||||
axios.post('http://sms-auth.magicany.cc/student/talentTree', {
|
|
||||||
}, {
|
fetch('./static/js/talent.json')
|
||||||
headers: {
|
.then(response => response.json())
|
||||||
'Content-Type': 'application/json',
|
.then(data => {
|
||||||
}
|
taLentList = data.data.list
|
||||||
}).then(res => {
|
|
||||||
taLentList = res.data.data.list
|
|
||||||
let HTMLS = '<option value=></option>'
|
let HTMLS = '<option value=></option>'
|
||||||
$.each(taLentList, function (index, item) {
|
$.each(taLentList, function (index, item) {
|
||||||
HTMLS += `<option value="${item.id}">${item.name}</option>`
|
HTMLS += `<option value="${item.id}">${item.name}</option>`
|
||||||
});
|
});
|
||||||
$("#special_i").append(HTMLS);
|
$("#special_i").append(HTMLS);
|
||||||
}).catch(err => {
|
|
||||||
console.log(err);
|
|
||||||
})
|
})
|
||||||
|
.catch(error => console.error('加载 JSON 出错:', error));
|
||||||
}
|
}
|
||||||
getTalentTree()
|
getTalentTree()
|
||||||
/////////////////////////学生户口信息
|
/////////////////////////学生户口信息
|
||||||
@ -714,292 +733,295 @@
|
|||||||
let isInMySchool = isGaokaoEnroll == 1 ? 1 : 2
|
let isInMySchool = isGaokaoEnroll == 1 ? 1 : 2
|
||||||
if (!name) {
|
if (!name) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写姓名',
|
text: '请填写姓名',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!sex) {
|
if (!sex) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择性别',
|
text: '请选择性别',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!idCard) {
|
if (!idCard) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写身份证号',
|
text: '请填写身份证号',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!mobile) {
|
if (!mobile) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写手机号',
|
text: '请填写手机号',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (mobile.length != 11) {
|
if (mobile.length != 11) {
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写正确的手机号',
|
text: '请填写正确的手机号',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
return
|
|
||||||
}
|
}
|
||||||
if (!height) {
|
if (!height) {
|
||||||
|
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写身高',
|
text: '请填写身高',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!weight) {
|
if (!weight) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写体重',
|
text: '请填写体重',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!nation) {
|
if (!nation) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择民族',
|
text: '请选择民族',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!hukouProvince) {
|
if (!hukouProvince) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择户口所在省',
|
text: '请选择户口所在省',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!hukouCity) {
|
if (!hukouCity) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择户口所在市',
|
text: '请选择户口所在市',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!hukouCounty) {
|
if (!hukouCounty) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择户口所在区',
|
text: '请选择户口所在区',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!graduateProvince) {
|
if (!graduateProvince) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择毕业学校所在省',
|
text: '请选择毕业学校所在省',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!graduateCity) {
|
if (!graduateCity) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择毕业学校所在市',
|
text: '请选择毕业学校所在市',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!graduateCounty) {
|
if (!graduateCounty) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择毕业学校所在区',
|
text: '请选择毕业学校所在区',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!graduateSchool) {
|
if (!graduateSchool) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写毕业学校名称',
|
text: '请填写毕业学校名称',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (isGaokaoEnroll == 0) {
|
if (isGaokaoEnroll == 0) {
|
||||||
if (!gaokaoEnrollProvince) {
|
if (!gaokaoEnrollProvince) {
|
||||||
return alert("")
|
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择高考学校所在省',
|
text: '请选择高考学校所在省',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!gaokaoEnrollCity) {
|
if (!gaokaoEnrollCity) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择高考学校所在市',
|
text: '请选择高考学校所在市',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!gaokaoEnrollCounty) {
|
if (!gaokaoEnrollCounty) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择高考学校所在区',
|
text: '请选择高考学校所在区',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
return
|
|
||||||
}
|
}
|
||||||
if (!gaokaoEnrollSchool) {
|
if (!gaokaoEnrollSchool) {
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写高考毕业学校',
|
text: '请填写高考毕业学校',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
return
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (te == 1) {
|
if (te == 1) {
|
||||||
if (!special_i) {
|
if (!special_i) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择一级分类',
|
text: '请选择一级分类',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!special_ii) {
|
if (!special_ii) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择二级分类',
|
text: '请选择二级分类',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
}
|
}
|
||||||
if (!special_iii) {
|
if (!special_iii) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择三级分类',
|
text: '请选择三级分类',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!preGroupId) {
|
if (!preGroupId) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请选择预选组合',
|
text: '请选择预选组合',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!code) {
|
if (!code) {
|
||||||
|
return Swal.fire({
|
||||||
Swal.fire({
|
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请填写短信验证码',
|
text: '请填写短信验证码',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
axios.post('http://sms-auth.magicany.cc/student/base_info/add', {
|
if (code !== code2) {
|
||||||
|
return Swal.fire({
|
||||||
|
title: '提示',
|
||||||
|
text: '短信验证码错误',
|
||||||
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
|
confirmButtonText: '确定'
|
||||||
|
});
|
||||||
|
}
|
||||||
|
axios.post('http://studentadmin.hshuishang.com/student/base_info/add', {
|
||||||
name: name,
|
name: name,
|
||||||
sex: sex,
|
sex: Number(sex),
|
||||||
idcard: idCard,
|
idcard: idCard,
|
||||||
phone: mobile,
|
phone: mobile,
|
||||||
height: Number(height),
|
height: Number(height),
|
||||||
@ -1019,7 +1041,7 @@
|
|||||||
signSchoolDistrict: Number(gaokaoEnrollCounty),
|
signSchoolDistrict: Number(gaokaoEnrollCounty),
|
||||||
signSchoolName: gaokaoEnrollSchool,
|
signSchoolName: gaokaoEnrollSchool,
|
||||||
infoChannel:from,
|
infoChannel:from,
|
||||||
isTalent: te,
|
isTalent: Number(te),
|
||||||
talentOne: Number(special_i),
|
talentOne: Number(special_i),
|
||||||
talentTwo: Number(special_ii),
|
talentTwo: Number(special_ii),
|
||||||
talentThree: Number(special_iii),
|
talentThree: Number(special_iii),
|
||||||
@ -1035,19 +1057,19 @@
|
|||||||
console.log(res);
|
console.log(res);
|
||||||
if (res.status == 500) {
|
if (res.status == 500) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: res.response.data.msg,
|
text: res.response.data.msg,
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: "报名成功!",
|
text: "报名成功!",
|
||||||
icon: 'sucess', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'sucess', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
@ -1059,7 +1081,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -1083,14 +1105,14 @@
|
|||||||
let formData = new FormData();
|
let formData = new FormData();
|
||||||
formData.append('file', file);
|
formData.append('file', file);
|
||||||
|
|
||||||
axios.post('http://sms-auth.magicany.cc/student/upload', formData, {
|
axios.post('http://studentadmin.hshuishang.com/student/upload', formData, {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'multipart/form-data',
|
'Content-Type': 'multipart/form-data',
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res.data.data.path);
|
console.log(res.data.data.path);
|
||||||
imgUrl2 = res.data.data.path
|
imgUrl2 = res.data.data.path
|
||||||
imgUrl = 'http://sms-auth.magicany.cc/' + res.data.data.path
|
imgUrl = 'http://studentadmin.hshuishang.com/' + res.data.data.path
|
||||||
$("#userPic").attr("src", imgUrl)
|
$("#userPic").attr("src", imgUrl)
|
||||||
$('#uploadPhoto').hide()
|
$('#uploadPhoto').hide()
|
||||||
$('.userImg').show()
|
$('.userImg').show()
|
||||||
@ -1112,63 +1134,92 @@
|
|||||||
$("#upload1").val('');
|
$("#upload1").val('');
|
||||||
})
|
})
|
||||||
|
|
||||||
|
let code2 = ''
|
||||||
|
|
||||||
function send() {
|
function send() {
|
||||||
let phone = $('#mobile').val()
|
let phone = $('#mobile').val()
|
||||||
if (!phone) {
|
if (!phone) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: "请填写联系方式",
|
text: "请填写联系方式",
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
return
|
|
||||||
}
|
}
|
||||||
if (phone.length != 11) {
|
if (phone.length != 11) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: "请填写正确联系方式",
|
text: "请填写正确联系方式",
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
axios.post('http://sms-auth.magicany.cc/student/sendSms', {
|
axios.post('http://studentadmin.hshuishang.com/student/sendSms', {
|
||||||
phone
|
phone
|
||||||
}, {
|
}, {
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
}
|
}
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
|
console.log(res);
|
||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
|
code2 = res.data.data.code
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: "短信发送成功!请注意查收",
|
text: "短信发送成功!请注意查收",
|
||||||
icon: 'sucess', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'sucess', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
return
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: err.response.data.msg,
|
text: err.response.data.msg,
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
return
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
//发送二维码
|
//发送二维码
|
||||||
$('#sendRegCode').click(function () {
|
$('#sendRegCode').click(function () {
|
||||||
|
|
||||||
|
if(!$("#mobile").val()){
|
||||||
|
return Swal.fire({
|
||||||
|
title: '提示',
|
||||||
|
text: '请填写联系方式!',
|
||||||
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
|
confirmButtonText: '确定'
|
||||||
|
});
|
||||||
|
|
||||||
|
;
|
||||||
|
}
|
||||||
|
if($("#mobile").val().length != 11){
|
||||||
|
return Swal.fire({
|
||||||
|
title: '提示',
|
||||||
|
text: '请填写正确联系方式!',
|
||||||
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
|
confirmButtonText: '确定'
|
||||||
|
});
|
||||||
|
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
Btnsettimeou()
|
Btnsettimeou()
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
35
login.html
35
login.html
@ -17,8 +17,9 @@
|
|||||||
<link href="./newCSS/sweetalert2.min.css" rel="stylesheet">
|
<link href="./newCSS/sweetalert2.min.css" rel="stylesheet">
|
||||||
|
|
||||||
|
|
||||||
<script src="https://code.jquery.com/jquery-3.7.1.js"
|
<!-- <script src="https://code.jquery.com/jquery-3.7.1.js"
|
||||||
integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4=" crossorigin="anonymous"></script>
|
integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4=" crossorigin="anonymous"></script> -->
|
||||||
|
<script src="./static/js/jquery.js"></script>
|
||||||
<script src="./static/js/axios.min.js"></script>
|
<script src="./static/js/axios.min.js"></script>
|
||||||
|
|
||||||
<script src="./static/js/sweetalert2.min.js"></script>
|
<script src="./static/js/sweetalert2.min.js"></script>
|
||||||
@ -115,40 +116,40 @@
|
|||||||
let password = $('#password').val()
|
let password = $('#password').val()
|
||||||
|
|
||||||
if (!account) {
|
if (!account) {
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请输入账号',
|
text: '请输入账号',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!password) {
|
if (!password) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请输入密码',
|
text: '请输入密码',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
return
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (!$('#yzm').val()) {
|
if (!$('#yzm').val()) {
|
||||||
|
|
||||||
Swal.fire({
|
return Swal.fire({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
text: '请输入验证码',
|
text: '请输入验证码',
|
||||||
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
confirmButtonText: '确定'
|
confirmButtonText: '确定'
|
||||||
});
|
});
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ($('#yzm').val().toUpperCase() === currentCaptcha) {
|
if ($('#yzm').val().toUpperCase() === currentCaptcha) {
|
||||||
axios.post('http://sms-auth.magicany.cc/student/login', {
|
axios.post('http://studentadmin.hshuishang.com/student/login', {
|
||||||
phone: account,
|
phone: account,
|
||||||
password: password
|
password: password
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
@ -157,10 +158,22 @@
|
|||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
localStorage.setItem('authToken', res.data.data.token);
|
localStorage.setItem('authToken', res.data.data.token);
|
||||||
window.location.href = './nav.html'
|
window.location.href = './nav.html'
|
||||||
|
}else{
|
||||||
|
return Swal.fire({
|
||||||
|
title: '提示',
|
||||||
|
text:res.data.data.msg ,
|
||||||
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
|
confirmButtonText: '确定'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
}).catch(err => {
|
}).catch(error => {
|
||||||
console.log(err);
|
return Swal.fire({
|
||||||
|
title: '提示',
|
||||||
|
text:error.response.data.msg,
|
||||||
|
icon: 'error', // 可选:'success', 'error', 'warning', 'info', 'question'
|
||||||
|
confirmButtonText: '确定'
|
||||||
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
// 这里可以添加成功后的操作,如表单提交
|
// 这里可以添加成功后的操作,如表单提交
|
||||||
|
|||||||
46
nav.html
46
nav.html
@ -50,8 +50,10 @@
|
|||||||
<i class="layui-icon layui-timeline-axis layui-icon-ok-circle"></i>
|
<i class="layui-icon layui-timeline-axis layui-icon-ok-circle"></i>
|
||||||
<div class="layui-timeline-content layui-text ">
|
<div class="layui-timeline-content layui-text ">
|
||||||
<div class="person">
|
<div class="person">
|
||||||
<img src="./newImg/sucess.png" alt="">
|
<img id="SucessImg" src="./newImg/sucess.png" alt="" style="display: none;">
|
||||||
<h3>个人信息<span style="color: red;">(当前状态:可修改)</span></h3>
|
<div id="SucessCir" class="cir" style="display: none;"></div>
|
||||||
|
|
||||||
|
<h3>个人信息<span style="color: red;" id="SucessText">(当前状态:可修改)</span></h3>
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
@ -64,8 +66,10 @@
|
|||||||
<i class="layui-icon layui-timeline-axis layui-icon-circle"></i>
|
<i class="layui-icon layui-timeline-axis layui-icon-circle"></i>
|
||||||
<div class="layui-timeline-content layui-text">
|
<div class="layui-timeline-content layui-text">
|
||||||
<div class="person">
|
<div class="person">
|
||||||
<div class="cir"></div>
|
<img id="SucessImg2" src="./newImg/sucess.png" alt="" style="display: none;">
|
||||||
<h3 class="layui-timeline-title">高考成绩<span style="color: red;">(当前状态:待完善) </span></h3>
|
<div id="SucessCir2" class="cir" style="display: none;"></div>
|
||||||
|
|
||||||
|
<h3 class="layui-timeline-title">高考成绩<span style="color: red;" id="SucessText2">(当前状态:待完善) </span></h3>
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li class="tips">
|
<li class="tips">
|
||||||
@ -73,7 +77,7 @@
|
|||||||
务必保证成绩的真实有效,如发现成绩作假,立即取消入学资格。
|
务必保证成绩的真实有效,如发现成绩作假,立即取消入学资格。
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<a href="./finalExamScore.html" class="link">填写 / 修改高考成绩</a>
|
<a href="./finalExamScore.html" id="links" class="link">填写 / 修改高考成绩</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@ -99,8 +103,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<script src="https://code.jquery.com/jquery-3.7.1.js"
|
<script src="./static/js/jquery.js"></script>
|
||||||
integrity="sha256-eKhayi8LEQwp4NKxN+CfCh+3qOVUtJn3QNZ0TciWLP4=" crossorigin="anonymous"></script>
|
|
||||||
<script src="./static/js/axios.min.js"></script>
|
<script src="./static/js/axios.min.js"></script>
|
||||||
|
|
||||||
<script src="./static/js/sweetalert2.min.js"></script>
|
<script src="./static/js/sweetalert2.min.js"></script>
|
||||||
@ -122,7 +125,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function GetInfo() {
|
function GetInfo() {
|
||||||
axios.post('http://sms-auth.magicany.cc/student/loginInfo', {
|
axios.post('http://studentadmin.hshuishang.com/student/loginInfo', {
|
||||||
|
|
||||||
}, {
|
}, {
|
||||||
headers: {
|
headers: {
|
||||||
@ -132,6 +135,31 @@
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
console.log(res.data.data.info.id);
|
console.log(res.data.data.info.id);
|
||||||
localStorage.setItem('baseId', res.data.data.info.id);
|
localStorage.setItem('baseId', res.data.data.info.id);
|
||||||
|
|
||||||
|
if(res.data.data.info.collegeInfo.id >= 1){
|
||||||
|
$("#SucessImg").show()
|
||||||
|
$("#SucessText").text('(当前状:已填写)')
|
||||||
|
$("#SucessCir").hide()
|
||||||
|
|
||||||
|
|
||||||
|
$(".tips").hide()
|
||||||
|
|
||||||
|
$("#SucessImg2").show()
|
||||||
|
$("#SucessText2").text('(当前状:已填写)')
|
||||||
|
$("#SucessCir2").hide()
|
||||||
|
|
||||||
|
$('#links').attr('href','./finalExamScore2.html')
|
||||||
|
}else{
|
||||||
|
$("#SucessImg").hide()
|
||||||
|
$("#SucessText").text('(当前状:可查看)')
|
||||||
|
$("#SucessCir").show()
|
||||||
|
|
||||||
|
$("#SucessImg2").hide()
|
||||||
|
$("#SucessText2").text('(当前状:可查看)')
|
||||||
|
$("#SucessCir2").show()
|
||||||
|
|
||||||
|
$('#links').attr('href','./finalExamScore.html')
|
||||||
|
}
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
})
|
})
|
||||||
@ -141,7 +169,7 @@
|
|||||||
$("#exit").click(function () {
|
$("#exit").click(function () {
|
||||||
localStorage.removeItem('baseId')
|
localStorage.removeItem('baseId')
|
||||||
localStorage.removeItem('authToken')
|
localStorage.removeItem('authToken')
|
||||||
localStorage.removeItem('authToken')
|
window.location.href = './login.html'
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
@ -35,7 +35,6 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
display: none;
|
|
||||||
}
|
}
|
||||||
.box2{
|
.box2{
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|||||||
23779
static/js/area.json
Normal file
23779
static/js/area.json
Normal file
File diff suppressed because it is too large
Load Diff
942
static/js/talent.json
Normal file
942
static/js/talent.json
Normal file
@ -0,0 +1,942 @@
|
|||||||
|
{
|
||||||
|
"code": 1,
|
||||||
|
"msg": "操作成功",
|
||||||
|
"data": {
|
||||||
|
"list": [
|
||||||
|
{
|
||||||
|
"id": 1,
|
||||||
|
"name": "艺术",
|
||||||
|
"parentId": 0,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 4,
|
||||||
|
"name": "声乐",
|
||||||
|
"parentId": 1,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 105,
|
||||||
|
"name": "戏曲",
|
||||||
|
"parentId": 4,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 106,
|
||||||
|
"name": "民族",
|
||||||
|
"parentId": 4,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 107,
|
||||||
|
"name": "美声",
|
||||||
|
"parentId": 4,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 108,
|
||||||
|
"name": "通俗",
|
||||||
|
"parentId": 4,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 5,
|
||||||
|
"name": "键盘",
|
||||||
|
"parentId": 1,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 155,
|
||||||
|
"name": "手风琴",
|
||||||
|
"parentId": 5,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 156,
|
||||||
|
"name": "电子管风琴",
|
||||||
|
"parentId": 5,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 157,
|
||||||
|
"name": "钢琴",
|
||||||
|
"parentId": 5,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 6,
|
||||||
|
"name": "西洋乐",
|
||||||
|
"parentId": 1,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 134,
|
||||||
|
"name": "中提琴",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 135,
|
||||||
|
"name": "京胡",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 136,
|
||||||
|
"name": "低音提琴",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 137,
|
||||||
|
"name": "单簧管",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 138,
|
||||||
|
"name": "双簧管",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 139,
|
||||||
|
"name": "圆号",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 140,
|
||||||
|
"name": "大号",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 141,
|
||||||
|
"name": "大提琴",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 142,
|
||||||
|
"name": "大管",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 143,
|
||||||
|
"name": "定音鼓",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 144,
|
||||||
|
"name": "小号",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 145,
|
||||||
|
"name": "小提琴",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 146,
|
||||||
|
"name": "板胡",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 147,
|
||||||
|
"name": "架子鼓",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 148,
|
||||||
|
"name": "次中音号",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 149,
|
||||||
|
"name": "竖琴",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 150,
|
||||||
|
"name": "萨克斯",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 151,
|
||||||
|
"name": "行进鼓",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 152,
|
||||||
|
"name": "长号",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 153,
|
||||||
|
"name": "长笛",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 154,
|
||||||
|
"name": "马林巴",
|
||||||
|
"parentId": 6,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 7,
|
||||||
|
"name": "民族器乐",
|
||||||
|
"parentId": 1,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 113,
|
||||||
|
"name": "中阮",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 114,
|
||||||
|
"name": "二胡",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 115,
|
||||||
|
"name": "古琴",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 116,
|
||||||
|
"name": "古筝",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 117,
|
||||||
|
"name": "唢呐",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 118,
|
||||||
|
"name": "堂鼓",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 119,
|
||||||
|
"name": "大阮",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 120,
|
||||||
|
"name": "扬琴",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 121,
|
||||||
|
"name": "排鼓",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 122,
|
||||||
|
"name": "柳琴",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 123,
|
||||||
|
"name": "琵琶",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 124,
|
||||||
|
"name": "竹笛",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 125,
|
||||||
|
"name": "笙",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 126,
|
||||||
|
"name": "阮",
|
||||||
|
"parentId": 7,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 8,
|
||||||
|
"name": "舞蹈",
|
||||||
|
"parentId": 1,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 130,
|
||||||
|
"name": "古典舞",
|
||||||
|
"parentId": 8,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 131,
|
||||||
|
"name": "民族舞",
|
||||||
|
"parentId": 8,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 132,
|
||||||
|
"name": "现当代舞",
|
||||||
|
"parentId": 8,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 133,
|
||||||
|
"name": "芭蕾舞",
|
||||||
|
"parentId": 8,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 9,
|
||||||
|
"name": "美术",
|
||||||
|
"parentId": 1,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 128,
|
||||||
|
"name": "书法",
|
||||||
|
"parentId": 9,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 129,
|
||||||
|
"name": "绘画",
|
||||||
|
"parentId": 9,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 10,
|
||||||
|
"name": "播音主持",
|
||||||
|
"parentId": 1,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 110,
|
||||||
|
"name": "播音主持",
|
||||||
|
"parentId": 10,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 11,
|
||||||
|
"name": "编导",
|
||||||
|
"parentId": 1,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 127,
|
||||||
|
"name": "编导",
|
||||||
|
"parentId": 11,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 12,
|
||||||
|
"name": "曲艺",
|
||||||
|
"parentId": 1,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 111,
|
||||||
|
"name": "快板",
|
||||||
|
"parentId": 12,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 112,
|
||||||
|
"name": "相声",
|
||||||
|
"parentId": 12,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 13,
|
||||||
|
"name": "影视表演",
|
||||||
|
"parentId": 1,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 109,
|
||||||
|
"name": "影视表演",
|
||||||
|
"parentId": 13,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 2,
|
||||||
|
"name": "体育",
|
||||||
|
"parentId": 0,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 14,
|
||||||
|
"name": "足球",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 85,
|
||||||
|
"name": "前场",
|
||||||
|
"parentId": 14,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 86,
|
||||||
|
"name": "后场",
|
||||||
|
"parentId": 14,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 87,
|
||||||
|
"name": "守门员",
|
||||||
|
"parentId": 14,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 15,
|
||||||
|
"name": "排球",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 49,
|
||||||
|
"name": "主攻",
|
||||||
|
"parentId": 15,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 50,
|
||||||
|
"name": "二传",
|
||||||
|
"parentId": 15,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 51,
|
||||||
|
"name": "副攻",
|
||||||
|
"parentId": 15,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 52,
|
||||||
|
"name": "接应",
|
||||||
|
"parentId": 15,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 53,
|
||||||
|
"name": "自由人",
|
||||||
|
"parentId": 15,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 16,
|
||||||
|
"name": "游泳",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 55,
|
||||||
|
"name": "100米仰泳",
|
||||||
|
"parentId": 16,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 56,
|
||||||
|
"name": "100米自由泳",
|
||||||
|
"parentId": 16,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 57,
|
||||||
|
"name": "100米蛙泳",
|
||||||
|
"parentId": 16,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 58,
|
||||||
|
"name": "100米蝶泳",
|
||||||
|
"parentId": 16,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 17,
|
||||||
|
"name": "健美操",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 36,
|
||||||
|
"name": "体操",
|
||||||
|
"parentId": 17,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 37,
|
||||||
|
"name": "健美操",
|
||||||
|
"parentId": 17,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 38,
|
||||||
|
"name": "啦啦操",
|
||||||
|
"parentId": 17,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 39,
|
||||||
|
"name": "武术",
|
||||||
|
"parentId": 17,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 40,
|
||||||
|
"name": "街舞",
|
||||||
|
"parentId": 17,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 18,
|
||||||
|
"name": "射击",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 41,
|
||||||
|
"name": "女子手枪",
|
||||||
|
"parentId": 18,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 42,
|
||||||
|
"name": "女子步枪",
|
||||||
|
"parentId": 18,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 43,
|
||||||
|
"name": "男子手枪",
|
||||||
|
"parentId": 18,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 44,
|
||||||
|
"name": "男子步枪",
|
||||||
|
"parentId": 18,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 19,
|
||||||
|
"name": "乒乓球",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 35,
|
||||||
|
"name": "乒乓球",
|
||||||
|
"parentId": 19,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 20,
|
||||||
|
"name": "田径",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 59,
|
||||||
|
"name": "100栏",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 60,
|
||||||
|
"name": "100米",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 61,
|
||||||
|
"name": "110栏",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 62,
|
||||||
|
"name": "1500米",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 63,
|
||||||
|
"name": "200米",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 64,
|
||||||
|
"name": "3000米",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 65,
|
||||||
|
"name": "400栏",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 66,
|
||||||
|
"name": "400米",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 67,
|
||||||
|
"name": "5000米",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 68,
|
||||||
|
"name": "800米",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 69,
|
||||||
|
"name": "三级跳远",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 70,
|
||||||
|
"name": "标枪",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 71,
|
||||||
|
"name": "跳远",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 72,
|
||||||
|
"name": "跳高",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 73,
|
||||||
|
"name": "铁饼",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 74,
|
||||||
|
"name": "铅球",
|
||||||
|
"parentId": 20,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 21,
|
||||||
|
"name": "田径四项",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 75,
|
||||||
|
"name": "田径四项",
|
||||||
|
"parentId": 21,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 22,
|
||||||
|
"name": "篮球",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 82,
|
||||||
|
"name": "中锋",
|
||||||
|
"parentId": 22,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 83,
|
||||||
|
"name": "前锋",
|
||||||
|
"parentId": 22,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 84,
|
||||||
|
"name": "后卫",
|
||||||
|
"parentId": 22,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 23,
|
||||||
|
"name": "跆拳道",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 88,
|
||||||
|
"name": "级别",
|
||||||
|
"parentId": 23,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 24,
|
||||||
|
"name": "武术",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 54,
|
||||||
|
"name": "武术套路",
|
||||||
|
"parentId": 24,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 25,
|
||||||
|
"name": "射箭",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 45,
|
||||||
|
"name": "女子反曲弓",
|
||||||
|
"parentId": 25,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 46,
|
||||||
|
"name": "女子复合弓",
|
||||||
|
"parentId": 25,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 47,
|
||||||
|
"name": "男子反曲弓",
|
||||||
|
"parentId": 25,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 48,
|
||||||
|
"name": "男子复合弓",
|
||||||
|
"parentId": 25,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 26,
|
||||||
|
"name": "速度滑冰",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 89,
|
||||||
|
"name": "1000",
|
||||||
|
"parentId": 26,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 90,
|
||||||
|
"name": "100000",
|
||||||
|
"parentId": 26,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 91,
|
||||||
|
"name": "1500",
|
||||||
|
"parentId": 26,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 92,
|
||||||
|
"name": "3000",
|
||||||
|
"parentId": 26,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 93,
|
||||||
|
"name": "500",
|
||||||
|
"parentId": 26,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 94,
|
||||||
|
"name": "5000",
|
||||||
|
"parentId": 26,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 95,
|
||||||
|
"name": "团体追逐",
|
||||||
|
"parentId": 26,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 96,
|
||||||
|
"name": "短距离团体追逐",
|
||||||
|
"parentId": 26,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 97,
|
||||||
|
"name": "集体出发",
|
||||||
|
"parentId": 26,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 27,
|
||||||
|
"name": "短道速滑",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 76,
|
||||||
|
"name": "1000",
|
||||||
|
"parentId": 27,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 77,
|
||||||
|
"name": "1500",
|
||||||
|
"parentId": 27,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 78,
|
||||||
|
"name": "3000接力",
|
||||||
|
"parentId": 27,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 79,
|
||||||
|
"name": "500",
|
||||||
|
"parentId": 27,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 80,
|
||||||
|
"name": "5000米接力",
|
||||||
|
"parentId": 27,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 81,
|
||||||
|
"name": "混合团体2000米接力",
|
||||||
|
"parentId": 27,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 28,
|
||||||
|
"name": "速度轮滑",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 98,
|
||||||
|
"name": "1000",
|
||||||
|
"parentId": 28,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 99,
|
||||||
|
"name": "1500",
|
||||||
|
"parentId": 28,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 100,
|
||||||
|
"name": "3000",
|
||||||
|
"parentId": 28,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 101,
|
||||||
|
"name": "500",
|
||||||
|
"parentId": 28,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 102,
|
||||||
|
"name": "5000",
|
||||||
|
"parentId": 28,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 29,
|
||||||
|
"name": "马术",
|
||||||
|
"parentId": 2,
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": 103,
|
||||||
|
"name": "场地障碍",
|
||||||
|
"parentId": 29,
|
||||||
|
"children": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 104,
|
||||||
|
"name": "盛装舞步",
|
||||||
|
"parentId": 29,
|
||||||
|
"children": null
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user