
--- client/views/pages/App.jsx
+++ client/views/pages/App.jsx
... | ... | @@ -165,10 +165,8 @@ |
165 | 165 |
if (loginUser) { |
166 | 166 |
if (loginUser['government_type'] == 'HOSPITAL') { |
167 | 167 |
loginUser['title_name'] = '의료사회복지사' |
168 |
- } else if (loginUser['government_type'] == 'WELFARE') { |
|
169 |
- loginUser['title_name'] = '생활지원사' |
|
170 | 168 |
} else { |
171 |
- loginUser['title_name'] = '생활보호사' |
|
169 |
+ loginUser['title_name'] = '생활지원사' |
|
172 | 170 |
} |
173 | 171 |
dispatch(setLoginUser(loginUser)); |
174 | 172 |
} |
--- client/views/pages/main/Main_agency.jsx
+++ client/views/pages/main/Main_agency.jsx
... | ... | @@ -254,7 +254,7 @@ |
254 | 254 |
|
255 | 255 |
return ( |
256 | 256 |
<main> |
257 |
- <div className="flex-start margin-bottom2"><img src={medicinebox} alt="" /><TitleSmall title={"대상자 현황"} explanation={"2023.02.28 기준"} /></div> |
|
257 |
+ <div className="flex-start margin-bottom2"><img src={medicinebox} alt="" /><TitleSmall title={"대상자 현황"} explanation={new Date(new Date().setDate(new Date().getDate() - 1)).toLocaleDateString().replace(/\./g, '').replace(/\s/g, '-') + " 기준"} /></div> |
|
258 | 258 |
<div className="main-grid-agency margin-bottom2"> |
259 | 259 |
<ul className="content-box statistics-agency" background="#f7acba"> |
260 | 260 |
<li className="flex-start"> |
--- client/views/pages/user_management/AgencyAdminSeniorSelect.jsx
+++ client/views/pages/user_management/AgencyAdminSeniorSelect.jsx
... | ... | @@ -18,7 +18,7 @@ |
18 | 18 |
|
19 | 19 |
const [modalOpen, setModalOpen] = React.useState(false); |
20 | 20 |
const openModal = () => { |
21 |
- if (CommonUtil.isEmpty(workerId) == true) { |
|
21 |
+ if (CommonUtil.isEmpty(IdList) == true) { |
|
22 | 22 |
alert(state.loginUser['title_name'] + "를 선택해 주세요."); |
23 | 23 |
return; |
24 | 24 |
} |
--- client/views/pages/user_management/AgentSelectOne.jsx
+++ client/views/pages/user_management/AgentSelectOne.jsx
... | ... | @@ -186,7 +186,7 @@ |
186 | 186 |
/> |
187 | 187 |
|
188 | 188 |
<div className="content-wrap row"> |
189 |
- <SubTitle explanation={"대상자 상세 프로필"} className="margin-bottom" /> |
|
189 |
+ <SubTitle explanation={state.loginUser['title_name'] + " 상세 프로필"} className="margin-bottom" /> |
|
190 | 190 |
<div className="margin-bottom5"> |
191 | 191 |
<table className="margin-bottom senior-detail"> |
192 | 192 |
<tbody> |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?