Merge pull request #63 from geekymv/fix-leave-status

修改OA请假示例审批结果字段
This commit is contained in:
芋道源码 2024-07-07 11:19:19 +08:00 committed by GitHub
commit c825216063
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,9 +36,9 @@
value-format="YYYY-MM-DD HH:mm:ss" value-format="YYYY-MM-DD HH:mm:ss"
/> />
</el-form-item> </el-form-item>
<el-form-item label="审批结果" prop="result"> <el-form-item label="审批结果" prop="status">
<el-select <el-select
v-model="queryParams.result" v-model="queryParams.status"
class="!w-240px" class="!w-240px"
clearable clearable
placeholder="请选择审批结果" placeholder="请选择审批结果"
@ -81,9 +81,9 @@
<ContentWrap> <ContentWrap>
<el-table v-loading="loading" :data="list"> <el-table v-loading="loading" :data="list">
<el-table-column align="center" label="申请编号" prop="id" /> <el-table-column align="center" label="申请编号" prop="id" />
<el-table-column align="center" label="状态" prop="result"> <el-table-column align="center" label="状态" prop="status">
<template #default="scope"> <template #default="scope">
<dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_STATUS" :value="scope.row.result" /> <dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_STATUS" :value="scope.row.status" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column