|
|
|
@ -358,12 +358,14 @@
|
|
|
|
|
if (lastSendType === '2'){ //如果已经发送过一次了,那么就应该沿用上次发送的类型。
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: 'get',
|
|
|
|
|
url: '<%= search_user_project_user_path(@user)%>' + '?' + $("#resources_list_form").serialize()
|
|
|
|
|
url: '<%= search_user_project_user_path(@user)%>' + '?' + $("#resources_list_form").serialize(),
|
|
|
|
|
data:{send_type:'file'}
|
|
|
|
|
});
|
|
|
|
|
}else{
|
|
|
|
|
$.ajax({
|
|
|
|
|
type: 'get',
|
|
|
|
|
url: '<%= search_user_course_user_path(@user)%>' + '?'+ $("#resources_list_form").serialize()
|
|
|
|
|
url: '<%= search_user_course_user_path(@user)%>' + '?'+ $("#resources_list_form").serialize(),
|
|
|
|
|
data:{send_type:'file'}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|