| | |
| | | using VueWebCoreApi.DLL.BLL; |
| | | using VueWebCoreApi.Models; |
| | | using VueWebCoreApi.Models.RolePermission; |
| | | using VueWebCoreApi.Models.WorkData; |
| | | using VueWebCoreApi.Tools; |
| | | using static VueWebCoreApi.Models.RolePermission.RolePermissionSava; |
| | | |
| | |
| | | string usercode = obj["usercode"].ToString(); //用户编码 |
| | | string username = obj["username"].ToString(); //用户名称 |
| | | string password = obj["password"].ToString();//用户密码 |
| | | string payrate = obj["payrate"].ToString();//薪资属性 |
| | | string mobile = obj["mobile"].ToString();//手机号 |
| | | string email = obj["email"].ToString();//邮箱 |
| | | string storg_code = obj["storg_code"].ToString();//所属组织 |
| | |
| | | string role_code = obj["role_code"].ToString();//角色 |
| | | string group_code = obj["group_code"].ToString();//班组 |
| | | string opertype = obj["OperType"].ToString(); //操作类型 |
| | | mes = BasicSettingBLL.AddUpdateUserSave(usercode, username, password, mobile, email, storg_code, status, post_code, role_code, group_code, opertype, us); |
| | | mes = BasicSettingBLL.AddUpdateUserSave(usercode, username, password, payrate,mobile, email, storg_code, status, post_code, role_code, group_code, opertype, us); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | |
| | | } |
| | | #endregion |
| | | |
| | | #region[产品编码批量查找关联的工艺信息] |
| | | /// <summary> |
| | | /// 产品编码批量查找关联的工艺信息 |
| | | /// </summary> |
| | | /// <param name="list">产品编码集合</param> |
| | | /// <returns></returns> |
| | | [Route(template: "PartSelectRputeList")] |
| | | [HttpPost] |
| | | public JsonResult PartSelectRputeList(List<PartRouteList> list) |
| | | { |
| | | var token = HttpContext.Request.Headers["Token"].ToString(); |
| | | User us = JwtTools.Denocode(token.ToString()); |
| | | mes = BasicSettingBLL.PartSelectRputeList(list, us); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | | |
| | | #region[根据工艺信息(工艺路线编码)批量查找关联工序集合] |
| | | /// <summary> |
| | | /// 根据工艺信息(工艺路线编码)批量查找关联工序集合 |
| | | /// </summary> |
| | | /// <param name="list">产品编码,工艺路线编码集合</param> |
| | | /// <returns></returns> |
| | | [Route(template: "RouteSelectStepList")] |
| | | [HttpPost] |
| | | public JsonResult RouteSelectStepList(List<PartRouteStepList> list) |
| | | { |
| | | |
| | | mes = BasicSettingBLL.RouteSelectStepList(list); |
| | | return Json(mes); |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | #region[节拍工价查询] |
| | | /// <summary> |
| | | /// 节拍工价查询 |