|
@@ -1,13 +1,13 @@
|
|
|
<template>
|
|
|
<ul class="right-actions">
|
|
|
- <li>操作</li>
|
|
|
+ <li>{{$t('Table.column_operations')}}</li>
|
|
|
<li
|
|
|
class="span-item shareLink"
|
|
|
@click="copyChartConfirm('url')"
|
|
|
:data-clipboard-text="linkUrl"
|
|
|
v-if="!chartInfo.Disabled&&isShowBtn('share')"
|
|
|
>
|
|
|
- <i class="el-icon-share" /> 分享
|
|
|
+ <i class="el-icon-share" /> {{$t('Chart.chart_share_btn')}}
|
|
|
</li>
|
|
|
<li v-if="isShowBtn('addMyChart')"
|
|
|
class="span-item" @click="addMychartHandle(chartInfo)">
|
|
@@ -15,22 +15,22 @@
|
|
|
:src="$icons.chart_join_ico"
|
|
|
alt=""
|
|
|
style="width: 13px; height: 12px; vertical-align: middle"
|
|
|
- />加入我的图库
|
|
|
+ />{{$t('Chart.chart_addmy_btn')}}
|
|
|
</li>
|
|
|
<li v-if="isShowBtn('refresh')"
|
|
|
class="span-item" @click="refreshHandle">
|
|
|
<span
|
|
|
- ><i class="el-icon-refresh" style="margin-left: 0" /> 刷新
|
|
|
+ ><i class="el-icon-refresh" style="margin-left: 0" /> {{$t('Edb.detail_refresh_btn')}}
|
|
|
</span>
|
|
|
</li>
|
|
|
<li class="span-item" v-if="['/commordityChartBase'].includes($route.path)">
|
|
|
<span @click="saveChartHandle">
|
|
|
- <i class="el-icon-collection" /> 保存
|
|
|
+ <i class="el-icon-collection" /> {{$t('Chart.chart_save_btn')}}
|
|
|
</span>
|
|
|
</li>
|
|
|
<li class="span-item" v-if="chartInfo.Button.IsCopy&&isShowBtn('otherSave')">
|
|
|
<span @click="saveChartOtherHandle">
|
|
|
- <i class="el-icon-document-add" /> 另存为
|
|
|
+ <i class="el-icon-document-add" /> {{$t('Chart.chart_copy_btn')}}
|
|
|
</span>
|
|
|
</li>
|
|
|
<li class="span-item" v-if="chartInfo.Button.IsEdit&&isShowBtn('edit')" @click="editChartHandle">
|
|
@@ -38,14 +38,14 @@
|
|
|
src="~@/assets/img/set_m/edit.png"
|
|
|
alt=""
|
|
|
style="width: 13px; height: 12px"
|
|
|
- /> 编辑
|
|
|
+ /> {{$t('Chart.chart_edit_btn')}}
|
|
|
</li>
|
|
|
<li
|
|
|
class="span-item copy"
|
|
|
@click="copyChartConfirm('office')"
|
|
|
v-if="!chartInfo.Disabled&&isShowBtn('copyOffice')"
|
|
|
>
|
|
|
- <i class="el-icon-document-copy" /> 复制至office
|
|
|
+ <i class="el-icon-document-copy" /> {{$t('Chart.chart_copyoffice')}}
|
|
|
</li>
|
|
|
<li
|
|
|
class="span-item copy"
|
|
@@ -55,14 +55,14 @@
|
|
|
<img
|
|
|
style="width: 13px; height: 12px; vertical-align: middle"
|
|
|
src="~@/assets/img/chart_m/WeChat.jpg"
|
|
|
- /> 复制至微信
|
|
|
+ /> {{$t('Chart.chart_copywx')}}
|
|
|
</li>
|
|
|
<li v-if="isShowBtn('enNameSetting')"
|
|
|
class="span-item copy" @click="openEnNameDia">
|
|
|
<img
|
|
|
style="width: 16px; vertical-align: middle"
|
|
|
:src="$icons.to_en"
|
|
|
- /> 设置英文名称
|
|
|
+ /> {{$t('Edb.detail_en_btn')}}
|
|
|
</li>
|
|
|
<li
|
|
|
class="span-item"
|
|
@@ -70,7 +70,7 @@
|
|
|
@click="delChartHandle"
|
|
|
v-if="chartInfo.Button.IsEdit&&isShowBtn('del')"
|
|
|
>
|
|
|
- <i class="el-icon-delete" style="color: #ff4040" /> 删除
|
|
|
+ <i class="el-icon-delete" style="color: #ff4040" /> {{$t('Chart.chart_del_btn')}}
|
|
|
</li>
|
|
|
</ul>
|
|
|
</template>
|