fix: 隐藏按钮
parent
a530cff1ff
commit
891fcc6aac
|
@ -32,11 +32,11 @@
|
|||
<el-tabs v-model="typeName" @tab-click="handleSearch">
|
||||
<el-tab-pane name="Ansible" label="Ansible">
|
||||
<cb-advance-table :data="list" :card-border="false" :searchConfigs="searchConfigs" :params="params" :total="total" :columns="ansibleColumns" :get-list="getList" :loading="loading" ref="ansibleTableRef" @select="handleSelectItem" @select-all="handleSelectAll">
|
||||
<template #action>
|
||||
<!-- <template #action>
|
||||
<el-button type="primary" :disabled="!selectList.length" @click.native="handleConfig({}, 'exclude')"> 排除 </el-button>
|
||||
<el-button type="primary" :disabled="!selectList.length" @click.native="handleConfig({}, 'recovery')"> 恢复 </el-button>
|
||||
<el-button type="primary" @click.native="handleDeployGaia"> 扩容 </el-button>
|
||||
</template>
|
||||
</template> -->
|
||||
<template #name="val, record">
|
||||
<span class="detail-href" @click="getDetail(record.id)">{{ val }}</span>
|
||||
</template>
|
||||
|
@ -54,7 +54,7 @@
|
|||
</template>
|
||||
<template #operate="val, record">
|
||||
<el-button type="text" @click.native="setting(record)" :disabled="record.deleted"> 配置 </el-button>
|
||||
<div class="action-divider"></div>
|
||||
<!-- <div class="action-divider"></div>
|
||||
<el-button type="text" @click.native="handleConfig(record)" :disabled="record.deleted"> {{ record.isExclude ? '恢复' : '排除' }} </el-button>
|
||||
<div class="action-divider"></div>
|
||||
<el-dropdown trigger="click">
|
||||
|
@ -64,7 +64,7 @@
|
|||
<el-dropdown-item @click.native="handleDelGaia(record)" :disabled="record.deleted"> 缩容 </el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</template>
|
||||
</el-dropdown>
|
||||
</el-dropdown> -->
|
||||
</template>
|
||||
</cb-advance-table>
|
||||
</el-tab-pane>
|
||||
|
|
Loading…
Reference in New Issue