|
|
|
|
@ -21,17 +21,17 @@ |
|
|
|
|
</template> |
|
|
|
|
<template slot="menu" |
|
|
|
|
slot-scope="{row}"> |
|
|
|
|
<el-button v-if="permission.workflow_design_deployment_status && row.status == 1" |
|
|
|
|
<el-button v-if="permission.wf_design_deployment_status && row.status == 1" |
|
|
|
|
type="text" |
|
|
|
|
size="small" |
|
|
|
|
icon="el-icon-refresh-left" |
|
|
|
|
@click="handleChangeStatus(row, 'suspended')">挂起</el-button> |
|
|
|
|
<el-button v-if="permission.workflow_design_deployment_status && row.status == 2" |
|
|
|
|
<el-button v-if="permission.wf_design_deployment_status && row.status == 2" |
|
|
|
|
type="text" |
|
|
|
|
size="small" |
|
|
|
|
icon="el-icon-refresh-right" |
|
|
|
|
@click="handleChangeStatus(row, 'active')">激活</el-button> |
|
|
|
|
<el-button v-if="permission.workflow_design_deployment_category" |
|
|
|
|
<el-button v-if="permission.wf_design_deployment_category" |
|
|
|
|
type="text" |
|
|
|
|
size="small" |
|
|
|
|
icon="el-icon-pie-chart" |
|
|
|
|
|