mvc 异步 参数 过多 js 如何用model 传递,action如何用model接收参数
js:where={"type":type,"name":$("#txtName").val(),"fieldName":$("#drpName").val(),"stD...
js:
where = { "type": type, "name": $("#txtName").val(), "fieldName": $("#drpName").val(), "stDate": $("#txtBegDate").val(), "edDate": $("#txtEndDate").val(), "accountName": accountName, "RMB": TrimAll(cls) };
action:
public DataTable GetForDate(string type, string typecode, string name, string fieldName, DateTime stDate, DateTime edDate, string sort, string accountName = "", string RMB = "") 展开
where = { "type": type, "name": $("#txtName").val(), "fieldName": $("#drpName").val(), "stDate": $("#txtBegDate").val(), "edDate": $("#txtEndDate").val(), "accountName": accountName, "RMB": TrimAll(cls) };
action:
public DataTable GetForDate(string type, string typecode, string name, string fieldName, DateTime stDate, DateTime edDate, string sort, string accountName = "", string RMB = "") 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询