mirror of
https://gitee.com/goploy/goploy.git
synced 2024-12-02 12:10:05 +08:00
F review
This commit is contained in:
parent
66219fc55a
commit
ecacce6990
@ -157,13 +157,17 @@
|
|||||||
<Dropdown
|
<Dropdown
|
||||||
v-else
|
v-else
|
||||||
:permissions="[pms.DeployProject]"
|
:permissions="[pms.DeployProject]"
|
||||||
split-button
|
:split-button="scope.row.review === 1 ? false : true"
|
||||||
trigger="click"
|
trigger="click"
|
||||||
type="primary"
|
type="primary"
|
||||||
@click="publish(scope.row)"
|
@click="publish(scope.row)"
|
||||||
@command="(funcName: string) => commandFunc[funcName](scope.row)"
|
@command="(funcName: string) => commandFunc[funcName](scope.row)"
|
||||||
>
|
>
|
||||||
{{ scope.row.review === 1 ? $t('submit') : $t('deploy') }}
|
<el-button v-if="scope.row.review === 1" type="primary">
|
||||||
|
{{ $t('submit') }}
|
||||||
|
<el-icon class="el-icon--right"><arrow-down /></el-icon>
|
||||||
|
</el-button>
|
||||||
|
<span v-else>{{ $t('deploy') }}</span>
|
||||||
<template #dropdown>
|
<template #dropdown>
|
||||||
<el-dropdown-menu>
|
<el-dropdown-menu>
|
||||||
<el-dropdown-item :command="'handleCommitCommand'">
|
<el-dropdown-item :command="'handleCommitCommand'">
|
||||||
|
Loading…
Reference in New Issue
Block a user