Merge pull request #228 feature-NEWDWH2021-1104 into develop
This commit is contained in:
commit
f194f206e4
@ -5,5 +5,5 @@ from src.util.sanitize import sanitize
|
||||
|
||||
|
||||
@sanitize
|
||||
class UltmarcTrtCourseDBModel(BaseDBModel):
|
||||
class UltmarcDrTrtCourseDBModel(BaseDBModel):
|
||||
trt_course_name: Optional[str]
|
||||
|
||||
@ -10,7 +10,7 @@ from src.model.db.ultmarc_doctor_wrkplace_his import \
|
||||
from src.model.db.ultmarc_sosiety import UltmarcSosietyDBModel
|
||||
from src.model.db.ultmarc_specialist_license import \
|
||||
UltmarcSpecialistLicenseDBModel
|
||||
from src.model.db.ultmarc_trt_course import UltmarcTrtCourseDBModel
|
||||
from src.model.db.ultmarc_trt_course import UltmarcDrTrtCourseDBModel
|
||||
from src.system_var import environment
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ class UltmarcDoctorInfoViewModel(BaseModel):
|
||||
subtitle: str = '医師情報'
|
||||
is_batch_processing: Optional[bool]
|
||||
doctor_info_data: Optional[UltmarcDoctorInfoDBModel]
|
||||
trt_coursed_data: Optional[list[UltmarcTrtCourseDBModel]]
|
||||
trt_coursed_data: Optional[list[UltmarcDrTrtCourseDBModel]]
|
||||
sosiety_data: Optional[list[UltmarcSosietyDBModel]]
|
||||
specialist_license_data: Optional[list[UltmarcSpecialistLicenseDBModel]]
|
||||
doctor_wrkplace_data: Optional[list[UltmarcDoctorWrkplaceDBModel]]
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
from src.logging.get_logger import get_logger
|
||||
from src.model.db.inst_div_master import InstDivMasterModel
|
||||
from src.repositories.base_repository import BaseRepository
|
||||
|
||||
logger = get_logger('COM_施設区分取得')
|
||||
|
||||
|
||||
class InstDivMasterRepository(BaseRepository):
|
||||
|
||||
@ -21,9 +24,7 @@ class InstDivMasterRepository(BaseRepository):
|
||||
models = [InstDivMasterModel(**r) for r in result_data]
|
||||
return models
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] getOroshiData DB Error. ")
|
||||
print(f"[ERROR] ErrorMessage: {e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
from src.logging.get_logger import get_logger
|
||||
from src.model.db.prefc_master import PrefcMasterModel
|
||||
from src.repositories.base_repository import BaseRepository
|
||||
|
||||
logger = get_logger('都道府県マスタ取得')
|
||||
|
||||
|
||||
class PrefcMasterRepository(BaseRepository):
|
||||
|
||||
@ -23,9 +26,7 @@ class PrefcMasterRepository(BaseRepository):
|
||||
models = [PrefcMasterModel(**r) for r in result_data]
|
||||
return models
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] getOroshiData DB Error. ")
|
||||
print(f"[ERROR] ErrorMessage: {e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
|
||||
@ -1,11 +1,15 @@
|
||||
import mojimoji
|
||||
|
||||
from src.db import sql_condition as condition
|
||||
from src.db.sql_condition import SQLCondition
|
||||
from src.logging.get_logger import get_logger
|
||||
from src.model.db.ultmarc_doctor import UltmarcDoctorDBModel
|
||||
from src.model.db.ultmarc_doctor_info import UltmarcDoctorInfoDBModel
|
||||
from src.model.request.ultmarc_doctor import UltmarcDoctorSearchModel
|
||||
from src.repositories.base_repository import BaseRepository
|
||||
from src.util.string_util import is_not_empty
|
||||
import mojimoji
|
||||
|
||||
logger = get_logger('COM_医師取得')
|
||||
|
||||
|
||||
class UltmarcDoctorRepository(BaseRepository):
|
||||
@ -56,8 +60,7 @@ class UltmarcDoctorRepository(BaseRepository):
|
||||
|
||||
return models
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] DB Error : Exception={e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
@ -79,7 +82,7 @@ class UltmarcDoctorRepository(BaseRepository):
|
||||
if is_not_empty(parameter.dr_name_kana):
|
||||
# 必ず部分一致で検索
|
||||
# ひらがなを全角カタカナへ変換
|
||||
zenkaku_katakana = ''.join([chr(n+96) if (12352 < n and n < 12439) or n == 12445 or n == 12446 else chr(n)
|
||||
zenkaku_katakana = ''.join([chr(n + 96) if (12352 < n and n < 12439) or n == 12445 or n == 12446 else chr(n)
|
||||
for n in [ord(c) for c in parameter.dr_name_kana]])
|
||||
# 全角カタカナを半角カタカナへ変換
|
||||
hankaku_katakana = mojimoji.zen_to_han(zenkaku_katakana)
|
||||
@ -101,7 +104,7 @@ class UltmarcDoctorRepository(BaseRepository):
|
||||
if is_not_empty(parameter.form_inst_name_kana):
|
||||
# 必ず部分一致で検索
|
||||
# ひらがなを全角カタカナへ変換
|
||||
zenkaku_katakana = ''.join([chr(n+96) if (12352 < n and n < 12439) or n == 12445 or n == 12446 else chr(n)
|
||||
zenkaku_katakana = ''.join([chr(n + 96) if (12352 < n and n < 12439) or n == 12445 or n == 12446 else chr(n)
|
||||
for n in [ord(c) for c in parameter.form_inst_name_kana]])
|
||||
# 全角カタカナを半角カタカナへ変換
|
||||
hankaku_katakana = mojimoji.zen_to_han(zenkaku_katakana)
|
||||
@ -178,8 +181,7 @@ class UltmarcDoctorRepository(BaseRepository):
|
||||
return None
|
||||
return models[0]
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] DB Error : Exception={e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
|
||||
@ -1,7 +1,10 @@
|
||||
from src.logging.get_logger import get_logger
|
||||
from src.model.db.ultmarc_doctor_wrkplace_his import \
|
||||
UltmarcDoctorWrkplaceHisDBModel
|
||||
from src.repositories.base_repository import BaseRepository
|
||||
|
||||
logger = get_logger('COM_医師勤務先履歴取得')
|
||||
|
||||
|
||||
class UltmarcDoctorWrkplaceHisRepository(BaseRepository):
|
||||
|
||||
@ -35,8 +38,7 @@ class UltmarcDoctorWrkplaceHisRepository(BaseRepository):
|
||||
return None
|
||||
return models
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] DB Error : Exception={e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
|
||||
@ -1,8 +1,11 @@
|
||||
from src.logging.get_logger import get_logger
|
||||
from src.model.db.ultmarc_doctor_wrkplace import UltmarcDoctorWrkplaceDBModel
|
||||
from src.model.db.ultmarc_doctor_wrkplace_count import \
|
||||
UltmarcDoctorWrkplaceCountDBModel
|
||||
from src.repositories.base_repository import BaseRepository
|
||||
|
||||
logger = get_logger('COM_医師勤務先取得')
|
||||
|
||||
|
||||
class UltmarcDoctorWrkplaceRepository(BaseRepository):
|
||||
|
||||
@ -34,8 +37,7 @@ class UltmarcDoctorWrkplaceRepository(BaseRepository):
|
||||
return None
|
||||
return models
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] DB Error : Exception={e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
@ -56,8 +58,7 @@ class UltmarcDoctorWrkplaceRepository(BaseRepository):
|
||||
return 0
|
||||
return models[0].count
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] DB Error : Exception={e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
|
||||
@ -1,11 +1,15 @@
|
||||
import mojimoji
|
||||
|
||||
from src.db import sql_condition as condition
|
||||
from src.db.sql_condition import SQLCondition
|
||||
from src.logging.get_logger import get_logger
|
||||
from src.model.db.ultmarc_inst import UltmarcInstDBModel
|
||||
from src.model.db.ultmarc_inst_info import UltmarcInstInfoDBModel
|
||||
from src.model.request.ultmarc_inst import UltmarcInstSearchModel
|
||||
from src.repositories.base_repository import BaseRepository
|
||||
from src.util.string_util import is_not_empty
|
||||
import mojimoji
|
||||
|
||||
logger = get_logger('COM_施設取得')
|
||||
|
||||
|
||||
class UltmarcInstRepository(BaseRepository):
|
||||
@ -43,8 +47,7 @@ class UltmarcInstRepository(BaseRepository):
|
||||
|
||||
return models
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] DB Error : Exception={e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
@ -72,7 +75,7 @@ class UltmarcInstRepository(BaseRepository):
|
||||
if is_not_empty(parameter.form_inst_name_kana):
|
||||
# 部分一致検索
|
||||
# ひらがなを全角カタカナへ変換
|
||||
zenkaku_katakana = ''.join([chr(n+96) if (12352 < n and n < 12439) or n == 12445 or n == 12446 else chr(n)
|
||||
zenkaku_katakana = ''.join([chr(n + 96) if (12352 < n and n < 12439) or n == 12445 or n == 12446 else chr(n)
|
||||
for n in [ord(c) for c in parameter.form_inst_name_kana]])
|
||||
# 全角カタカナを半角カタカナへ変換
|
||||
hankaku_katakana = mojimoji.zen_to_han(zenkaku_katakana)
|
||||
@ -187,8 +190,7 @@ class UltmarcInstRepository(BaseRepository):
|
||||
return None
|
||||
return models[0]
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] DB Error : Exception={e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
from src.logging.get_logger import get_logger
|
||||
from src.model.db.ultmarc_inst_trt_course import UltmarcInstTrtCourseDBModel
|
||||
from src.repositories.base_repository import BaseRepository
|
||||
|
||||
logger = get_logger('COM_施設診療科目取得')
|
||||
|
||||
|
||||
class UltmarcInstTrtCourseRepository(BaseRepository):
|
||||
|
||||
@ -24,8 +27,7 @@ class UltmarcInstTrtCourseRepository(BaseRepository):
|
||||
return None
|
||||
return models
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] DB Error : Exception={e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
|
||||
@ -1,6 +1,9 @@
|
||||
from src.logging.get_logger import get_logger
|
||||
from src.model.db.ultmarc_sosiety import UltmarcSosietyDBModel
|
||||
from src.repositories.base_repository import BaseRepository
|
||||
|
||||
logger = get_logger('COM_学会取得')
|
||||
|
||||
|
||||
class UltmarcSosietyRepository(BaseRepository):
|
||||
|
||||
@ -23,8 +26,7 @@ class UltmarcSosietyRepository(BaseRepository):
|
||||
return None
|
||||
return models
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] DB Error : Exception={e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
|
||||
@ -1,7 +1,10 @@
|
||||
from src.logging.get_logger import get_logger
|
||||
from src.model.db.ultmarc_specialist_license import \
|
||||
UltmarcSpecialistLicenseDBModel
|
||||
from src.repositories.base_repository import BaseRepository
|
||||
|
||||
logger = get_logger('COM_専門医資格取得')
|
||||
|
||||
|
||||
class UltmarcSpecialistLicenseRepository(BaseRepository):
|
||||
|
||||
@ -25,8 +28,7 @@ class UltmarcSpecialistLicenseRepository(BaseRepository):
|
||||
return None
|
||||
return models
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] DB Error : Exception={e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
|
||||
@ -1,31 +1,33 @@
|
||||
from src.model.db.ultmarc_trt_course import UltmarcTrtCourseDBModel
|
||||
from src.logging.get_logger import get_logger
|
||||
from src.model.db.ultmarc_trt_course import UltmarcDrTrtCourseDBModel
|
||||
from src.repositories.base_repository import BaseRepository
|
||||
|
||||
logger = get_logger('COM_医師診療科目取得')
|
||||
|
||||
class UltmarcTrtCourseRepository(BaseRepository):
|
||||
|
||||
class UltmarcDrTrtCourseRepository(BaseRepository):
|
||||
|
||||
FETCH_SQL = """\
|
||||
SELECT trt_course_name
|
||||
FROM src05.com_dr
|
||||
LEFT JOIN src05.com_dr_trt_course ON com_dr.dcf_pcf_dr_cd = com_dr_trt_course.dcf_pcf_dr_cd
|
||||
LEFT JOIN src05.com_trt_course ON com_dr_trt_course.trt_course_cd = com_trt_course.trt_course_cd
|
||||
LEFT JOIN src05.com_trt_course ON com_dr_trt_course.trt_course_cd = com_trt_course.trt_course_cd
|
||||
WHERE com_dr.dcf_pcf_dr_cd = :id
|
||||
ORDER BY com_trt_course.trt_course_cd
|
||||
"""
|
||||
|
||||
def fetch_many(self, id) -> list[UltmarcTrtCourseDBModel]:
|
||||
def fetch_many(self, id) -> list[UltmarcDrTrtCourseDBModel]:
|
||||
try:
|
||||
self._database.connect()
|
||||
query = self.FETCH_SQL
|
||||
result = self._database.execute_select(query, {'id': id})
|
||||
|
||||
models = [UltmarcTrtCourseDBModel(**r) for r in result]
|
||||
models = [UltmarcDrTrtCourseDBModel(**r) for r in result]
|
||||
if len(models) == 0:
|
||||
return None
|
||||
return models
|
||||
except Exception as e:
|
||||
# TODO: ファイルへの書き出しはloggerでやる
|
||||
print(f"[ERROR] DB Error : Exception={e.args}")
|
||||
logger.exception(f"DB Error : Exception={e.args}")
|
||||
raise e
|
||||
finally:
|
||||
self._database.disconnect()
|
||||
|
||||
@ -23,7 +23,7 @@ from src.repositories.ultmarc_sosiety_repository import \
|
||||
from src.repositories.ultmarc_specialist_license_repository import \
|
||||
UltmarcSpecialistLicenseRepository
|
||||
from src.repositories.ultmarc_trt_course_repository import \
|
||||
UltmarcTrtCourseRepository
|
||||
UltmarcDrTrtCourseRepository
|
||||
from src.services.base_service import BaseService
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@ class UltmarcViewService(BaseService):
|
||||
'prefc_repository': PrefcMasterRepository,
|
||||
'inst_div_repository': InstDivMasterRepository,
|
||||
'ultmarc_inst_repository': UltmarcInstRepository,
|
||||
'ultmarc_trt_course_repository': UltmarcTrtCourseRepository,
|
||||
'ultmarc_trt_course_repository': UltmarcDrTrtCourseRepository,
|
||||
'ultmarc_inst_trt_course_repository': UltmarcInstTrtCourseRepository,
|
||||
'ultmarc_sosiety_repository': UltmarcSosietyRepository,
|
||||
'ultmarc_doctor_wrkplace_repository': UltmarcDoctorWrkplaceRepository,
|
||||
@ -45,7 +45,7 @@ class UltmarcViewService(BaseService):
|
||||
prefc_repository: PrefcMasterRepository
|
||||
inst_div_repository: InstDivMasterRepository
|
||||
ultmarc_inst_repository: UltmarcInstRepository
|
||||
ultmarc_trt_course_repository: UltmarcTrtCourseRepository
|
||||
ultmarc_trt_course_repository: UltmarcDrTrtCourseRepository
|
||||
ultmarc_inst_trt_course_repository: UltmarcInstTrtCourseRepository
|
||||
ultmarc_sosiety_repository: UltmarcSosietyRepository
|
||||
ultmarc_doctor_wrkplace_repository: UltmarcDoctorWrkplaceRepository
|
||||
|
||||
@ -1,97 +1,103 @@
|
||||
/* Bootstrap 5.10以降、box-sizingのデフォルト値によってテーブルがずれるため、このページ限定的にリセット */
|
||||
/* @see https://bootstrap-guide.com/content/reboot#page-defaults */
|
||||
*, ::after, ::before {
|
||||
box-sizing: initial;
|
||||
}
|
||||
|
||||
body {
|
||||
white-space: nowrap;
|
||||
background-color: LightCyan;
|
||||
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
|
||||
white-space: nowrap;
|
||||
background-color: LightCyan;
|
||||
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 155%;
|
||||
margin-left: 2%;
|
||||
margin-top: 0%;
|
||||
margin-bottom: 0%;
|
||||
font-size: 155%;
|
||||
margin-left: 2%;
|
||||
margin-top: 0%;
|
||||
margin-bottom: 0%;
|
||||
}
|
||||
|
||||
.title {
|
||||
width: 800px;
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
table{
|
||||
border-collapse : collapse;
|
||||
border-collapse : collapse;
|
||||
}
|
||||
|
||||
.search_table {
|
||||
margin-bottom: 30px;
|
||||
padding-bottom: 15px;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 1132px;
|
||||
margin-bottom: 30px;
|
||||
padding-bottom: 15px;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 1132px;
|
||||
}
|
||||
|
||||
._form {
|
||||
width: 1132px;
|
||||
margin-left: 10px;
|
||||
margin-right: 20px;
|
||||
width: 1132px;
|
||||
margin-left: 10px;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
.back_bt {
|
||||
padding-bottom: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
._form input[type=text] {
|
||||
width: 193px;
|
||||
height: 25px;
|
||||
width: 193px;
|
||||
height: 25px;
|
||||
}
|
||||
._form input[type=checkbox] {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
._form select {
|
||||
width: 193px;
|
||||
height: 25px;
|
||||
width: 193px;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.result_info {
|
||||
text-align: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
.search_tb {
|
||||
padding-right: 25px;
|
||||
padding-right: 25px;
|
||||
}
|
||||
|
||||
.search_bt {
|
||||
/* width: 60px; */
|
||||
margin-left: 10px;
|
||||
/* width: 60px; */
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.clear_bt{
|
||||
margin-left: 120px;
|
||||
/* width: 60px */
|
||||
margin-left: 120px;
|
||||
/* width: 60px */
|
||||
}
|
||||
|
||||
.search_dropdown {
|
||||
width: 175px;
|
||||
width: 175px;
|
||||
}
|
||||
|
||||
.bioScroll_div {
|
||||
overflow: auto;
|
||||
padding-top: 10px;
|
||||
height: 250px;
|
||||
width: 1132px;
|
||||
overflow: auto;
|
||||
margin-top: 1%;
|
||||
height: 250px;
|
||||
width: 1132px;
|
||||
}
|
||||
|
||||
.noLine{
|
||||
text-decoration: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.resultAreaMsg {
|
||||
margin-top: 5%;
|
||||
text-align: center;
|
||||
font-size: 150%;
|
||||
margin-top: 5%;
|
||||
text-align: center;
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
.search_btTd {
|
||||
text-align: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.selection {
|
||||
@ -103,76 +109,70 @@ table{
|
||||
}
|
||||
|
||||
.search_middleTd {
|
||||
padding-right: 25px;
|
||||
width : 450px;
|
||||
}
|
||||
|
||||
.docSearchScroll_div {
|
||||
overflow: auto;
|
||||
height: 200px;
|
||||
width: 1132px;
|
||||
padding-right: 25px;
|
||||
width : 450px;
|
||||
}
|
||||
|
||||
.transition{
|
||||
text-align: right;
|
||||
margin-right: 60px;
|
||||
text-align: right;
|
||||
margin-right: 60px;
|
||||
}
|
||||
|
||||
.transition_bt{
|
||||
width: 110px;
|
||||
height: 40px;
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
width: 110px;
|
||||
height: 40px;
|
||||
margin-left: 15px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
.instutionInfo_table{
|
||||
width: 1132px;
|
||||
margin-bottom: 50px;
|
||||
width: 1132px;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.institution_column {
|
||||
width : 160px;
|
||||
background : rgb(225, 233, 250);
|
||||
border : solid 1px;
|
||||
width : 160px;
|
||||
background : rgb(225, 233, 250);
|
||||
border : solid 1px;
|
||||
}
|
||||
|
||||
.institution_data {
|
||||
background : rgb(244, 244, 244);
|
||||
border : solid 1px;
|
||||
padding-left : 0.5em;
|
||||
padding-right : 0.5em;
|
||||
background : rgb(244, 244, 244);
|
||||
border : solid 1px;
|
||||
padding-left : 0.5em;
|
||||
padding-right : 0.5em;
|
||||
}
|
||||
|
||||
.data_width_long {
|
||||
width : 500px;
|
||||
width : 500px;
|
||||
}
|
||||
|
||||
.data_width_middle {
|
||||
width : 300px;
|
||||
width : 300px;
|
||||
}
|
||||
|
||||
.data_width_short {
|
||||
width : 100px;
|
||||
width : 100px;
|
||||
}
|
||||
|
||||
.checkbox_margin {
|
||||
margin-left : 20px;
|
||||
margin-left : 20px;
|
||||
}
|
||||
|
||||
.border_top_none {
|
||||
border-top-style:none;
|
||||
border-top-style:none;
|
||||
}
|
||||
|
||||
.border_bottom_none {
|
||||
border-bottom-style:none;
|
||||
border-bottom-style:none;
|
||||
}
|
||||
|
||||
.textbox_margin {
|
||||
margin-left : 20px;
|
||||
margin-left : 20px;
|
||||
}
|
||||
|
||||
.textbox_margin_short {
|
||||
margin-left : 5px;
|
||||
margin-left : 5px;
|
||||
}
|
||||
|
||||
.label_margin {
|
||||
@ -181,111 +181,110 @@ table{
|
||||
}
|
||||
|
||||
.trt_course{
|
||||
width: 70px;
|
||||
width: 70px;
|
||||
}
|
||||
|
||||
.small_tb{
|
||||
width: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.docBelongScroll_div {
|
||||
overflow: auto;
|
||||
height: 100px;
|
||||
width: 500px;
|
||||
margin: 0px 30px 0px 30px;
|
||||
overflow: auto;
|
||||
height: 100px;
|
||||
width: 500px;
|
||||
margin: 0px 30px 0px 30px;
|
||||
}
|
||||
|
||||
.rightPadding_table{
|
||||
padding-right: 50px;
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
.verticalBar_td{
|
||||
width: 1px;
|
||||
height: 150px;
|
||||
background-color: gray;
|
||||
width: 1px;
|
||||
height: 150px;
|
||||
background-color: gray;
|
||||
}
|
||||
|
||||
.docPlaceScroll_div {
|
||||
overflow: auto;
|
||||
height: 150px;
|
||||
width: 700px;
|
||||
margin: 0px 30px 0px 30px;
|
||||
overflow: auto;
|
||||
height: 150px;
|
||||
width: 700px;
|
||||
margin: 0px 30px 0px 30px;
|
||||
}
|
||||
|
||||
.result_tr{
|
||||
overflow-y: scroll;
|
||||
overflow-x: scroll;
|
||||
|
||||
overflow-y: scroll;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
.result_data{
|
||||
overflow-y: scroll;
|
||||
overflow-x: scroll;
|
||||
width: 50px;
|
||||
overflow-y: scroll;
|
||||
overflow-x: scroll;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
/* tablesoter */
|
||||
table.tablesorter {
|
||||
font-family:arial;
|
||||
background-color: #CDCDCD;
|
||||
font-size: 12pt;
|
||||
text-align: left;
|
||||
font-family:arial;
|
||||
background-color: #CDCDCD;
|
||||
font-size: 12pt;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
|
||||
background-color: #e6EEEE;
|
||||
border: 0.1px solid silver;
|
||||
font-size: 12pt;
|
||||
padding: 4px;
|
||||
padding-right: 20px;
|
||||
background-color: #e6EEEE;
|
||||
border: 0.1px solid silver;
|
||||
font-size: 12pt;
|
||||
padding: 4px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
table.tablesorter thead tr .header {
|
||||
background-image: url(bg.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
cursor: pointer;
|
||||
background-image: url(bg.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
cursor: pointer;
|
||||
}
|
||||
table.tablesorter tbody td {
|
||||
color: #3D3D3D;
|
||||
padding: 4px;
|
||||
background-color: #FFF;
|
||||
border: 0.1px solid silver;
|
||||
vertical-align: top;
|
||||
color: #3D3D3D;
|
||||
padding: 4px;
|
||||
background-color: #FFF;
|
||||
border: 0.1px solid silver;
|
||||
vertical-align: top;
|
||||
}
|
||||
table.tablesorter tbody td div{
|
||||
float: right;
|
||||
float: right;
|
||||
}
|
||||
table.tablesorter tbody tr.odd td {
|
||||
background-color:#F0F0F6;
|
||||
background-color:#F0F0F6;
|
||||
}
|
||||
table.tablesorter thead tr .headerSortUp {
|
||||
background-image: url(asc.gif);
|
||||
background-image: url(asc.gif);
|
||||
}
|
||||
table.tablesorter thead tr .headerSortDown {
|
||||
background-image: url(desc.gif);
|
||||
background-image: url(desc.gif);
|
||||
}
|
||||
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
|
||||
background-color: #8dbdd8;
|
||||
background-color: #8dbdd8;
|
||||
}
|
||||
|
||||
#loading {
|
||||
z-index: 10000;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #FFF;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
outline: 0;
|
||||
text-align: center;
|
||||
display: none;
|
||||
opacity: 0.7;
|
||||
z-index: 10000;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #FFF;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
outline: 0;
|
||||
text-align: center;
|
||||
display: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
|
||||
#loading_content {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
}
|
||||
@ -1,153 +1,153 @@
|
||||
body{
|
||||
background-color: LightCyan;
|
||||
font-family : "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
|
||||
background-color: LightCyan;
|
||||
font-family : "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
|
||||
}
|
||||
|
||||
h1{
|
||||
margin-left : 1%;
|
||||
margin-left : 1%;
|
||||
}
|
||||
|
||||
|
||||
/*ヘッダー*/
|
||||
.headerTable{
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.headerTdLeft{
|
||||
width: 80%;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.headerTdRight{
|
||||
text-align: right;
|
||||
padding-right: 2%;
|
||||
width: 20%;
|
||||
text-align: right;
|
||||
padding-right: 2%;
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.buttonSize{
|
||||
width: 85px;
|
||||
width: 85px;
|
||||
}
|
||||
|
||||
/*////////////////////////*/
|
||||
/*施設担当者データCSVダウンロード*/
|
||||
/*////////////////////////*/
|
||||
.searchColumnTd{
|
||||
width: 14%;
|
||||
width: 14%;
|
||||
}
|
||||
|
||||
.searchTextboxTd{
|
||||
width: 18%;
|
||||
width: 18%;
|
||||
}
|
||||
|
||||
.searchTable{
|
||||
margin-left: 3%;
|
||||
margin-right: 3%;
|
||||
margin-bottom: 1%;
|
||||
padding-bottom: 1%;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 94%;
|
||||
margin-left: 3%;
|
||||
margin-right: 3%;
|
||||
margin-bottom: 1%;
|
||||
padding-bottom: 1%;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 94%;
|
||||
}
|
||||
|
||||
.searchLabelTd{
|
||||
text-align: right;
|
||||
width: 10%;
|
||||
text-align: right;
|
||||
width: 10%;
|
||||
|
||||
}
|
||||
|
||||
.searchInputTd{
|
||||
width: 19%;
|
||||
width: 19%;
|
||||
}
|
||||
|
||||
.searchTextbox{
|
||||
width: 90%;
|
||||
margin-left: 2.5%;
|
||||
margin-right: 2.5%;
|
||||
margin-top: 0.8%;
|
||||
margin-bottom: 0.8%;
|
||||
width: 90%;
|
||||
margin-left: 2.5%;
|
||||
margin-right: 2.5%;
|
||||
margin-top: 0.8%;
|
||||
margin-bottom: 0.8%;
|
||||
}
|
||||
|
||||
.searchDateTextbox{
|
||||
width: 37%;
|
||||
margin-left: 2.5%;
|
||||
margin-right: 2.5%;
|
||||
margin-top: 0.8%;
|
||||
margin-bottom: 0.8%;
|
||||
width: 37%;
|
||||
margin-left: 2.5%;
|
||||
margin-right: 2.5%;
|
||||
margin-top: 0.8%;
|
||||
margin-bottom: 0.8%;
|
||||
}
|
||||
|
||||
.searchButtonTd{
|
||||
text-align: right;
|
||||
padding-top: 1%;
|
||||
text-align: right;
|
||||
padding-top: 1%;
|
||||
}
|
||||
|
||||
|
||||
.csvOutputMessage{
|
||||
margin-left: 3%;
|
||||
margin-left: 3%;
|
||||
}
|
||||
|
||||
.errorColor{
|
||||
color: red;
|
||||
color: red;
|
||||
}
|
||||
|
||||
/*//////////////////////////*/
|
||||
/*施設担当者データExcelアップロード*/
|
||||
/*//////////////////////////*/
|
||||
.inputTable{
|
||||
margin-left: 3%;
|
||||
margin-right: 3%;
|
||||
margin-bottom: 1%;
|
||||
padding-bottom: 1%;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 94%;
|
||||
margin-left: 3%;
|
||||
margin-right: 3%;
|
||||
margin-bottom: 1%;
|
||||
padding-bottom: 1%;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 94%;
|
||||
}
|
||||
|
||||
.inputLabelTd{
|
||||
width: 10%;
|
||||
width: 10%;
|
||||
}
|
||||
|
||||
.inputTd{
|
||||
width:20%;
|
||||
width:20%;
|
||||
}
|
||||
|
||||
.inputButtonTd{
|
||||
width: 50%;
|
||||
text-align: right;
|
||||
width: 50%;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.dataCntDisp{
|
||||
text-align: right;
|
||||
margin-right: 3%;
|
||||
text-align: right;
|
||||
margin-right: 3%;
|
||||
}
|
||||
|
||||
table.inputData {
|
||||
font-family:arial;
|
||||
background-color: #CDCDCD;
|
||||
font-size: 12pt;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
border: 0.1px solid silver;
|
||||
padding: 4px;
|
||||
padding-right: 20px;
|
||||
border-collapse: collapse;
|
||||
margin-left: 3%;
|
||||
width: 94%;
|
||||
font-family:arial;
|
||||
background-color: #CDCDCD;
|
||||
font-size: 12pt;
|
||||
text-align: left;
|
||||
white-space: nowrap;
|
||||
border: 0.1px solid silver;
|
||||
padding: 4px;
|
||||
padding-right: 20px;
|
||||
border-collapse: collapse;
|
||||
margin-left: 3%;
|
||||
width: 94%;
|
||||
}
|
||||
table.inputData tbody th {
|
||||
color: #3D3D3D;
|
||||
padding: 4px;
|
||||
background-color: #e6EEEE;
|
||||
border: 0.1px solid silver;
|
||||
vertical-align: top;
|
||||
color: #3D3D3D;
|
||||
padding: 4px;
|
||||
background-color: #e6EEEE;
|
||||
border: 0.1px solid silver;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
table.inputData tbody td {
|
||||
color: #3D3D3D;
|
||||
padding: 4px;
|
||||
background-color: #FFF;
|
||||
border: 0.1px solid silver;
|
||||
vertical-align: top;
|
||||
color: #3D3D3D;
|
||||
padding: 4px;
|
||||
background-color: #FFF;
|
||||
border: 0.1px solid silver;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.footerMsg{
|
||||
margin-left: 3%;
|
||||
margin-left: 3%;
|
||||
}
|
||||
|
||||
|
||||
@ -155,10 +155,10 @@ table.inputData tbody td {
|
||||
/*データ上書きコピー */
|
||||
/*//////////////////////////*/
|
||||
.tableOverRide{
|
||||
margin-right: 3%;
|
||||
margin-left: 3%;
|
||||
margin-bottom: 2%;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 94%;
|
||||
margin-right: 3%;
|
||||
margin-left: 3%;
|
||||
margin-bottom: 2%;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 94%;
|
||||
}
|
||||
|
||||
|
||||
@ -1,49 +1,49 @@
|
||||
body{
|
||||
background-color: LightCyan;
|
||||
background-size: 220%,220%;
|
||||
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
|
||||
background-color: LightCyan;
|
||||
background-size: 220%,220%;
|
||||
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
|
||||
}
|
||||
|
||||
.background{
|
||||
margin-top: 5%;
|
||||
padding: 2%;
|
||||
background-color: white;
|
||||
width: 40%;
|
||||
border-radius: 25px;
|
||||
box-shadow:5px 5px rgba(0,0,0,0.4);;
|
||||
margin-top: 5%;
|
||||
padding: 2%;
|
||||
background-color: white;
|
||||
width: 40%;
|
||||
border-radius: 25px;
|
||||
box-shadow:5px 5px rgba(0,0,0,0.4);;
|
||||
}
|
||||
|
||||
.btn_width {
|
||||
width: 80%;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.form_login{
|
||||
width: 80%;
|
||||
font-size: 180%;
|
||||
margin: 1%;
|
||||
width: 80%;
|
||||
font-size: 180%;
|
||||
margin: 1%;
|
||||
}
|
||||
|
||||
.form_login::-webkit-input-placeholder{
|
||||
color: gray;
|
||||
color: gray;
|
||||
}
|
||||
.form_login:-ms-input-placeholder{
|
||||
color: gray;
|
||||
color: gray;
|
||||
}
|
||||
.form_login::-moz-placeholder{
|
||||
color: gray;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.logout_p{
|
||||
font-size: 160%;
|
||||
font-size: 160%;
|
||||
}
|
||||
|
||||
.notUseBioMsg,.notUseMainteMsg{
|
||||
font-size: 143%;
|
||||
color: red;
|
||||
font-size: 143%;
|
||||
color: red;
|
||||
}
|
||||
|
||||
.batchMsg{
|
||||
color: red;
|
||||
font-size: 120%;
|
||||
text-align: center;
|
||||
color: red;
|
||||
font-size: 120%;
|
||||
text-align: center;
|
||||
}
|
||||
@ -3,10 +3,6 @@
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
/* .paginationjs {
|
||||
width: 100%;
|
||||
} */
|
||||
|
||||
.paginationjs > .paginationjs-nav.J-paginationjs-nav{
|
||||
position: absolute;
|
||||
right: 0;
|
||||
@ -19,10 +15,12 @@ div.paginationjs-pages ul {
|
||||
}
|
||||
|
||||
.paginationjs-pages > ul > li > a {
|
||||
padding: 6px 18px;
|
||||
padding: 6px 9px;
|
||||
color: white;
|
||||
background-color: gainsboro;
|
||||
border: 1px solid;
|
||||
background-color: whitesmoke;
|
||||
border: 1px solid #bbb;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2)
|
||||
}
|
||||
.paginationjs-pages > ul > li > a:hover {
|
||||
color: black;
|
||||
@ -31,27 +29,38 @@ div.paginationjs-pages ul {
|
||||
}
|
||||
.paginationjs-pages > ul > li.active > a {
|
||||
color: white;
|
||||
background-color: gray;
|
||||
background-color: #666666;
|
||||
box-shadow: none;
|
||||
}
|
||||
.paginationjs-pages > ul > li.active > a:hover {
|
||||
color: white;
|
||||
background-color: gray;
|
||||
background-color: #666666;
|
||||
cursor: text;
|
||||
}
|
||||
.paginationjs-pages > ul > li.disabled > a {
|
||||
color: white;
|
||||
background-color: gray;
|
||||
cursor: text;
|
||||
background-color: #666666;
|
||||
box-shadow: none;
|
||||
}
|
||||
.paginationjs-pages > ul > li.disabled > a:hover {
|
||||
color: white;
|
||||
background-color: gray;
|
||||
background-color: #666666;
|
||||
cursor: text;
|
||||
}
|
||||
|
||||
.paginationjs-page {
|
||||
.paginationjs-page,.paginationjs-prev,.paginationjs-next {
|
||||
text-decoration: underline;
|
||||
margin: 0 4px;
|
||||
}
|
||||
|
||||
.paginationjs-page:hover,.paginationjs-prev:hover,.paginationjs-next:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.paginationjs-page.active,.paginationjs-prev.disabled,.paginationjs-next.disabled {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.paginationjs-pages > ul {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
|
||||
@ -1,500 +1,484 @@
|
||||
/* Bootstrap 5.10以降、box-sizingのデフォルト値によってテーブルがずれるため、このページ限定的にリセット */
|
||||
/* @see https://bootstrap-guide.com/content/reboot#page-defaults */
|
||||
*, ::after, ::before {
|
||||
box-sizing: initial;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: LightCyan;
|
||||
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
|
||||
background-color: LightCyan;
|
||||
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "MS Pゴシック", "MS PGothic", sans-serif;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 150%;
|
||||
margin-left: 2%;
|
||||
margin-top: 0%;
|
||||
margin-bottom: 0%;
|
||||
font-size: 150%;
|
||||
margin-left: 2%;
|
||||
margin-top: 0%;
|
||||
margin-bottom: 0%;
|
||||
}
|
||||
|
||||
table{
|
||||
border-collapse : collapse;
|
||||
border-collapse : collapse;
|
||||
}
|
||||
|
||||
.header_bt{
|
||||
width: 8%;
|
||||
margin-bottom: 0.8%;
|
||||
margin-left: 78.5%;
|
||||
width: 8%;
|
||||
margin-bottom: 0.8%;
|
||||
margin-left: 78.5%;
|
||||
}
|
||||
|
||||
.search_textbox{
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.search_dropdown{
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
height: 1.8em;
|
||||
}
|
||||
|
||||
.search_longtextbox{
|
||||
width: 100%
|
||||
width: 100%
|
||||
}
|
||||
|
||||
.instSearchResult {
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.scroll_table{
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
margin-bottom: 2%;
|
||||
/*スクロール時カラムが動く問題の修正 width: 100%;をコメントアウト*/
|
||||
width: 100%;
|
||||
height: 250px;
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
margin-top: 1%;
|
||||
margin-bottom: 1%;
|
||||
width: 100%;
|
||||
height: 250px;
|
||||
}
|
||||
|
||||
.scroll_table::-webkit-scrollbar {
|
||||
height: 5px;
|
||||
width: 10px;
|
||||
height: 5px;
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
.scroll_table::-webkit-scrollbar-track {
|
||||
border-radius: 5px;
|
||||
background: #eee;
|
||||
border-radius: 5px;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.scroll_table::-webkit-scrollbar-thumb {
|
||||
border-radius: 5px;
|
||||
background: #666;
|
||||
border-radius: 5px;
|
||||
background: #666;
|
||||
}
|
||||
|
||||
.ult_bt {
|
||||
width: 20%;
|
||||
height: 80%;
|
||||
width: 20%;
|
||||
height: 80%;
|
||||
}
|
||||
|
||||
.info_bt{
|
||||
width: 10%
|
||||
width: 10%
|
||||
}
|
||||
|
||||
.search_bt{
|
||||
margin-left: 3%;
|
||||
margin-top: 0.8%;
|
||||
margin-bottom: 0.8%;
|
||||
margin-left: 3%;
|
||||
margin-top: 0.8%;
|
||||
margin-bottom: 0.8%;
|
||||
}
|
||||
|
||||
.notFind{
|
||||
margin-top: 5%;
|
||||
text-align: center;
|
||||
font-size: 150%;
|
||||
margin-top: 5%;
|
||||
text-align: center;
|
||||
font-size: 150%;
|
||||
}
|
||||
|
||||
.search_table {
|
||||
margin-bottom: 1%;
|
||||
padding-bottom: 1%;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 100%;
|
||||
margin-bottom: 1%;
|
||||
padding-bottom: 1%;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.search_tb {
|
||||
padding-right: 2%;
|
||||
padding-top: 0.2%;
|
||||
padding-bottom: 0.2%;
|
||||
padding-right: 2%;
|
||||
padding-top: 0.2%;
|
||||
padding-bottom: 0.2%;
|
||||
}
|
||||
|
||||
.leftSearch_tb{
|
||||
width: 35%;
|
||||
width: 35%;
|
||||
}
|
||||
|
||||
.batchMsg{
|
||||
color: red;
|
||||
font-size: 120%;
|
||||
text-align: center;
|
||||
color: red;
|
||||
font-size: 120%;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
|
||||
._form {
|
||||
width: 95%;
|
||||
margin-left: 3%;
|
||||
width: 95%;
|
||||
margin-left: 3%;
|
||||
}
|
||||
|
||||
.result_info {
|
||||
text-align: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/*施設検索一覧ヘッダー*/
|
||||
.instSearchHeaderTable{
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.instSearchHeaderTd{
|
||||
width: 24%;
|
||||
width: 24%;
|
||||
}
|
||||
|
||||
.instSearchHeaderTdCenter{
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.instSearchHeaderTdRight{
|
||||
text-align: right;
|
||||
padding-right: 2%;
|
||||
text-align: right;
|
||||
padding-right: 2%;
|
||||
}
|
||||
|
||||
.instSearchButchMsg{
|
||||
/* font-size: 80%; */
|
||||
color: red;
|
||||
/* font-size: 80%; */
|
||||
color: red;
|
||||
}
|
||||
|
||||
.instSearchHeader_bt{
|
||||
width: 40%;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
|
||||
/*施設詳細*/
|
||||
.instInfoTable{
|
||||
margin-top: 1%;
|
||||
margin-left: 5%;
|
||||
margin-right: 2%;
|
||||
margin-bottom: 2%;
|
||||
width: 93%;
|
||||
margin-top: 1%;
|
||||
margin-left: 5%;
|
||||
margin-right: 2%;
|
||||
margin-bottom: 2%;
|
||||
width: 93%;
|
||||
}
|
||||
|
||||
.instInfoTableHalf1{
|
||||
margin-top: 1%;
|
||||
margin-left: 5%;
|
||||
margin-right: 2%;
|
||||
width: 93%;
|
||||
margin-top: 1%;
|
||||
margin-left: 5%;
|
||||
margin-right: 2%;
|
||||
width: 93%;
|
||||
}
|
||||
|
||||
.instInfoTableHalf2{
|
||||
margin-top: -0.05%;
|
||||
margin-left: 5%;
|
||||
margin-right: 2%;
|
||||
margin-bottom: 2%;
|
||||
width: 93%;
|
||||
margin-top: -0.05%;
|
||||
margin-left: 5%;
|
||||
margin-right: 2%;
|
||||
margin-bottom: 2%;
|
||||
width: 93%;
|
||||
}
|
||||
|
||||
.instInfoColumn {
|
||||
width : 9%;
|
||||
height: 40px;
|
||||
background : rgb(225, 233, 250);
|
||||
border : solid 1px;
|
||||
width : 9%;
|
||||
height: 40px;
|
||||
background : rgb(225, 233, 250);
|
||||
border : solid 1px;
|
||||
}
|
||||
|
||||
.instData {
|
||||
background : rgb(244, 244, 244);
|
||||
border : solid 1px;
|
||||
padding-left : 0.5%;
|
||||
padding-right : 0.5%;
|
||||
padding-top: 0.25%;
|
||||
padding-bottom: 0.25%;
|
||||
background : rgb(244, 244, 244);
|
||||
border : solid 1px;
|
||||
padding-left : 0.5%;
|
||||
padding-right : 0.5%;
|
||||
padding-top: 0.25%;
|
||||
padding-bottom: 0.25%;
|
||||
}
|
||||
|
||||
.instDataMid{
|
||||
/*NO5修正前 width: 51%;*/
|
||||
width: 20%;
|
||||
/*NO5修正前 width: 51%;*/
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
/*NO5にて追加 START*/
|
||||
.instDataLarge{
|
||||
width: 85%;
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
.instDataLeft{
|
||||
width: 20%;
|
||||
width: 20%;
|
||||
}
|
||||
|
||||
.instDataCenter{
|
||||
width: 7%;
|
||||
width: 7%;
|
||||
}
|
||||
|
||||
.instDataRight{
|
||||
width: 25%;
|
||||
width: 25%;
|
||||
}
|
||||
/*NO5にて追加 END*/
|
||||
|
||||
.instDataSmallTextbox{
|
||||
width: 45%;
|
||||
width: 45%;
|
||||
}
|
||||
|
||||
/*NO5にて追加 START*/
|
||||
.instDataCenterTextbox{
|
||||
width: 80%;
|
||||
width: 80%;
|
||||
}
|
||||
/*NO5にて追加 END*/
|
||||
|
||||
.instInfoTextbox{
|
||||
width: 98%;
|
||||
padding-right: 1%;
|
||||
padding-left: 1%;
|
||||
width: 98%;
|
||||
padding-right: 1%;
|
||||
padding-left: 1%;
|
||||
}
|
||||
|
||||
.instCdTextbox{
|
||||
/*NO5修正前 width: 13%;*/
|
||||
width: 35%;
|
||||
margin-left: 0.5%;
|
||||
margin-right: 2%;
|
||||
/*NO5修正前 width: 13%;*/
|
||||
width: 35%;
|
||||
margin-left: 0.5%;
|
||||
margin-right: 2%;
|
||||
}
|
||||
|
||||
.delReasonCdTextbox{
|
||||
/*NO5修正前 width: 2%;*/
|
||||
width: 5%;
|
||||
margin-left: 0.5%;
|
||||
margin-right: 1%;
|
||||
/*NO5修正前 width: 2%;*/
|
||||
width: 5%;
|
||||
margin-left: 0.5%;
|
||||
margin-right: 1%;
|
||||
}
|
||||
|
||||
.delReasonTextbox{
|
||||
/*NO5修正前 width: 43%;*/
|
||||
width: 88%;
|
||||
margin-left: 0.5%;
|
||||
margin-right: 2%;
|
||||
/*NO5修正前 width: 43%;*/
|
||||
width: 88%;
|
||||
margin-left: 0.5%;
|
||||
margin-right: 2%;
|
||||
}
|
||||
|
||||
.manageTextbox{
|
||||
width: 40%;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
.textboxMargin {
|
||||
margin-left : 0.1%;
|
||||
margin-left : 0.1%;
|
||||
}
|
||||
|
||||
.transitionBt{
|
||||
width: 98%;
|
||||
height: 30px;
|
||||
width: 98%;
|
||||
height: 30px;
|
||||
}
|
||||
|
||||
.instHeaderTable{
|
||||
margin-left: 40%;
|
||||
margin-left: 40%;
|
||||
}
|
||||
|
||||
.instHeaderTd{
|
||||
width: 10%;
|
||||
font-size: 140%;
|
||||
text-align: center;
|
||||
padding-right: 2%;
|
||||
width: 10%;
|
||||
font-size: 140%;
|
||||
text-align: center;
|
||||
padding-right: 2%;
|
||||
}
|
||||
|
||||
.trtCourseTextbox{
|
||||
width: 6%;
|
||||
width: 6%;
|
||||
}
|
||||
|
||||
.bedTd{
|
||||
width: 46%;
|
||||
width: 46%;
|
||||
}
|
||||
|
||||
.bedTextbox{
|
||||
width: 70%;
|
||||
width: 70%;
|
||||
}
|
||||
|
||||
.xSmallTd{
|
||||
width: 9%;
|
||||
width: 9%;
|
||||
}
|
||||
|
||||
.xSmallTextbox{
|
||||
width: 75%;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.reExamTd{
|
||||
width: 13%;
|
||||
width: 13%;
|
||||
}
|
||||
|
||||
.repreTd{
|
||||
width: 50%;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.repreTextbox{
|
||||
width: 95%;
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
.trtTextbox{
|
||||
width: 5%;
|
||||
margin-right: 1.2%;
|
||||
width: 5%;
|
||||
margin-right: 1.2%;
|
||||
}
|
||||
|
||||
.parentCdTextBox{
|
||||
width: 15%;
|
||||
width: 15%;
|
||||
}
|
||||
|
||||
.parentNameTextBox{
|
||||
width: 75%;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
.hpInfoColumn{
|
||||
width : 12%;
|
||||
height: 40px;
|
||||
background : rgb(225, 233, 250);
|
||||
border : solid 1px;
|
||||
width : 12%;
|
||||
height: 40px;
|
||||
background : rgb(225, 233, 250);
|
||||
border : solid 1px;
|
||||
}
|
||||
|
||||
.hpAssrtTd{
|
||||
width: 12%;
|
||||
width: 12%;
|
||||
}
|
||||
|
||||
.hpAssrtTextbox{
|
||||
width: 85%;
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
.border_bottom_none {
|
||||
border-bottom-style:none;
|
||||
border-bottom-style:none;
|
||||
}
|
||||
|
||||
.numberBox{
|
||||
text-align: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/*医師検索*/
|
||||
/*ヘッダー*/
|
||||
.docHeaderTable{
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.docHeaderTd{
|
||||
width: 24%;
|
||||
width: 24%;
|
||||
}
|
||||
|
||||
.docHeaderTdCenter{
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
text-align: center;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
.docHeaderTdRight{
|
||||
text-align: right;
|
||||
padding-right: 2%;
|
||||
text-align: right;
|
||||
padding-right: 2%;
|
||||
}
|
||||
|
||||
.docButchMsg{
|
||||
/* font-size: 80%; */
|
||||
color: red;
|
||||
/* font-size: 80%; */
|
||||
color: red;
|
||||
}
|
||||
|
||||
.docHeader_bt{
|
||||
width: 40%;
|
||||
width: 40%;
|
||||
}
|
||||
|
||||
/* アルトマーク課題管理表No.2の修正 8% → 10% */
|
||||
/* アルトマーク課題管理表No.8の修正 10% → 14% */
|
||||
.docSearchColumnTd{
|
||||
width: 14%;
|
||||
width: 14%;
|
||||
}
|
||||
|
||||
.docSearchTextboxTd{
|
||||
width: 18%;
|
||||
width: 18%;
|
||||
}
|
||||
|
||||
.docSearchTextbox_td{
|
||||
width: 94%;
|
||||
width: 94%;
|
||||
}
|
||||
|
||||
.docSearchTextbox{
|
||||
width: 90%;
|
||||
margin-right: 5%;
|
||||
margin-top: 0.8%;
|
||||
margin-bottom: 0.8%;
|
||||
width: 90%;
|
||||
margin-right: 5%;
|
||||
margin-top: 0.8%;
|
||||
margin-bottom: 0.8%;
|
||||
}
|
||||
|
||||
.docSearchTableDivOne{
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.docSearchTableDivTwo{
|
||||
margin-bottom: 1%;
|
||||
padding-bottom: 1%;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.docSearchScroll{
|
||||
overflow: auto;
|
||||
white-space: nowrap;
|
||||
margin-bottom: 2%;
|
||||
width: 100%;
|
||||
height: 270px;
|
||||
}
|
||||
|
||||
.docSearchScroll::-webkit-scrollbar {
|
||||
height: 5px;
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
.docSearchScroll::-webkit-scrollbar-track {
|
||||
border-radius: 5px;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.docSearchScroll::-webkit-scrollbar-thumb {
|
||||
border-radius: 5px;
|
||||
background: #666;
|
||||
margin-bottom: 1%;
|
||||
padding-bottom: 1%;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.allOnOffButton{
|
||||
width: 6%;
|
||||
width: 6%;
|
||||
}
|
||||
|
||||
/*医師情報*/
|
||||
.docInfoTable{
|
||||
margin-top: 1%;
|
||||
margin-left: 5%;
|
||||
margin-right: 2%;
|
||||
margin-bottom: 1%;
|
||||
width: 93%;
|
||||
border-bottom: solid 1px gray;
|
||||
margin-top: 1%;
|
||||
margin-left: 5%;
|
||||
margin-right: 2%;
|
||||
margin-bottom: 1%;
|
||||
width: 93%;
|
||||
border-bottom: solid 1px gray;
|
||||
}
|
||||
|
||||
.docInfoTd{
|
||||
padding-bottom: 0.5%;
|
||||
padding-bottom: 0.5%;
|
||||
}
|
||||
|
||||
.docInfoTextBox{
|
||||
margin-left: 0.5%;
|
||||
margin-right: 2%;
|
||||
width: 8%;
|
||||
margin-left: 0.5%;
|
||||
margin-right: 2%;
|
||||
width: 8%;
|
||||
}
|
||||
|
||||
.docInfoTrtTextBox{
|
||||
margin-left: 0.5%;
|
||||
margin-left: 0.5%;
|
||||
}
|
||||
|
||||
.docBelongTable{
|
||||
margin-left: 1%;
|
||||
width: 98%;
|
||||
border-bottom: solid 1px gray;
|
||||
margin-left: 1%;
|
||||
width: 98%;
|
||||
border-bottom: solid 1px gray;
|
||||
}
|
||||
|
||||
.docBelongTd{
|
||||
width: 49%;
|
||||
height: 150px;
|
||||
width: 49%;
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
.docSocietyTable{
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.scroll{
|
||||
overflow: auto;
|
||||
height: 120px;
|
||||
width: 90%;
|
||||
margin-left: 7%;
|
||||
margin-bottom: 4%;
|
||||
overflow: auto;
|
||||
height: 120px;
|
||||
width: 90%;
|
||||
margin-left: 7%;
|
||||
margin-bottom: 4%;
|
||||
}
|
||||
|
||||
.scroll::-webkit-scrollbar {
|
||||
height: 5px;
|
||||
width: 10px;
|
||||
height: 5px;
|
||||
width: 10px;
|
||||
}
|
||||
|
||||
.scroll::-webkit-scrollbar-track {
|
||||
border-radius: 5px;
|
||||
background: #eee;
|
||||
border-radius: 5px;
|
||||
background: #eee;
|
||||
}
|
||||
|
||||
.scroll::-webkit-scrollbar-thumb {
|
||||
border-radius: 5px;
|
||||
background: #666;
|
||||
border-radius: 5px;
|
||||
background: #666;
|
||||
}
|
||||
|
||||
.rightBoderLine{
|
||||
border-right: solid 1px gray;
|
||||
border-right: solid 1px gray;
|
||||
}
|
||||
|
||||
.wrkplaceH1{
|
||||
margin-top: 0.3%;
|
||||
margin-top: 0.3%;
|
||||
}
|
||||
|
||||
.wrkplaceTable{
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
@ -508,17 +492,17 @@ table{
|
||||
|
||||
|
||||
.clear_bt{
|
||||
margin-left: 120px;
|
||||
width: 60px
|
||||
margin-left: 120px;
|
||||
width: 60px
|
||||
}
|
||||
|
||||
.back_bt{
|
||||
margin-left: 1042px;
|
||||
width: 80px
|
||||
margin-left: 1042px;
|
||||
width: 80px
|
||||
}
|
||||
|
||||
.noLine{
|
||||
text-decoration: none;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
@ -527,13 +511,13 @@ table{
|
||||
|
||||
/*共通:アルトマーク施設検索,医師検索,施設詳細*/
|
||||
.maxWidth_tb {
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*アルトマーク施設検索,医師検索共通*/
|
||||
|
||||
.search_btTd {
|
||||
text-align: right;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.selection {
|
||||
@ -547,20 +531,14 @@ table{
|
||||
|
||||
/*医師検索*/
|
||||
.search_middleTd {
|
||||
padding-right: 25px;
|
||||
width : 450px;
|
||||
}
|
||||
|
||||
.docSearchScroll_div {
|
||||
overflow: auto;
|
||||
height: 200px;
|
||||
width: 1132px;
|
||||
padding-right: 25px;
|
||||
width : 450px;
|
||||
}
|
||||
|
||||
/*共通:施設詳細、医師詳細*/
|
||||
.transition{
|
||||
text-align: right;
|
||||
margin-right: 60px;
|
||||
text-align: right;
|
||||
margin-right: 60px;
|
||||
}
|
||||
|
||||
|
||||
@ -568,18 +546,18 @@ table{
|
||||
|
||||
|
||||
.data_width_middle {
|
||||
width : 300px;
|
||||
width : 300px;
|
||||
}
|
||||
|
||||
|
||||
.border_top_none {
|
||||
border-top-style:none;
|
||||
border-top-style:none;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.textbox_margin_short {
|
||||
margin-left : 5px;
|
||||
margin-left : 5px;
|
||||
}
|
||||
|
||||
.label_margin {
|
||||
@ -590,82 +568,82 @@ table{
|
||||
|
||||
/*医師詳細*/
|
||||
.docInfo_table{
|
||||
margin-bottom: 30px;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 1132px;
|
||||
margin-bottom: 30px;
|
||||
border-bottom: solid 1px gray;
|
||||
width: 1132px;
|
||||
}
|
||||
|
||||
.small_tb{
|
||||
width: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
.docBelongScroll_div {
|
||||
overflow: auto;
|
||||
height: 100px;
|
||||
width: 500px;
|
||||
margin: 0px 30px 0px 30px;
|
||||
overflow: auto;
|
||||
height: 100px;
|
||||
width: 500px;
|
||||
margin: 0px 30px 0px 30px;
|
||||
}
|
||||
|
||||
.rightPadding_table{
|
||||
padding-right: 50px;
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
|
||||
.docPlaceScroll_div {
|
||||
overflow: auto;
|
||||
height: 150px;
|
||||
width: 700px;
|
||||
margin: 0px 30px 0px 30px;
|
||||
overflow: auto;
|
||||
height: 150px;
|
||||
width: 700px;
|
||||
margin: 0px 30px 0px 30px;
|
||||
}
|
||||
|
||||
.result_tr{
|
||||
overflow-y: scroll;
|
||||
overflow-x: scroll;
|
||||
overflow-y: scroll;
|
||||
overflow-x: scroll;
|
||||
}
|
||||
|
||||
.result_data{
|
||||
overflow-y: scroll;
|
||||
overflow-x: scroll;
|
||||
width: 50px;
|
||||
overflow-y: scroll;
|
||||
overflow-x: scroll;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
/* tablesoter */
|
||||
table.tablesorter {
|
||||
font-family:arial;
|
||||
background-color: #CDCDCD;
|
||||
font-size: 8pt;
|
||||
text-align: left;
|
||||
font-family:arial;
|
||||
background-color: #CDCDCD;
|
||||
font-size: 12pt;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
table.tablesorter thead tr th, table.tablesorter tfoot tr th {
|
||||
background-color: #e6EEEE;
|
||||
border: 0.1px solid silver;
|
||||
font-size: 8pt;
|
||||
padding: 4px;
|
||||
padding-right: 20px;
|
||||
background-color: #e6EEEE;
|
||||
border: 0.1px solid silver;
|
||||
font-size: 12pt;
|
||||
padding: 4px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
table.tablesorter thead tr .header {
|
||||
background-image: url(bg.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
cursor: pointer;
|
||||
background-image: url(bg.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: center right;
|
||||
cursor: pointer;
|
||||
}
|
||||
table.tablesorter tbody td {
|
||||
color: #3D3D3D;
|
||||
padding: 4px;
|
||||
background-color: #FFF;
|
||||
border: 0.1px solid silver;
|
||||
vertical-align: top;
|
||||
color: #3D3D3D;
|
||||
padding: 4px;
|
||||
background-color: #FFF;
|
||||
border: 0.1px solid silver;
|
||||
vertical-align: top;
|
||||
}
|
||||
table.tablesorter tbody tr.odd td {
|
||||
background-color:#F0F0F6;
|
||||
background-color:#F0F0F6;
|
||||
}
|
||||
table.tablesorter thead tr .headerSortUp {
|
||||
background-image: url(asc.gif);
|
||||
background-image: url(asc.gif);
|
||||
}
|
||||
table.tablesorter thead tr .headerSortDown {
|
||||
background-image: url(desc.gif);
|
||||
background-image: url(desc.gif);
|
||||
}
|
||||
table.tablesorter thead tr .headerSortDown, table.tablesorter thead tr .headerSortUp {
|
||||
background-color: #8dbdd8;
|
||||
background-color: #8dbdd8;
|
||||
}
|
||||
|
||||
@ -96,7 +96,7 @@ function enableDatePicker() {
|
||||
// 日付入力チェック
|
||||
// 引数:チェックするテキストボックスNo
|
||||
function autoModifyDate($this){
|
||||
// 日付フォーマットチェック
|
||||
// 日付フォーマットチェック
|
||||
|
||||
if($this.value === "" ||
|
||||
(!$this.value.match(/^\d{4}\/\d{2}\/\d{2}$/) && !$this.value.match(/^\d{4}\d{2}\d{2}$/)))
|
||||
@ -110,46 +110,24 @@ function autoModifyDate($this){
|
||||
// yyyyMMddの場合→yyyy/MM/dd
|
||||
const datePatternMatches = strFormat.match(/^(\d{4})(\d{2})(\d{2})$/);
|
||||
if (datePatternMatches){
|
||||
strFormat = `${datePatternMatches[1]}/${datePatternMatches[2]}/${datePatternMatches[3]}`;
|
||||
strFormat = `${datePatternMatches[1]}/${datePatternMatches[2]}/${datePatternMatches[3]}`;
|
||||
}
|
||||
// yyyy/00/00~yyyy/00/00の場合→yyyy/01/01~yyyy/12/31
|
||||
// yyyy/MM/00~yyyy/MM/01の場合→yyyy/MM/01~yyyy/MM/末日
|
||||
// 開始日の場合
|
||||
if ($this.name.includes('from')){
|
||||
// 開始日の場合
|
||||
if ($this.name.includes('from')){
|
||||
strFormat = strFormat.replace("00/00", "01/01");
|
||||
strFormat = strFormat.replace("00", "01");
|
||||
}
|
||||
// 終了日の場合
|
||||
else if ($this.name.includes('to')){
|
||||
else if ($this.name.includes('to')){
|
||||
strFormat = strFormat.replace("00/00", "12/31");
|
||||
const date = new Date(strFormat.slice(0, 4), strFormat.slice(5, 7), 0).getDate();
|
||||
strFormat = strFormat.replace("00", date.toString());
|
||||
}
|
||||
$this.value = strFormat;
|
||||
$this.value = strFormat;
|
||||
}
|
||||
|
||||
// 他のページで共通化しよう
|
||||
// ページが読み込まれたときにsendクラスのボタンを押せないようにする
|
||||
// 初期値をdisabledにしときゃいい
|
||||
$(function(){
|
||||
$(".send").prop('disabled',true);
|
||||
});
|
||||
|
||||
// 検索結果のところのボタンをチェックが1個でも付いたら押せるようにして、チェックがなければ押せないようにする関数
|
||||
// 条件:チェックボックスのクラス名に"selectedページ数"というのがついていること
|
||||
// 条件:ボタンにクラス名 send がついていること
|
||||
function resultBtDisablead(){
|
||||
var selected = ".selected" + tableCurrentPage;
|
||||
var cnt1 = $(selected + ' :checked').length;
|
||||
selected += " input.checkbox";
|
||||
|
||||
if(cnt1 == 0) {
|
||||
$(".send").prop('disabled',true);
|
||||
}
|
||||
else {
|
||||
$(".send").prop('disabled',false);
|
||||
}
|
||||
}
|
||||
|
||||
// 前のスペースを許さない入力チェック
|
||||
function checkSpaceForm($this)
|
||||
@ -186,68 +164,18 @@ function checkPassForm($this)
|
||||
$this.value=str;
|
||||
}
|
||||
|
||||
// 廃止予定
|
||||
function DisplayErrorDialog(strMesssage) {
|
||||
$("#errorTxt").html(strMesssage);
|
||||
$("#error").dialog("open");
|
||||
}
|
||||
|
||||
/* ult.jsから移植 */
|
||||
// チェックボックス全選択関数
|
||||
// 条件:チェックボックスのクラス名に"selected"というのがついていること
|
||||
// 条件:ボタンにクラス名 send がついていること
|
||||
function allOn(){
|
||||
$(".selected").prop("checked", true);
|
||||
$(".send").prop('disabled',false);
|
||||
$(".selected").prop("checked", true);
|
||||
$(".send").prop('disabled',false);
|
||||
}
|
||||
|
||||
// チェックボックス全解除関数
|
||||
// 条件:チェックボックスのクラス名に"selectedページ数"というのがついていること
|
||||
// 条件:ボタンにクラス名 send がついていること
|
||||
function allOff(){
|
||||
$(".selected").prop("checked", false);
|
||||
$(".send").prop('disabled',true);
|
||||
$(".selected").prop("checked", false);
|
||||
$(".send").prop('disabled',true);
|
||||
}
|
||||
|
||||
// 検索結果のところのボタンをチェックが1個でも付いたら押せるようにして、チェックがなければ押せないようにする関数
|
||||
// 条件:チェックボックスのクラス名に"selected"というのがついていること
|
||||
// 条件:ボタンにクラス名 send がついていること
|
||||
function resultBtDisablead(){
|
||||
var cnt1 = $('.checkNum input:checkbox:checked').length;
|
||||
console.log(cnt1);
|
||||
if(cnt1 == 0) {
|
||||
$(".send").prop('disabled',true);
|
||||
}
|
||||
else {
|
||||
$(".send").prop('disabled',false);
|
||||
}
|
||||
}
|
||||
|
||||
// Enter押下時にsubmitさせなくする
|
||||
$(function() {
|
||||
$(document).on("keypress", "input:not(.allow_submit)", function(event) {
|
||||
return event.which !== 13;
|
||||
});
|
||||
});
|
||||
|
||||
// 数字-以外を許さない入力チェック
|
||||
function checkNumberForm($this)
|
||||
{
|
||||
var str=$this.value;
|
||||
while(str.match(/[^\d\-]/))
|
||||
{
|
||||
str=str.replace(/[^\d\-]/,"");
|
||||
}
|
||||
$this.value=str;
|
||||
}
|
||||
|
||||
// 数字以外を許さない入力チェック
|
||||
function checkNumberOnlyForm($this)
|
||||
{
|
||||
var str=$this.value;
|
||||
while(str.match(/[^\d]/))
|
||||
{
|
||||
str=str.replace(/[^\d]/,"");
|
||||
}
|
||||
$this.value=str;
|
||||
}
|
||||
@ -4,228 +4,228 @@
|
||||
{% with subtitle = ultmarc.subtitle %}
|
||||
{% include '_header.html' %}
|
||||
{% endwith %}
|
||||
<title>医師情報</title>
|
||||
<link rel="stylesheet" href="/static/css/ultStyle.css">
|
||||
<script type="text/javascript">
|
||||
window.onload = function(){
|
||||
<title>医師情報</title>
|
||||
<link rel="stylesheet" href="/static/css/ultStyle.css">
|
||||
<script type="text/javascript">
|
||||
window.onload = function(){
|
||||
// 見出し固定初期化
|
||||
FixedMidashi.create();
|
||||
// ボタン、テキストボックス初期化
|
||||
formBtDisabled();
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
$(function(){
|
||||
// 前ページ遷移処理
|
||||
$('#prev').click(function(){
|
||||
$('#page_num').val(Number($('#page_num').val()) - 1);
|
||||
$('#instInfo').submit();
|
||||
});
|
||||
// 次ページ遷移処理
|
||||
$('#next').click(function(){
|
||||
$('#page_num').val(Number($('#page_num').val()) + 1);
|
||||
$('#instInfo').submit();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
$(function(){
|
||||
// 前ページ遷移処理
|
||||
$('#prev').click(function(){
|
||||
$('#page_num').val(Number($('#page_num').val()) - 1);
|
||||
$('#instInfo').submit();
|
||||
});
|
||||
// 次ページ遷移処理
|
||||
$('#next').click(function(){
|
||||
$('#page_num').val(Number($('#page_num').val()) + 1);
|
||||
$('#instInfo').submit();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<table class="docHeaderTable">
|
||||
<tr>
|
||||
<td class="docHeaderTd"><h1>{{ultmarc.subtitle}}</h1></td>
|
||||
<td class="docHeaderTdCenter docHeaderTdCenter">
|
||||
{% if ultmarc.is_batch_processing %}
|
||||
<div class="docButchMsg">日次バッチ処理中のため、データが正しく表示されない可能性があります</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="docHeaderTd docHeaderTdRight"><button class="docHeader_bt" onclick="backToMenu()">メニューへ</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table class="docHeaderTable">
|
||||
<tr>
|
||||
<td class="docHeaderTd"><h1>{{ultmarc.subtitle}}</h1></td>
|
||||
<td class="docHeaderTdCenter docHeaderTdCenter">
|
||||
{% if ultmarc.is_batch_processing %}
|
||||
<div class="docButchMsg">日次バッチ処理中のため、データが正しく表示されない可能性があります</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="docHeaderTd docHeaderTdRight"><button class="docHeader_bt" onclick="backToMenu()">メニューへ</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- 上部のボタン -->
|
||||
<table class="instHeaderTable">
|
||||
<tr>
|
||||
<form id="instInfo" name="instInfo" method="post" action="/ultmarc/docInfo">
|
||||
<input type="hidden" name="doc_id" value="{{ultmarc.doc_id}}">
|
||||
<input type="hidden" name="page_num" id="page_num" value="{{ultmarc.page_num}}">
|
||||
<td class="instHeaderTd">
|
||||
<input type="button" name="prev" id="prev" value="前" class="transitionBt" {{ultmarc.is_disabled_prev()}}>
|
||||
</td>
|
||||
<td class="instHeaderTd">
|
||||
{{ultmarc.is_page_num_view()}}/{{ultmarc.post_cnt}}
|
||||
</td>
|
||||
<td class="instHeaderTd">
|
||||
<input type="button" name="next" id="next" value="次" class="transitionBt" {{ultmarc.is_disabled_next()}}>
|
||||
</td>
|
||||
</form>
|
||||
<form id="instSearch" name="instSearch" method="post" action="/ultmarc/docSearch">
|
||||
<script>
|
||||
var form = document.getElementById("instSearch");
|
||||
for (var i = 0, length = sessionStorage.length; i < length; ++i) {
|
||||
let key = sessionStorage.key(i);
|
||||
let value = sessionStorage.getItem(key);
|
||||
const input = document.createElement('input');
|
||||
input.setAttribute('type', 'text');
|
||||
input.value = value;
|
||||
input.name = key;
|
||||
form.appendChild(input);
|
||||
}
|
||||
<!-- 上部のボタン -->
|
||||
<table class="instHeaderTable">
|
||||
<tr>
|
||||
<form id="instInfo" name="instInfo" method="post" action="/ultmarc/docInfo">
|
||||
<input type="hidden" name="doc_id" value="{{ultmarc.doc_id}}">
|
||||
<input type="hidden" name="page_num" id="page_num" value="{{ultmarc.page_num}}">
|
||||
<td class="instHeaderTd">
|
||||
<input type="button" name="prev" id="prev" value="前" class="transitionBt" {{ultmarc.is_disabled_prev()}}>
|
||||
</td>
|
||||
<td class="instHeaderTd">
|
||||
{{ultmarc.is_page_num_view()}}/{{ultmarc.post_cnt}}
|
||||
</td>
|
||||
<td class="instHeaderTd">
|
||||
<input type="button" name="next" id="next" value="次" class="transitionBt" {{ultmarc.is_disabled_next()}}>
|
||||
</td>
|
||||
</form>
|
||||
<form id="instSearch" name="instSearch" method="post" action="/ultmarc/docSearch">
|
||||
<script>
|
||||
var form = document.getElementById("instSearch");
|
||||
for (var i = 0, length = sessionStorage.length; i < length; ++i) {
|
||||
let key = sessionStorage.key(i);
|
||||
let value = sessionStorage.getItem(key);
|
||||
const input = document.createElement('input');
|
||||
input.setAttribute('type', 'text');
|
||||
input.value = value;
|
||||
input.name = key;
|
||||
form.appendChild(input);
|
||||
}
|
||||
|
||||
</script>
|
||||
<td class="instHeaderTd">
|
||||
<input type="submit" name="ctrl_docBackBt" class="transitionBt" value="医師検索一覧へ">
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
</script>
|
||||
<td class="instHeaderTd">
|
||||
<input type="submit" name="ctrl_docBackBt" class="transitionBt" value="医師検索一覧へ">
|
||||
</td>
|
||||
</form>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="docInfoTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="docInfoTd">医師コード:</td>
|
||||
<td><input type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.dcf_pcf_dr_cd or ''}}"></td>
|
||||
<td>氏名(漢字):</td>
|
||||
<td><input type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.dr_name or ''}}"></td>
|
||||
<td>氏名(カナ):</td>
|
||||
<td><input type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.dr_name_kana or ''}}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="docInfoTd">性別:</td>
|
||||
<td><input type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.sex or ''}}"></td>
|
||||
<td>生年月日:</td>
|
||||
<td><input type="text" readonly="readonly" value="{{ultmarc.is_input_birthday_format()}}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" class="docInfoTd">
|
||||
出身大学:
|
||||
<input class="docInfoTextBox" type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.alma or ''}}">
|
||||
出身県:
|
||||
<input class="docInfoTextBox" type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.hometown or ''}}">
|
||||
卒年:
|
||||
<input class="docInfoTextBox" type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.grad_y or ''}}">
|
||||
登録年:
|
||||
<input class="docInfoTextBox" type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.drday_y or ''}}">
|
||||
開業年:
|
||||
<input class="docInfoTextBox" type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.estab_y or ''}}">
|
||||
</td>
|
||||
</tr>
|
||||
<table class="docInfoTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="docInfoTd">医師コード:</td>
|
||||
<td><input type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.dcf_pcf_dr_cd or ''}}"></td>
|
||||
<td>氏名(漢字):</td>
|
||||
<td><input type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.dr_name or ''}}"></td>
|
||||
<td>氏名(カナ):</td>
|
||||
<td><input type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.dr_name_kana or ''}}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="docInfoTd">性別:</td>
|
||||
<td><input type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.sex or ''}}"></td>
|
||||
<td>生年月日:</td>
|
||||
<td><input type="text" readonly="readonly" value="{{ultmarc.is_input_birthday_format()}}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" class="docInfoTd">
|
||||
出身大学:
|
||||
<input class="docInfoTextBox" type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.alma or ''}}">
|
||||
出身県:
|
||||
<input class="docInfoTextBox" type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.hometown or ''}}">
|
||||
卒年:
|
||||
<input class="docInfoTextBox" type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.grad_y or ''}}">
|
||||
登録年:
|
||||
<input class="docInfoTextBox" type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.drday_y or ''}}">
|
||||
開業年:
|
||||
<input class="docInfoTextBox" type="text" readonly="readonly" value="{{ultmarc.doctor_info_data.estab_y or ''}}">
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="6" class="docInfoTd">
|
||||
診療科目:
|
||||
{% for trt_coursed_data in ultmarc.trt_coursed_data %}
|
||||
<input class="docInfoTrtTextBox" type="text" readonly="readonly" value="{{trt_coursed_data.trt_course_name or ''}}">
|
||||
{% endfor %}
|
||||
{% for i in range(5-ultmarc.is_input_trt_course_data_size())%}
|
||||
<input class="docInfoTrtTextBox" type="text" readonly="readonly" value="">
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- 所属学会,所属学会専門医 -->
|
||||
<table class="docBelongTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="docBelongTd rightBoderLine">
|
||||
<h1>所属学会</h1>
|
||||
<div class="scroll">
|
||||
<table class="tablesorter docSocietyTable" _fixedhead='rows:1; cols:0;'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>コード</th>
|
||||
<th>所属学会</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for sosiety_data in ultmarc.sosiety_data %}
|
||||
<tr>
|
||||
<td>{{sosiety_data.sosiety_cd or ' '}}</td>
|
||||
<td>{{sosiety_data.sosiety_name or ' '}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
<td class="docBelongTd">
|
||||
<h1>所属学会専門医</h1>
|
||||
<div class="scroll">
|
||||
<table class="tablesorter docSocietyTable" _fixedhead='rows:1; cols:0; border-color:gray; border-width:2px;'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>コード</th>
|
||||
<th>専門医資格名</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for specialist_license_data in ultmarc.specialist_license_data %}
|
||||
<tr>
|
||||
<td>{{specialist_license_data.specialist_cd or ' '}}</td>
|
||||
<td>{{specialist_license_data.specialist_license_name or ' '}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- 勤務先履歴 -->
|
||||
<h1 class="wrkplaceH1">勤務先履歴</h1>
|
||||
<div class="scroll">
|
||||
<table class="tablesorter wrkplaceTable" _fixedhead='rows:1; cols:0; border-color:gray; border-width:2px;'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ULT施設コード</th>
|
||||
<th>勤務先略名</th>
|
||||
<th>所属部科名</th>
|
||||
<th>役職名</th>
|
||||
<th>職位</th>
|
||||
<th>開始年月日</th>
|
||||
<th>終了年月日</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<script>
|
||||
function OnLinkClick(){
|
||||
sessionStorage.clear();
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<tbody>
|
||||
{% for doctor_wrkplace_data in ultmarc.doctor_wrkplace_data %}
|
||||
{% if doctor_wrkplace_data.dcf_dsf_inst_cd %}
|
||||
<tr>
|
||||
<td><a href="/ultmarc/instInfo?id={{doctor_wrkplace_data.dcf_dsf_inst_cd or ''}}" onclick="OnLinkClick();">
|
||||
{{doctor_wrkplace_data.dcf_dsf_inst_cd or ''}}</a></td>
|
||||
<td>{{doctor_wrkplace_data.inst_name_kanji or ''}}</td>
|
||||
<td>{{doctor_wrkplace_data.blng_sec_name or ''}}</td>
|
||||
<td>{{doctor_wrkplace_data.univ_post_name or ''}}</td>
|
||||
<td>{{doctor_wrkplace_data.post_name or ''}}</td>
|
||||
<td>{{ultmarc.is_input_aply_start_ymd_format(doctor_wrkplace_data.aply_start_ymd)}}</td>
|
||||
<td>9999/99/99</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for doctor_wrkplace_his_data in ultmarc.doctor_wrkplace_his_data %}
|
||||
{% if doctor_wrkplace_his_data.dcf_dsf_inst_cd %}
|
||||
<tr>
|
||||
<td><a href="/ultmarc/instInfo?id={{doctor_wrkplace_his_data.dcf_dsf_inst_cd or ''}}" onclick="OnLinkClick();">
|
||||
{{doctor_wrkplace_his_data.dcf_dsf_inst_cd or ''}}</a></td>
|
||||
<td>{{doctor_wrkplace_his_data.inst_name_kanji or ''}}</td>
|
||||
<td>{{doctor_wrkplace_his_data.blng_sec_name or ''}}</td>
|
||||
<td>{{doctor_wrkplace_his_data.univ_post_name or ''}}</td>
|
||||
<td>{{doctor_wrkplace_his_data.post_name or ''}}</td>
|
||||
<td>{{ultmarc.is_input_his_aply_start_ymd_format(doctor_wrkplace_his_data.aply_start_ymd)}}</td>
|
||||
<td>{{ultmarc.is_input_his_aply_end_ymd_format(doctor_wrkplace_his_data.aply_end_ymd)}}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<tr>
|
||||
<td colspan="6" class="docInfoTd">
|
||||
診療科目:
|
||||
{% for trt_coursed_data in ultmarc.trt_coursed_data %}
|
||||
<input class="docInfoTrtTextBox" type="text" readonly="readonly" value="{{trt_coursed_data.trt_course_name or ''}}">
|
||||
{% endfor %}
|
||||
{% for i in range(5-ultmarc.is_input_trt_course_data_size())%}
|
||||
<input class="docInfoTrtTextBox" type="text" readonly="readonly" value="">
|
||||
{% endfor %}
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- 所属学会,所属学会専門医 -->
|
||||
<table class="docBelongTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="docBelongTd rightBoderLine">
|
||||
<h1>所属学会</h1>
|
||||
<div class="scroll">
|
||||
<table class="tablesorter docSocietyTable" _fixedhead='rows:1; cols:0;'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>コード</th>
|
||||
<th>所属学会</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for sosiety_data in ultmarc.sosiety_data %}
|
||||
<tr>
|
||||
<td>{{sosiety_data.sosiety_cd or ' '}}</td>
|
||||
<td>{{sosiety_data.sosiety_name or ' '}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
<td class="docBelongTd">
|
||||
<h1>所属学会専門医</h1>
|
||||
<div class="scroll">
|
||||
<table class="tablesorter docSocietyTable" _fixedhead='rows:1; cols:0; border-color:gray; border-width:2px;'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>コード</th>
|
||||
<th>専門医資格名</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for specialist_license_data in ultmarc.specialist_license_data %}
|
||||
<tr>
|
||||
<td>{{specialist_license_data.specialist_cd or ' '}}</td>
|
||||
<td>{{specialist_license_data.specialist_license_name or ' '}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- 勤務先履歴 -->
|
||||
<h1 class="wrkplaceH1">勤務先履歴</h1>
|
||||
<div class="scroll">
|
||||
<table class="tablesorter wrkplaceTable" _fixedhead='rows:1; cols:0; border-color:gray; border-width:2px;'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ULT施設コード</th>
|
||||
<th>勤務先略名</th>
|
||||
<th>所属部科名</th>
|
||||
<th>役職名</th>
|
||||
<th>職位</th>
|
||||
<th>開始年月日</th>
|
||||
<th>終了年月日</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<script>
|
||||
function OnLinkClick(){
|
||||
sessionStorage.clear();
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
<tbody>
|
||||
{% for doctor_wrkplace_data in ultmarc.doctor_wrkplace_data %}
|
||||
{% if doctor_wrkplace_data.dcf_dsf_inst_cd %}
|
||||
<tr>
|
||||
<td><a href="/ultmarc/instInfo?id={{doctor_wrkplace_data.dcf_dsf_inst_cd or ''}}" onclick="OnLinkClick();">
|
||||
{{doctor_wrkplace_data.dcf_dsf_inst_cd or ''}}</a></td>
|
||||
<td>{{doctor_wrkplace_data.inst_name_kanji or ''}}</td>
|
||||
<td>{{doctor_wrkplace_data.blng_sec_name or ''}}</td>
|
||||
<td>{{doctor_wrkplace_data.univ_post_name or ''}}</td>
|
||||
<td>{{doctor_wrkplace_data.post_name or ''}}</td>
|
||||
<td>{{ultmarc.is_input_aply_start_ymd_format(doctor_wrkplace_data.aply_start_ymd)}}</td>
|
||||
<td>9999/99/99</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% for doctor_wrkplace_his_data in ultmarc.doctor_wrkplace_his_data %}
|
||||
{% if doctor_wrkplace_his_data.dcf_dsf_inst_cd %}
|
||||
<tr>
|
||||
<td><a href="/ultmarc/instInfo?id={{doctor_wrkplace_his_data.dcf_dsf_inst_cd or ''}}" onclick="OnLinkClick();">
|
||||
{{doctor_wrkplace_his_data.dcf_dsf_inst_cd or ''}}</a></td>
|
||||
<td>{{doctor_wrkplace_his_data.inst_name_kanji or ''}}</td>
|
||||
<td>{{doctor_wrkplace_his_data.blng_sec_name or ''}}</td>
|
||||
<td>{{doctor_wrkplace_his_data.univ_post_name or ''}}</td>
|
||||
<td>{{doctor_wrkplace_his_data.post_name or ''}}</td>
|
||||
<td>{{ultmarc.is_input_his_aply_start_ymd_format(doctor_wrkplace_his_data.aply_start_ymd)}}</td>
|
||||
<td>{{ultmarc.is_input_his_aply_end_ymd_format(doctor_wrkplace_his_data.aply_end_ymd)}}</td>
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -6,185 +6,191 @@
|
||||
{% endwith %}
|
||||
<link rel="stylesheet" href="/static/css/ultStyle.css">
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onload = function(){
|
||||
<script type="text/javascript">
|
||||
window.onload = function(){
|
||||
// 見出し固定初期化
|
||||
FixedMidashi.create();
|
||||
// ボタン、テキストボックス初期化
|
||||
formBtDisabled();
|
||||
}
|
||||
</script>
|
||||
// Enter押下時にsubmitさせなくする
|
||||
$(function() {
|
||||
$(document).on("keypress", "input:not(.allow_submit)", function(event) {
|
||||
return event.which !== 13;
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<!--検索フォーム-->
|
||||
<body>
|
||||
<table class="docHeaderTable">
|
||||
<tr>
|
||||
<td class="docHeaderTd"><h1>{{ultmarc.subtitle}}</h1></td>
|
||||
<td class="docHeaderTdCenter docHeaderTdCenter">
|
||||
{% if ultmarc.is_batch_processing %}
|
||||
<div class="docButchMsg">日次バッチ処理中のため、データが正しく表示されない可能性があります</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="docHeaderTd docHeaderTdRight"><button class="docHeader_bt" onclick="backToMenu()">メニューへ</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
<form id="doctor_search" class="_form" name="search" action="/ultmarc/docSearch" method="POST">
|
||||
<table class="docSearchTableDivTwo">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="docSearchColumnTd">医師コード:</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" style="ime-mode:disabled;" type="text" name="ctrl_dcf_pcf_dr_cd"
|
||||
value="{{ultmarc.is_input_dcf_pcf_dr_cd()}}" maxlength='10' oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">氏名(漢字):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_dr_name"
|
||||
value="{{ultmarc.is_input_dr_name()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">氏名(かな・カナ):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_dr_name_kana"
|
||||
value="{{ultmarc.is_input_dr_name_kana()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="docSearchColumnTd">勤務先コード:</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" style="ime-mode:disabled;" type="text" name="ctrl_dcf_dsf_inst_cd"
|
||||
value="{{ultmarc.is_input_dcf_dsf_inst_cd()}}" maxlength='11' oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">勤務先名(漢字):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_form_inst_name_kanji"
|
||||
value="{{ultmarc.is_input_form_inst_name_kanji()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">勤務先名(かな・カナ):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_form_inst_name_kana"
|
||||
value="{{ultmarc.is_input_form_inst_name_kana()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="docSearchColumnTd">勤務先都道府県:</td>
|
||||
<td class="search_tb">
|
||||
<!-- 都道府県のドロップダウン -->
|
||||
<select class="text search_dropdown" name="ctrl_prefc_cd" onchange="formBtDisabled()" onkeyup="formBtDisablead()">
|
||||
<!-- 都道府県ドロップダウンの中身を作成 -->
|
||||
<option value=""></option>
|
||||
<table class="docHeaderTable">
|
||||
<tr>
|
||||
<td class="docHeaderTd"><h1>{{ultmarc.subtitle}}</h1></td>
|
||||
<td class="docHeaderTdCenter docHeaderTdCenter">
|
||||
{% if ultmarc.is_batch_processing %}
|
||||
<div class="docButchMsg">日次バッチ処理中のため、データが正しく表示されない可能性があります</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="docHeaderTd docHeaderTdRight"><button class="docHeader_bt" onclick="backToMenu()">メニューへ</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
<form id="doctor_search" class="_form" name="search" action="/ultmarc/docSearch" method="POST">
|
||||
<table class="docSearchTableDivTwo">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="docSearchColumnTd">医師コード:</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" style="ime-mode:disabled;" type="text" name="ctrl_dcf_pcf_dr_cd"
|
||||
value="{{ultmarc.is_input_dcf_pcf_dr_cd()}}" maxlength='10' oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">氏名(漢字):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_dr_name"
|
||||
value="{{ultmarc.is_input_dr_name()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">氏名(かな・カナ):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_dr_name_kana"
|
||||
value="{{ultmarc.is_input_dr_name_kana()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="docSearchColumnTd">勤務先コード:</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" style="ime-mode:disabled;" type="text" name="ctrl_dcf_dsf_inst_cd"
|
||||
value="{{ultmarc.is_input_dcf_dsf_inst_cd()}}" maxlength='11' oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">勤務先名(漢字):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_form_inst_name_kanji"
|
||||
value="{{ultmarc.is_input_form_inst_name_kanji()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">勤務先名(かな・カナ):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_form_inst_name_kana"
|
||||
value="{{ultmarc.is_input_form_inst_name_kana()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="docSearchColumnTd">勤務先都道府県:</td>
|
||||
<td class="search_tb">
|
||||
<!-- 都道府県のドロップダウン -->
|
||||
<select class="text search_dropdown" name="ctrl_prefc_cd" onchange="formBtDisabled()" onkeyup="formBtDisablead()">
|
||||
<!-- 都道府県ドロップダウンの中身を作成 -->
|
||||
<option value=""></option>
|
||||
{% for prefc in ultmarc.prefc_models %}
|
||||
<option
|
||||
value="{{prefc['prefc_cd']}}" {{ultmarc.is_selected_prefc_cd(prefc['prefc_cd'])}}>
|
||||
{{prefc['prefc_name']}}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</td>
|
||||
<td class="docSearchColumnTd">所属部科(漢字):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_blng_sec_name"
|
||||
value="{{ultmarc.is_input_blng_sec_name()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">診療科目(漢字):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_trt_course_name"
|
||||
value="{{ultmarc.is_input_trt_course_name()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="docSearchColumnTd">出身大学(漢字):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_alma"
|
||||
value="{{ultmarc.is_input_alma()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">卒年:</td>
|
||||
<td class="docSearchTextboxTd"><input class="text docSearchTextbox" style="ime-mode:disabled;" type="text" name="ctrl_grad_y"
|
||||
value="{{ultmarc.is_input_grad_y()}}" maxlength='4' oninput="formBtDisabled()"></td>
|
||||
<td class="search_btTd" colspan="2">
|
||||
<input class="text ult_bt search_bt" id="clear" type="button" name="clear_bt" value="クリア" onclick="clr();">
|
||||
<input class="ult_bt search_bt" id="search_bt" name="search_bt" value="検索" type="submit">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</select>
|
||||
</td>
|
||||
<td class="docSearchColumnTd">所属部科(漢字):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_blng_sec_name"
|
||||
value="{{ultmarc.is_input_blng_sec_name()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">診療科目(漢字):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_trt_course_name"
|
||||
value="{{ultmarc.is_input_trt_course_name()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="docSearchColumnTd">出身大学(漢字):</td>
|
||||
<td class="docSearchTextboxTd">
|
||||
<input class="text docSearchTextbox" type="text" name="ctrl_alma"
|
||||
value="{{ultmarc.is_input_alma()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="docSearchColumnTd">卒年:</td>
|
||||
<td class="docSearchTextboxTd"><input class="text docSearchTextbox" style="ime-mode:disabled;" type="text" name="ctrl_grad_y"
|
||||
value="{{ultmarc.is_input_grad_y()}}" maxlength='4' oninput="formBtDisabled()"></td>
|
||||
<td class="search_btTd" colspan="2">
|
||||
<input class="text ult_bt search_bt" id="clear" type="button" name="clear_bt" value="クリア" onclick="clr();">
|
||||
<input class="ult_bt search_bt" id="search_bt" name="search_bt" value="検索" type="submit">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<!--検索結果-->
|
||||
<form id="doctor_info" class="_form" name="result" action="/ultmarc/docInfo" method="POST" onsubmit="CheckBoxListProcessing()">
|
||||
<input type="button" name="allon" onclick="allOn();resultBtDisablead()" value="全選択" class="ult_bt allOnOffButton" {{ultmarc.disabled_button()}}>
|
||||
<input type="button" name="alloff" onclick="allOff();resultBtDisablead()" value="全解除" class="ult_bt allOnOffButton" {{ultmarc.disabled_button()}}>
|
||||
<input type="hidden" name="doc_id" id="doc_id" value="">
|
||||
<input type="hidden" name="page_num" value="0">
|
||||
<!--検索結果-->
|
||||
<form id="doctor_info" class="_form" name="result" action="/ultmarc/docInfo" method="POST" onsubmit="CheckBoxListProcessing()">
|
||||
<input type="button" name="allon" onclick="allOn();resultBtDisabled()" value="全選択" class="ult_bt allOnOffButton" {{ultmarc.disabled_button()}}>
|
||||
<input type="button" name="alloff" onclick="allOff();resultBtDisabled()" value="全解除" class="ult_bt allOnOffButton" {{ultmarc.disabled_button()}}>
|
||||
<input type="hidden" name="doc_id" id="doc_id" value="">
|
||||
<input type="hidden" name="page_num" value="0">
|
||||
|
||||
<!--検索件数-->
|
||||
<!--ページネーション-->
|
||||
<div id="light-pagination" class="pagination"></div>
|
||||
<!--検索結果表示テーブル-->
|
||||
<div class="docSearchScroll">
|
||||
<table class="tablesorter instSearchResult" _fixedhead="rows:1; cols:1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>医師コード</th>
|
||||
<th>氏名</th>
|
||||
<th>勤務先名</th>
|
||||
<th>所属部科</th>
|
||||
<th>診療科目</th>
|
||||
<th>役職名</th>
|
||||
<th>出身大学</th>
|
||||
<th>卒年</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<!--検索件数-->
|
||||
<!--ページネーション-->
|
||||
<div id="light-pagination" class="pagination"></div>
|
||||
<!--検索結果表示テーブル-->
|
||||
<div class="scroll_table">
|
||||
<table class="tablesorter instSearchResult" _fixedhead="rows:1; cols:1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>医師コード</th>
|
||||
<th>氏名</th>
|
||||
<th>勤務先名</th>
|
||||
<th>所属部科</th>
|
||||
<th>診療科目</th>
|
||||
<th>役職名</th>
|
||||
<th>出身大学</th>
|
||||
<th>卒年</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="result_data" class="result_data"></tbody>
|
||||
|
||||
</table>
|
||||
{% if ultmarc.is_form_submitted() and ultmarc.is_data_overflow_max_length() %}
|
||||
<div class="notFind">
|
||||
検索件数が500件を超えています 検索項目を見直してください
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if ultmarc.is_form_submitted() and ultmarc.is_data_empty() %}
|
||||
<div class="notFind">
|
||||
対象のデータが存在しません。
|
||||
</div>
|
||||
{% endif %}
|
||||
</table>
|
||||
{% if ultmarc.is_form_submitted() and ultmarc.is_data_overflow_max_length() %}
|
||||
<div class="notFind">
|
||||
検索件数が500件を超えています 検索項目を見直してください
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if ultmarc.is_form_submitted() and ultmarc.is_data_empty() %}
|
||||
<div class="notFind">
|
||||
対象のデータが存在しません。
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
</div>
|
||||
<!--操作ボタン-->
|
||||
<input class="ult_bt info_bt" type="submit" name="detail" value="医師情報" disabled>
|
||||
</form>
|
||||
</div>
|
||||
<!--操作ボタン-->
|
||||
<input class="ult_bt info_bt" type="submit" name="detail" value="医師情報" disabled>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
// <! --ページネーションの作成-- >
|
||||
$(function() {
|
||||
let searchResultData = [];
|
||||
// {% if not ultmarc.is_data_overflow_max_length() and not ultmarc.is_data_empty() %}
|
||||
// スピナー出さない場合は以下、エスケープせず埋め込む
|
||||
// {% autoescape False%}
|
||||
const searchResultString = '{{ultmarc.ultmarc_data_json_str()}}';
|
||||
// {% endautoescape%}
|
||||
searchResultData = JSON.parse(searchResultString);
|
||||
// {% endif %}
|
||||
let searchResultData = [];
|
||||
// {% if not ultmarc.is_data_overflow_max_length() and not ultmarc.is_data_empty() %}
|
||||
// スピナー出さない場合は以下、エスケープせず埋め込む
|
||||
// {% autoescape False%}
|
||||
const searchResultString = '{{ultmarc.ultmarc_data_json_str()}}';
|
||||
// {% endautoescape%}
|
||||
searchResultData = JSON.parse(searchResultString);
|
||||
// {% endif %}
|
||||
|
||||
// 検索条件をセッションに入れる
|
||||
sessionStorage.clear();
|
||||
sessionStorage.setItem('ctrl_dcf_pcf_dr_cd','{{ultmarc.is_input_dcf_pcf_dr_cd()}}');
|
||||
sessionStorage.setItem('ctrl_dr_name','{{ultmarc.is_input_dr_name()}}');
|
||||
sessionStorage.setItem('ctrl_dr_name_kana','{{ultmarc.is_input_dr_name_kana()}}');
|
||||
sessionStorage.setItem('ctrl_dcf_dsf_inst_cd','{{ultmarc.is_input_dcf_dsf_inst_cd()}}');
|
||||
sessionStorage.setItem('ctrl_form_inst_name_kanji','{{ultmarc.is_input_form_inst_name_kanji()}}');
|
||||
sessionStorage.setItem('ctrl_form_inst_name_kana','{{ultmarc.is_input_form_inst_name_kana()}}');
|
||||
sessionStorage.setItem('ctrl_prefc_cd','{{ultmarc.is_input_form_prefc_cd()}}');
|
||||
sessionStorage.setItem('ctrl_blng_sec_name','{{ultmarc.is_input_blng_sec_name()}}');
|
||||
sessionStorage.setItem('ctrl_trt_course_name','{{ultmarc.is_input_trt_course_name()}}');
|
||||
sessionStorage.setItem('ctrl_alma','{{ultmarc.is_input_alma()}}');
|
||||
sessionStorage.setItem('ctrl_grad_y','{{ultmarc.is_input_grad_y()}}');
|
||||
// 検索条件をセッションに入れる
|
||||
sessionStorage.clear();
|
||||
sessionStorage.setItem('ctrl_dcf_pcf_dr_cd','{{ultmarc.is_input_dcf_pcf_dr_cd()}}');
|
||||
sessionStorage.setItem('ctrl_dr_name','{{ultmarc.is_input_dr_name()}}');
|
||||
sessionStorage.setItem('ctrl_dr_name_kana','{{ultmarc.is_input_dr_name_kana()}}');
|
||||
sessionStorage.setItem('ctrl_dcf_dsf_inst_cd','{{ultmarc.is_input_dcf_dsf_inst_cd()}}');
|
||||
sessionStorage.setItem('ctrl_form_inst_name_kanji','{{ultmarc.is_input_form_inst_name_kanji()}}');
|
||||
sessionStorage.setItem('ctrl_form_inst_name_kana','{{ultmarc.is_input_form_inst_name_kana()}}');
|
||||
sessionStorage.setItem('ctrl_prefc_cd','{{ultmarc.is_input_form_prefc_cd()}}');
|
||||
sessionStorage.setItem('ctrl_blng_sec_name','{{ultmarc.is_input_blng_sec_name()}}');
|
||||
sessionStorage.setItem('ctrl_trt_course_name','{{ultmarc.is_input_trt_course_name()}}');
|
||||
sessionStorage.setItem('ctrl_alma','{{ultmarc.is_input_alma()}}');
|
||||
sessionStorage.setItem('ctrl_grad_y','{{ultmarc.is_input_grad_y()}}');
|
||||
|
||||
// ページネーションのページ番号取得
|
||||
let pagination_page_number = Number('{{ultmarc.init_pagination_page_number()}}');
|
||||
// ページネーションのページ番号取得
|
||||
let pagination_page_number = Number('{{ultmarc.init_pagination_page_number()}}');
|
||||
|
||||
$(".pagination").pagination({
|
||||
$(".pagination").pagination({
|
||||
dataSource: function(done) {
|
||||
done(searchResultData)
|
||||
},
|
||||
@ -197,70 +203,70 @@
|
||||
showNavigator: true,
|
||||
formatNavigator: '件数: <%= totalNumber %>件 ページ数: <%= totalPage %>',
|
||||
callback: function(data, pagination) {
|
||||
sessionStorage.setItem('pagination_page_number',pagination.pageNumber);
|
||||
sessionStorage.setItem('pagination_page_number',pagination.pageNumber);
|
||||
$('#result_data').html(pagination_content(data));
|
||||
}
|
||||
})
|
||||
});
|
||||
|
||||
function OnLinkClick(){
|
||||
sessionStorage.clear();
|
||||
return true;
|
||||
}
|
||||
function OnLinkClick(){
|
||||
sessionStorage.clear();
|
||||
return true;
|
||||
}
|
||||
|
||||
function pagination_content(datas) {
|
||||
const display_keys = [
|
||||
'dcf_pcf_dr_cd',
|
||||
'dr_name',
|
||||
'dcf_dsf_inst_cd',
|
||||
'blng_sec_name',
|
||||
'trt_course_name',
|
||||
'form_post_name',
|
||||
'alma',
|
||||
'grad_y'
|
||||
'dcf_pcf_dr_cd',
|
||||
'dr_name',
|
||||
'dcf_dsf_inst_cd',
|
||||
'blng_sec_name',
|
||||
'trt_course_name',
|
||||
'form_post_name',
|
||||
'alma',
|
||||
'grad_y'
|
||||
];
|
||||
return datas.map(function (data) {
|
||||
let td = display_keys.map((key) =>{
|
||||
let inner_content = data[key];
|
||||
if(key=='dcf_pcf_dr_cd')
|
||||
inner_content = `<a href="/ultmarc/docInfo?id=${data['dcf_pcf_dr_cd']}">${data['dcf_pcf_dr_cd'] || ''}</a>`;
|
||||
if(key=='dcf_dsf_inst_cd')
|
||||
inner_content = `<a href="/ultmarc/instInfo?id=${data['dcf_dsf_inst_cd']}" onclick="OnLinkClick()">${data['form_inst_name_kanji'] || ''}</a>`;
|
||||
return `<td>${inner_content || ''}</td>`
|
||||
});
|
||||
return `
|
||||
<tr class="result_data">
|
||||
<td><div class="checkNum">
|
||||
<input type="checkbox" class="checkbox selected" name="data" onclick="resultBtDisablead()"
|
||||
value=${data['dcf_pcf_dr_cd']}>
|
||||
</div></td>
|
||||
${td}
|
||||
</tr>
|
||||
`
|
||||
return datas.map(function (data) {
|
||||
let td = display_keys.map((key) =>{
|
||||
let inner_content = data[key];
|
||||
if(key=='dcf_pcf_dr_cd')
|
||||
inner_content = `<a href="/ultmarc/docInfo?id=${data['dcf_pcf_dr_cd']}">${data['dcf_pcf_dr_cd'] || ''}</a>`;
|
||||
if(key=='dcf_dsf_inst_cd')
|
||||
inner_content = `<a href="/ultmarc/instInfo?id=${data['dcf_dsf_inst_cd']}" onclick="OnLinkClick()">${data['form_inst_name_kanji'] || ''}</a>`;
|
||||
return `<td>${inner_content || ''}</td>`
|
||||
});
|
||||
return `
|
||||
<tr class="result_data">
|
||||
<td><div class="checkNum">
|
||||
<input type="checkbox" class="checkbox selected" name="data" onclick="resultBtDisabled()"
|
||||
value=${data['dcf_pcf_dr_cd']}>
|
||||
</div></td>
|
||||
${td}
|
||||
</tr>
|
||||
`
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// チェックボックスのチェックされている場合、施設情報ボタンを活性化させる
|
||||
function resultBtDisablead(){
|
||||
var checkboxes = $('input[name="data"]:checked').length;
|
||||
if(checkboxes == 0) {
|
||||
$(".info_bt").prop('disabled',true);
|
||||
}
|
||||
else {
|
||||
$(".info_bt").prop('disabled',false);
|
||||
}
|
||||
}
|
||||
// チェックボックスのチェックされている場合、医師情報ボタンを活性化させる
|
||||
function resultBtDisabled(){
|
||||
var checkboxes = $('input[name="data"]:checked').length;
|
||||
if(checkboxes == 0) {
|
||||
$(".info_bt").prop('disabled',true);
|
||||
}
|
||||
else {
|
||||
$(".info_bt").prop('disabled',false);
|
||||
}
|
||||
}
|
||||
|
||||
// 検索結果のうち、チェックされている行のデータを非表示項目に詰め込む
|
||||
function CheckBoxListProcessing()
|
||||
{
|
||||
let vals = []; // 配列を定義
|
||||
$('input[name="data"]:checked').each(function() {
|
||||
vals.push( $(this).val() ); // 配列に値を追加
|
||||
});
|
||||
$("#doc_id").val(vals.join(','));
|
||||
}
|
||||
// 検索結果のうち、チェックされている行のデータを非表示項目に詰め込む
|
||||
function CheckBoxListProcessing()
|
||||
{
|
||||
let vals = []; // 配列を定義
|
||||
$('input[name="data"]:checked').each(function() {
|
||||
vals.push( $(this).val() ); // 配列に値を追加
|
||||
});
|
||||
$("#doc_id").val(vals.join(','));
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@ -6,282 +6,282 @@
|
||||
{% endwith %}
|
||||
<link rel="stylesheet" href="/static/css/ultStyle.css">
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onload = function(){
|
||||
<script type="text/javascript">
|
||||
window.onload = function(){
|
||||
// 見出し固定初期化
|
||||
FixedMidashi.create();
|
||||
// ボタン、テキストボックス初期化
|
||||
formBtDisabled();
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
$(function(){
|
||||
// 前ページ遷移処理
|
||||
$('#prev').click(function(){
|
||||
$('#page_num').val(Number($('#page_num').val()) - 1);
|
||||
$('#instInfo').submit();
|
||||
});
|
||||
// 次ページ遷移処理
|
||||
$('#next').click(function(){
|
||||
$('#page_num').val(Number($('#page_num').val()) + 1);
|
||||
$('#instInfo').submit();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
}
|
||||
</script>
|
||||
<script>
|
||||
$(function(){
|
||||
// 前ページ遷移処理
|
||||
$('#prev').click(function(){
|
||||
$('#page_num').val(Number($('#page_num').val()) - 1);
|
||||
$('#instInfo').submit();
|
||||
});
|
||||
// 次ページ遷移処理
|
||||
$('#next').click(function(){
|
||||
$('#page_num').val(Number($('#page_num').val()) + 1);
|
||||
$('#instInfo').submit();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>
|
||||
<h1>
|
||||
{{ultmarc.subtitle}}
|
||||
</h1>
|
||||
{% if ultmarc.is_batch_processing %}
|
||||
<div class="docButchMsg" style="text-align: center">日次バッチ処理中のため、データが正しく表示されない可能性があります</div>
|
||||
{% endif %}
|
||||
{% if ultmarc.is_batch_processing %}
|
||||
<div class="docButchMsg" style="text-align: center">日次バッチ処理中のため、データが正しく表示されない可能性があります</div>
|
||||
{% endif %}
|
||||
|
||||
<!-- 上部のボタン -->
|
||||
<table class="instHeaderTable">
|
||||
<tr>
|
||||
<form name="docSearch" method="post" action="/ultmarc/docSearch">
|
||||
<td class="instHeaderTd">
|
||||
<input type="hidden" name="ctrl_dcf_dsf_inst_cd" value="{{ultmarc.inst_info_data.dcf_dsf_inst_cd or ''}}">
|
||||
<input name="docSearchBt" class="transitionBt" type="submit" value="勤務医師" {{ultmarc.is_disabled_doctor_wrkplace()}}>
|
||||
</td>
|
||||
</form>
|
||||
<form id="instInfo" name="instInfo" method="post" action="/ultmarc/instInfo">
|
||||
<input type="hidden" name="inst_id" value="{{ultmarc.inst_id}}">
|
||||
<input type="hidden" name="page_num" id="page_num" value="{{ultmarc.page_num}}">
|
||||
<td class="instHeaderTd">
|
||||
<input type="button" name="prev" id="prev" value="前" class="transitionBt" {{ultmarc.is_disabled_prev()}}>
|
||||
</td>
|
||||
<td class="instHeaderTd">
|
||||
{{ultmarc.is_page_num_view()}}/{{ultmarc.post_cnt}}
|
||||
</td>
|
||||
<td class="instHeaderTd">
|
||||
<input type="button" name="next" id="next" value="次" class="transitionBt" {{ultmarc.is_disabled_next()}}>
|
||||
</td>
|
||||
</form>
|
||||
<form id="instSearch" name="instSearch" method="" action="/ultmarc/instSearch" onsubmit="chg_send_method()">
|
||||
<script>
|
||||
var form = document.getElementById("instSearch");
|
||||
for (var i = 0, length = sessionStorage.length; i < length; ++i) {
|
||||
let key = sessionStorage.key(i);
|
||||
let value = sessionStorage.getItem(key);
|
||||
const input = document.createElement('input');
|
||||
input.setAttribute('type', 'text');
|
||||
input.value = value;
|
||||
input.name = key;
|
||||
form.appendChild(input);
|
||||
}
|
||||
<!-- 上部のボタン -->
|
||||
<table class="instHeaderTable">
|
||||
<tr>
|
||||
<form name="docSearch" method="post" action="/ultmarc/docSearch">
|
||||
<td class="instHeaderTd">
|
||||
<input type="hidden" name="ctrl_dcf_dsf_inst_cd" value="{{ultmarc.inst_info_data.dcf_dsf_inst_cd or ''}}">
|
||||
<input name="docSearchBt" class="transitionBt" type="submit" value="勤務医師" {{ultmarc.is_disabled_doctor_wrkplace()}}>
|
||||
</td>
|
||||
</form>
|
||||
<form id="instInfo" name="instInfo" method="post" action="/ultmarc/instInfo">
|
||||
<input type="hidden" name="inst_id" value="{{ultmarc.inst_id}}">
|
||||
<input type="hidden" name="page_num" id="page_num" value="{{ultmarc.page_num}}">
|
||||
<td class="instHeaderTd">
|
||||
<input type="button" name="prev" id="prev" value="前" class="transitionBt" {{ultmarc.is_disabled_prev()}}>
|
||||
</td>
|
||||
<td class="instHeaderTd">
|
||||
{{ultmarc.is_page_num_view()}}/{{ultmarc.post_cnt}}
|
||||
</td>
|
||||
<td class="instHeaderTd">
|
||||
<input type="button" name="next" id="next" value="次" class="transitionBt" {{ultmarc.is_disabled_next()}}>
|
||||
</td>
|
||||
</form>
|
||||
<form id="instSearch" name="instSearch" method="" action="/ultmarc/instSearch" onsubmit="chg_send_method()">
|
||||
<script>
|
||||
var form = document.getElementById("instSearch");
|
||||
for (var i = 0, length = sessionStorage.length; i < length; ++i) {
|
||||
let key = sessionStorage.key(i);
|
||||
let value = sessionStorage.getItem(key);
|
||||
const input = document.createElement('input');
|
||||
input.setAttribute('type', 'text');
|
||||
input.value = value;
|
||||
input.name = key;
|
||||
form.appendChild(input);
|
||||
}
|
||||
|
||||
</script>
|
||||
</script>
|
||||
|
||||
<td class="instHeaderTd">
|
||||
<input type="submit" name="instSearchBt" class="transitionBt" value="施設検索一覧へ">
|
||||
</td>
|
||||
</form>
|
||||
<script>
|
||||
function chg_send_method(){
|
||||
if(sessionStorage.length == 0){
|
||||
$('#instSearch')('method', 'GET');
|
||||
}else{
|
||||
$('#instSearch').attr('method', 'POST');
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
</tr>
|
||||
</table>
|
||||
<td class="instHeaderTd">
|
||||
<input type="submit" name="instSearchBt" class="transitionBt" value="施設検索一覧へ">
|
||||
</td>
|
||||
</form>
|
||||
<script>
|
||||
function chg_send_method(){
|
||||
if(sessionStorage.length == 0){
|
||||
$('#instSearch')('method', 'GET');
|
||||
}else{
|
||||
$('#instSearch').attr('method', 'POST');
|
||||
}
|
||||
return true;
|
||||
}
|
||||
</script>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<!-- 施設情報 -->
|
||||
<table class="instInfoTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="instInfoColumn">施設コード</td>
|
||||
<td class="instData instDataLeft">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.dcf_dsf_inst_cd or ''}}" class="instCdTextbox">
|
||||
<input class="checkbox" type="checkbox" disabled="disabled" {{ultmarc.is_checked_unconf_flg()}}>未確認
|
||||
</td>
|
||||
<td class="instInfoColumn">施設コード変換先</td>
|
||||
<td class="instData instDataCenter">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.dup_opp_cd or ''}}" class="instDataCenterTextbox">
|
||||
</td>
|
||||
<td class="instInfoColumn">休院店開始年月</td>
|
||||
<td class="instData instDataRight">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.close_start_ym or ''}}" class="instDataSmallTextbox">
|
||||
<input type="checkbox" disabled="disabled" {{ultmarc.is_checked_close_flg()}}>休院店
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">削除予定理由</td>
|
||||
<td class="instData instDataLeft">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.delete_sche_reason_cd or ''}}" class="delReasonCdTextbox">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.delete_sche_reason or ''}}" class="delReasonTextbox"></td>
|
||||
<td class="instInfoColumn">削除日</td>
|
||||
<td class="instData instDataCenter">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.abolish_ymd or ''}}" class="instDataCenterTextbox">
|
||||
</td>
|
||||
<td class="instInfoColumn">開業予定年月</td>
|
||||
<td class="instData instDataRight">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.estab_sche_ym or ''}}" class="instDataSmallTextbox">
|
||||
<input type="checkbox" disabled="disabled" {{ultmarc.is_checked_estab_sche_flg()}}>開業
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">正式施設名(カナ)</td>
|
||||
<td class="instData" colspan="5"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.form_inst_name_kana or ''}}" class="instInfoTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">正式施設名(漢字)</td>
|
||||
<td class="instData" colspan="5"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.form_inst_name_kanji or ''}}" class="instInfoTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">略式施設名(カナ)</td>
|
||||
<td class="instData instDataMid" colspan="3"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_name_kana or ''}}" class="instInfoTextbox"></td>
|
||||
<td class="instInfoColumn">施設区分名</td>
|
||||
<td class="instData instDataSmall"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_div_name or ''}}" class="instInfoTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">略式施設名(漢字)</td>
|
||||
<td class="instData instDataMid" colspan="3"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_name_kanji or ''}}" class="instInfoTextbox"></td>
|
||||
<td class="instInfoColumn">経営体</td>
|
||||
<td class="instData instDataSmall">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.manage_cd or ''}}" class="manageTextbox">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.manage_name or ''}}" class="textboxMargin manageTextbox">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">郵便番号</td>
|
||||
<td class="instData instDataMid" colspan="3">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.postal_number or ''}}">
|
||||
<input type="checkbox" class="checkboxMargin" disabled="disabled" {{ultmarc.is_checked_addr_unknown_reason_cd()}}>住所不明
|
||||
</td>
|
||||
<td class="instInfoColumn">施設電話番号</td>
|
||||
<td class="instData instDataRight">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_phone_number or ''}}" class="instDataSmallTextbox">
|
||||
<input type="checkbox" class="checkboxMargin" disabled="disabled" {{ultmarc.is_checked_phone_number_non_flg()}}>電話なし
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">住所(カナ)</td>
|
||||
<td class="instData instDataLarge" colspan="5"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_addr_kana or ''}}" class="instInfoTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">住所(漢字)</td>
|
||||
<td class="instData instDataLarge" colspan="5"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_addr or ''}}" class="instInfoTextbox"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- 施設情報 -->
|
||||
<table class="instInfoTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="instInfoColumn">施設コード</td>
|
||||
<td class="instData instDataLeft">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.dcf_dsf_inst_cd or ''}}" class="instCdTextbox">
|
||||
<input class="checkbox" type="checkbox" disabled="disabled" {{ultmarc.is_checked_unconf_flg()}}>未確認
|
||||
</td>
|
||||
<td class="instInfoColumn">施設コード変換先</td>
|
||||
<td class="instData instDataCenter">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.dup_opp_cd or ''}}" class="instDataCenterTextbox">
|
||||
</td>
|
||||
<td class="instInfoColumn">休院店開始年月</td>
|
||||
<td class="instData instDataRight">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.close_start_ym or ''}}" class="instDataSmallTextbox">
|
||||
<input type="checkbox" disabled="disabled" {{ultmarc.is_checked_close_flg()}}>休院店
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">削除予定理由</td>
|
||||
<td class="instData instDataLeft">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.delete_sche_reason_cd or ''}}" class="delReasonCdTextbox">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.delete_sche_reason or ''}}" class="delReasonTextbox"></td>
|
||||
<td class="instInfoColumn">削除日</td>
|
||||
<td class="instData instDataCenter">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.abolish_ymd or ''}}" class="instDataCenterTextbox">
|
||||
</td>
|
||||
<td class="instInfoColumn">開業予定年月</td>
|
||||
<td class="instData instDataRight">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.estab_sche_ym or ''}}" class="instDataSmallTextbox">
|
||||
<input type="checkbox" disabled="disabled" {{ultmarc.is_checked_estab_sche_flg()}}>開業
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">正式施設名(カナ)</td>
|
||||
<td class="instData" colspan="5"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.form_inst_name_kana or ''}}" class="instInfoTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">正式施設名(漢字)</td>
|
||||
<td class="instData" colspan="5"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.form_inst_name_kanji or ''}}" class="instInfoTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">略式施設名(カナ)</td>
|
||||
<td class="instData instDataMid" colspan="3"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_name_kana or ''}}" class="instInfoTextbox"></td>
|
||||
<td class="instInfoColumn">施設区分名</td>
|
||||
<td class="instData instDataSmall"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_div_name or ''}}" class="instInfoTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">略式施設名(漢字)</td>
|
||||
<td class="instData instDataMid" colspan="3"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_name_kanji or ''}}" class="instInfoTextbox"></td>
|
||||
<td class="instInfoColumn">経営体</td>
|
||||
<td class="instData instDataSmall">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.manage_cd or ''}}" class="manageTextbox">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.manage_name or ''}}" class="textboxMargin manageTextbox">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">郵便番号</td>
|
||||
<td class="instData instDataMid" colspan="3">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.postal_number or ''}}">
|
||||
<input type="checkbox" class="checkboxMargin" disabled="disabled" {{ultmarc.is_checked_addr_unknown_reason_cd()}}>住所不明
|
||||
</td>
|
||||
<td class="instInfoColumn">施設電話番号</td>
|
||||
<td class="instData instDataRight">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_phone_number or ''}}" class="instDataSmallTextbox">
|
||||
<input type="checkbox" class="checkboxMargin" disabled="disabled" {{ultmarc.is_checked_phone_number_non_flg()}}>電話なし
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">住所(カナ)</td>
|
||||
<td class="instData instDataLarge" colspan="5"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_addr_kana or ''}}" class="instInfoTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">住所(漢字)</td>
|
||||
<td class="instData instDataLarge" colspan="5"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_addr or ''}}" class="instInfoTextbox"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<hr>
|
||||
|
||||
<!-- 病院情報 -->
|
||||
<table class="instInfoTableHalf1">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="hpInfoColumn">病院種別</td>
|
||||
<td class="instData hpAssrtTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.hp_assrt_name or ''}}" class="hpAssrtTextbox"></td>
|
||||
<td class="instData reExamTd"><input type="checkbox" disabled="disabled" {{ultmarc.is_checked_re_exam_cd()}}>再審査区分</input></td>
|
||||
<td class="hpInfoColumn">関連大学親名</td>
|
||||
<td class="instData">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.rltd_univ_prnt_cd or ''}}" class="parentCdTextBox">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.parent_name or ''}}" class="parentNameTextBox">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hpInfoColumn">診療科目</td>
|
||||
<td class="instData border_bottom_none" colspan="4">
|
||||
{% if ultmarc.inst_trt_coursed_data != None %}
|
||||
{% for inst_trt_course_data in ultmarc.inst_trt_coursed_data %}
|
||||
<input class="trtCourseTextbox" type="text" readonly="readonly" value="{{inst_trt_course_data.trt_course_name_abb or ''}}">
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for i in range(60-ultmarc.is_input_inst_trt_course_data_size()) %}
|
||||
<input class="trtCourseTextbox" type="text" readonly="readonly">
|
||||
{% endfor %}
|
||||
<table class="instInfoTableHalf1">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="hpInfoColumn">病院種別</td>
|
||||
<td class="instData hpAssrtTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.hp_assrt_name or ''}}" class="hpAssrtTextbox"></td>
|
||||
<td class="instData reExamTd"><input type="checkbox" disabled="disabled" {{ultmarc.is_checked_re_exam_cd()}}>再審査区分</input></td>
|
||||
<td class="hpInfoColumn">関連大学親名</td>
|
||||
<td class="instData">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.rltd_univ_prnt_cd or ''}}" class="parentCdTextBox">
|
||||
<input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.parent_name or ''}}" class="parentNameTextBox">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hpInfoColumn">診療科目</td>
|
||||
<td class="instData border_bottom_none" colspan="4">
|
||||
{% if ultmarc.inst_trt_coursed_data != None %}
|
||||
{% for inst_trt_course_data in ultmarc.inst_trt_coursed_data %}
|
||||
<input class="trtCourseTextbox" type="text" readonly="readonly" value="{{inst_trt_course_data.trt_course_name_abb or ''}}">
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% for i in range(60-ultmarc.is_input_inst_trt_course_data_size()) %}
|
||||
<input class="trtCourseTextbox" type="text" readonly="readonly">
|
||||
{% endfor %}
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hpInfoColumn">検査工程</td>
|
||||
<td class="instData" colspan="4">
|
||||
<label>微生物</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_micrb or ''}}">
|
||||
<label>血清</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_serum or ''}}">
|
||||
<label>血液</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_blood or ''}}">
|
||||
<label>病理</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_patho or ''}}">
|
||||
<label>寄生虫</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_paras or ''}}">
|
||||
<label>生化</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_biochem or ''}}">
|
||||
<label>RI</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_ri or ''}}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="instInfoTableHalf2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="hpInfoColumn">特務医務室</td>
|
||||
<td class="instData xSmallTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.dcf_prnt_inst_cd or ''}}" class="xSmallTextbox"></td>
|
||||
<td rowspan="2" class="hpInfoColumn">許可病床数</td>
|
||||
<td class="instData bedTd" rowspan="2">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>一般</td>
|
||||
<td>療養</td>
|
||||
<td>精神</td>
|
||||
<td>感染症</td>
|
||||
<td>結核</td>
|
||||
<td>その他</td>
|
||||
<td>合計</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_gen or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_rcup or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_mental or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_infection or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_tuber or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_other or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_sum or ''}}"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td class="instData" colspan="2"><input type="checkbox" disabled="disabled" {{ultmarc.is_checked_ward_abolish_flg()}}>病棟閉鎖 <input type="checkbox" disabled="disabled" {{ultmarc.is_checked_ward_abolish_flg_part()}}>一部病棟閉鎖</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hpInfoColumn">病床数(定員)</td>
|
||||
<td class="instData"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.bed_num or ''}}" class="xSmallTextbox numberBox"></td>
|
||||
<td class="hpInfoColumn">メンテ年月日</td>
|
||||
<td class="instData xSmallTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_maint_ymd or ''}}" class="repreTextbox"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- 施設代表者 -->
|
||||
<table class="instInfoTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="instInfoColumn">代表者個人コード</td>
|
||||
<td class="instData repreTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_repre_cd or ''}}" class="repreTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">施設代表者(カナ)</td>
|
||||
<td class="instData repreTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_repre_kana or ''}}" class="repreTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">施設代表者(漢字)</td>
|
||||
<td class="instData repreTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_repre or ''}}" class="repreTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">修正年月日</td>
|
||||
<td class="instData repreTd"><input type="text" readonly="readonly" value="{{ultmarc.is_input_sys_update_date()}}" class="repreTextbox"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hpInfoColumn">検査工程</td>
|
||||
<td class="instData" colspan="4">
|
||||
<label>微生物</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_micrb or ''}}">
|
||||
<label>血清</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_serum or ''}}">
|
||||
<label>血液</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_blood or ''}}">
|
||||
<label>病理</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_patho or ''}}">
|
||||
<label>寄生虫</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_paras or ''}}">
|
||||
<label>生化</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_biochem or ''}}">
|
||||
<label>RI</label>
|
||||
<input class="trtTextbox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.insp_item_ri or ''}}">
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table class="instInfoTableHalf2">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="hpInfoColumn">特務医務室</td>
|
||||
<td class="instData xSmallTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.dcf_prnt_inst_cd or ''}}" class="xSmallTextbox"></td>
|
||||
<td rowspan="2" class="hpInfoColumn">許可病床数</td>
|
||||
<td class="instData bedTd" rowspan="2">
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>一般</td>
|
||||
<td>療養</td>
|
||||
<td>精神</td>
|
||||
<td>感染症</td>
|
||||
<td>結核</td>
|
||||
<td>その他</td>
|
||||
<td>合計</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_gen or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_rcup or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_mental or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_infection or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_tuber or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_other or ''}}"></td>
|
||||
<td><input class="bedTextbox numberBox" type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_num_sum or ''}}"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
<td class="instData" colspan="2"><input type="checkbox" disabled="disabled" {{ultmarc.is_checked_ward_abolish_flg()}}>病棟閉鎖 <input type="checkbox" disabled="disabled" {{ultmarc.is_checked_ward_abolish_flg_part()}}>一部病棟閉鎖</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="hpInfoColumn">病床数(定員)</td>
|
||||
<td class="instData"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.bed_num or ''}}" class="xSmallTextbox numberBox"></td>
|
||||
<td class="hpInfoColumn">メンテ年月日</td>
|
||||
<td class="instData xSmallTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.prmit_bed_maint_ymd or ''}}" class="repreTextbox"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- 施設代表者 -->
|
||||
<table class="instInfoTable">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="instInfoColumn">代表者個人コード</td>
|
||||
<td class="instData repreTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_repre_cd or ''}}" class="repreTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">施設代表者(カナ)</td>
|
||||
<td class="instData repreTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_repre_kana or ''}}" class="repreTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">施設代表者(漢字)</td>
|
||||
<td class="instData repreTd"><input type="text" readonly="readonly" value="{{ultmarc.inst_info_data.inst_repre or ''}}" class="repreTextbox"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="instInfoColumn">修正年月日</td>
|
||||
<td class="instData repreTd"><input type="text" readonly="readonly" value="{{ultmarc.is_input_sys_update_date()}}" class="repreTextbox"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
@ -6,183 +6,189 @@
|
||||
{% endwith %}
|
||||
<link rel="stylesheet" href="/static/css/ultStyle.css">
|
||||
|
||||
<script type="text/javascript">
|
||||
window.onload = function(){
|
||||
<script type="text/javascript">
|
||||
window.onload = function(){
|
||||
// 見出し固定初期化
|
||||
FixedMidashi.create();
|
||||
// ボタン、テキストボックス初期化
|
||||
formBtDisabled();
|
||||
}
|
||||
</script>
|
||||
// Enter押下時にsubmitさせなくする
|
||||
$(function() {
|
||||
$(document).on("keypress", "input:not(.allow_submit)", function(event) {
|
||||
return event.which !== 13;
|
||||
});
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<!--検索フォーム-->
|
||||
<body>
|
||||
<!-- タイトルと上部ボタン -->
|
||||
<table class="instSearchHeaderTable">
|
||||
<tr>
|
||||
<td class="instSearchHeaderTd"><h1>{{ultmarc.subtitle}}</h1></td>
|
||||
<td class="instSearchHeaderTdCenter instSearchHeaderTdCenter">
|
||||
<!-- タイトルと上部ボタン -->
|
||||
<table class="instSearchHeaderTable">
|
||||
<tr>
|
||||
<td class="instSearchHeaderTd"><h1>{{ultmarc.subtitle}}</h1></td>
|
||||
<td class="instSearchHeaderTdCenter instSearchHeaderTdCenter">
|
||||
{% if ultmarc.is_batch_processing %}
|
||||
<div class="docButchMsg">日次バッチ処理中のため、データが正しく表示されない可能性があります</div>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="instSearchHeaderTd instSearchHeaderTdRight"><button class="instSearchHeader_bt" onclick="backToMenu()">メニューへ</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- 入力フォーム -->
|
||||
<form id="inst_search" class="_form" name="search" action="/ultmarc/instSearch" method="POST">
|
||||
<table class="search_table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>ULT施設コード:</td>
|
||||
<td class="search_tb leftSearch_tb">
|
||||
<input class="text search_textbox" style="ime-mode:disabled;" type="text" name="ctrl_dcf_dsf_inst_cd"
|
||||
</td>
|
||||
<td class="instSearchHeaderTd instSearchHeaderTdRight"><button class="instSearchHeader_bt" onclick="backToMenu()">メニューへ</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- 入力フォーム -->
|
||||
<form id="inst_search" class="_form" name="search" action="/ultmarc/instSearch" method="POST">
|
||||
<table class="search_table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>ULT施設コード:</td>
|
||||
<td class="search_tb leftSearch_tb">
|
||||
<input class="text search_textbox" style="ime-mode:disabled;" type="text" name="ctrl_dcf_dsf_inst_cd"
|
||||
value="{{ultmarc.is_input_dcf_dsf_inst_cd()}}" maxlength='11' oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td>施設区分:</td>
|
||||
<td class="search_tb">
|
||||
<!-- 施設区分のドロップダウン -->
|
||||
<select class="text search_dropdown" name="ctrl_inst_div_cd" onchange="formBtDisabled()">
|
||||
<option value=""></option>
|
||||
</td>
|
||||
<td>施設区分:</td>
|
||||
<td class="search_tb">
|
||||
<!-- 施設区分のドロップダウン -->
|
||||
<select class="text search_dropdown" name="ctrl_inst_div_cd" onchange="formBtDisabled()">
|
||||
<option value=""></option>
|
||||
{% for inst_div in ultmarc.inst_div_models %}
|
||||
<option value="{{inst_div['inst_div_cd']}}" {{ultmarc.is_selected_inst_div_cd(inst_div['inst_div_cd'])}}>
|
||||
{{inst_div['inst_div_cd']}}:{{inst_div['inst_div_name']}}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ULT施設名(漢字):</td>
|
||||
<td class="search_tb">
|
||||
<input class="text search_textbox" type="text" name="ctrl_form_inst_name_kanji"
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ULT施設名(漢字):</td>
|
||||
<td class="search_tb">
|
||||
<input class="text search_textbox" type="text" name="ctrl_form_inst_name_kanji"
|
||||
value="{{ultmarc.is_input_form_inst_name_kanji()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
<!-- アルトマーク課題管理表No.8の修正 (カナ)⇒(かな・カナ)-->
|
||||
<td>ULT施設名(かな・カナ):</td>
|
||||
<td class="search_tb">
|
||||
<input class="text search_textbox" type="text" name="ctrl_form_inst_name_kana"
|
||||
</td>
|
||||
<!-- アルトマーク課題管理表No.8の修正 (カナ)⇒(かな・カナ)-->
|
||||
<td>ULT施設名(かな・カナ):</td>
|
||||
<td class="search_tb">
|
||||
<input class="text search_textbox" type="text" name="ctrl_form_inst_name_kana"
|
||||
value="{{ultmarc.is_input_form_inst_name_kana()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>郵便番号:</td>
|
||||
<td class="search_tb"><input class="text search_textbox" style="ime-mode:disabled;" type="text" name="ctrl_postal_number"
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>郵便番号:</td>
|
||||
<td class="search_tb"><input class="text search_textbox" style="ime-mode:disabled;" type="text" name="ctrl_postal_number"
|
||||
value="{{ultmarc.is_input_postal_number()}}" maxlength='8' oninput="formBtDisabled()">
|
||||
<td>電話番号:</td>
|
||||
<td class="search_tb"><input class="text search_textbox" style="ime-mode:disabled;" type="text" name="ctrl_inst_phone_number"
|
||||
<td>電話番号:</td>
|
||||
<td class="search_tb"><input class="text search_textbox" style="ime-mode:disabled;" type="text" name="ctrl_inst_phone_number"
|
||||
value="{{ultmarc.is_input_inst_phone_number()}}" maxlength='15' oninput="formBtDisabled()">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>都道府県:</td>
|
||||
<td class="search_tb">
|
||||
<!-- 都道府県のドロップダウン -->
|
||||
<select class="text search_dropdown" name="ctrl_prefc_cd" onchange="formBtDisabled()" onkeyup="formBtDisablead()">
|
||||
<!-- 都道府県ドロップダウンの中身を作成 -->
|
||||
<option value=""></option>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>都道府県:</td>
|
||||
<td class="search_tb">
|
||||
<!-- 都道府県のドロップダウン -->
|
||||
<select class="text search_dropdown" name="ctrl_prefc_cd" onchange="formBtDisabled()" onkeyup="formBtDisablead()">
|
||||
<!-- 都道府県ドロップダウンの中身を作成 -->
|
||||
<option value=""></option>
|
||||
{% for prefc in ultmarc.prefc_models %}
|
||||
<option
|
||||
value="{{prefc['prefc_cd']}}" {{ultmarc.is_selected_prefc_cd(prefc['prefc_cd'])}}>
|
||||
{{prefc['prefc_name']}}
|
||||
</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<label><input type="checkbox" name="delFlg_ctrl" value="true"
|
||||
{{ultmarc.is_checked_delFlg()}}> 削除施設表示</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ULT施設住所:</td>
|
||||
<td class="search_tb">
|
||||
<input class="text search_textbox" type="text" name="ctrl_inst_addr"
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<label><input type="checkbox" name="delFlg_ctrl" value="true"
|
||||
{{ultmarc.is_checked_delFlg()}}> 削除施設表示</label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>ULT施設住所:</td>
|
||||
<td class="search_tb">
|
||||
<input class="text search_textbox" type="text" name="ctrl_inst_addr"
|
||||
value="{{ultmarc.is_input_inst_addr()}}" oninput="formBtDisabled()">
|
||||
</td>
|
||||
<td class="search_btTd" colspan="2">
|
||||
<input class="text ult_bt search_bt" id="clear" type="button" name="clear_bt" value="クリア" onclick="clr()" >
|
||||
<input class="ult_bt search_bt" id="search_bt" name="search_bt" value="検索" type="submit" >
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
</td>
|
||||
<td class="search_btTd" colspan="2">
|
||||
<input class="text ult_bt search_bt" id="clear" type="button" name="clear_bt" value="クリア" onclick="clr()" >
|
||||
<input class="ult_bt search_bt" id="search_bt" name="search_bt" value="検索" type="submit" >
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</form>
|
||||
|
||||
<!--検索結果-->
|
||||
<form class="_form" name="result" action="/ultmarc/instInfo" method="POST" onsubmit="CheckBoxListProcessing()">
|
||||
<input type="button" name="allon" onclick="allOn(); resultBtDisablead()" value="全選択" class="ult_bt allOnOffButton" {{ultmarc.disabled_button()}}>
|
||||
<input type="button" name="alloff" onclick="allOff(); resultBtDisablead()" value="全解除" class="ult_bt allOnOffButton" {{ultmarc.disabled_button()}}>
|
||||
<input type="hidden" name="inst_id" id="inst_id" value="">
|
||||
<input type="hidden" name="page_num" value="0">
|
||||
<!--検索結果-->
|
||||
<form class="_form" name="result" action="/ultmarc/instInfo" method="POST" onsubmit="CheckBoxListProcessing()">
|
||||
<input type="button" name="allon" onclick="allOn(); resultBtDisabled()" value="全選択" class="ult_bt allOnOffButton" {{ultmarc.disabled_button()}}>
|
||||
<input type="button" name="alloff" onclick="allOff(); resultBtDisabled()" value="全解除" class="ult_bt allOnOffButton" {{ultmarc.disabled_button()}}>
|
||||
<input type="hidden" name="inst_id" id="inst_id" value="">
|
||||
<input type="hidden" name="page_num" value="0">
|
||||
|
||||
<!--検索件数-->
|
||||
<!--ページネーション-->
|
||||
<div id="light-pagination" class="pagination"></div>
|
||||
<!--検索結果表示テーブル-->
|
||||
<div class="scroll_table">
|
||||
<table class="tablesorter instSearchResult" _fixedhead="rows:1; cols:1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>ULT施設コード</th>
|
||||
<th>削除</th>
|
||||
<th>ULT施設名(漢字)</th>
|
||||
<th>ULT施設住所(漢字)</th>
|
||||
<th>郵便番号</th>
|
||||
<th>施設電話番号</th>
|
||||
<th>施設区分名</th>
|
||||
<th>病院種別</th>
|
||||
<th>都道府県</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="result_data" class="result_data"></tbody>
|
||||
</table>
|
||||
{% if ultmarc.is_form_submitted() and ultmarc.is_data_overflow_max_length() %}
|
||||
<div class="notFind">
|
||||
検索件数が500件を超えています 検索項目を見直してください
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if ultmarc.is_form_submitted() and ultmarc.is_data_empty() %}
|
||||
<div class="notFind">
|
||||
対象のデータが存在しません
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<!--検索件数-->
|
||||
<!--ページネーション-->
|
||||
<div id="light-pagination" class="pagination"></div>
|
||||
<!--検索結果表示テーブル-->
|
||||
<div class="scroll_table">
|
||||
<table class="tablesorter instSearchResult" _fixedhead="rows:1; cols:1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>ULT施設コード</th>
|
||||
<th>削除</th>
|
||||
<th>ULT施設名(漢字)</th>
|
||||
<th>ULT施設住所(漢字)</th>
|
||||
<th>郵便番号</th>
|
||||
<th>施設電話番号</th>
|
||||
<th>施設区分名</th>
|
||||
<th>病院種別</th>
|
||||
<th>都道府県</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="result_data" class="result_data"></tbody>
|
||||
</table>
|
||||
{% if ultmarc.is_form_submitted() and ultmarc.is_data_overflow_max_length() %}
|
||||
<div class="notFind">
|
||||
検索件数が500件を超えています 検索項目を見直してください
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if ultmarc.is_form_submitted() and ultmarc.is_data_empty() %}
|
||||
<div class="notFind">
|
||||
対象のデータが存在しません
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<!--操作ボタン-->
|
||||
<input class="ult_bt info_bt" type="submit" name="detail" value="施設情報" disabled>
|
||||
</form>
|
||||
<!--操作ボタン-->
|
||||
<input class="ult_bt info_bt" type="submit" name="detail" value="施設情報" disabled>
|
||||
</form>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script type="text/javascript">
|
||||
// <! --ページネーションの作成-- >
|
||||
$(function() {
|
||||
|
||||
let searchResultData = [];
|
||||
// {% if not ultmarc.is_data_overflow_max_length() and not ultmarc.is_data_empty() %}
|
||||
// スピナー出さない場合は以下、エスケープせず埋め込む
|
||||
// {% autoescape False%}
|
||||
const searchResultString = '{{ultmarc.ultmarc_data_json_str()}}';
|
||||
// {% endautoescape%}
|
||||
searchResultData = JSON.parse(searchResultString);
|
||||
// {% endif %}
|
||||
let searchResultData = [];
|
||||
// {% if not ultmarc.is_data_overflow_max_length() and not ultmarc.is_data_empty() %}
|
||||
// スピナー出さない場合は以下、エスケープせず埋め込む
|
||||
// {% autoescape False%}
|
||||
const searchResultString = '{{ultmarc.ultmarc_data_json_str()}}';
|
||||
// {% endautoescape%}
|
||||
searchResultData = JSON.parse(searchResultString);
|
||||
// {% endif %}
|
||||
|
||||
|
||||
// 検索条件をセッションに入れる
|
||||
sessionStorage.clear();
|
||||
sessionStorage.setItem('ctrl_dcf_dsf_inst_cd','{{ultmarc.is_input_dcf_dsf_inst_cd()}}');
|
||||
sessionStorage.setItem('ctrl_inst_div_cd','{{ultmarc.is_input_form_inst_div_cd()}}');
|
||||
sessionStorage.setItem('ctrl_form_inst_name_kanji','{{ultmarc.is_input_form_inst_name_kanji()}}');
|
||||
sessionStorage.setItem('ctrl_form_inst_name_kana','{{ultmarc.is_input_form_inst_name_kana()}}');
|
||||
sessionStorage.setItem('ctrl_postal_number','{{ultmarc.is_input_postal_number()}}');
|
||||
sessionStorage.setItem('ctrl_inst_phone_number','{{ultmarc.is_input_inst_phone_number()}}');
|
||||
sessionStorage.setItem('ctrl_prefc_cd','{{ultmarc.is_input_form_prefc_cd()}}');
|
||||
sessionStorage.setItem('delFlg_ctrl','{{ultmarc.is_input_delFlg()}}');
|
||||
sessionStorage.setItem('ctrl_inst_addr','{{ultmarc.is_input_inst_addr()}}');
|
||||
// 検索条件をセッションに入れる
|
||||
sessionStorage.clear();
|
||||
sessionStorage.setItem('ctrl_dcf_dsf_inst_cd','{{ultmarc.is_input_dcf_dsf_inst_cd()}}');
|
||||
sessionStorage.setItem('ctrl_inst_div_cd','{{ultmarc.is_input_form_inst_div_cd()}}');
|
||||
sessionStorage.setItem('ctrl_form_inst_name_kanji','{{ultmarc.is_input_form_inst_name_kanji()}}');
|
||||
sessionStorage.setItem('ctrl_form_inst_name_kana','{{ultmarc.is_input_form_inst_name_kana()}}');
|
||||
sessionStorage.setItem('ctrl_postal_number','{{ultmarc.is_input_postal_number()}}');
|
||||
sessionStorage.setItem('ctrl_inst_phone_number','{{ultmarc.is_input_inst_phone_number()}}');
|
||||
sessionStorage.setItem('ctrl_prefc_cd','{{ultmarc.is_input_form_prefc_cd()}}');
|
||||
sessionStorage.setItem('delFlg_ctrl','{{ultmarc.is_input_delFlg()}}');
|
||||
sessionStorage.setItem('ctrl_inst_addr','{{ultmarc.is_input_inst_addr()}}');
|
||||
|
||||
// ページネーションのページ番号取得
|
||||
let pagination_page_number = Number('{{ultmarc.init_pagination_page_number()}}');
|
||||
// ページネーションのページ番号取得
|
||||
let pagination_page_number = Number('{{ultmarc.init_pagination_page_number()}}');
|
||||
|
||||
$(".pagination").pagination({
|
||||
dataSource: function(done) {
|
||||
@ -197,7 +203,7 @@
|
||||
showNavigator: true,
|
||||
formatNavigator: '件数: <%= totalNumber %>件 ページ数: <%= totalPage %>',
|
||||
callback: function(data, pagination) {
|
||||
sessionStorage.setItem('pagination_page_number',pagination.pageNumber);
|
||||
sessionStorage.setItem('pagination_page_number',pagination.pageNumber);
|
||||
$('#result_data').html(pagination_content(data))
|
||||
}
|
||||
})
|
||||
@ -205,60 +211,60 @@
|
||||
|
||||
function pagination_content(datas) {
|
||||
const display_keys = [
|
||||
'dcf_dsf_inst_cd',
|
||||
'abolish_ymd',
|
||||
'form_inst_name_kanji',
|
||||
'inst_addr',
|
||||
'postal_number',
|
||||
'inst_phone_number',
|
||||
'inst_div_name',
|
||||
'hp_assrt_name',
|
||||
'prefc_name'
|
||||
'dcf_dsf_inst_cd',
|
||||
'abolish_ymd',
|
||||
'form_inst_name_kanji',
|
||||
'inst_addr',
|
||||
'postal_number',
|
||||
'inst_phone_number',
|
||||
'inst_div_name',
|
||||
'hp_assrt_name',
|
||||
'prefc_name'
|
||||
];
|
||||
|
||||
return datas.map(function (data) {
|
||||
let td = display_keys.map((key) =>{
|
||||
let inner_content = data[key];
|
||||
if(key=='dcf_dsf_inst_cd')
|
||||
inner_content = `<a href="/ultmarc/instInfo?id=${data['dcf_dsf_inst_cd']}">${data['dcf_dsf_inst_cd'] || ''}</a>`;
|
||||
if(key=='abolish_ymd' && data[key] != null)
|
||||
inner_content = '削除';
|
||||
return `<td>${inner_content || ''}</td>`
|
||||
});
|
||||
return `
|
||||
<tr class="result_data">
|
||||
<td><div class="checkNum">
|
||||
<input type="checkbox" class="checkbox selected" name="data" onclick="resultBtDisablead()"
|
||||
value=${data['dcf_dsf_inst_cd']}>
|
||||
</div></td>
|
||||
${td}
|
||||
</tr>
|
||||
`
|
||||
})
|
||||
}
|
||||
return datas.map(function (data) {
|
||||
let td = display_keys.map((key) =>{
|
||||
let inner_content = data[key];
|
||||
if(key=='dcf_dsf_inst_cd')
|
||||
inner_content = `<a href="/ultmarc/instInfo?id=${data['dcf_dsf_inst_cd']}">${data['dcf_dsf_inst_cd'] || ''}</a>`;
|
||||
if(key=='abolish_ymd' && data[key] != null)
|
||||
inner_content = '削除';
|
||||
return `<td>${inner_content || ''}</td>`
|
||||
});
|
||||
return `
|
||||
<tr class="result_data">
|
||||
<td><div class="checkNum">
|
||||
<input type="checkbox" class="checkbox selected" name="data" onclick="resultBtDisabled()"
|
||||
value=${data['dcf_dsf_inst_cd']}>
|
||||
</div></td>
|
||||
${td}
|
||||
</tr>
|
||||
`
|
||||
})
|
||||
}
|
||||
|
||||
// チェックボックスのチェックされている場合、施設情報ボタンを活性化させる
|
||||
function resultBtDisablead(){
|
||||
var checkboxes = $('input[name="data"]:checked').length;
|
||||
if(checkboxes == 0) {
|
||||
$(".info_bt").prop('disabled',true);
|
||||
}
|
||||
else {
|
||||
$(".info_bt").prop('disabled',false);
|
||||
}
|
||||
}
|
||||
// チェックボックスのチェックされている場合、施設情報ボタンを活性化させる
|
||||
function resultBtDisabled(){
|
||||
var checkboxes = $('input[name="data"]:checked').length;
|
||||
if(checkboxes == 0) {
|
||||
$(".info_bt").prop('disabled',true);
|
||||
}
|
||||
else {
|
||||
$(".info_bt").prop('disabled',false);
|
||||
}
|
||||
}
|
||||
|
||||
// // 検索結果のうち、チェックされている行のデータを非表示項目に詰め込む
|
||||
function CheckBoxListProcessing()
|
||||
{
|
||||
let vals = []; // 配列を定義
|
||||
$('input[name="data"]:checked').each(function() {
|
||||
vals.push( $(this).val() ); // 配列に値を追加
|
||||
});
|
||||
$("#inst_id").val(vals.join(','));
|
||||
}
|
||||
// 検索結果のうち、チェックされている行のデータを非表示項目に詰め込む
|
||||
function CheckBoxListProcessing()
|
||||
{
|
||||
let vals = []; // 配列を定義
|
||||
$('input[name="data"]:checked').each(function() {
|
||||
vals.push( $(this).val() ); // 配列に値を追加
|
||||
});
|
||||
$("#inst_id").val(vals.join(','));
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user