后台:
public ActionResult ApproveWorkFlowSettingNew_btnSaveClose_Click(ApproveMatrix approveMatrix,JArray Grid1_fields, JArray Grid1_modifiedData)
{
foreach (JObject modifiedRow in Grid1_modifiedData)
{
string status = modifiedRow.Value<string>("status");
string rowId = modifiedRow.Value<string>("id");
if (status == "modified")
{
// UpdateDataRow(modifiedRow, Convert.ToInt32(rowId), source);
}
else if (status == "newadded")
{
var approveUser = modifiedRow["values"]["ApproveUser"].ToString();
var order = Convert.ToInt32(modifiedRow["values"]["Order"]);
var condition1 = modifiedRow["values"]["Condition1"].ToString();
......