1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

update affair management

This commit is contained in:
assina045
2023-05-06 17:57:29 +08:00
parent 59621baf47
commit 2d10688e82
2 changed files with 25 additions and 6 deletions

View File

@@ -28,10 +28,17 @@
<el-table-column label="事务名称" prop="title" /> <el-table-column label="事务名称" prop="title" />
<el-table-column label="事务类型" prop="typeId" /> <el-table-column label="事务类型" prop="typeId">
<template #default="scope">
<el-table-column label="申请者" prop="applicantId" /> {{ scope.row.typeId === 1 ? '病假' : '事假' }}
</template>
</el-table-column>
<el-table-column label="申请者" prop="applicantId">
<template #default="scope">
{{ scope.row.applicantId === 1 ? 'ggb' : 'gzw' }}
</template>
</el-table-column>
<el-table-column label="提交日期" prop="createTime"> <el-table-column label="提交日期" prop="createTime">
<template #default="scope"> <template #default="scope">
{{ format(scope.row.createTime) }} {{ format(scope.row.createTime) }}
@@ -55,7 +62,11 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="审批" width="90" prop="inspectorId" /> <el-table-column label="审批结果" width="90" prop="status">
<template #default="scope">
{{ scope.row.status === 1 ? '同意' : '驳回' }}
</template>
</el-table-column>
</el-table> </el-table>
<el-divider :data="labelData"> <el-divider :data="labelData">

View File

@@ -28,9 +28,17 @@
<el-table-column label="事务名称" prop="title" /> <el-table-column label="事务名称" prop="title" />
<el-table-column label="事务类型" prop="typeId" /> <el-table-column label="事务类型" prop="typeId">
<template #default="scope">
{{ scope.row.typeId === 1 ? '病假' : '事假' }}
</template>
</el-table-column>
<el-table-column label="申请者" prop="applicantId" /> <el-table-column label="申请者" prop="applicantId">
<template #default="scope">
{{ scope.row.applicantId === 1 ? 'ggb' : 'gzw' }}
</template>
</el-table-column>
<el-table-column label="日期" prop="createTime"> <el-table-column label="日期" prop="createTime">
<template #default="scope"> <template #default="scope">