调整导入学生账号

dev_ec
cxt 6 years ago
parent 1350e8fb59
commit b8daa7e818

@ -2929,7 +2929,7 @@ end
attachment.save
path = attachment.disk_directory
name = attachment.disk_filename
if name.split(".").last == "xls" || name.split(".").last == "xlsx"
if name.split(".").last == "xlsx"
# lists = readXlsData("files/baolong.xlsx")
lists = readXlsData("files/#{path}/#{name}")
school_id = nil

@ -1,3 +1,5 @@
<% if @status == 1 %>
notice_box("导入成功");
<% else %>
notice_box("导入失败只支持xlsx文件");
<% end %>
Loading…
Cancel
Save