style and 文案变更 (#457)

This commit is contained in:
dagongren 2024-03-29 15:02:18 +08:00 committed by GitHub
parent 7f5e5a0921
commit bb7fd13cb2
6 changed files with 10 additions and 9 deletions

View File

@ -505,6 +505,7 @@ const cmdb_en = {
noPermission: 'No Permission'
},
serviceTree: {
remove: 'Remove',
deleteNode: 'Delete {name}',
tips1: 'For example: q=os_version:centos&sort=os_version',
tips2: 'Expression search',

View File

@ -504,6 +504,7 @@ const cmdb_zh = {
noPermission: '暂无权限'
},
serviceTree: {
remove: '移除',
deleteNode: '移除 {name}',
tips1: '例q=os_version:centos&sort=os_version',
tips2: '表达式搜索',

View File

@ -6,6 +6,7 @@
:visible="visible"
@close="handleCancel"
@ok="handleOk"
destroyOnClose
>
<div class="custom-drawer-bottom-action">
<a-button type="primary" ghost @click="handleCancel">{{ $t('cancel') }}</a-button>

View File

@ -33,7 +33,7 @@
>{{ $t('revoke') }}</span
>
<template v-if="showBatchLevel > 0">
<span @click="batchDeleteCIRelationFromTree">{{ $t('delete') }}</span>
<span @click="batchDeleteCIRelationFromTree">{{ $t('cmdb.serviceTree.remove') }}</span>
</template>
<span
@click="

View File

@ -88,7 +88,7 @@
<a-menu-item
:disabled="!batchTreeKey || !batchTreeKey.length"
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 />
</template>

View File

@ -136,14 +136,12 @@
</div>
<div>
<a-space v-if="isEditable">
<a-button
<a
@click="openEmployeeModal({}, 'add')"
size="small"
type="primary"
shape="circle"
icon="plus"
ghost
/>
><ops-icon
:style="{ fontSize: '18px' }"
type="veops-increase"
/></a>
<a-button type="primary" size="small" ghost @click="batchUpload">
{{ $t('cs.companyStructure.batchImport') }}
</a-button>