updates
This commit is contained in:
parent
99684f8d9b
commit
431f496b6e
|
|
@ -12,3 +12,4 @@ VITE_UPLOAD_URL = '/'
|
|||
VITE_APP_TITLE = ''
|
||||
|
||||
VITE_PROGRAM_TYPE = '艺体志愿宝'
|
||||
+
|
||||
|
|
@ -8,8 +8,6 @@
|
|||
</head>
|
||||
<body>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
4674
pnpm-lock.yaml
4674
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
|
|
@ -207,11 +207,11 @@
|
|||
<div class="top-align">
|
||||
<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="showClick" @click="openMajor(scope.row.majorCode)">{{ 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>
|
||||
<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 class="flexWrap mt-20" style="line-height: 10px;">
|
||||
<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>
|
||||
|
|
@ -220,10 +220,11 @@
|
|||
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="25省内招生" align="center">
|
||||
<el-table-column label="26省内招生" align="center">
|
||||
<template #default="scope">
|
||||
<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 class="flexWrap mt-10">
|
||||
<span style="margin: 0 auto;">
|
||||
|
|
@ -253,10 +254,10 @@
|
|||
</div>
|
||||
</template>
|
||||
</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">
|
||||
<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 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>
|
||||
|
|
@ -380,7 +381,7 @@
|
|||
<div class="top-align" v-if="scope.row.schoolName">
|
||||
<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 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;">
|
||||
<span class="font-size-14 main-container">专业代码</span>
|
||||
|
|
@ -390,11 +391,12 @@
|
|||
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="25省内招生" width="150" align="center">
|
||||
<el-table-column label="26省内招生" width="150" align="center">
|
||||
<template #default="scope">
|
||||
<div v-if="scope.row.schoolName">
|
||||
<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 class="flexWrap mt-10">
|
||||
<span style="margin: 0 auto;">
|
||||
|
|
@ -422,11 +424,11 @@
|
|||
</div>
|
||||
</template>
|
||||
</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">
|
||||
<div>
|
||||
<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 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>
|
||||
|
|
@ -512,7 +514,7 @@
|
|||
<div class="top-align">
|
||||
<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.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;">
|
||||
<span class="font-size-14 mr-5">专业代码</span>
|
||||
|
|
@ -544,10 +546,11 @@
|
|||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="25省内招生" width="150" align="center">
|
||||
<el-table-column label="26省内招生" width="150" align="center">
|
||||
<template #default="scope">
|
||||
<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 class="flexWrap mt-10">
|
||||
<span style="margin: 0 auto;">
|
||||
|
|
@ -578,10 +581,10 @@
|
|||
</div>
|
||||
</template>
|
||||
</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">
|
||||
<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 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>
|
||||
|
|
|
|||
|
|
@ -30,8 +30,8 @@ const router = useRouter()
|
|||
//轮播图组件参数
|
||||
const modules = [Navigation, Pagination, Scrollbar, A11y, Autoplay];
|
||||
const images = [
|
||||
{ url: 'https://mp-7a4eecb1-2a04-4d36-b050-1c4a78cc31a4.cdn.bspapp.com/images/web-bakground/20250619212921.jpg', 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/13274cb8-2c88-452b-b70b-9ca4e603606a.jpeg', 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/2f7805626e85d9fec0ea40573b86886.png', link: '' },
|
||||
// { url: 'https://mp-7a4eecb1-2a04-4d36-b050-1c4a78cc31a4.cdn.bspapp.com/images/web-bakground/42bf964bb240d8571c8d2258a1f74e5.png', link: '' },
|
||||
|
|
|
|||
|
|
@ -184,6 +184,7 @@ function filterProfessionalScoreInput(value: number | string) {
|
|||
}
|
||||
}
|
||||
function getList() {
|
||||
console.log(state.selectForm.batch)
|
||||
axiosInstance({
|
||||
url: ApiConstant.Score.calculateInvestment,
|
||||
method: 'get',
|
||||
|
|
@ -193,7 +194,7 @@ function getList() {
|
|||
professionalScore: state.selectForm.professionalScore,//统考分
|
||||
category: state.scoreInfo.cognitioPolyclinic,//this.categoryArray[this.categoryIndex].name
|
||||
professionalCategory: state.selectForm.professionalCategory,
|
||||
batch: state.batchArray[state.batchIndex].value
|
||||
batch: state.selectForm.batch
|
||||
},
|
||||
//showLoading: false,//是否显示加载图标
|
||||
}).then((response: AxiosResponse) => {
|
||||
|
|
|
|||
|
|
@ -1,15 +1,15 @@
|
|||
<template>
|
||||
<LeftNav />
|
||||
<LeftNav/>
|
||||
<div class="main-container wrap main-fullScreen main-div" style="height: unset;background-color: white;">
|
||||
<div class="filterTable">
|
||||
<div class="filterTitle flexWrap">
|
||||
<div class="flex-item-75">
|
||||
<div class="searchSchool">
|
||||
<el-input v-model="state.selectForm.schoolName" maxlength="24" show-word-limit
|
||||
style="max-width: 230px;height: 40px;line-height: 40px;" placeholder="请输入院校或专业名称"
|
||||
class="input-with-select" />
|
||||
style="max-width: 230px;height: 40px;line-height: 40px;" placeholder="请输入院校或专业名称"
|
||||
class="input-with-select"/>
|
||||
<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>
|
||||
|
|
@ -18,9 +18,9 @@
|
|||
<div class="flex-item-1">就读地域</div>
|
||||
<div class="flex-item-9 tags">
|
||||
<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' : ''"
|
||||
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 }}
|
||||
</span>
|
||||
</div>
|
||||
|
|
@ -29,9 +29,9 @@
|
|||
<div class="flex-item-1">院校标签</div>
|
||||
<div class="flex-item-9 tags">
|
||||
<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' : ''"
|
||||
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 }}
|
||||
</span>
|
||||
</div>
|
||||
|
|
@ -40,10 +40,10 @@
|
|||
<div class="flex-item-1">办学类型</div>
|
||||
<div class="flex-item-9 tags">
|
||||
<span class="tag"
|
||||
:class="state.selectForm.schoolNatureList && state.selectForm.schoolNatureList.length === 0 ? 'tag-active' : ''"
|
||||
@click="checkboxSchoolNature('')">不限</span>
|
||||
:class="state.selectForm.schoolNatureList && state.selectForm.schoolNatureList.length === 0 ? 'tag-active' : ''"
|
||||
@click="checkboxSchoolNature('')">不限</span>
|
||||
<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 }}
|
||||
</span>
|
||||
</div>
|
||||
|
|
@ -65,12 +65,12 @@
|
|||
<div class="flexWrap">
|
||||
<div class="flex-item-15 left" @click="showSchoolInfo(item.schoolCode)">
|
||||
<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 class="flex-item-8 right">
|
||||
<div class="flexWrap" style="line-height: 30px;" @click="showSchoolInfo(item.schoolCode)">
|
||||
<span class="schoolName"
|
||||
:class="state.testCulturalSchoolCode === item.schoolCode ? 'schoolName-active' : ''">
|
||||
:class="state.testCulturalSchoolCode === item.schoolCode ? 'schoolName-active' : ''">
|
||||
{{ item.schoolName }}
|
||||
</span>
|
||||
<span class="province" v-if="item.province">{{ item.province }}{{ item.city }}{{
|
||||
|
|
@ -83,7 +83,8 @@
|
|||
</span>
|
||||
</div>
|
||||
<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>
|
||||
|
|
@ -93,19 +94,22 @@
|
|||
<el-skeleton :loading="state.loading" style="padding-top: 25px;"></el-skeleton>
|
||||
<div class="page pd-15">
|
||||
<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 -->
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
<!-- 右侧 功能广告-->
|
||||
<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="majorItem" v-for="(major, index) in state.schoolMajorList" :key="index">
|
||||
<div class="flexWrap">
|
||||
<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="mr-10">{{ major.batch }}</div>
|
||||
<div class="mr-10">{{ major.category }}</div>
|
||||
|
|
@ -123,34 +127,39 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="border: 1px solid #eee" v-show="state.testCulturalMajor && state.testCulturalMajor.majorName" class="trans3 mt-10 pd-15">
|
||||
<div class="csTitle">测算结果</div>
|
||||
<div class="csScore">
|
||||
<span v-if="state.testCulturalMajor && state.testCulturalMajor.needScore && state.testCulturalMajor.needScore!==0">
|
||||
<div style="border: 1px solid #eee" v-show="state.testCulturalMajor && state.testCulturalMajor.majorName"
|
||||
class="trans3 mt-10 pd-15">
|
||||
<div class="csTitle">测算结果</div>
|
||||
<div class="csScore">
|
||||
<span
|
||||
v-if="state.testCulturalMajor && state.testCulturalMajor.needScore && state.testCulturalMajor.needScore!==0">
|
||||
当前需要超过{{ state.testCulturalMajor.needScore }}分
|
||||
</span>
|
||||
<span v-else-if="state.testCulturalMajor.rulesEnrollProbability==='专过文排'">
|
||||
<span v-else-if="state.testCulturalMajor.rulesEnrollProbability==='专过文排'">
|
||||
文化分需超过{{ state.testCulturalMajor.score }}分
|
||||
</span>
|
||||
<span v-else-if="state.testCulturalMajor.rulesEnrollProbability==='文过专排' || state.testCulturalMajor.rulesEnrollProbability==='文过专排主科'">
|
||||
<span
|
||||
v-else-if="state.testCulturalMajor.rulesEnrollProbability==='文过专排' || state.testCulturalMajor.rulesEnrollProbability==='文过专排主科'">
|
||||
专业分需超过{{ state.testCulturalMajor.score }}分
|
||||
</span>
|
||||
<span v-else>
|
||||
<span v-else>
|
||||
文化分和专业分需要超过{{ state.testCulturalMajor.score }}分
|
||||
</span>
|
||||
</div>
|
||||
<div class="csHistory">
|
||||
<div>{{ state.testCulturalMajor.year }}河南文化分控线为 <span class="score">{{state.testCulturalMajor.culturalScore}}</span>分
|
||||
</div>
|
||||
<div class="csHistory">
|
||||
<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>{{ 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 class="textCenter" v-show="!state.testCulturalSchoolCode">
|
||||
<span>选择院校点击测文化即可查看专业</span>
|
||||
</div>
|
||||
|
|
@ -164,14 +173,15 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { reactive } from 'vue'
|
||||
import {reactive} from 'vue'
|
||||
import apiConstant from "@/utils/ApiConstant";
|
||||
import axiosInstance from '@/utils/http';
|
||||
import { SchoolEntity } from "@/types";
|
||||
import { Search } from '@element-plus/icons-vue';
|
||||
import {SchoolEntity} from "@/types";
|
||||
import {Search} from '@element-plus/icons-vue';
|
||||
import LeftNav from "@/components/LeftNav.vue";
|
||||
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;
|
||||
//激活的tabs页
|
||||
const state = reactive({
|
||||
|
|
@ -189,8 +199,8 @@ const state = reactive({
|
|||
total: 0,
|
||||
current: 1,
|
||||
loading: false,//加载中? true 加载/false 关闭
|
||||
testCulturalMajor:{} as any,
|
||||
testCulturalMajorIndex:null as any,//
|
||||
testCulturalMajor: {} as any,
|
||||
testCulturalMajorIndex: null as any,//
|
||||
testCulturalSchoolCode: '',//是否需要测文化分
|
||||
addressList: [...StaticConstant.addressList] as any,//就读地域筛选项
|
||||
kyjxList: ['硕士点', '博士点', '保研'] as Array<string>,//科研教学筛选项
|
||||
|
|
@ -272,6 +282,7 @@ function checkboxAddress(addressCode: string) {
|
|||
}
|
||||
reloadSchoolList()
|
||||
}
|
||||
|
||||
//选择科研教学
|
||||
function checkboxKyjx(kyjx: string) {
|
||||
if (!kyjx) {
|
||||
|
|
@ -283,6 +294,7 @@ function checkboxKyjx(kyjx: string) {
|
|||
}
|
||||
reloadSchoolList()
|
||||
}
|
||||
|
||||
//选择院校标签
|
||||
function checkboxSchoolTags(schoolTag: string) {
|
||||
if (!schoolTag) {
|
||||
|
|
@ -294,6 +306,7 @@ function checkboxSchoolTags(schoolTag: string) {
|
|||
}
|
||||
reloadSchoolList()
|
||||
}
|
||||
|
||||
//选择办学类型
|
||||
function checkboxSchoolNature(schoolNature: string) {
|
||||
if (!schoolNature) {
|
||||
|
|
@ -316,12 +329,12 @@ const handleClickTestCultural = async (schoolCode: string) => {
|
|||
state.testCulturalSchoolCode = schoolCode
|
||||
state.testCulturalMajorIndex = undefined
|
||||
state.testCulturalMajor = {}
|
||||
const result = await getTestCultural({ schoolCode: schoolCode, year: '2023' });
|
||||
const result = await getTestCultural({schoolCode: schoolCode, year: '2023'});
|
||||
state.schoolMajorList = result
|
||||
}
|
||||
|
||||
//选择测文化专业
|
||||
const handleClickTestCulturalMajor = (major:any,index:number)=>{
|
||||
const handleClickTestCulturalMajor = (major: any, index: number) => {
|
||||
state.testCulturalMajorIndex = index
|
||||
state.testCulturalMajor = major
|
||||
}
|
||||
|
|
@ -351,35 +364,42 @@ function clearFilter() {
|
|||
padding: 0 10px;
|
||||
margin: 0 20px 0 15px;
|
||||
}
|
||||
|
||||
//测文化 start
|
||||
.csTitle{
|
||||
.csTitle {
|
||||
padding: 10px 0;
|
||||
font-size: 20px;
|
||||
text-align: center;
|
||||
color: $color-blue-60;
|
||||
}
|
||||
.csScore{
|
||||
|
||||
.csScore {
|
||||
padding: 10px 0;
|
||||
text-align: center;
|
||||
color:$color-black-60;
|
||||
color: $color-black-60;
|
||||
}
|
||||
.csHistory{
|
||||
|
||||
.csHistory {
|
||||
text-align: center;
|
||||
color:$color-black-60;
|
||||
.score{
|
||||
color: $color-black-60;
|
||||
|
||||
.score {
|
||||
font-weight: 600;
|
||||
color:$color-blue-50;
|
||||
color: $color-blue-50;
|
||||
}
|
||||
}
|
||||
|
||||
//录取方式
|
||||
.csLqfs{
|
||||
.title{
|
||||
color:$color-black-60;
|
||||
.csLqfs {
|
||||
.title {
|
||||
color: $color-black-60;
|
||||
}
|
||||
.detail{
|
||||
|
||||
.detail {
|
||||
font-weight: 600;
|
||||
color:$color-blue-50;
|
||||
color: $color-blue-50;
|
||||
}
|
||||
}
|
||||
|
||||
// 测文化 end
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Reference in New Issue