|
@@ -812,6 +812,16 @@ const myChartPageChange=(type)=>{
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+// 是否面积图堆叠百分比
|
|
|
+function isChartHeap(info){
|
|
|
+ let tag=true
|
|
|
+ if(info.ChartType==3&&info.ExtraConfig){
|
|
|
+ let ExtraConfig=JSON.parse(info.ExtraConfig)
|
|
|
+ tag=ExtraConfig.HeapWay==2?false:true
|
|
|
+ }
|
|
|
+ return tag
|
|
|
+}
|
|
|
+
|
|
|
</script>
|
|
|
|
|
|
<template>
|
|
@@ -896,7 +906,7 @@ const myChartPageChange=(type)=>{
|
|
|
<span :class="calendarType==='农历'&&'active'" @click="calendarTypeChange('农历')">农历</span>
|
|
|
<span :class="calendarType==='公历'&&'active'" @click="calendarTypeChange('公历')">公历</span>
|
|
|
</div>
|
|
|
- <span style="color:#E3B377;flex:1;text-align:right" @click="showLimit=true" v-if="[1,2,5].includes(resData.ChartInfo.Source)">上下限设置</span>
|
|
|
+ <span style="color:#E3B377;flex:1;text-align:right" @click="showLimit=true" v-if="[1,2,5].includes(resData.ChartInfo.Source)&&isChartHeap(resData.ChartInfo)">上下限设置</span>
|
|
|
</div>
|
|
|
<div :class="['source-box flex',{'un-coll-sty':sourceColl,'coll-sty': !sourceColl}]">
|
|
|
<!-- 自定义来源 -->
|