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

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

@@ -1,7 +1,7 @@
<template>
<div>
<p style="line-height:33pt; margin:0pt; orphans:0; text-align:center; widows:0">
<span v-if="localFormData.listAllYear.length > 0" style="font-family:方正小标宋简体; font-size:20pt">{{ localFormData.listAllYear[1].stuYearName }}</span>
<span v-if="localFormData.listAllYear.length > 0" style="font-family:方正小标宋简体; font-size:20pt">{{ localFormData.listAllYear[0].stuYearName }}</span>
<span style="font-family:方正小标宋简体; font-size:20pt">国家</span><span
style="font-family:方正小标宋简体; font-size:20pt"
>励志</span><span
@@ -688,7 +688,7 @@ import { doApply } from '@/api/comprehensive/knzzGlApply'
import { boolImg, CheckImgExists, isEmpty, fullLoading } from '@/api/helpFunc'
import { getTokenKeySessionStorage as getToken } from '@/utils/auth'
import dayjs from 'dayjs'
import { listAllYear } from '@/api/stuCQS/basedata/year'
import { listAllYear,getYearByTag } from '@/api/stuCQS/basedata/year'
export default {
name: 'GlApply',
@@ -848,7 +848,15 @@ export default {
},
async getOwnKnrd() {
let res = await getOwnKnrd()
const response = await listAllYear()
/* const response = await listAllYear() */
/* 此处使用硬编码,请根据实际情况修改。
当前页面的功能是获取'国家励志奖学金---NLZJ'标签对应的学年信息。
涉及到学年标签字典module_tag需要在字典管理中查询对应的信息。
如果在字典管理更改了 学年标签 的信息,此处也要进行相应修改。
尽量避免学年标签字典的更改!!!! */
const response = await getYearByTag('NLZJ')
if (res.code == 200) {
let data = { ...res.data }
let knrd = data.xsqmyj