Commit 84b9ca71 authored by agping's avatar agping

考勤

parent 269618f8
......@@ -109,13 +109,13 @@ define(['doT', 'text!temp/attendance_template_tpl.html', 'css!style/home.css', '
$("#file_input").change(function() {
var _this = $(this);
var formData = new FormData();
// formData.append('AuthToken', user_info_obj.AuthToken);
formData.append('setting_date', cost.getDate());
formData.append('type', 'excel_import');
formData.append('file', _this[0].files[0]);
console.log(_this[0].files[0]);
$.ajax({
type: 'post',
url: '/index/importStoreFee',
url: '/index/storeDataExcel',
data: formData,
dataType: 'json',
contentType: false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment