|
|
@@ -88,7 +88,7 @@ namespace CallCenterApi.Interface.Controllers
|
|
88
|
88
|
}
|
|
89
|
89
|
}
|
|
90
|
90
|
|
|
91
|
|
-
|
|
|
91
|
+
|
|
92
|
92
|
/// <summary>
|
|
93
|
93
|
/// 添加菜单
|
|
94
|
94
|
/// </summary>
|
|
|
@@ -107,7 +107,8 @@ namespace CallCenterApi.Interface.Controllers
|
|
107
|
107
|
entity_ModuleInfo.F_OptUrl = input.url;
|
|
108
|
108
|
entity_ModuleInfo.F_CreateTime = DateTime.Now;
|
|
109
|
109
|
entity_ModuleInfo.F_CreateUID = CurrentUser.UserData.F_UserId;
|
|
110
|
|
-
|
|
|
110
|
+ entity_ModuleInfo.F_Button = "label label-warning pull - right lblcount "+ input.code;
|
|
|
111
|
+
|
|
111
|
112
|
if (moduleInfoBLL.Add(entity_ModuleInfo) > 0)
|
|
112
|
113
|
{
|
|
113
|
114
|
return Success("菜单添加成功");
|
|
|
@@ -173,8 +174,7 @@ namespace CallCenterApi.Interface.Controllers
|
|
173
|
174
|
entity_ModuleInfo.F_Sort = input.sort;
|
|
174
|
175
|
entity_ModuleInfo.F_StateFlag = Convert.ToInt32(input.flag);
|
|
175
|
176
|
entity_ModuleInfo.F_OptUrl = input.url;
|
|
176
|
|
-
|
|
177
|
|
-
|
|
|
177
|
+ entity_ModuleInfo.F_Button = "label label-warning pull - right lblcount " + input.code;
|
|
178
|
178
|
if (moduleInfoBLL.Update(entity_ModuleInfo))
|
|
179
|
179
|
{
|
|
180
|
180
|
return Success("菜单修改成功");
|