文件操作 - Expenses.js
返回文件管理
返回主菜单
删除本文件
文件: E:\HostingSpaces\kimblycr\howell.kimbly.in\wwwroot\js\Expenses.js
编辑文件内容
function SearchUnApprovedExpenses() { console.log('In Search Expenses'); var collection = "Expenses"; $.ajax({ type: "POST", contentType: "application/json; charset=utf-8", url: "WebMethods/Expenses.aspx/SearchUnApprovedExpenses", data: "", dataType: "json", success: function (data) { if (data.d != null) { console.log(data.d); $("#grd" + collection).empty(); var str = "<thead><tr><td>CardNo</td><td>Name</td><td>MobileNo</td><td>EMailID</td><td>LoginID</td><td>Department</td><td>Designation</td></tr></thead><tbody>"; for (i = 0; i < data.d.length; i++) { var hdr = data.d[i].RowData; str += hdr; } $("#grd" + collection).append(str); $("#grd" + collection).append("</tbody>"); $("#grd" + collection).show(); $("#dvGrdReport" + collection).show(); } }, error: function (XMLHttpRequest, textStatus, errorThrown) { console.log(XMLHttpRequest.responseText); } }); }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件