Pārlūkot izejas kodu

下载去掉英文补充,提示音补充

ming 3 gadi atpakaļ
vecāks
revīzija
475e83ef7d

+ 5 - 2
src/views/dataManage/chainAnalysis/ehcarts/index.vue

@@ -60,8 +60,11 @@ export default defineComponent({
         },
         toolbox: {
           show: true,
-          feature: {
-            saveAsImage: { show: true, color: 'black' },
+           feature: {
+            // dataView: { show: true, readOnly: false },
+            // magicType: { show: true, type: ["line", "bar"] },
+            // restore: { show: true },
+            saveAsImage: { show: true, color: 'black',title:'',name:'图表下载' },
           },
           iconStyle: {
             borderColor: '#666',

+ 18 - 8
src/views/dataManage/sameAnalysis/ehcarts/index.vue

@@ -104,16 +104,16 @@ export default defineComponent({
 
       if (props.typeSrarch == 1) {
         dataTime.value = arr1.map(function (item) {
-          return item.toString().substring(5,10);
+          return item.toString().substring(5, 10)
         })
         console.log('dataTime.value')
         console.log(dataTime.value)
       } else if (props.typeSrarch == 2) {
-       dataTime.value = arr1.map(function (item) {
-          return item.toString().substring(5,7)+'月';
+        dataTime.value = arr1.map(function (item) {
+          return item.toString().substring(5, 7) + '月'
         })
-      }else{
-         dataTime.value = arr1.map(function (item) {
+      } else {
+        dataTime.value = arr1.map(function (item) {
           return item
         })
       }
@@ -157,8 +157,19 @@ export default defineComponent({
           },
           toolbox: {
             show: true,
+            // feature: {
+            //   saveAsImage: { show: true, color: 'black' },
+            // },
             feature: {
-              saveAsImage: { show: true, color: 'black' },
+              // dataView: { show: true, readOnly: false },
+              // magicType: { show: true, type: ["line", "bar"] },
+              // restore: { show: true },
+              saveAsImage: {
+                show: true,
+                color: 'black',
+                title: '',
+                name: '图表下载',
+              },
             },
             iconStyle: {
               borderColor: '#666',
@@ -227,11 +238,10 @@ export default defineComponent({
       getData()
       ecahrts()
     }
-     const writeValue2 = (val) => {
+    const writeValue2 = (val) => {
       val
 
       getData()
-  
     }
 
     //监听变化

+ 2 - 0
src/views/deviceManage/powerEquip/index.vue

@@ -36,6 +36,7 @@
                   <span class="firstTopLeftTitle">联系人:</span>
                   <el-input
                     v-model="userName"
+                     placeholder="请输入联系人"
                     class="firstTopLeftInput"
                   ></el-input>
                 </div>
@@ -43,6 +44,7 @@
                   <span class="firstTopLeftTitle">手机号:</span>
                   <el-input
                     v-model="phone"
+                     placeholder="请输入手机号码"
                     class="firstTopLeftInput"
                   ></el-input>
                 </div>