fix: 修正外出申请页面中的文本描述错误

将页面中的"请假"相关文本统一修改为"外出",包括标题、列表名称、确认提示和注释,以匹配实际业务场景
This commit is contained in:
砂糖
2026-01-24 10:55:20 +08:00
parent dc6d176039
commit 98136b63cc

View File

@@ -4,7 +4,7 @@
<el-col :span="6">
<el-card>
<template slot="header">
<span>提交请假申请</span>
<span>提交外出申请</span>
</template>
<!-- 左侧是新增表单 -->
<el-form ref="form" :model="form" :rules="rules" label-width="80px" v-loading="loading">
@@ -60,7 +60,7 @@
<el-col :span="18">
<el-card>
<template slot="header">
<span>请假申请列表</span>
<span>外出申请列表</span>
<el-button style="float: right;" icon="el-icon-refresh" @click="getList">刷新</el-button>
</template>
<el-table v-loading="loading" :data="leaveRequestList">
@@ -197,7 +197,7 @@ export default {
}
this.form.approverName = approverName
},
/** 查询员工请假申请列表 */
/** 查询外出申请列表 */
getList() {
this.loading = true;
listApproval(this.queryParams).then(response => {
@@ -317,7 +317,7 @@ export default {
});
},
handleWithdraw(row) {
this.$modal.confirm('是否确认撤回请假申请编号为"' + row.applyId + '"的数据项?').then(() => {
this.$modal.confirm('是否确认撤回外出申请编号为"' + row.applyId + '"的数据项?').then(() => {
this.loading = true;
return updateApproval({
approvalId: row.approvalId,
@@ -353,7 +353,7 @@ export default {
}
return textMap[status] || '未知状态'
},
// 核心新增:自动计算请假天数的方法
// 核心新增:自动计算外出小时数的方法
calculateLeaveDays() {
const { startTime, endTime } = this.form;
// 两个时间都选择后才计算