From 06c8aa18a41393b564f48b42fe49db9fa761336c Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期日, 23 四月 2023 13:19:21 +0800
Subject: [PATCH] 1.MES产品对接云平台
---
src/components/ImportPicker/index.vue | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/src/components/ImportPicker/index.vue b/src/components/ImportPicker/index.vue
index 7825780..b25ef50 100644
--- a/src/components/ImportPicker/index.vue
+++ b/src/components/ImportPicker/index.vue
@@ -1,5 +1,6 @@
<template>
<el-dialog
+ v-el-drag-dialog
:visible.sync="visible"
:title="title"
:code="code"
@@ -45,10 +46,10 @@
:before-upload="beforeUpload"
:data="{FileCode:code}"
>
- <el-button class="but_style" icon="el-icon-upload2" size="small">{{ button_name }}</el-button>
+ <el-button v-waves class="but_style" icon="el-icon-upload2" size="small" :style="{color:$store.state.settings.theme}">{{ button_name }}</el-button>
</el-upload>
璇风偣鍑�
- <el-button type="text" style="font-size: 14px;cursor: pointer" icon="el-icon-download" @click="clickDown(code)">涓嬭浇鏁版嵁妯$増</el-button>
+ <el-button v-waves type="text" style="font-size: 14px;cursor: pointer" icon="el-icon-download" @click="clickDown(code)">涓嬭浇鏁版嵁妯$増</el-button>
, 骞舵寜鐓фā鐗堢紪杈戝鍏ユ暟鎹�
</div>
<p v-if="div1" style="margin:0 85px 5px">{{ file_name }}</p>
@@ -116,8 +117,9 @@
</div>
</div>
<span slot="footer" class="dialog-footer" style="display: flex;">
- <el-button v-if="button_text !="瀹屾垚"" @click="colos()">鍙� 娑�</el-button>
+ <el-button v-if="button_text !="瀹屾垚"" v-waves @click="colos()">鍙� 娑�</el-button>
<el-button
+ v-waves
type="primary"
class="button_style"
:disabled="disState"
@@ -129,8 +131,11 @@
<script>
import { DownLoadExcel, ExcelCheckData, ExcelImportSubmit, ExcelModelCheck } from '@/api/Excel'
+import elDragDialog from '@/directive/el-drag-dialog'
+import waves from '@/directive/waves'
export default {
+ directives: { elDragDialog, waves },
props: {
code: {
type: String,
--
Gitblit v1.9.3