|
@@ -1,6 +1,7 @@
|
|
<script setup>
|
|
<script setup>
|
|
import {ref,onMounted,watch,computed} from 'vue'
|
|
import {ref,onMounted,watch,computed} from 'vue'
|
|
import { V3ColorPicker } from "v3-color-picker-teleport"
|
|
import { V3ColorPicker } from "v3-color-picker-teleport"
|
|
|
|
+import {sameOptionType} from '@/hooks/chart/config'
|
|
import _ from 'lodash'
|
|
import _ from 'lodash'
|
|
|
|
|
|
const leadUnitOpt=[{text:'年'}, {text:'季'}, {text:'月'}, {text:'周'}, {text:'天'}]//领先指标频度配置
|
|
const leadUnitOpt=[{text:'年'}, {text:'季'}, {text:'月'}, {text:'周'}, {text:'天'}]//领先指标频度配置
|
|
@@ -135,7 +136,7 @@ function handleLeadUnitChange(e){
|
|
<span class="text">{{data[item.key]}}</span>
|
|
<span class="text">{{data[item.key]}}</span>
|
|
</li>
|
|
</li>
|
|
</ul>
|
|
</ul>
|
|
- <div class="opt-box">
|
|
|
|
|
|
+ <div class="opt-box" v-if="sameOptionType.includes(chartInfo.ChartType) && chartInfo.ChartType!==5">
|
|
<div class="lable">指标操作</div>
|
|
<div class="lable">指标操作</div>
|
|
<div class="con">
|
|
<div class="con">
|
|
<div class="item-box" v-if="showYOptionsHandle">
|
|
<div class="item-box" v-if="showYOptionsHandle">
|
|
@@ -224,7 +225,7 @@ function handleLeadUnitChange(e){
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="confirm-btn" @click="handleConfirmChange">确定</div>
|
|
|
|
|
|
+ <div class="confirm-btn" @click="handleConfirmChange" v-if="sameOptionType.includes(chartInfo.ChartType) && chartInfo.ChartType!==5">确定</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|