流程任务表单页面标题根据不同申请显示

This commit is contained in:
962704835@qq.com
2025-12-19 19:02:23 +08:00
parent 909238d898
commit 28b7d7af64

View File

@@ -137,10 +137,18 @@
this.taskForm.executionId = query.executionId
this.taskForm.taskId = query.taskId
this.taskName = query.taskName
if (this.category == 'enlistmentReserve') { // 入伍保留学籍表单
if (this.category == 'enlistmentReserve') { // 入伍保留学籍申请表单
this.getEnlistmentReserve(this.taskForm.procInsId);
} else if (this.category == 'outsideAccommodation') {
// 页面标题修改
uni.setNavigationBarTitle({
title: '入伍保留学籍申请详情'
});
} else if (this.category == 'outsideAccommodation') { // 外宿申请表单
this.getOutsideAccommodation(this.taskForm.procInsId);
// 页面标题修改
uni.setNavigationBarTitle({
title: '外宿申请详情'
});
}
getUserProfile().then(res => {
this.user = res.data