Commit 2ae3c4bf by guanzhenshan

修复资产负债表导出按钮无法显示的问题

parent 158538ce
...@@ -41,6 +41,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers ...@@ -41,6 +41,7 @@ namespace Bailun.DC.Web.Areas.Reports.Controllers
/// 获取资产负债表数据 /// 获取资产负债表数据
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
[BailunAuthentication(LoginMode.Enforce)]
[HttpPost] [HttpPost]
public JsonResult IndexJson(int type, int paycompanyvalue, DateTime? day) public JsonResult IndexJson(int type, int paycompanyvalue, DateTime? day)
{ {
......
...@@ -1378,11 +1378,11 @@ ...@@ -1378,11 +1378,11 @@
} }
$.ajax({ $.submit({
url: '@Url.Content("~/Reports/Finance/IndexJson")', url: '@Url.Content("~/Reports/Finance/IndexJson")',
type: "POST", type: "POST",
data: 'type=' + type + '&day=' + day + '&paycompanyvalue=' + paycompany, data: 'type=' + type + '&day=' + day + '&paycompanyvalue=' + paycompany,
success: function (result) { func: function (result) {
if (result.success) { if (result.success) {
var list = result.data; var list = result.data;
......
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