瀏覽代碼

fix: 优化需求245

ldong 2 月之前
父節點
當前提交
853103d87a

+ 1 - 1
src/views/dataEntry_manage/addChart.vue

@@ -112,7 +112,7 @@
 						/>
 					</el-form-item>
 					<!-- 图表别名 -->
-					<el-form-item :label="$t('Chart.Detail.chart_alias')" prop="ChartAlias" v-if="[1,4,5,6,7,11,14].includes(chartInfo.ChartType)">
+					<el-form-item :label="$t('Chart.Detail.chart_alias')" prop="ChartAlias" v-if="[1,4,5,6,11,14].includes(chartInfo.ChartType)">
 						<el-input
 							v-model="chartInfo.ChartAlias"
 							style="width: 90%"

+ 1 - 1
src/views/dataEntry_manage/editChart.vue

@@ -132,7 +132,7 @@
 						/>
 					</el-form-item>
 					<!-- 图表别名-->
-					<el-form-item :label="$t('Chart.Detail.chart_alias')" prop="ChartAlias" v-if="[1,4,5,6,7,11,14].includes(chartInfo.ChartType)">
+					<el-form-item :label="$t('Chart.Detail.chart_alias')" prop="ChartAlias" v-if="[1,4,5,6,11,14].includes(chartInfo.ChartType)">
 						<el-input
 							v-model="chartInfo.ChartAlias"
 							style="width: 90%"

+ 1 - 1
src/views/ppt_manage/mixins/pptMixins.js

@@ -737,7 +737,7 @@ export default {
       */
      const {Source,MyChartType,ChartThemeStyle} = options
      const isShowTitle = isShowPPTTitle(Source,MyChartType)
-     const isShowOtherTitle = Source===1&&[1,4,5,6,7,11,14].includes(MyChartType)
+     const isShowOtherTitle = Source===1&&[1,4,5,6,11,14].includes(MyChartType)
      
     /* 主题样式*/
     const chartTheme =  ChartThemeStyle ? JSON.parse(ChartThemeStyle) : null;

+ 1 - 1
src/views/ppt_manage/newVersion/utils/untils.js

@@ -730,7 +730,7 @@ export const getContextMenuPos = (layerId) =>{
     以上图表需要显示标题
 */
 export const isShowPPTTitle = (Source,MyChartType)=>{
-    const sense_1 = Source===1&&[2,10].includes(MyChartType)
+    const sense_1 = Source===1&&[2,7,10].includes(MyChartType)
     const sense_2 = [2,3,4,5,6,7,8,9].includes(Source)
     return sense_1||sense_2
 }