updates
This commit is contained in:
parent
bb475734f6
commit
ca71de90f0
|
|
@ -18,6 +18,7 @@ interface VolunteerTab {
|
|||
|
||||
interface MajorDetail {
|
||||
code: string
|
||||
enrollmentCode: string
|
||||
name: string
|
||||
prob: number
|
||||
batch: string
|
||||
|
|
@ -268,7 +269,8 @@ async function openMajorModal(school: MajorItem) {
|
|||
|
||||
if (res && res.list && res.list.items) {
|
||||
modalMajors.value = res.list.items.map(m => ({
|
||||
code: m.majorCode,
|
||||
code: m.majorCode, //专业代码
|
||||
enrollmentCode: m.enrollmentCode, // 招录代码
|
||||
name: m.majorName,
|
||||
prob: m.enrollProbability,
|
||||
score: m.studentScore,
|
||||
|
|
@ -278,7 +280,6 @@ async function openMajorModal(school: MajorItem) {
|
|||
plan: m.planNum,
|
||||
req: m.mainSubjects,
|
||||
tuition: m.tuition,
|
||||
enrollmentCode: m.enrollmentCode // 保持后端原始字段以便拼接
|
||||
}))
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
@ -1198,7 +1199,7 @@ function deletePlan(planId: string) {
|
|||
<span class="text-sm text-slate-500">院校代码: {{ currentSchool?.schoolCode }}</span>
|
||||
</div>
|
||||
<p class="mt-1 text-xs text-slate-500">
|
||||
该院校下符合您选科要求的其他专业列表
|
||||
该院校下的其他专业列表
|
||||
</p>
|
||||
</div>
|
||||
<button class="rounded-full p-1 text-slate-400 hover:bg-slate-200 hover:text-slate-600" @click="closeModal">
|
||||
|
|
@ -1234,7 +1235,7 @@ function deletePlan(planId: string) {
|
|||
录取方式
|
||||
</th>
|
||||
<th class="px-6 py-3 text-center">
|
||||
招生计划
|
||||
省内招生人数
|
||||
</th>
|
||||
<th
|
||||
class="sticky right-0 bg-slate-100 px-6 py-3 text-center shadow-[-4px_0_8px_-4px_rgba(0,0,0,0.1)]"
|
||||
|
|
@ -1258,7 +1259,7 @@ function deletePlan(planId: string) {
|
|||
class="group transition-colors hover:bg-blue-50/30"
|
||||
>
|
||||
<td class="px-6 py-4 text-xs text-slate-400 font-mono">
|
||||
{{ major.code }}
|
||||
{{ major.enrollmentCode }}
|
||||
</td>
|
||||
<td class="px-6 py-4">
|
||||
<div class="text-base text-slate-800 font-bold">
|
||||
|
|
@ -1275,8 +1276,7 @@ function deletePlan(planId: string) {
|
|||
</td>
|
||||
<td class="px-6 py-4 text-center">
|
||||
<span
|
||||
class="font-bold" :class="major.prob >= 80 ? 'text-green-600' : 'text-orange-500'
|
||||
"
|
||||
class="font-bold" :class="getStatusColor(getProbabilityLabel(major.prob))"
|
||||
>{{ major.prob }}%</span>
|
||||
</td>
|
||||
<td class="px-6 py-4 text-center font-medium">
|
||||
|
|
|
|||
Loading…
Reference in New Issue