yz3456
2024-06-23 db3d71b62fcd859bf5e2c75b107c1d28bd977632
ruoyi-ui/src/views/economy/index.vue
@@ -812,10 +812,9 @@
    },
    /** 导出按钮操作 */
    handleExport() {
      this.download('/zfEconomy/export', {
      this.download('/zfEconomy/model', {
        ...this.queryParams
      }, `zfEconomy_${new Date().getTime()}.xlsx`)
    }
  },
  /** 导入操作*/
  handleEnport(params){
@@ -823,17 +822,17 @@
    var formData = new FormData();
    formData.append('excelImport', file);
    let _this = this
    alert(file)
    enload(formData).then(response => {
      _this.getList();
      Message({ message: "导入成功", type: 'warning' })
    }).catch(err)
    {
      Message({ message: "导入失败", type: 'error' })
    }
    },
  },
  }
};
</script>