学年标签适配学生奖惩、学生资助模块

This commit is contained in:
2025-12-24 09:31:25 +08:00
parent 00d3f3f2cc
commit 3803738223
37 changed files with 410 additions and 85 deletions

View File

@@ -635,7 +635,7 @@ import {getOwnInfo, getOwnExtraInfo, getOwnKnrd, getOwnFamily} from '@/api/compr
import {boolImg, CheckImgExists, isEmpty, fullLoading} from '@/api/helpFunc'
import {getTokenKeySessionStorage as getToken} from '@/utils/auth'
import {doApply} from '@/api/comprehensive/knzzZzqApply'
import { listAllEnableYear } from '@/api/stuCQS/basedata/year'
import { listAllEnableYear ,getYearByTag} from '@/api/stuCQS/basedata/year'
@@ -712,7 +712,14 @@ export default {
methods: {
async fetchLeaderData() {
try {
const response = await listAllEnableYear({ /* 你的查询参数 */ })
//const response = await listAllEnableYear({ /* 你的查询参数 */ })
/* 此处使用硬编码,请根据实际情况修改。
当前页面的功能是获取'自治区人民政府奖学金---RMZF'标签对应的学年信息。
涉及到学年标签字典module_tag需要在字典管理中查询对应的信息。
如果在字典管理更改了 学年标签 的信息,此处也要进行相应修改。
---尽量避免学年标签字典的更改!!!! */
const response = await getYearByTag('RMZF')
this.leaderList = response.data
} catch (error) {
console.error('Failed to fetch leader data:', error)

View File

@@ -276,7 +276,7 @@ import { getTokenKeySessionStorage as getToken } from '@/utils/auth'
import {selectTestStu} from '@/api/stuCQS/info-fill/sportTest'
import { getDicts } from '@/api/system/dict/data'
import { listDisciplinaryApplication } from '@/api/routine/disciplinaryApplication'
import { listOwnScoreClassRank } from '@/api/stuCQS/good/apply'
import { listOwnScoreClassRank,listOwnScoreClassRankByTag } from '@/api/stuCQS/good/apply'
import TufaApply from '@/views/comprehensive/knzzZzqApply/cpnt/TufaApply.vue'
import TufaLook from '@/views/comprehensive/knzzZzqApply/cpnt/TufaLook.vue'
@@ -506,7 +506,13 @@ export default {
},
async fetchcjpm() {
let loading = fullLoading(this)
let res = await listOwnScoreClassRank().catch(error => {
/* 此处使用硬编码,请根据实际情况修改。
当前页面的功能是获取'自治区人民政府奖学金---RMZF'标签对应的学年信息。
涉及到学年标签字典module_tag需要在字典管理中查询对应的信息。
如果在字典管理更改了 学年标签 的信息,此处也要进行相应修改。
---尽量避免学年标签字典的更改!!!! */
let res = await listOwnScoreClassRankByTag('RMZF').catch(error => {
console.error('Error fetching score rank:', error)
return { code: 500 }
})
@@ -522,6 +528,7 @@ export default {
return false
}
}
this.$message.info('无法获取您的专业排名数据')
return false
},
lookVClick(row) {