@@ -168,9 +168,11 @@ class SchoolService extends CrudService {
// 获取导入的XLSX文件中的数据
async getImportXLSXData(filepath, termid, schid, planid, planyearid, type, batchid) {
- console.warn(filepath);
+ console.group('filepath');
+ console.log(filepath);
const file = await this.ctx.curl(filepath);
console.log(file);
+ console.groupEnd();
const workbook = XLSX.read(file.data);
console.log(workbook);
// 读取内容