Browse Source

feat: 修改

linwenxin 1 year ago
parent
commit
adec84aa45

+ 2 - 4
src/components/template/import_mixin.js

@@ -2,8 +2,7 @@ export default {
   methods: {
     //导入按钮
     importButton(func, name = '导入', params, fun1, fun2) {
-      return () => {
-        return (
+      return (
           <el-upload
             action={'_'}
             show-file-list={false}
@@ -36,10 +35,9 @@ export default {
                 })
             }}
           >
-            <span>{name}</span>
+            <span style={{color:'#fff !important'}}>{name}</span>
           </el-upload>
         )
-      }
     }
   }
 }

+ 8 - 8
src/views/mallManagement/configCenter/faultSelfExamination/index.vue

@@ -43,18 +43,10 @@ export default {
         [
           [
             {
-              name: '添加',
-              click: this.addData
-            }
-          ],
-        ], [
-          [
-            {
               name: '下载导入模板',
               click: this.handleDownload
             }
           ],
-        ], [
           [
             {
               name: '导入模板',
@@ -64,6 +56,14 @@ export default {
             }
           ],
         ],
+        [
+          [
+            {
+              name: '添加',
+              click: this.addData
+            }
+          ],
+        ]
       ],
       // 表格属性
       tableAttributes: {