学生资助-手写签名改为从学生资料获取

This commit is contained in:
2026-03-12 12:13:15 +08:00
parent 5550482a51
commit 867d98bba1
6 changed files with 111 additions and 67 deletions

View File

@@ -220,12 +220,12 @@
<view class="approval-section">
<view class="section-title">院系审核意见</view>
<view class="approval-content">
<text v-if="formData.deptCmt" class="approval-text">{{ formData.deptCmt }}</text>
<text v-if="formData.xwCmt" class="approval-text">{{ formData.xwCmt }}</text>
<text v-else class="no-content">暂无审核意见</text>
</view>
<view class="approval-info">
<text v-if="formData.xwName">审核人{{ formData.xwName }}</text>
<text v-if="formData.deptDate">审核时间{{ formData.deptDate }}</text>
<text v-if="formData.xwDate">审核时间{{ formData.xwDate }}</text>
</view>
</view>
@@ -260,6 +260,7 @@
import { getDetail, doApply, doEdit, doReApply, getOwnInfo, getOwnExtraInfo, getYearByTag } from '@/api/finance/knzzZzq';
import { getOwnSign } from '@/api/workStudy/post';
import uploadFile from "@/plugins/upload.js";
import { getUserProfile } from '@/api/system/user';
import config from "@/config.js";
export default {
name: "KnzzZzqApply",
@@ -389,9 +390,9 @@ import config from "@/config.js";
await this.fetchYearData();
// 并行请求所有基础信息
const [infoRes, signRes] = await Promise.all([
const [infoRes, userProfileRes] = await Promise.all([
getOwnInfo(),
getOwnSign()
getUserProfile()
]);
const infoData = infoRes.data || {};
@@ -416,9 +417,9 @@ import config from "@/config.js";
}
// 处理签名信息
if (signRes && signRes.data) {
this.formData.applySign = signRes.data;
this.signImg = this.baseUrl + signRes.data;
if (userProfileRes && userProfileRes.code === 200 && userProfileRes.data && userProfileRes.data.signature) {
this.formData.applySign = userProfileRes.data.signature;
this.signImg = this.baseUrl + userProfileRes.data.signature;
}
// 获取个人扩展信息