Просмотр исходного кода

风机转速调整、静态数据描述修改

yangxiao 3 лет назад
Родитель
Сommit
4d507de0ea

+ 1 - 1
src/assets/icon/svg/风机.svg

@@ -23,6 +23,6 @@
 		c-0.615,0.271-1.052,0.836-1.158,1.5c-0.886,5.22-3.695,9.918-7.875,13.166c-0.533,0.42-0.823,1.074-0.775,1.75
 		c0.05,0.668,0.45,1.275,1.041,1.634c26.25,14.267,57.268,29.524,66.15,29.75c0.967-0.024,2.283-0.158,3.233-1.476
 		c0.267-0.469,0.407-1,0.408-1.541C182.537,133.341,174.862,127.999,163.604,119.332L163.604,119.332z" />
-		<animateTransform attributeType="XML" attributeName="transform" begin="0s" dur=".5s" type="rotate" from="0 99 90" to="360 99 90" repeatCount="indefinite" />
+		<animateTransform attributeType="XML" attributeName="transform" begin="0s" dur="3s" type="rotate" from="0 99 90" to="360 99 90" repeatCount="indefinite" />
 	</g>
 </svg>

+ 5 - 5
src/views/HealthControl/Health6.vue

@@ -2,13 +2,13 @@
   <div class="health-6">
     <div class="header-info mg-b-16">
       <div class="selections">
-        <div class="item" @click="tabSelect(0)" :class="{ active: tabIndex == 0 }">
+        <div class="item" @click="tabSelect('1')" :class="{ active: type === '1' }">
           <i class="svg-icon svg-icon-sm">
             <svg-icon :svgid="'svg-wind-site'" />
           </i>
           <span>风场</span>
         </div>
-        <div class="item" @click="tabSelect(1)" :class="{ active: tabIndex == 1 }">
+        <div class="item" @click="tabSelect('2')" :class="{ active: type === '2' }">
           <i class="svg-icon svg-icon-sm">
             <svg-icon :svgid="'svg-h-project'" />
           </i>
@@ -82,12 +82,12 @@ export default {
   components: { SvgIcon, Panel, NormalLineChart, BarLineChart, Row, Col, DualPieChart },
   data() {
     return {
-      tabIndex: 0,
+      type: '1',
     };
   },
   methods: {
-    tabSelect(state) {
-      this.tabIndex = state;
+    tabSelect(type) {
+      this.type = type;
     },
   },
 };

+ 1 - 1
src/views/Status/components/static.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="status-panel">
     <div class="pause" v-if="true">中断</div>
-    <ComPanel class="status-com-panel" :title="'abc场站'">
+    <ComPanel class="status-com-panel" :title="'海子井光伏电站'">
       <div class="p-body">
         <div class="category-box">
           <div class="score">