mirror of
https://github.com/veops/cmdb.git
synced 2025-08-09 23:49:11 +08:00
add some
This commit is contained in:
@@ -44,7 +44,7 @@
|
||||
>
|
||||
<a-button @click="handleAddParent" type="primary" style="margin-right: 1rem">关联父角色</a-button>
|
||||
<a-button @click="handleAddChild" type="primary" style="margin-right: 1rem">关联子角色</a-button>
|
||||
<a-button @click="onClose">取消</a-button>
|
||||
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
|
||||
|
||||
</div>
|
||||
|
||||
|
@@ -65,8 +65,8 @@
|
||||
|
||||
}"
|
||||
>
|
||||
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">确定</a-button>
|
||||
<a-button @click="onClose">取消</a-button>
|
||||
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">{{ $t('button.submit') }}</a-button>
|
||||
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
|
||||
|
||||
</div>
|
||||
|
||||
|
@@ -52,8 +52,8 @@
|
||||
|
||||
}"
|
||||
>
|
||||
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">确定</a-button>
|
||||
<a-button @click="onClose">取消</a-button>
|
||||
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">{{ $t('button.submit') }}</a-button>
|
||||
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
|
||||
|
||||
</div>
|
||||
|
||||
|
@@ -30,7 +30,7 @@
|
||||
</a-form-item>
|
||||
<div class="btn-group">
|
||||
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">添加</a-button>
|
||||
<a-button @click="closeForm">取消</a-button>
|
||||
<a-button @click="closeForm">{{ $t('button.cancel') }}</a-button>
|
||||
</div>
|
||||
|
||||
</a-form>
|
||||
|
@@ -60,8 +60,8 @@
|
||||
|
||||
}"
|
||||
>
|
||||
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">确定</a-button>
|
||||
<a-button @click="onClose">取消</a-button>
|
||||
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">{{ $t('button.submit') }}</a-button>
|
||||
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
|
||||
|
||||
</div>
|
||||
|
||||
|
@@ -66,8 +66,8 @@
|
||||
background: '#fff',
|
||||
}"
|
||||
>
|
||||
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">确定</a-button>
|
||||
<a-button @click="onClose">取消</a-button>
|
||||
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">{{ $t('button.submit') }}</a-button>
|
||||
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
|
||||
</div>
|
||||
|
||||
</a-form>
|
||||
|
@@ -133,8 +133,8 @@
|
||||
|
||||
}"
|
||||
>
|
||||
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">确定</a-button>
|
||||
<a-button @click="onClose">取消</a-button>
|
||||
<a-button @click="handleSubmit" type="primary" style="margin-right: 1rem">{{ $t('button.submit') }}</a-button>
|
||||
<a-button @click="onClose">{{ $t('button.cancel') }}</a-button>
|
||||
|
||||
</div>
|
||||
|
||||
|
@@ -39,7 +39,7 @@
|
||||
@click="() => handleReset(clearFilters, column)"
|
||||
size="small"
|
||||
style="width: 90px"
|
||||
>重置</a-button>
|
||||
>{{ $t('button.reset') }}</a-button>
|
||||
</div>
|
||||
<a-icon slot="filterIcon" slot-scope="filtered" type="search" :style="{ color: filtered ? '#108ee9' : undefined }" />
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<template>
|
||||
<a @click="handleEdit(record)">编辑</a>
|
||||
<a @click="handleEdit(record)">{{ $t('tip.edit') }}</a>
|
||||
<a-divider type="vertical"/>
|
||||
|
||||
<a-popconfirm
|
||||
@@ -71,7 +71,7 @@
|
||||
okText="是"
|
||||
cancelText="否"
|
||||
>
|
||||
<a>删除</a>
|
||||
<a>{{ $t('tip.delete') }}</a>
|
||||
</a-popconfirm>
|
||||
</template>
|
||||
</span>
|
||||
|
@@ -39,7 +39,7 @@
|
||||
@click="() => handleReset(clearFilters, column)"
|
||||
size="small"
|
||||
style="width: 90px"
|
||||
>重置</a-button>
|
||||
>{{ $t('button.reset') }}</a-button>
|
||||
</div>
|
||||
<a-icon slot="filterIcon" slot-scope="filtered" type="search" :style="{ color: filtered ? '#108ee9' : undefined }" />
|
||||
|
||||
@@ -61,7 +61,7 @@
|
||||
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<template>
|
||||
<a @click="handleEdit(record)">编辑</a>
|
||||
<a @click="handleEdit(record)">{{ $t('tip.edit') }}</a>
|
||||
<a-divider type="vertical"/>
|
||||
|
||||
<a-popconfirm
|
||||
@@ -71,7 +71,7 @@
|
||||
okText="是"
|
||||
cancelText="否"
|
||||
>
|
||||
<a>删除</a>
|
||||
<a>{{ $t('tip.delete') }}</a>
|
||||
</a-popconfirm>
|
||||
</template>
|
||||
</span>
|
||||
|
@@ -55,7 +55,7 @@
|
||||
@click="() => handleReset(clearFilters, column)"
|
||||
size="small"
|
||||
style="width: 90px"
|
||||
>重置</a-button>
|
||||
>{{ $t('button.reset') }}</a-button>
|
||||
</div>
|
||||
<a-icon slot="filterIcon" slot-scope="filtered" type="search" :style="{ color: filtered ? '#108ee9' : undefined }" />
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
okText="是"
|
||||
cancelText="否"
|
||||
>
|
||||
<a>删除</a>
|
||||
<a>{{ $t('tip.delete') }}</a>
|
||||
</a-popconfirm>
|
||||
</template>
|
||||
</span>
|
||||
|
@@ -37,7 +37,7 @@
|
||||
@click="() => handleReset(clearFilters, column)"
|
||||
size="small"
|
||||
style="width: 90px"
|
||||
>重置</a-button>
|
||||
>{{ $t('button.reset') }}</a-button>
|
||||
</div>
|
||||
<a-icon slot="filterIcon" slot-scope="filtered" type="search" :style="{ color: filtered ? '#108ee9' : undefined }" />
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
okText="是"
|
||||
cancelText="否"
|
||||
>
|
||||
<a>删除</a>
|
||||
<a>{{ $t('tip.delete') }}</a>
|
||||
</a-popconfirm>
|
||||
</template>
|
||||
</span>
|
||||
|
@@ -38,7 +38,7 @@
|
||||
@click="() => handleReset(clearFilters, column)"
|
||||
size="small"
|
||||
style="width: 90px"
|
||||
>重置</a-button>
|
||||
>{{ $t('button.reset') }}</a-button>
|
||||
</div>
|
||||
<a-icon slot="filterIcon" slot-scope="filtered" type="search" :style="{ color: filtered ? '#108ee9' : undefined }" />
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
<span slot="action" slot-scope="text, record">
|
||||
<template>
|
||||
<a @click="handleEdit(record)">编辑</a>
|
||||
<a @click="handleEdit(record)">{{ $t('tip.edit') }}</a>
|
||||
<a-divider type="vertical"/>
|
||||
|
||||
<a-popconfirm
|
||||
@@ -81,7 +81,7 @@
|
||||
okText="是"
|
||||
cancelText="否"
|
||||
>
|
||||
<a>删除</a>
|
||||
<a>{{ $t('tip.delete') }}</a>
|
||||
</a-popconfirm>
|
||||
</template>
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user