mirror of https://github.com/veops/cmdb.git
style and 文案变更 (#457)
This commit is contained in:
parent
7f5e5a0921
commit
bb7fd13cb2
|
@ -505,6 +505,7 @@ const cmdb_en = {
|
||||||
noPermission: 'No Permission'
|
noPermission: 'No Permission'
|
||||||
},
|
},
|
||||||
serviceTree: {
|
serviceTree: {
|
||||||
|
remove: 'Remove',
|
||||||
deleteNode: 'Delete {name}',
|
deleteNode: 'Delete {name}',
|
||||||
tips1: 'For example: q=os_version:centos&sort=os_version',
|
tips1: 'For example: q=os_version:centos&sort=os_version',
|
||||||
tips2: 'Expression search',
|
tips2: 'Expression search',
|
||||||
|
|
|
@ -504,6 +504,7 @@ const cmdb_zh = {
|
||||||
noPermission: '暂无权限'
|
noPermission: '暂无权限'
|
||||||
},
|
},
|
||||||
serviceTree: {
|
serviceTree: {
|
||||||
|
remove: '移除',
|
||||||
deleteNode: '移除 {name}',
|
deleteNode: '移除 {name}',
|
||||||
tips1: '例:q=os_version:centos&sort=os_version',
|
tips1: '例:q=os_version:centos&sort=os_version',
|
||||||
tips2: '表达式搜索',
|
tips2: '表达式搜索',
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
:visible="visible"
|
:visible="visible"
|
||||||
@close="handleCancel"
|
@close="handleCancel"
|
||||||
@ok="handleOk"
|
@ok="handleOk"
|
||||||
|
destroyOnClose
|
||||||
>
|
>
|
||||||
<div class="custom-drawer-bottom-action">
|
<div class="custom-drawer-bottom-action">
|
||||||
<a-button type="primary" ghost @click="handleCancel">{{ $t('cancel') }}</a-button>
|
<a-button type="primary" ghost @click="handleCancel">{{ $t('cancel') }}</a-button>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
>{{ $t('revoke') }}</span
|
>{{ $t('revoke') }}</span
|
||||||
>
|
>
|
||||||
<template v-if="showBatchLevel > 0">
|
<template v-if="showBatchLevel > 0">
|
||||||
<span @click="batchDeleteCIRelationFromTree">{{ $t('delete') }}</span>
|
<span @click="batchDeleteCIRelationFromTree">{{ $t('cmdb.serviceTree.remove') }}</span>
|
||||||
</template>
|
</template>
|
||||||
<span
|
<span
|
||||||
@click="
|
@click="
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
<a-menu-item
|
<a-menu-item
|
||||||
:disabled="!batchTreeKey || !batchTreeKey.length"
|
:disabled="!batchTreeKey || !batchTreeKey.length"
|
||||||
key="batchDelete"
|
key="batchDelete"
|
||||||
><ops-icon type="icon-xianxing-delete" />{{ $t('delete') }}</a-menu-item
|
><ops-icon type="icon-xianxing-delete" />{{ $t('cmdb.serviceTree.remove') }}</a-menu-item
|
||||||
>
|
>
|
||||||
<a-menu-divider />
|
<a-menu-divider />
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -136,14 +136,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<a-space v-if="isEditable">
|
<a-space v-if="isEditable">
|
||||||
<a-button
|
<a
|
||||||
@click="openEmployeeModal({}, 'add')"
|
@click="openEmployeeModal({}, 'add')"
|
||||||
size="small"
|
><ops-icon
|
||||||
type="primary"
|
:style="{ fontSize: '18px' }"
|
||||||
shape="circle"
|
type="veops-increase"
|
||||||
icon="plus"
|
/></a>
|
||||||
ghost
|
|
||||||
/>
|
|
||||||
<a-button type="primary" size="small" ghost @click="batchUpload">
|
<a-button type="primary" size="small" ghost @click="batchUpload">
|
||||||
{{ $t('cs.companyStructure.batchImport') }}
|
{{ $t('cs.companyStructure.batchImport') }}
|
||||||
</a-button>
|
</a-button>
|
||||||
|
|
Loading…
Reference in New Issue