Merge pull request #664 from dataease/pr@dev@feat_panel-linkage-bar

refactor:仪表板视图编辑等图标增加悬浮提示
This commit is contained in:
王嘉豪 2021-08-18 18:10:14 +08:00 committed by GitHub
commit 8afb2705e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 21 additions and 7 deletions

View File

@ -7,11 +7,19 @@
</div>
<div v-else-if="!linkageSettingStatus">
<setting-menu v-if="activeModel==='edit'" style="float: right;height: 24px!important;">
<i slot="icon" class="icon iconfont icon-shezhi" />
<span slot="icon" :title="$t('panel.setting')">
<i class="icon iconfont icon-shezhi" style="margin-top:2px" />
</span>
</setting-menu>
<span :title="$t('panel.edit')">
<i v-if="activeModel==='edit'&&curComponent&&editFilter.includes(curComponent.type)" class="icon iconfont icon-edit" @click.stop="edit" />
</span>
<span :title="$t('panel.details')">
<i v-if="curComponent.type==='view'" class="icon iconfont icon-fangda" @click.stop="showViewDetails" />
</span>
<span :title="$t('panel.cancel_linkage')">
<i v-if="curComponent.type==='view'&&existLinkage" class="icon iconfont icon-quxiaoliandong" @click.stop="clearLinkage" />
</span>
</div>
</div>

View File

@ -1213,7 +1213,9 @@ export default {
linkage: 'linkage',
cancel_linkage: 'Cancel Linkage',
remove_all_linkage: 'Remove All Linkage',
exit_un_march_linkage_field: 'Exit Un March Linkage Field'
exit_un_march_linkage_field: 'Exit Un March Linkage Field',
details: 'Details',
setting: 'Setting'
},
plugin: {
local_install: 'Local installation',

View File

@ -1212,7 +1212,9 @@ export default {
linkage: '联动',
cancel_linkage: '取消联动',
remove_all_linkage: '清除所有联动',
exit_un_march_linkage_field: '存在未匹配联动关系的字段'
exit_un_march_linkage_field: '存在未匹配联动关系的字段',
details: '详情',
setting: '设置'
},
plugin: {
local_install: '本地安裝',

View File

@ -1214,7 +1214,9 @@ export default {
linkage: '联动',
cancel_linkage: '取消联动',
remove_all_linkage: '清除所有联动',
exit_un_march_linkage_field: '存在未匹配联动关系的字段'
exit_un_march_linkage_field: '存在未匹配联动关系的字段',
details: '详情',
setting: '设置'
},
plugin: {
local_install: '本地安装',