Преглед на файлове

平衡表中图表加入我的图库兼容

jwyu преди 1 година
родител
ревизия
ed3c3a9b44
променени са 1 файла, в които са добавени 4 реда и са изтрити 3 реда
  1. 4 3
      src/views/mychart_manage/components/chartDetailDia.vue

+ 4 - 3
src/views/mychart_manage/components/chartDetailDia.vue

@@ -121,7 +121,7 @@
                 v-permission="permissionBtn.myETAPermission.myChart_edit"
                 class="span-item"
                 style="margin-left: 7px"
-                v-if="chartInfo.Button.IsEdit"
+                v-if="chartInfo.Button.IsEdit&&chartInfo.Source!==11"
                 @click="editChartHandle"
               >
                 <span> <i class="el-icon-edit" />&nbsp;<!-- 编辑 -->{{$t('Chart.chart_edit_btn')}} </span>
@@ -413,6 +413,7 @@
                 </template>
               </el-table-column>
               <el-table-column
+                v-if="chartInfo.Source!==11"
                 :label="$t('Table.column_operations')"
                 key="Copy"
                 align="center"
@@ -590,7 +591,7 @@ export default {
     },
     tableData: {
       handler(newval) {
-        newval.length && !this.chartInfo.WarnMsg && this.chartInfo.Source===1&& this.setChartOptionHandle(newval);
+        newval.length && !this.chartInfo.WarnMsg && [1,11].includes(this.chartInfo.Source)&& this.setChartOptionHandle(newval);
       },
       deep: true,
     },
@@ -640,7 +641,7 @@ export default {
           
           if(!this.chartInfo.HaveOperaAuth) return
 
-          if(this.chartInfo.Source===1) {
+          if([1,11].includes(this.chartInfo.Source)) {
             //处理下历史默认来源
             this.setDefaultSourceFrom();