Преглед на файлове

激光测距仪图表全屏展示

liujiejie преди 6 месеца
родител
ревизия
01e0f7c241
променени са 2 файла, в които са добавени 70 реда и са изтрити 66 реда
  1. 68 64
      src/views/laserRangeFinder/components/PlotOfFit.vue
  2. 2 2
      src/views/laserRangeFinder/index.vue

+ 68 - 64
src/views/laserRangeFinder/components/PlotOfFit.vue

@@ -104,69 +104,69 @@ export default {
       );
       const option = {
         color: ["#9CC5AF", "#C9866B", "#709EA6", "#344453", "#B34138"],
-        title: [
-          {
-            text: "",
-            left: "center",
-            // subtext: '纯属虚构'
-          },
-          {
-            text: "",
-            // subtext:'实线',
-            textStyle: {
-              color: "#c23531",
-              // }
-            },
-            right: 35,
-            top: 275,
-            // subtext: '纯属虚构'
-          },
-          {
-            text: "",
-            right: 3,
-            top: 280,
-            textStyle: {
-              color: "#c23531",
-              fontSize: 12,
-            },
-          },
+        // title: [
+        //   {
+        //     text: "",
+        //     left: "center",
+        //     // subtext: '纯属虚构'
+        //   },
+        //   {
+        //     text: "",
+        //     // subtext:'实线',
+        //     textStyle: {
+        //       color: "#c23531",
+        //       // }
+        //     },
+        //     right: 35,
+        //     top: 275,
+        //     // subtext: '纯属虚构'
+        //   },
+        //   {
+        //     text: "",
+        //     right: 3,
+        //     top: 280,
+        //     textStyle: {
+        //       color: "#c23531",
+        //       fontSize: 12,
+        //     },
+        //   },
 
-          {
-            text: "",
-            textStyle: {
-              color: "#2f4554",
-            },
-            right: 35,
-            top: 295,
-            // subtext: '纯属虚构'
-          },
-          {
-            text: "",
-            textStyle: {
-              // fontSize:12,
-              color: "#d48265",
-            },
-            right: 0,
-            top: 219,
-            // subtext: '纯属虚构'
-          },
-          {
-            text: "",
-            textStyle: {
-              color: "#61a0a8",
-            },
-            right: 35,
-            top: 410,
-            // subtext: '纯属虚构'
-          },
-          {
-            top: 510,
-            left: 50,
-            subtextStyle: {
-              fontWeight: "bold",
-            },
-          },
-        ],
+        //   {
+        //     text: "",
+        //     textStyle: {
+        //       color: "#2f4554",
+        //     },
+        //     right: 35,
+        //     top: 295,
+        //     // subtext: '纯属虚构'
+        //   },
+        //   {
+        //     text: "",
+        //     textStyle: {
+        //       // fontSize:12,
+        //       color: "#d48265",
+        //     },
+        //     right: 0,
+        //     top: 219,
+        //     // subtext: '纯属虚构'
+        //   },
+        //   {
+        //     text: "",
+        //     textStyle: {
+        //       color: "#61a0a8",
+        //     },
+        //     right: 35,
+        //     top: 410,
+        //     // subtext: '纯属虚构'
+        //   },
+        //   {
+        //     top: 510,
+        //     left: 50,
+        //     subtextStyle: {
+        //       fontWeight: "bold",
+        //     },
+        //   },
+        // ],
         toolbox: {
           feature: {
             dataZoom: { yAxisIndex: "none" },
@@ -221,6 +221,7 @@ export default {
           {
             name: "叶片1根部轮廓",
             type: "line",
+            showSymbol: false,
             data: [
               1.63, 1.9, 2.16, 2.55, 2.7, 2.69, 2.65, 2.87, 2.9, 3.1, 3.47,
               3.89, 4.54, 5.33, 5.95, 6.44, 6.94, 7.45, 7.61, 8.44, 9.35, 9.58,
@@ -230,8 +231,9 @@ export default {
           {
             name: "叶片2根部轮廓",
             type: "line",
+            showSymbol: false,
             lineStyle: {
-              type: "dashed",
+              //   type: "dashed",
             },
             data: [
               12.84, 13.03, 13.05, 13.89, 13.72, 12.97, 13.21, 14.02, 14.54,
@@ -242,8 +244,9 @@ export default {
 
           {
             name: "叶片3根部轮廓",
+            showSymbol: false,
             lineStyle: {
-              type: "dotted",
+              //   type: "dotted",
             },
             type: "line",
 
@@ -255,6 +258,7 @@ export default {
           },
           {
             name: "平均轮廓",
+            showSymbol: false,
             type: "line",
             data: [
               "-",

+ 2 - 2
src/views/laserRangeFinder/index.vue

@@ -88,7 +88,7 @@
               原始图
             </span>
             <div class="boxContent">
-              <div class="left">
+              <div class="left" v-if="tabActiveName === 'init'">
                 <el-empty
                   :image-size="200"
                   v-if="currentRow === null"
@@ -117,7 +117,7 @@
               />
               拟合图
             </span>
-            <div class="boxContent">
+            <div class="boxContent" v-if="tabActiveName === 'copy'">
               <div class="left">
                 <el-empty
                   :image-size="200"