| | |
| | | string Password = obj["Password"].ToString(); //密码 |
| | | string Enable = obj["Enable"].ToString(); //在职状态 |
| | | string StuOrg = obj["StuOrg"].ToString(); //选择组织编码 |
| | | string groupcode= obj["groupcode"].ToString(); //所属班组编码 |
| | | string wagetype = obj["wagetype"].ToString(); //工资类型 |
| | | string Mobile = obj["Mobile"].ToString(); //联系方式 |
| | | string Email = obj["Email"].ToString(); //电子邮箱 |
| | | string Operator = obj["Operator"].ToString(); //操作人员 |
| | | string OperType = obj["OperType"].ToString(); //操作类型 |
| | | mes = BasicSettingBLL.AddUpdateUser(UserId, UserCode, UserName, Password, Enable, StuOrg, wagetype, Mobile, Email, Operator, OperType); |
| | | mes = BasicSettingBLL.AddUpdateUser(UserId, UserCode, UserName, Password, Enable, StuOrg, groupcode, wagetype, Mobile, Email, Operator, OperType); |
| | | return TJson.toJson(mes); |
| | | } |
| | | #endregion |
| | |
| | | string person = obj["person"].ToString(); //联系人 |
| | | string contact = obj["contact"].ToString(); //联系方式 |
| | | string description = obj["description"].ToString(); //补充描述 |
| | | var usercode = "Admin";//HttpContext.Current.Request.Cookies["admin"].Value.ToString(); |
| | | var usercode = HttpContext.Current.Request.Cookies["admin"].Value.ToString(); |
| | | string OperType = obj["OperType"].ToString(); //操作类型 |
| | | mes = BasicSettingBLL.AddUpdateCurrentUnit(unitid, unitcode, unitname, mtypecode, btypecode,htypecode, person, contact, description, usercode, OperType); |
| | | return TJson.toJson(mes); |