private string findRemoteData() { string type = Request.Form["type"]; string value = Request.Form["value"]; DataTable dt = null; if ("用户表".Equals(type)) { dt = MobileReimburseManage.findInformer(value); } else if ("部门表".Equals(type)) { dt = MobileReimburseManage.findFeeDepartment(""); } else if ("产品表".Equals(type)) { dt = MobileReimburseManage.findProduct(value, null, ""); } else if ("费用明细表".Equals(type)) { dt = MobileReimburseManage.findParentFeeDetail("", ""); } else if ("网点表".Equals(type)) { dt = MobileReimburseManage.findBranch(value, null, ""); } return(JsonHelper.DataTable2Json(dt)); }
private string findFeeDepartment() { string feeDepartment = Request.Form["name"]; DataTable dt = MobileReimburseManage.findFeeDepartment(feeDepartment); if (dt == null) { return(null); } return(JsonHelper.DataTable2Json(dt)); }