发布功能不更新名称排序图标
This commit is contained in:
@@ -595,9 +595,11 @@ public class VisualDevService : IVisualDevService, IDynamicApiController, ITrans
|
|||||||
moduleModel.ModuleId = input.id;
|
moduleModel.ModuleId = input.id;
|
||||||
moduleModel.ParentId = oldWebModule != null ? oldWebModule.ParentId : (input.pcModuleParentId.Equals(input.pcSystemId) ? "-1" : input.pcModuleParentId); // 父级菜单节点
|
moduleModel.ParentId = oldWebModule != null ? oldWebModule.ParentId : (input.pcModuleParentId.Equals(input.pcSystemId) ? "-1" : input.pcModuleParentId); // 父级菜单节点
|
||||||
moduleModel.Category = "Web";
|
moduleModel.Category = "Web";
|
||||||
moduleModel.FullName = entity.FullName;
|
// moduleModel.FullName = entity.FullName; //modifyby zhoukeda 发布功能不更新名称排序图标
|
||||||
|
moduleModel.FullName = oldWebModule.FullName;
|
||||||
moduleModel.EnCode = entity.EnCode;
|
moduleModel.EnCode = entity.EnCode;
|
||||||
moduleModel.Icon = "icon-ym icon-ym-webForm";
|
// moduleModel.Icon = "icon-ym icon-ym-webForm"; //modifyby zhoukeda 发布功能不更新名称排序图标
|
||||||
|
moduleModel.Icon = oldWebModule.Icon;
|
||||||
moduleModel.UrlAddress = oldWebModule != null ? oldWebModule.UrlAddress : "model/" + entity.EnCode;
|
moduleModel.UrlAddress = oldWebModule != null ? oldWebModule.UrlAddress : "model/" + entity.EnCode;
|
||||||
moduleModel.Type = 3;
|
moduleModel.Type = 3;
|
||||||
moduleModel.EnabledMark = 1;
|
moduleModel.EnabledMark = 1;
|
||||||
@@ -605,7 +607,8 @@ public class VisualDevService : IVisualDevService, IDynamicApiController, ITrans
|
|||||||
moduleModel.IsButtonAuthorize = 1;
|
moduleModel.IsButtonAuthorize = 1;
|
||||||
moduleModel.IsFormAuthorize = 1;
|
moduleModel.IsFormAuthorize = 1;
|
||||||
moduleModel.IsDataAuthorize = 1;
|
moduleModel.IsDataAuthorize = 1;
|
||||||
moduleModel.SortCode = 999;
|
// moduleModel.SortCode = 999; //modifyby zhoukeda 发布功能不更新名称排序图标
|
||||||
|
moduleModel.SortCode = oldWebModule.SortCode;
|
||||||
moduleModel.CreatorTime = DateTime.Now;
|
moduleModel.CreatorTime = DateTime.Now;
|
||||||
moduleModel.PropertyJson = (new { moduleId = input.id, iconBackgroundColor = string.Empty, isTree = 0, isAutoRelease = true }).ToJsonString();
|
moduleModel.PropertyJson = (new { moduleId = input.id, iconBackgroundColor = string.Empty, isTree = 0, isAutoRelease = true }).ToJsonString();
|
||||||
moduleModel.SystemId = oldWebModule != null ? oldWebModule.SystemId : input.pcSystemId;
|
moduleModel.SystemId = oldWebModule != null ? oldWebModule.SystemId : input.pcSystemId;
|
||||||
|
|||||||
Reference in New Issue
Block a user