sunzehao il y a 1 mois
Parent
commit
166d49d746

+ 4 - 4
src/components/chart/radar/direction-radar-chart.vue

@@ -215,7 +215,7 @@ export default {
                     },
                     {
                       offset: 1,
-                      color: this.$store.state.themeName === "dark" ? partten.getColor("green") : partten.getColor("deepblue") + 60, // 100% 处的颜色
+                      color: this.$store.state.moreSty === "greenSty" ? partten.getColor("green") : partten.getColor("deepblue") + 60, // 100% 处的颜色
                     },
                   ],
                   global: false, // 缺省为 false
@@ -268,11 +268,11 @@ export default {
                     new echarts.graphic.LinearGradient(0, 0, 1, 0, [
                       {
                         offset: 0,
-                        color: this.$store.state.themeName === "dark" ? partten.getColor(this.color) + 10 : partten.getColor("deepblue") + 10,
+                        color: this.$store.state.moreSty === "greenSty" ? partten.getColor(this.color) + 10 : partten.getColor("deepblue") + 10,
                       },
                       {
                         offset: 1,
-                        color: this.$store.state.themeName === "dark" ? partten.getColor(this.color) + 99 : partten.getColor("deepblue") + 99,
+                        color: this.$store.state.moreSty === "greenSty" ? partten.getColor(this.color) + 99 : partten.getColor("deepblue") + 99,
                       },
                     ]),
                   ],
@@ -370,7 +370,7 @@ export default {
     this.initChart();
   },
   watch: {
-    "$store.state.themeName"() {
+    "$store.state.moreSty"() {
       this.initChart();
     },
   },

+ 1 - 65
src/views/economicsOperation/benchmarkingManagement/singleMachineBenchmarking/index.vue

@@ -2,26 +2,6 @@
   <div class="Benchmarking">
     <div class="Benchmarking_topAll">
       <div class="Benchmarking_top">
-        <div class="stationcm">
-          <el-select
-            size="mini"
-            v-model="companyVal"
-            placeholder="请选择"
-            @change="changeCompan"
-          >
-            <el-option
-              v-for="item in companyOptions"
-              :key="item.id"
-              :label="item.aname"
-              :value="item.id"
-            >
-            </el-option>
-          </el-select>
-        </div>
-        <!-- <div class="tabCut">
-                    <div @click="changeBtn(val.id)" :class="tabEvent === val.id ? 'active' : ''" v-for="val in tabOptions"
-                    :key="val.id"><span>{{ val.name }}</span></div>
-                </div> -->
         <div class="station stationss">
           场站:
           <el-select
@@ -42,46 +22,6 @@
             </el-option>
           </el-select>
         </div>
-        <div class="station stationss">
-          项目:
-          <el-select
-            size="mini"
-            v-model="projectVal"
-            placeholder="请选择"
-            multiple
-            collapse-tags
-            @change="changeProject"
-            clearable
-          >
-            <el-option
-              v-for="item in projectOptions"
-              :key="item.id"
-              :label="item.name"
-              :value="item.id"
-            >
-            </el-option>
-          </el-select>
-        </div>
-        <div class="station stationss">
-          线路:
-          <el-select
-            size="mini"
-            v-model="lineVal"
-            placeholder="请选择"
-            multiple
-            collapse-tags
-            @change="changeByLine"
-            clearable
-          >
-            <el-option
-              v-for="item in lineOptions"
-              :key="item.id"
-              :label="item.name"
-              :value="item.id"
-            >
-            </el-option>
-          </el-select>
-        </div>
         <div class="station">
           风机:
           <el-select
@@ -119,9 +59,6 @@
           <el-button round size="mini" class="buttons" @click="seachData"
             >搜 索</el-button
           >
-          <el-button round size="mini" class="buttons" @click="downXlsxFn"
-            >导出</el-button
-          >
         </div>
       </div>
       <div class="selections"  :data-type="$store.state.moreSty">
@@ -160,8 +97,7 @@
           ref="stand_table"
           style="width: 100%"
         >
-            <el-table-column type="index" label="序号" width="55" align="center">
-            </el-table-column>
+            <el-table-column type="index" label='序号' width="60" align="center" />
             <el-table-column prop='title' label="指标" width="130" align="center">
             </el-table-column>
             <el-table-column