update 优化 去除请假案例状态字段
This commit is contained in:
parent
f237ee145a
commit
212361dc94
@ -53,17 +53,13 @@
|
|||||||
<el-table-column label="请假原因" align="center" prop="remark" />
|
<el-table-column label="请假原因" align="center" prop="remark" />
|
||||||
<el-table-column align="center" label="流程状态" min-width="70">
|
<el-table-column align="center" label="流程状态" min-width="70">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<dict-tag :options="wf_business_status" :value="scope.row.processInstanceVo.businessStatus"></dict-tag>
|
<dict-tag :options="wf_business_status" :value="scope.row.status"></dict-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<el-button
|
<el-button
|
||||||
v-if="
|
v-if="scope.row.status === 'draft' || scope.row.status === 'cancel' || scope.row.status === 'back'"
|
||||||
scope.row.processInstanceVo.businessStatus === 'draft' ||
|
|
||||||
scope.row.processInstanceVo.businessStatus === 'cancel' ||
|
|
||||||
scope.row.processInstanceVo.businessStatus === 'back'
|
|
||||||
"
|
|
||||||
v-hasPermi="['demo:leave:edit']"
|
v-hasPermi="['demo:leave:edit']"
|
||||||
size="small"
|
size="small"
|
||||||
link
|
link
|
||||||
@ -73,11 +69,7 @@
|
|||||||
>修改</el-button
|
>修改</el-button
|
||||||
>
|
>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="
|
v-if="scope.row.status === 'draft' || scope.row.status === 'cancel' || scope.row.status === 'back'"
|
||||||
scope.row.processInstanceVo.businessStatus === 'draft' ||
|
|
||||||
scope.row.processInstanceVo.businessStatus === 'cancel' ||
|
|
||||||
scope.row.processInstanceVo.businessStatus === 'back'
|
|
||||||
"
|
|
||||||
v-hasPermi="['demo:leave:remove']"
|
v-hasPermi="['demo:leave:remove']"
|
||||||
size="small"
|
size="small"
|
||||||
link
|
link
|
||||||
@ -88,7 +80,7 @@
|
|||||||
>
|
>
|
||||||
<el-button link type="primary" size="small" icon="View" @click="handleView(scope.row)">查看</el-button>
|
<el-button link type="primary" size="small" icon="View" @click="handleView(scope.row)">查看</el-button>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="scope.row.processInstanceVo.businessStatus === 'waiting'"
|
v-if="scope.row.status === 'waiting'"
|
||||||
link
|
link
|
||||||
size="small"
|
size="small"
|
||||||
type="primary"
|
type="primary"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user