feat:审核时间

This commit is contained in:
dzc committed 2025-01-21 11:07:45 +08:00
1 parent e55aadc127
commit eafe75484f
5 files changed
+40 -11

No files matched your search

+11 -4
View File
@@ -58,13 +58,14 @@
<el-table-column type="index" label="#" width="40" />
<el-table-column prop="username" label="申请人" />
<el-table-column prop="deptName" label="部门" />
<el-table-column prop="count" label="申请数量" />
<el-table-column prop="useCount" label="使用数量" />
<el-table-column prop="processStatus" label="审核状态">
<el-table-column prop="count" width="100" label="申请数量" />
<el-table-column prop="useCount" width="100" label="使用数量" />
<el-table-column prop="processStatus" width="100" label="审核状态">
<template #default="{ row }">
<dict-tag :options="check_status" :value="row.processStatus" />
</template>
</el-table-column>
<el-table-column prop="processTime" label="审核时间" />
<el-table-column prop="createTime" label="创建时间" />
<el-table-column label="操作" width="200">
<template #default="{ row }">
@@ -87,7 +88,13 @@
>删除</el-button
>
<el-button icon="Promotion" text type="primary" @click="doInfo(row)"> 查看审批 </el-button>
<el-button icon="InfoFilled" text type="primary" @click="codeUseTableRef.openDialog(row.id)">
<el-button
v-if="row.processStatus == 2"
icon="InfoFilled"
text
type="primary"
@click="codeUseTableRef.openDialog(row.id)"
>
使用情况
</el-button>
</template>