qx
qx
2025-04-17 6d2f5a43b9bf2922c137e18e3fb4ba91fcfce459
qx
1个文件已修改
11 ■■■■■ 已修改文件
src/views/reservation/resercopy/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/reservation/resercopy/index.vue
@@ -209,7 +209,7 @@
        ref="upload"
        :limit="1"
        :key="uploadKey" 
        accept=".xlsx, .xls"
        accept=".xls"
        :headers="upload.headers"
        :data="data"
        :action="upload.url"
@@ -226,7 +226,7 @@
            <el-checkbox v-model="upload.updateSupport" />
            是否更新已经存在的用户数据
          </div>
          <span>仅允许导入xls、xlsx格式文件。</span>
          <span>仅允许导入xls格式文件。</span>
          <el-link
            type="primary"
            :underline="false"
@@ -897,14 +897,16 @@
    // 文件上传成功处理
    // 文件上传成功处理
    handleFileSuccess(response, file, fileList) {
      console.log(response, file, fileList)
      if (response.code == 500) {
        this.isdisabled = true;
        // Message.warning(response.msg);
        // this.$modal.msgError(response.msg);
        // this.$modal.msgError("人员"+ response.data.list + "信息错误");
        const errorList = response.data.list.join(", ");
       
        this.$confirm(`${errorList}`, `${response.msg}`, {
        // const errorList = response.data.list.join(", ");
        this.$confirm( `${response.msg}`, {
          confirmButtonText: "确定",
          cancelButtonText: "取消",
          type: "error",
@@ -975,6 +977,7 @@
    },
    // 提交上传文件
    submitFileForm() {
      console.log(9999)
      this.$refs.upload.submit();
      this.isShow = false;
    },