123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMQK00322" position="absolute 0 0 1196 765" titletext="지표관리목록조회" oninit="SMMQK00322_oninit" onload="SMMQK00322_onload">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 94 1195 764" id="grd_list" class="datagrid2" binddataset="ds_main_list_row" onmousemove="grd_list_onmousemove" onheadclick="grd_list_onheadclick" oncelldblclick="grd_list_oncelldblclick" taborder="1" cellsizebandtype="allband" cellsizingtype="col" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="60" band="left"/>
- <Column size="60" band="left"/>
- <Column size="380" band="left"/>
- <Column size="70" band="left"/>
- <Column size="78" band="left"/>
- <Column size="85" band="left"/>
- <Column size="90" band="left"/>
- <Column size="50" band="left"/>
- <Column size="50" band="left"/>
- <Column size="45" band="left"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="40"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="108"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="60"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="60"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="접수번호"/>
- <Cell col="2" text="지표번호"/>
- <Cell col="3" text="지표명"/>
- <Cell col="4" text="인증기준"/>
- <Cell col="5" text="영역"/>
- <Cell col="6" text="유형"/>
- <Cell col="7" text="부서명"/>
- <Cell col="8" text="부서장"/>
- <Cell col="9" text="담당자"/>
- <Cell col="10" text="연락처"/>
- <Cell col="11" text="지표설명"/>
- <Cell col="12" text="산출식_분자"/>
- <Cell col="13" text="산출식_분모"/>
- <Cell col="14" text="제외조건"/>
- <Cell col="15" text="선정배경 및 근거"/>
- <Cell col="16" text="목표값"/>
- <Cell col="17" text="이상/이하"/>
- <Cell col="18" text="설정근거"/>
- <Cell col="19" text="수집방법"/>
- <Cell col="20" text="자료수집"/>
- <Cell col="21" text="자료출처"/>
- <Cell col="22" text="산출주기"/>
- <Cell col="23" text="공유부서"/>
- <Cell col="24" text="비고"/>
- <Cell col="25" text="1분기 원인분석"/>
- <Cell col="26" text="1분기 개선활동"/>
- <Cell col="27" text="1분기 개선활동 효과평가"/>
- <Cell col="28" text="1분기 추후활동 계획"/>
- <Cell col="29" text="1분기결과"/>
- <Cell col="30" text="2분기 원인분석"/>
- <Cell col="31" text="2분기 개선활동"/>
- <Cell col="32" text="2분기 개선활동 효과평가"/>
- <Cell col="33" text="2분기 추후활동 계획"/>
- <Cell col="34" text="2분기 결과"/>
- <Cell col="35" text="3분기 원인분석"/>
- <Cell col="36" text="3분기 개선활동"/>
- <Cell col="37" text="3분기 개선활동 효과평가"/>
- <Cell col="38" text="3분기 추후활동 계획"/>
- <Cell col="39" text="3분기 결과"/>
- <Cell col="40" text="4분기 원인분석"/>
- <Cell col="41" text="4분기 개선활동"/>
- <Cell col="42" text="4분기 개선활동 효과평가"/>
- <Cell col="43" text="4분기 추후활동 계획"/>
- <Cell col="44" text="4분기 결과"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="expr:currow + 1"/>
- <Cell col="1" style="align:center middle;" text="bind:acptno"/>
- <Cell col="2" text="bind:acptindexno"/>
- <Cell col="3" style="align:left middle;" text="bind:subj"/>
- <Cell col="4" text="bind:certstd"/>
- <Cell col="5" displaytype="combo" style="align:left middle;" text="bind:idxarea" combodataset="ds_idxarea" combocodecol="value" combodatacol="label"/>
- <Cell col="6" displaytype="combo" style="align:left middle;" text="bind:idxtype" combodataset="ds_idxtype" combocodecol="value" combodatacol="label"/>
- <Cell col="7" style="align:left middle;" text="bind:majrdeptnm"/>
- <Cell col="8" style="align:center middle;" text="bind:chfhngnm"/>
- <Cell col="9" style="align:center middle;" text="bind:staffhngnm"/>
- <Cell col="10" text="bind:staffcntctel"/>
- <Cell col="11" style="align:left middle;" text="bind:idxdesc"/>
- <Cell col="12" style="align:left middle;" text="bind:idxcalcuno"/>
- <Cell col="13" style="align:left middle;" text="bind:idxcalcudeno"/>
- <Cell col="14" style="align:left middle;" text="bind:idxexcpcond"/>
- <Cell col="15" style="align:left middle;" text="bind:idxselbck"/>
- <Cell col="16" style="align:center;" text="bind:trgtvlue"/>
- <Cell col="17" displaytype="combo" style="align:center;" text="bind:trgtgrde" combodataset="ds_trgtgrde" combocodecol="value" combodatacol="label"/>
- <Cell col="18" style="align:left middle;" text="bind:trgtsetnm"/>
- <Cell col="19" displaytype="combo" style="align:left middle;" text="bind:dataclctmeth" combodataset="ds_dataclctmeth" combocodecol="value" combodatacol="label"/>
- <Cell col="20" style="align:left middle;" text="bind:dataclctnm"/>
- <Cell col="21" style="align:left middle;" text="bind:datasrc"/>
- <Cell col="22" style="align:left middle;" text="bind:datacalcprdnm"/>
- <Cell col="23" style="align:left middle;" text="bind:rsltshadeptnm"/>
- <Cell col="24" style="align:left middle;" text="bind:bigo"/>
- <Cell col="25" displaytype="text" text="bind:bigo11"/>
- <Cell col="26" displaytype="text" text="bind:impact_1"/>
- <Cell col="27" displaytype="text" text="bind:bigo13"/>
- <Cell col="28" displaytype="text" style="align:left;" text="bind:bigo14"/>
- <Cell col="29" text="bind:idx03_1"/>
- <Cell col="30" displaytype="text" text="bind:bigo21"/>
- <Cell col="31" displaytype="text" text="bind:impact_2"/>
- <Cell col="32" displaytype="text" text="bind:bigo23"/>
- <Cell col="33" displaytype="text" style="align:left;" text="bind:bigo24"/>
- <Cell col="34" text="bind:idx03_2"/>
- <Cell col="35" displaytype="text" text="bind:bigo31"/>
- <Cell col="36" displaytype="text" text="bind:impact_3"/>
- <Cell col="37" displaytype="text" text="bind:bigo33"/>
- <Cell col="38" displaytype="text" style="align:left;" text="bind:bigo34"/>
- <Cell col="39" text="bind:idx03_3"/>
- <Cell col="40" displaytype="text" text="bind:bigo41"/>
- <Cell col="41" displaytype="text" text="bind:impact_4"/>
- <Cell col="42" displaytype="text" text="bind:bigo43"/>
- <Cell col="43" displaytype="text" style="align:left;" text="bind:bigo44"/>
- <Cell col="44" text="bind:idx03_4"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Div id="grp_sea" anchor="left top right" taborder="0" style="align:center top;" class="div_SA" position="absolute 0 25 1195 65">
- <Layouts>
- <Layout width="1188" height="67">
- <Static id="caption8" text="등록일자 :" class="search_name" position="absolute 12 12 83 29" anchor="default" onclick="grp_sea_caption8_onclick"/>
- <Static id="caption7" text="~" class="search_no_b" position="absolute 174 11 186 28" anchor="default"/>
- <Static id="caption2" text="주무부서 :" class="search_name" position="absolute 301 12 372 29" anchor="default"/>
- <Calendar id="ipt_fromdd" taborder="0" autoselect="true" class="input_search" position="absolute 87 10 172 29" anchor="default"/>
- <Calendar id="ipt_todd" taborder="1" autoselect="true" class="input_search" position="absolute 187 10 272 29" anchor="default"/>
- <Shape id="line2" linetype="vertical" position="absolute 1053 9 1059 32" anchor="right"/>
- <Button id="btn_search" taborder="3" text="조회" onclick="group3_grp_sea_btn_search_onclick" class="btn1" position="absolute 1068 9 1124 31" anchor="right"/>
- <Edit id="ipt_deptnm" taborder="2" position="absolute 376 10 526 29" anchor="default"/>
- <Button id="btn_excel" taborder="4" text="엑셀" onclick="group3_btn_excel_onclick" class="btn7" position="absolute 1132 9 1184 31" anchor="right"/>
- <Button id="btn_delt" taborder="5" text="삭제" class="btn4" visible="false" position="absolute 987 10 1043 30" anchor="right" onclick="grp_sea_btn_delt_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="caption6" text="지표관리목록조회" class="tit_1" position="absolute 0 0 140 25"/>
- <Static id="caption11" text="지표관리목록조회" class="tit_2" position="absolute 0 73 189 92" wordwrap="both"/>
- <Shape id="line1" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_list_row" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptno" type="STRING" size="256"/>
- <Column id="prcsstagecd" type="STRING" size="256"/>
- <Column id="subj" type="STRING" size="256"/>
- <Column id="acptindexno" type="STRING" size="256"/>
- <Column id="certstd" type="STRING" size="256"/>
- <Column id="idxarea" type="STRING" size="256"/>
- <Column id="idxtype" type="STRING" size="256"/>
- <Column id="idxdesc" type="STRING" size="256"/>
- <Column id="idxcalcuno" type="STRING" size="256"/>
- <Column id="idxcalcudeno" type="STRING" size="256"/>
- <Column id="idxexcpcond" type="STRING" size="256"/>
- <Column id="idxselbck" type="STRING" size="256"/>
- <Column id="trgtvlue" type="STRING" size="256"/>
- <Column id="trgtgrde" type="STRING" size="256"/>
- <Column id="trgtset" type="STRING" size="256"/>
- <Column id="dataclctmeth" type="STRING" size="256"/>
- <Column id="dataclct" type="STRING" size="256"/>
- <Column id="dataclctdesc" type="STRING" size="256"/>
- <Column id="datasrc" type="STRING" size="256"/>
- <Column id="dataproc" type="STRING" size="256"/>
- <Column id="datacalcprd" type="STRING" size="256"/>
- <Column id="datacalcprddesc" type="STRING" size="256"/>
- <Column id="rsltshadept" type="STRING" size="256"/>
- <Column id="rsltshadeptdesc" type="STRING" size="256"/>
- <Column id="bigo" type="STRING" size="256"/>
- <Column id="majrdeptnm" type="STRING" size="256"/>
- <Column id="majrdeptcd" type="STRING" size="256"/>
- <Column id="chfid" type="STRING" size="256"/>
- <Column id="chfhngnm" type="STRING" size="256"/>
- <Column id="staffid" type="STRING" size="256"/>
- <Column id="staffhngnm" type="STRING" size="256"/>
- <Column id="staffcntctel" type="STRING" size="256"/>
- <Column id="dataclctnm" type="STRING" size="256"/>
- <Column id="trgtsetnm" type="STRING" size="256"/>
- <Column id="datacalcprdnm" type="STRING" size="256"/>
- <Column id="rsltshadeptnm" type="STRING" size="256"/>
- <Column id="idx03_1" type="STRING" size="256"/>
- <Column id="impact_1" type="STRING" size="256"/>
- <Column id="idx03_2" type="STRING" size="256"/>
- <Column id="impact_2" type="STRING" size="256"/>
- <Column id="idx03_3" type="STRING" size="256"/>
- <Column id="impact_3" type="STRING" size="256"/>
- <Column id="idx03_4" type="STRING" size="256"/>
- <Column id="impact_4" type="STRING" size="256"/>
- <Column id="bigo11" type="STRING" size="256"/>
- <Column id="bigo12" type="STRING" size="256"/>
- <Column id="bigo13" type="STRING" size="256"/>
- <Column id="bigo14" type="STRING" size="256"/>
- <Column id="bigo21" type="STRING" size="256"/>
- <Column id="bigo22" type="STRING" size="256"/>
- <Column id="bigo23" type="STRING" size="256"/>
- <Column id="bigo24" type="STRING" size="256"/>
- <Column id="bigo31" type="STRING" size="256"/>
- <Column id="bigo32" type="STRING" size="256"/>
- <Column id="bigo33" type="STRING" size="256"/>
- <Column id="bigo34" type="STRING" size="256"/>
- <Column id="bigo41" type="STRING" size="256"/>
- <Column id="bigo42" type="STRING" size="256"/>
- <Column id="bigo43" type="STRING" size="256"/>
- <Column id="bigo44" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="acptno"/>
- <Col id="prcsstagecd"/>
- <Col id="subj"/>
- <Col id="acptindexno"/>
- <Col id="certstd"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="fromdd" type="STRING" size="256"/>
- <Column id="todd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="userAuth" type="STRING" size="256"/>
- <Column id="auth" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="fromdd"/>
- <Col id="todd"/>
- <Col id="deptnm"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_idxarea" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">환자안전영역</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">질환영역</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">진료영역</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">관리영역</Col>
- <Col id="value">4</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_idxtype" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">Structure(구조)</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">Process(과정)</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">Outcome(결과)</Col>
- <Col id="value">3</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_trgtgrde" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">이상</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">이하</Col>
- <Col id="value">2</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_dataclctmeth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="value">1</Col>
- <Col id="label">후향적수집(Retrospective)</Col>
- </Row>
- <Row>
- <Col id="value">2</Col>
- <Col id="label">동시수집(Concurrent)</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_cond" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="acptno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_cnt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_sea.ipt_fromdd" propid="value" datasetid="ds_send_cond" columnid="fromdd"/>
- <BindItem id="item1" compid="grp_sea.ipt_todd" propid="value" datasetid="ds_send_cond" columnid="todd"/>
- <BindItem id="item2" compid="grp_sea.ipt_deptnm" propid="value" datasetid="ds_send_cond" columnid="deptnm"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2018-01-08
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2018-01-08 최초개발
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_qixp::SMMQK00100.xjs";
- var arErrorCode = new HashArray();
- function SMMQK00322_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMMQK00322_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- }
- function fInitialize(){
-
- grp_sea.ipt_fromdd.value = utlf_getCurrentDate().substring(0,4).concat("0101");
- grp_sea.ipt_todd.value = utlf_getCurrentDate();
-
- // Grid 툴팁 세팅
- grdf_setToolTipBind(grd_list);
-
- //배포시 삭제
- //ds_send_cond.setColumn(0,"fromdd","20180101");
- //ds_send_cond.setColumn(0,"todd","20190101");
-
- var userAuth = fchkUser();
-
- if(userAuth == "Q"){
- grp_sea.btn_delt.visible = true;
- }else{
- grp_sea.btn_delt.visible = false;
- }
-
-
- ds_send_cond.setColumn(0,"userAuth","userAuth");
-
- fGetList();
- }
- /**
- * @---------------------------------------------------
- * @desc : Login User 권한 조회
- * @param :
- * @return : userAuth(사용자권한) U:사용자 Q:QI관리자 O:Other
- * @---------------------------------------------------
- */
- function fchkUser(){
- var userAuth = "";
- var loginID = sysf_getUserId();
- var rgstID = ds_main_cond.getColumn(0, "rgstrid");
- var chfID = ds_main_cond.getColumn(0, "chfid");
- var staffid = ds_main_cond.getColumn(0, "staffid");
-
- //테스트를위해 생성한 하드코딩
- var TestQI = "DEVB03";
-
-
- //Test 용
- //if(loginID == TestQI){
- // userAuth = "Q";
- //}
- //원래이거다 테스트를위해 막아놨음
- if(sysf_checkUserGroup("UGE_QIO") || sysf_checkUserGroup("UGE_QIT")){
- userAuth = "Q";
- }
- else if(loginID == rgstID || loginID == chfID || loginID == staffid){
- userAuth = "U";
- }
- else if(loginID != rgstID && loginID != chfID && loginID != staffid){
- userAuth = "O";
- }
-
- return userAuth;
- }
- function fGetList(){
- var auth = fchkUser();
- ds_send_cond.setColumn(0, "auth", auth);
- var oParam = {};
- oParam.id = "TRMQK00322";
- oParam.service = "qiapp.QiActivityMngt";
- oParam.method = "reqGetQIandIndicatorsActivityListNEW";
- oParam.inds = "req=ds_send_cond";
- oParam.outds = "ds_main_list_row=list";
- oParam.async = false;
- tranf_submit(oParam);
-
- var cnt = ds_main_list_row.rowcount;
-
- if(cnt > 0){
-
- var tmpDataclct = "";
- var tmpTrgtset = "";
- var tmpDatacalcprd = "";
- var tmpRsltshadept = "";
-
- for( var i=0 ; i<cnt ; i++ ){
-
- tmpDataclct = ds_main_list_row.getColumn(i, "dataclct");
- tmpTrgtset = ds_main_list_row.getColumn(i, "trgtset");
- tmpDatacalcprd = ds_main_list_row.getColumn(i, "datacalcprd");
- tmpRsltshadept = ds_main_list_row.getColumn(i, "rsltshadept");
-
- if(!utlf_isNull(tmpDataclct)){
- tmpDataclct = (tmpDataclct).setReplaceWord("01","EMR자료");
- tmpDataclct = (tmpDataclct).setReplaceWord("02","전산자료요청");
- tmpDataclct = (tmpDataclct).setReplaceWord("03","보고서자료");
- tmpDataclct = (tmpDataclct).setReplaceWord("04","관찰조사");
- tmpDataclct = (tmpDataclct).setReplaceWord("05","수기자료");
- tmpDataclct = (tmpDataclct).setReplaceWord("06","설문조사");
- tmpDataclct = (tmpDataclct).setReplaceWord("99","기타");
- ds_main_list_row.setColumn(i, "dataclctnm", tmpDataclct);
- }
-
- if(!utlf_isNull(tmpTrgtset)){
- tmpTrgtset = (tmpTrgtset).setReplaceWord("01","타기관자료");
- tmpTrgtset = (tmpTrgtset).setReplaceWord("02","과학적근거");
- tmpTrgtset = (tmpTrgtset).setReplaceWord("99","기타");
- ds_main_list_row.setColumn(i, "trgtsetnm", tmpTrgtset);
- }
-
- if(!utlf_isNull(tmpDatacalcprd)){
- tmpDatacalcprd = (tmpDatacalcprd).setReplaceWord("01","월별");
- tmpDatacalcprd = (tmpDatacalcprd).setReplaceWord("02","분기별");
- tmpDatacalcprd = (tmpDatacalcprd).setReplaceWord("03","반기별");
- tmpDatacalcprd = (tmpDatacalcprd).setReplaceWord("99","기타");
- ds_main_list_row.setColumn(i, "datacalcprdnm", tmpDatacalcprd);
- }
-
- if(!utlf_isNull(tmpRsltshadept)){
- tmpRsltshadept = (tmpRsltshadept).setReplaceWord("01","전부서");
- tmpRsltshadept = (tmpRsltshadept).setReplaceWord("02","행정부서");
- tmpRsltshadept = (tmpRsltshadept).setReplaceWord("03","간호부서");
- tmpRsltshadept = (tmpRsltshadept).setReplaceWord("04","약제부서");
- tmpRsltshadept = (tmpRsltshadept).setReplaceWord("05","임상각과");
- tmpRsltshadept = (tmpRsltshadept).setReplaceWord("99","기타");
- ds_main_list_row.setColumn(i, "rsltshadeptnm", tmpRsltshadept);
- }
-
- }
- }
- }
- function cf_TRMQK00320(sSvcId, nErrorCode, sErrorMsg) {
- if(nErrorCode < 0) return;
- }
- function group3_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetList();
- }
- function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_list, "지표관리목록_" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function grd_list_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- grdf_gridSort(grd_list,e);
- }
- function grd_list_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var acptno = ds_main_list_row.getColumn(ds_main_list_row.rowposition, "acptno");
-
- if ( !utlf_isNull(acptno) ) {
- frmf_setParameter("ano", acptno);
- }
-
- frmf_open("SMMQK00112", "SMMQK00112", null, null, 1, 10, 10, null, null, null, null, null, "M");
- }
- //자료 수집
- function lf_setDataclct(aClct){
- /*
- 01 : EMR자료수집
- 02 : 전산자료요청
- 03 : 보고서자료
- 04 : 관찰조사
- 05 : 수기자료
- 06 : 설문조사
- 07 : 기타
- */
-
- aClct = (aClct).setReplaceWord("01","EMR자료");
- aClct = (aClct).setReplaceWord("02","전산자료요청");
- aClct = (aClct).setReplaceWord("03","보고서자료");
- aClct = (aClct).setReplaceWord("04","관찰조사");
- aClct = (aClct).setReplaceWord("05","수기자료");
- aClct = (aClct).setReplaceWord("06","설문조사");
- aClct = (aClct).setReplaceWord("07","기타");
-
- return aClct;
- }
- function grp_sea_btn_delt_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_hidden_cond.setColumn(0,"acptno",ds_main_list_row.getColumn(ds_main_list_row.rowposition,"acptno"));
- if(utlf_isNull(ds_hidden_cond.getColumn(0,"acptno"))){
- sysf_messageBox("삭제할 항목을 선택하시기 바랍니다");
- return;
- }
- var rtnval = sysf_messageBox("삭제 하시겠습니까?","Q");
- if(rtnval == 6){ //예
- var oParam = {};
- oParam.id = "TXMQK00200";
- oParam.service = "qiapp.QiActivityMngt";
- oParam.method = "reqDelQiActivityPlanNEW";
- oParam.inds = "req=ds_hidden_cond attach=ds_send_cond_attach";
- oParam.outds = "ds_hidden_cnt=cnt";
- oParam.async = false;
- //oParam.callback = "cf_TXMQK00200";
- tranf_submit(oParam);
-
- fGetList();
- }
-
- }
- function grp_sea_caption8_onclick(obj:Static, e:ClickEventInfo)
- {
-
- }
- ]]></Script>
- </Form>
- </FDL>
|