|
@@ -67,7 +67,8 @@
|
|
|
width="140"
|
|
|
>
|
|
|
<template slot-scope="scope" v-if="scope.row.HaveOperaAuth">
|
|
|
- <span @click="delTarget(scope.row)" class="deletesty"><!-- 删除 -->{{$t('Table.delete_btn')}} </span>
|
|
|
+ <!-- 如果是季节性图的右轴,隐藏删除按钮 -->
|
|
|
+ <span @click="delTarget(scope.row)" class="deletesty" v-if="!(scope.$index===1&&chartInfo.ChartType===2)"><!-- 删除 -->{{$t('Table.delete_btn')}} </span>
|
|
|
<span v-permission="permissionBtn.chartLibPermission.chartLib_copyData"
|
|
|
class="editsty" @click="copyCode(scope.row)">
|
|
|
<i class="el-icon-document-copy" /> <!-- 复制数据 -->{{$t('Edb.detail_copydata_btn')}}</span
|
|
@@ -152,16 +153,6 @@ export default {
|
|
|
},
|
|
|
]
|
|
|
},
|
|
|
- currentTableData(){
|
|
|
- if(!(this.chartInfo.ChartType===2&&tableData[1])){
|
|
|
- //左轴同比不会加在tableData内,若右轴隐藏则只显示第一项
|
|
|
- if(!this.chartInfo.SeasonRightConfig.IsShow){
|
|
|
-
|
|
|
- }
|
|
|
- return this.tableData[0]
|
|
|
- }
|
|
|
- return this.tableData
|
|
|
- },
|
|
|
},
|
|
|
data() {
|
|
|
return {
|