cxmo 9 сар өмнө
parent
commit
7b052c9a2e

+ 6 - 6
src/views/dataEntry_manage/components/markersSection.vue

@@ -72,12 +72,12 @@
     <!-- 季节性图升级-同期上下限/均线/标准差-->
     <template v-if="chartInfo.ChartType===2">
         <div class="section-item">
-            <div class="marker-item" v-if="averageList[1].isAdd">
+            <div class="average-item" v-if="averageList[1].isAdd">
                 <span>{{item.axisName}}: {{item.value}}</span>
                 <div style="flex-shrink:0">
-                <i class="el-icon-view icon" :style="item.isShow?'color:#0052D9':'color:#999'" @click="item.isShow=!item.isShow;updateChartHandle()"/>
-                <i class="el-icon-edit icon" style="margin:0 6px" @click="openAverageDialog(averageList[1],1)"/>
-                <i class="el-icon-delete icon" @click="deleteAverage(1)"/>
+                    <i class="el-icon-view icon" :style="item.isShow?'color:#0052D9':'color:#999'" @click="item.isShow=!item.isShow;updateChartHandle()"/>
+                    <i class="el-icon-edit icon" style="margin:0 6px" @click="openAverageDialog(averageList[1],1)"/>
+                    <i class="el-icon-delete icon" @click="deleteAverage(1)"/>
                 </div>
             </div>
             <div
@@ -95,7 +95,7 @@
         <div class="section-item">
             <div
                 class="add-cont"
-                @click="openMarkerDiaHandle('line')"
+                @click="openAverageDialog(averageList[2],2)"
             >
                 <img
                     src="~@/assets/img/set_m/add_ico.png"
@@ -108,7 +108,7 @@
         <div class="section-item">
             <div
                 class="add-cont"
-                @click="openMarkerDiaHandle('line')"
+                @click="openAverageDialog(averageList[3],3)"
             >
                 <img
                     src="~@/assets/img/set_m/add_ico.png"