This commit is contained in:
zhouwentao 2026-01-06 15:38:42 +08:00
parent 99684f8d9b
commit 431f496b6e
7 changed files with 2892 additions and 1961 deletions

View File

@ -12,3 +12,4 @@ VITE_UPLOAD_URL = '/'
VITE_APP_TITLE = '' VITE_APP_TITLE = ''
VITE_PROGRAM_TYPE = '艺体志愿宝' VITE_PROGRAM_TYPE = '艺体志愿宝'
+

View File

@ -8,8 +8,6 @@
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-3298682935034485"
crossorigin="anonymous"></script>
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
</body> </body>
</html> </html>

File diff suppressed because it is too large Load Diff

View File

@ -207,11 +207,11 @@
<div class="top-align"> <div class="top-align">
<div class="flexWrap"> <div class="flexWrap">
<span class="font-size-16 fw-6 black1 main-container showClick" @click="openMajor(scope.row.majorCode)">{{ scope.row.majorName }}</span> <span class="font-size-16 fw-6 black1 main-container showClick" @click="openMajor(scope.row.majorCode)">{{ scope.row.majorName }}</span>
<span class="showClick" @click="openMajor(scope.row.majorCode)">{{ scope.row.tuition }}</span> <span class="showClick" @click="openMajor(scope.row.majorCode)">{{scope.row.majorDetail}}{{scope.row.tuition ? '['+scope.row.tuition+']':'' }}</span>
</div>
<div class="flexWrap mt-20" style="line-height: 10px;">
<div style="color:red" class="main-container" v-show="scope.row.state == '2'"></div>
</div> </div>
<!-- <div class="flexWrap mt-20" style="line-height: 10px;">-->
<!-- <div style="color:red" class="main-container" v-show="scope.row.state == '2'"></div>-->
<!-- </div>-->
<div class="flexWrap mt-20" style="line-height: 10px;"> <div class="flexWrap mt-20" style="line-height: 10px;">
<span class="font-size-14 main-container">专业代码</span> <span class="font-size-14 main-container">专业代码</span>
<span class="font-size-14 main-container" style="background-color:bisque;padding:1 7px;border-radius: 3px;">{{ scope.row.enrollmentCode }}</span> <span class="font-size-14 main-container" style="background-color:bisque;padding:1 7px;border-radius: 3px;">{{ scope.row.enrollmentCode }}</span>
@ -220,10 +220,11 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="25省内招生" align="center"> <el-table-column label="26省内招生" align="center">
<template #default="scope"> <template #default="scope">
<div class="top-align flexWrap"> <div class="top-align flexWrap">
<span class="font-size-16 black1" style="margin: 0 auto;">{{ scope.row.planNum||'未知' }}</span> <span class="font-size-16 black1" style="margin: 0 auto;">{{ scope.row.planNum + '人' || '未公布' }}</span>
<!-- <span class="font-size-16 black1" style="margin: 0 auto;">未公布</span> -->
</div> </div>
<div class="flexWrap mt-10"> <div class="flexWrap mt-10">
<span style="margin: 0 auto;"> <span style="margin: 0 auto;">
@ -253,10 +254,10 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column v-for="(item,index) in ['2024','2023','2022']" :key="index" :label="item" width="140" align="center"> <el-table-column v-for="(item,index) in ['2025','2024','2023']" :key="index" :label="item" width="140" align="center">
<template #default="scope"> <template #default="scope">
<div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;"> <div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;">
<span class="main-container">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].enrollNum }}</span> <span class="main-container">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].enrollNum || '未公布' }}</span>
</div> </div>
<div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;"> <div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;">
<span class="main-container">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].admissionLine }}</span> <span class="main-container">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].admissionLine }}</span>
@ -380,7 +381,7 @@
<div class="top-align" v-if="scope.row.schoolName"> <div class="top-align" v-if="scope.row.schoolName">
<div class="flexWrap"> <div class="flexWrap">
<span class="font-size-16 fw-6 black1 main-container showClick" @click="openMajor(scope.row.majorCode)">{{ scope.row.majorName }}</span> <span class="font-size-16 fw-6 black1 main-container showClick" @click="openMajor(scope.row.majorCode)">{{ scope.row.majorName }}</span>
<span class="font-size-16 fw-6 black1 showClick" @click="openMajor(scope.row.majorCode)">{{ scope.row.tuition }}</span> <span class="showClick" @click="openMajor(scope.row.majorCode)">{{scope.row.majorDetail}}{{scope.row.tuition ? '['+scope.row.tuition+']':'' }}</span>
</div> </div>
<div class="flexWrap mt-20" style="line-height: 10px;"> <div class="flexWrap mt-20" style="line-height: 10px;">
<span class="font-size-14 main-container">专业代码</span> <span class="font-size-14 main-container">专业代码</span>
@ -390,11 +391,12 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="25省内招生" width="150" align="center"> <el-table-column label="26省内招生" width="150" align="center">
<template #default="scope"> <template #default="scope">
<div v-if="scope.row.schoolName"> <div v-if="scope.row.schoolName">
<div class="top-align flexWrap"> <div class="top-align flexWrap">
<span class="font-size-16 black1" style="margin: 0 auto;">{{ scope.row.planNum||'未知' }}</span> <span class="font-size-16 black1" style="margin: 0 auto;">{{ scope.row.planNum + '人' ||'未公布' }}</span>
<!-- <span class="font-size-16 black1" style="margin: 0 auto;">未公布</span> -->
</div> </div>
<div class="flexWrap mt-10"> <div class="flexWrap mt-10">
<span style="margin: 0 auto;"> <span style="margin: 0 auto;">
@ -422,11 +424,11 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column v-for="(item,index) in ['2024','2023','2022']" :key="index" :label="item" width="100" align="center"> <el-table-column v-for="(item,index) in ['2025','2024','2023']" :key="index" :label="item" width="100" align="center">
<template #default="scope"> <template #default="scope">
<div> <div>
<div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;"> <div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;">
<span class="main-container" v-if="scope.row.schoolName">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].enrollNum }}</span> <span class="main-container" v-if="scope.row.schoolName">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].enrollNum || '未公布'}}</span>
</div> </div>
<div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;"> <div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;">
<span class="main-container" v-if="scope.row.schoolName">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].admissionLine }}</span> <span class="main-container" v-if="scope.row.schoolName">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].admissionLine }}</span>
@ -512,7 +514,7 @@
<div class="top-align"> <div class="top-align">
<div class="flexWrap"> <div class="flexWrap">
<span class="font-size-16 fw-6 black1 showClick" @click="openMajor(scope.row.majorCode)">{{ scope.row.majorName }}</span><br/> <span class="font-size-16 fw-6 black1 showClick" @click="openMajor(scope.row.majorCode)">{{ scope.row.majorName }}</span><br/>
<!-- <span class="font-size-16 fw-6 black1 showClick" @click="openMajor(scope.row.majorCode)">{{ scope.row.tuition }}</span>--> <span class="showClick" @click="openMajor(scope.row.majorCode)">{{scope.row.majorDetail}}{{scope.row.tuition ? '['+scope.row.tuition+']':'' }}</span>
</div> </div>
<div class="flexWrap mt-20" style="line-height: 10px;"> <div class="flexWrap mt-20" style="line-height: 10px;">
<span class="font-size-14 mr-5">专业代码</span> <span class="font-size-14 mr-5">专业代码</span>
@ -544,10 +546,11 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="25省内招生" width="150" align="center"> <el-table-column label="26省内招生" width="150" align="center">
<template #default="scope"> <template #default="scope">
<div class="top-align flexWrap"> <div class="top-align flexWrap">
<span class="font-size-16 black1" style="margin: 0 auto;">{{ scope.row.planNum||'未知' }}</span> <span class="font-size-16 black1" style="margin: 0 auto;">{{ scope.row.planNum + '人' ||'未公布' }}</span>
<!-- <span class="font-size-16 black1" style="margin: 0 auto;">未公布</span> -->
</div> </div>
<div class="flexWrap mt-10"> <div class="flexWrap mt-10">
<span style="margin: 0 auto;"> <span style="margin: 0 auto;">
@ -578,10 +581,10 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column v-for="(item,index) in ['2024','2023','2022']" :key="index" :label="item" width="120" align="center"> <el-table-column v-for="(item,index) in ['2025','2024','2023']" :key="index" :label="item" width="120" align="center">
<template #default="scope"> <template #default="scope">
<div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;"> <div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;">
<span class="main-container">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].enrollNum }}</span> <span class="main-container">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].enrollNum || '未公布' }}</span>
</div> </div>
<div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;"> <div class="flexWrap font-size-14 black1 lh-50 border-l border-b border-r" style="min-height: 50px;">
<span class="main-container">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].admissionLine }}</span> <span class="main-container">{{ scope.row.historyMajorEnrollMap&& scope.row.historyMajorEnrollMap[item] && scope.row.historyMajorEnrollMap[item].admissionLine }}</span>

View File

@ -30,8 +30,8 @@ const router = useRouter()
// //
const modules = [Navigation, Pagination, Scrollbar, A11y, Autoplay]; const modules = [Navigation, Pagination, Scrollbar, A11y, Autoplay];
const images = [ const images = [
{ url: 'https://mp-7a4eecb1-2a04-4d36-b050-1c4a78cc31a4.cdn.bspapp.com/images/web-bakground/20250619212921.jpg', link: ''}, { url: 'https://raw.githubusercontent.com/zwt13703/note-gen-image-sync/main/13274cb8-2c88-452b-b70b-9ca4e603606a.jpeg', link: ''},
{ url: 'https://mp-7a4eecb1-2a04-4d36-b050-1c4a78cc31a4.cdn.bspapp.com/images/web-bakground/20250619212930.png', link: ''}, { url: 'https://raw.githubusercontent.com/zwt13703/note-gen-image-sync/main/d7e9af38-9292-4e7a-bb24-9321c8e1b931.png', link: ''},
// { url: 'https://mp-7a4eecb1-2a04-4d36-b050-1c4a78cc31a4.cdn.bspapp.com/images/web-bakground/9af57e5023e220c08f9e746c48efd2c.png', link: '' }, // { url: 'https://mp-7a4eecb1-2a04-4d36-b050-1c4a78cc31a4.cdn.bspapp.com/images/web-bakground/9af57e5023e220c08f9e746c48efd2c.png', link: '' },
// { url: 'https://mp-7a4eecb1-2a04-4d36-b050-1c4a78cc31a4.cdn.bspapp.com/images/web-bakground/2f7805626e85d9fec0ea40573b86886.png', link: '' }, // { url: 'https://mp-7a4eecb1-2a04-4d36-b050-1c4a78cc31a4.cdn.bspapp.com/images/web-bakground/2f7805626e85d9fec0ea40573b86886.png', link: '' },
// { url: 'https://mp-7a4eecb1-2a04-4d36-b050-1c4a78cc31a4.cdn.bspapp.com/images/web-bakground/42bf964bb240d8571c8d2258a1f74e5.png', link: '' }, // { url: 'https://mp-7a4eecb1-2a04-4d36-b050-1c4a78cc31a4.cdn.bspapp.com/images/web-bakground/42bf964bb240d8571c8d2258a1f74e5.png', link: '' },

View File

@ -184,6 +184,7 @@ function filterProfessionalScoreInput(value: number | string) {
} }
} }
function getList() { function getList() {
console.log(state.selectForm.batch)
axiosInstance({ axiosInstance({
url: ApiConstant.Score.calculateInvestment, url: ApiConstant.Score.calculateInvestment,
method: 'get', method: 'get',
@ -193,7 +194,7 @@ function getList() {
professionalScore: state.selectForm.professionalScore,// professionalScore: state.selectForm.professionalScore,//
category: state.scoreInfo.cognitioPolyclinic,//this.categoryArray[this.categoryIndex].name category: state.scoreInfo.cognitioPolyclinic,//this.categoryArray[this.categoryIndex].name
professionalCategory: state.selectForm.professionalCategory, professionalCategory: state.selectForm.professionalCategory,
batch: state.batchArray[state.batchIndex].value batch: state.selectForm.batch
}, },
//showLoading: false,// //showLoading: false,//
}).then((response: AxiosResponse) => { }).then((response: AxiosResponse) => {

View File

@ -1,15 +1,15 @@
<template> <template>
<LeftNav /> <LeftNav/>
<div class="main-container wrap main-fullScreen main-div" style="height: unset;background-color: white;"> <div class="main-container wrap main-fullScreen main-div" style="height: unset;background-color: white;">
<div class="filterTable"> <div class="filterTable">
<div class="filterTitle flexWrap"> <div class="filterTitle flexWrap">
<div class="flex-item-75"> <div class="flex-item-75">
<div class="searchSchool"> <div class="searchSchool">
<el-input v-model="state.selectForm.schoolName" maxlength="24" show-word-limit <el-input v-model="state.selectForm.schoolName" maxlength="24" show-word-limit
style="max-width: 230px;height: 40px;line-height: 40px;" placeholder="请输入院校或专业名称" style="max-width: 230px;height: 40px;line-height: 40px;" placeholder="请输入院校或专业名称"
class="input-with-select" /> class="input-with-select"/>
<el-button :icon="Search" @click="reloadSchoolList" <el-button :icon="Search" @click="reloadSchoolList"
style="border-left: none;height: 40px;line-height: 40px;" /> style="border-left: none;height: 40px;line-height: 40px;"/>
</div> </div>
</div> </div>
</div> </div>
@ -18,9 +18,9 @@
<div class="flex-item-1">就读地域</div> <div class="flex-item-1">就读地域</div>
<div class="flex-item-9 tags"> <div class="flex-item-9 tags">
<span class="tag" :class="state.selectForm.addressList.length === 0 ? 'tag-active' : ''" <span class="tag" :class="state.selectForm.addressList.length === 0 ? 'tag-active' : ''"
@click="checkboxAddress('')">不限</span> @click="checkboxAddress('')">不限</span>
<span class="tag" :class="state.selectForm.addressList.includes(item.code) ? 'tag-active' : ''" <span class="tag" :class="state.selectForm.addressList.includes(item.code) ? 'tag-active' : ''"
v-for="(item, index) in state.addressList" :key="index" @click="checkboxAddress(item.code)"> v-for="(item, index) in state.addressList" :key="index" @click="checkboxAddress(item.code)">
{{ item.name }} {{ item.name }}
</span> </span>
</div> </div>
@ -29,9 +29,9 @@
<div class="flex-item-1">院校标签</div> <div class="flex-item-1">院校标签</div>
<div class="flex-item-9 tags"> <div class="flex-item-9 tags">
<span class="tag" :class="state.selectForm.tagsList.length === 0 ? 'tag-active' : ''" <span class="tag" :class="state.selectForm.tagsList.length === 0 ? 'tag-active' : ''"
@click="checkboxSchoolTags('')">不限</span> @click="checkboxSchoolTags('')">不限</span>
<span class="tag" :class="state.selectForm.tagsList.includes(item.code) ? 'tag-active' : ''" <span class="tag" :class="state.selectForm.tagsList.includes(item.code) ? 'tag-active' : ''"
v-for="(item, index) in state.tagsList" :key="index" @click="checkboxSchoolTags(item.code)"> v-for="(item, index) in state.tagsList" :key="index" @click="checkboxSchoolTags(item.code)">
{{ item.name }} {{ item.name }}
</span> </span>
</div> </div>
@ -40,10 +40,10 @@
<div class="flex-item-1">办学类型</div> <div class="flex-item-1">办学类型</div>
<div class="flex-item-9 tags"> <div class="flex-item-9 tags">
<span class="tag" <span class="tag"
:class="state.selectForm.schoolNatureList && state.selectForm.schoolNatureList.length === 0 ? 'tag-active' : ''" :class="state.selectForm.schoolNatureList && state.selectForm.schoolNatureList.length === 0 ? 'tag-active' : ''"
@click="checkboxSchoolNature('')">不限</span> @click="checkboxSchoolNature('')">不限</span>
<span class="tag" :class="state.selectForm.schoolNatureList.includes(item.code) ? 'tag-active' : ''" <span class="tag" :class="state.selectForm.schoolNatureList.includes(item.code) ? 'tag-active' : ''"
v-for="(item, index) in state.schoolNatureList" :key="index" @click="checkboxSchoolNature(item.code)"> v-for="(item, index) in state.schoolNatureList" :key="index" @click="checkboxSchoolNature(item.code)">
{{ item.name }} {{ item.name }}
</span> </span>
</div> </div>
@ -65,12 +65,12 @@
<div class="flexWrap"> <div class="flexWrap">
<div class="flex-item-15 left" @click="showSchoolInfo(item.schoolCode)"> <div class="flex-item-15 left" @click="showSchoolInfo(item.schoolCode)">
<img :src="item.schoolIcon" :alt="item.schoolName" <img :src="item.schoolIcon" :alt="item.schoolName"
style="width: 80px;height: 80px;border-radius: 50%;margin: auto;" /> style="width: 80px;height: 80px;border-radius: 50%;margin: auto;"/>
</div> </div>
<div class="flex-item-8 right"> <div class="flex-item-8 right">
<div class="flexWrap" style="line-height: 30px;" @click="showSchoolInfo(item.schoolCode)"> <div class="flexWrap" style="line-height: 30px;" @click="showSchoolInfo(item.schoolCode)">
<span class="schoolName" <span class="schoolName"
:class="state.testCulturalSchoolCode === item.schoolCode ? 'schoolName-active' : ''"> :class="state.testCulturalSchoolCode === item.schoolCode ? 'schoolName-active' : ''">
{{ item.schoolName }} {{ item.schoolName }}
</span> </span>
<span class="province" v-if="item.province">{{ item.province }}{{ item.city }}{{ <span class="province" v-if="item.province">{{ item.province }}{{ item.city }}{{
@ -83,7 +83,8 @@
</span> </span>
</div> </div>
<div class="" style="margin: 0 0 0 auto;z-index: 99;"> <div class="" style="margin: 0 0 0 auto;z-index: 99;">
<el-button text bg type="primary" @click="handleClickTestCultural(item.schoolCode)">测文化</el-button> <el-button text bg type="primary" @click="handleClickTestCultural(item.schoolCode)">测文化
</el-button>
</div> </div>
</div> </div>
</div> </div>
@ -93,19 +94,22 @@
<el-skeleton :loading="state.loading" style="padding-top: 25px;"></el-skeleton> <el-skeleton :loading="state.loading" style="padding-top: 25px;"></el-skeleton>
<div class="page pd-15"> <div class="page pd-15">
<el-pagination small background @current-change="handlePage" :current-page="state.selectForm.current" <el-pagination small background @current-change="handlePage" :current-page="state.selectForm.current"
:page-size="state.size" :total="state.total" layout="total, prev, pager, next" /> :page-size="state.size" :total="state.total" layout="total, prev, pager, next"/>
<!-- jumper --> <!-- jumper -->
</div> </div>
</div> </div>
</el-col> </el-col>
<!-- 右侧 功能广告--> <!-- 右侧 功能广告-->
<el-col :xs="12" :sm="12"> <el-col :xs="12" :sm="12">
<div style="border: 1px solid #eee" v-if="state.schoolMajorList && state.schoolMajorList.length>0 && state.testCulturalSchoolCode"> <div style="border: 1px solid #eee"
v-if="state.schoolMajorList && state.schoolMajorList.length>0 && state.testCulturalSchoolCode">
<div class="majorList pd-0-15"> <div class="majorList pd-0-15">
<div class="majorItem" v-for="(major, index) in state.schoolMajorList" :key="index"> <div class="majorItem" v-for="(major, index) in state.schoolMajorList" :key="index">
<div class="flexWrap"> <div class="flexWrap">
<div class="flex-item-8"> <div class="flex-item-8">
<div class="flexWrap majorName" :class="state.testCulturalMajorIndex===index+1?'active-blue':''">{{ major.majorName }}</div> <div class="flexWrap majorName" :class="state.testCulturalMajorIndex===index+1?'active-blue':''">{{
major.majorName }}
</div>
<div class="flexWrap"> <div class="flexWrap">
<div class="mr-10">{{ major.batch }}</div> <div class="mr-10">{{ major.batch }}</div>
<div class="mr-10">{{ major.category }}</div> <div class="mr-10">{{ major.category }}</div>
@ -123,38 +127,43 @@
</div> </div>
</div> </div>
</div> </div>
<div style="border: 1px solid #eee" v-show="state.testCulturalMajor && state.testCulturalMajor.majorName" class="trans3 mt-10 pd-15"> <div style="border: 1px solid #eee" v-show="state.testCulturalMajor && state.testCulturalMajor.majorName"
<div class="csTitle">测算结果</div> class="trans3 mt-10 pd-15">
<div class="csScore"> <div class="csTitle">测算结果</div>
<span v-if="state.testCulturalMajor && state.testCulturalMajor.needScore && state.testCulturalMajor.needScore!==0"> <div class="csScore">
<span
v-if="state.testCulturalMajor && state.testCulturalMajor.needScore && state.testCulturalMajor.needScore!==0">
当前需要超过{{ state.testCulturalMajor.needScore }} 当前需要超过{{ state.testCulturalMajor.needScore }}
</span> </span>
<span v-else-if="state.testCulturalMajor.rulesEnrollProbability==='专过文排'"> <span v-else-if="state.testCulturalMajor.rulesEnrollProbability==='专过文排'">
文化分需超过{{ state.testCulturalMajor.score }} 文化分需超过{{ state.testCulturalMajor.score }}
</span> </span>
<span v-else-if="state.testCulturalMajor.rulesEnrollProbability==='文过专排' || state.testCulturalMajor.rulesEnrollProbability==='文过专排主科'"> <span
v-else-if="state.testCulturalMajor.rulesEnrollProbability==='文过专排' || state.testCulturalMajor.rulesEnrollProbability==='文过专排主科'">
专业分需超过{{ state.testCulturalMajor.score }} 专业分需超过{{ state.testCulturalMajor.score }}
</span> </span>
<span v-else> <span v-else>
文化分和专业分需要超过{{ state.testCulturalMajor.score }} 文化分和专业分需要超过{{ state.testCulturalMajor.score }}
</span> </span>
</div>
<div class="csHistory">
<div>{{ state.testCulturalMajor.year }}河南文化分控线为 <span class="score">{{state.testCulturalMajor.culturalScore}}</span>
</div> </div>
<div class="csHistory"> <div>{{ state.testCulturalMajor.year }}河南专业分控线为 <span class="score">{{state.testCulturalMajor.specialScore}}</span>
<div>{{ state.testCulturalMajor.year }}河南文化分控线为 <span class="score">{{state.testCulturalMajor.culturalScore}}</span></div>
<div>{{ state.testCulturalMajor.year }}河南专业分控线为 <span class="score">{{state.testCulturalMajor.specialScore}}</span></div>
</div>
<div class="border-t mt-10 mb-10"></div>
<div class="csLqfs">
<div class="title">录取方式</div>
<span class="detail">{{ state.testCulturalMajor.rulesEnrollProbability || '未知' }}</span>
<div class="title">院校限制</div>
<span class="detail">{{ state.testCulturalMajor.limitation||'暂无' }}</span>
</div> </div>
</div> </div>
<div class="border-t mt-10 mb-10"></div>
<div class="csLqfs">
<div class="title">录取方式</div>
<span class="detail">{{ state.testCulturalMajor.rulesEnrollProbability || '未知' }}</span>
<div class="title">院校限制</div>
<span class="detail">{{ state.testCulturalMajor.limitation||'暂无' }}</span>
</div>
</div>
<div class="textCenter" v-show="!state.testCulturalSchoolCode"> <div class="textCenter" v-show="!state.testCulturalSchoolCode">
<span>选择院校点击测文化即可查看专业</span> <span>选择院校点击测文化即可查看专业</span>
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
@ -164,14 +173,15 @@
</template> </template>
<script setup lang="ts"> <script setup lang="ts">
import { reactive } from 'vue' import {reactive} from 'vue'
import apiConstant from "@/utils/ApiConstant"; import apiConstant from "@/utils/ApiConstant";
import axiosInstance from '@/utils/http'; import axiosInstance from '@/utils/http';
import { SchoolEntity } from "@/types"; import {SchoolEntity} from "@/types";
import { Search } from '@element-plus/icons-vue'; import {Search} from '@element-plus/icons-vue';
import LeftNav from "@/components/LeftNav.vue"; import LeftNav from "@/components/LeftNav.vue";
import StaticConstant from '@/utils/StaticConstant'; import StaticConstant from '@/utils/StaticConstant';
import { getTestCultural } from '@/axios/major/MajorApi'; import {getTestCultural} from '@/axios/major/MajorApi';
document.title = '找大学|' + import.meta.env.VITE_PROGRAM_TYPE; document.title = '找大学|' + import.meta.env.VITE_PROGRAM_TYPE;
//tabs //tabs
const state = reactive({ const state = reactive({
@ -189,8 +199,8 @@ const state = reactive({
total: 0, total: 0,
current: 1, current: 1,
loading: false,//? true /false loading: false,//? true /false
testCulturalMajor:{} as any, testCulturalMajor: {} as any,
testCulturalMajorIndex:null as any,// testCulturalMajorIndex: null as any,//
testCulturalSchoolCode: '',// testCulturalSchoolCode: '',//
addressList: [...StaticConstant.addressList] as any,// addressList: [...StaticConstant.addressList] as any,//
kyjxList: ['硕士点', '博士点', '保研'] as Array<string>,// kyjxList: ['硕士点', '博士点', '保研'] as Array<string>,//
@ -272,6 +282,7 @@ function checkboxAddress(addressCode: string) {
} }
reloadSchoolList() reloadSchoolList()
} }
// //
function checkboxKyjx(kyjx: string) { function checkboxKyjx(kyjx: string) {
if (!kyjx) { if (!kyjx) {
@ -283,6 +294,7 @@ function checkboxKyjx(kyjx: string) {
} }
reloadSchoolList() reloadSchoolList()
} }
// //
function checkboxSchoolTags(schoolTag: string) { function checkboxSchoolTags(schoolTag: string) {
if (!schoolTag) { if (!schoolTag) {
@ -294,6 +306,7 @@ function checkboxSchoolTags(schoolTag: string) {
} }
reloadSchoolList() reloadSchoolList()
} }
// //
function checkboxSchoolNature(schoolNature: string) { function checkboxSchoolNature(schoolNature: string) {
if (!schoolNature) { if (!schoolNature) {
@ -316,12 +329,12 @@ const handleClickTestCultural = async (schoolCode: string) => {
state.testCulturalSchoolCode = schoolCode state.testCulturalSchoolCode = schoolCode
state.testCulturalMajorIndex = undefined state.testCulturalMajorIndex = undefined
state.testCulturalMajor = {} state.testCulturalMajor = {}
const result = await getTestCultural({ schoolCode: schoolCode, year: '2023' }); const result = await getTestCultural({schoolCode: schoolCode, year: '2023'});
state.schoolMajorList = result state.schoolMajorList = result
} }
// //
const handleClickTestCulturalMajor = (major:any,index:number)=>{ const handleClickTestCulturalMajor = (major: any, index: number) => {
state.testCulturalMajorIndex = index state.testCulturalMajorIndex = index
state.testCulturalMajor = major state.testCulturalMajor = major
} }
@ -351,35 +364,42 @@ function clearFilter() {
padding: 0 10px; padding: 0 10px;
margin: 0 20px 0 15px; margin: 0 20px 0 15px;
} }
// start // start
.csTitle{ .csTitle {
padding: 10px 0; padding: 10px 0;
font-size: 20px; font-size: 20px;
text-align: center; text-align: center;
color: $color-blue-60; color: $color-blue-60;
} }
.csScore{
.csScore {
padding: 10px 0; padding: 10px 0;
text-align: center; text-align: center;
color:$color-black-60; color: $color-black-60;
} }
.csHistory{
.csHistory {
text-align: center; text-align: center;
color:$color-black-60; color: $color-black-60;
.score{
.score {
font-weight: 600; font-weight: 600;
color:$color-blue-50; color: $color-blue-50;
} }
} }
// //
.csLqfs{ .csLqfs {
.title{ .title {
color:$color-black-60; color: $color-black-60;
} }
.detail{
.detail {
font-weight: 600; font-weight: 600;
color:$color-blue-50; color: $color-blue-50;
} }
} }
// end // end
</style> </style>