vascript">
	var prefix = ctx + "activiti/process";
	function submitHandler() {
	    uploadFile();
	}
	function uploadFile() {
	    var formData = new FormData();
	    if($('#file')[0].files[0] == null) {
	        $.modal.alertWarning("请先选择文件路径");
	        return false;  
	    }
	    formData.append('file', $('#file')[0].files[0]);
	    formData.append('category', document.getElementById("category").value);
	    $.ajax({
	        url: prefix + "/add",
	        type: 'post',
	        cache: fa