fix: 草稿不允许查看
This commit is contained in:
parent
18f2b84093
commit
9e4f886197
@ -174,7 +174,12 @@ function handleInfo(row: Required<LeaveForm>) {
|
|||||||
撤销
|
撤销
|
||||||
</ghost-button>
|
</ghost-button>
|
||||||
</Popconfirm>
|
</Popconfirm>
|
||||||
<ghost-button @click="handleInfo(row)">详情</ghost-button>
|
<ghost-button
|
||||||
|
v-if="['draft'].includes(row.status)"
|
||||||
|
@click="handleInfo(row)"
|
||||||
|
>
|
||||||
|
详情
|
||||||
|
</ghost-button>
|
||||||
<Popconfirm
|
<Popconfirm
|
||||||
:get-popup-container="getVxePopupContainer"
|
:get-popup-container="getVxePopupContainer"
|
||||||
placement="left"
|
placement="left"
|
||||||
|
Loading…
Reference in New Issue
Block a user