업무일지 시간 요약화면에 휴일 데이터를 추가 함.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net.Http;
|
||||
using System.Web.Http;
|
||||
@@ -8,13 +9,13 @@ namespace WebServer
|
||||
public class HomeController : BaseController
|
||||
{
|
||||
[HttpPost]
|
||||
public void Index([FromBody]string value)
|
||||
public void Index([FromBody] string value)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// PUT api/values/5
|
||||
public void Put(int id, [FromBody]string value)
|
||||
public void Put(int id, [FromBody] string value)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -64,13 +65,20 @@ namespace WebServer
|
||||
{
|
||||
//로그인이 되어있지않다면 로그인을 가져온다
|
||||
MethodResult result;
|
||||
result = View();
|
||||
|
||||
var model = GetGlobalModel();
|
||||
var getParams = Request.GetQueryNameValuePairs();// GetParameters(data);
|
||||
var contents = string.Empty;
|
||||
|
||||
//기본값을 찾아서 없애줘야한다
|
||||
var contents = result.Content;
|
||||
Dictionary<string, string> list = new Dictionary<string, string>();
|
||||
list.Add("공용코드 목록", "/Common/List/?Gcode=EET1P&Grp=99");
|
||||
list.Add("사용자 목록", "/User/List/?Gcode=EET1P");
|
||||
|
||||
foreach (var item in list)
|
||||
{
|
||||
contents += $"<a target='_blank' href='{item.Value}'>{item.Key}</a>";
|
||||
}
|
||||
|
||||
//공용값 적용
|
||||
ApplyCommonValue(ref contents);
|
||||
@@ -88,6 +96,6 @@ namespace WebServer
|
||||
|
||||
return resp;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user