请假功能内容修改

This commit is contained in:
2025-12-03 09:59:20 +08:00
parent 3eaadca4b6
commit d05cfe8c30
9 changed files with 2065 additions and 1745 deletions

View File

@@ -371,6 +371,7 @@
getRtStuQuitSchoolByProcInsId(procInsId) {
getRtStuQuitSchoolByProcInsId(procInsId).then((res) => {
this.formData = res.data;
console.log(this.formData)
this.get_penalty_type(this.formData.quitType);
this.get_category(this.formData.quitCategory);
if (this.tag == 1) {
@@ -422,9 +423,9 @@
const pages = getCurrentPages();
if (pages && pages.length > 0) {
const prevPage = pages[pages.length - 2] || pages[pages.length - 1];
if (prevPage && typeof prevPage.handleChange === 'function') {
prevPage.handleChange(this.tag || 1);
}
if (prevPage && typeof prevPage.handleChange === 'function') {
prevPage.handleChange(2);
}
}
}
@@ -495,18 +496,18 @@
});
}
uni.hideLoading();
uni.navigateBack({
success: () => {
const pages = getCurrentPages();
if (pages && pages.length > 0) {
const prevPage = pages[pages.length - 2] || pages[pages.length - 1];
if (prevPage && typeof prevPage.handleChange === 'function') {
prevPage.handleChange(this.tag || 1);
}
uni.navigateBack({
success: () => {
const pages = getCurrentPages();
if (pages.length > 0) {
const prevPage = pages[pages.length - 2]
if (prevPage && typeof prevPage.getList === 'function') {
prevPage.handleChange(2);
}
}
})
}
})
})
},
rejectDialogConfirm() {
@@ -528,10 +529,10 @@
const pages = getCurrentPages();
if (pages && pages.length > 0) {
const prevPage = pages[pages.length - 2] || pages[pages.length - 1];
if (prevPage && typeof prevPage.handleChange === 'function') {
prevPage.handleChange(this.tag || 1);
console.log('刷新任务数据');
}
if (prevPage && typeof prevPage.handleChange === 'function') {
prevPage.handleChange(2);
console.log('刷新已办任务数据');
}
}
}
})