loulijun2021
2023-01-06 72932dd999c97b14fa561002d332520985178cf5
src/components/ImportPicker/index.vue
@@ -1,5 +1,6 @@
<template>
  <el-dialog
    v-el-drag-dialog
    :visible.sync="visible"
    :title="title"
    :code="code"
@@ -45,7 +46,7 @@
          :before-upload="beforeUpload"
          :data="{FileCode:code}"
        >
          <el-button class="but_style" icon="el-icon-upload2" size="small">{{ button_name }}</el-button>
          <el-button 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>
@@ -129,8 +130,10 @@
<script>
import { DownLoadExcel, ExcelCheckData, ExcelImportSubmit, ExcelModelCheck } from '@/api/Excel'
import elDragDialog from '@/directive/el-drag-dialog'
export default {
  directives: { elDragDialog },
  props: {
    code: {
      type: String,