doum
昨天 dd6a43fdbadaaf6d646b3eb2ca0a63f58ed77ea4
admin/src/components/business/OperaJkCustomerImportWindow.vue
@@ -12,7 +12,7 @@
      1.请先下载文件模板,并按照模板要去填写表格内容;<br>
      2.建议每次导入数据量不大于3000,可采取分批导入;<br>
    </p>
    <el-form class="demo-form-inline" >
    <el-form class="demo-form-inline" v-loading="loading">
      <el-form-item label="客户信息" required>
        <div style="width: 100%;display: flex;align-items: center;">
          <el-button type="primary"   @click="clickRef">点击上传</el-button>
@@ -39,7 +39,8 @@
  data () {
    return {
      importing:false,
      fileName: ''
      fileName: '',
      loading: false
    }
  },
  methods: {
@@ -57,6 +58,7 @@
      this.$refs.fileExcel.click()
    },
    result (e) {
      this.loading = true
      const data = new FormData()
      data.append('file', e.target.files[0])
      importExcel(data)
@@ -70,6 +72,7 @@
          this.fileName = ''
        })
        .finally(() => {
          this.loading = false
          this.$refs.fileExcel.value = null
        })
    }