123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMMQK00300" position="absolute 0 0 1198 761" titletext="QI활동 목록조회" oninit="SMMQK00300_oninit" onload="SMMQK00300_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 20 1195 764" id="group3" scrollbars="autoboth">
- <Layouts>
- <Layout>
- <Shape position="absolute -1 88 1193 94" linetype="horizontal" id="line1" class="line_10"/>
- <Div position="absolute 0 5 1194 60" align="align:center top;" id="grp_sea">
- <Layouts>
- <Layout>
- <Shape position="absolute 0 0 1194 51" id="roundrect1" type="roundrectangle"/>
- <Static text="등록일자" position="absolute 12 7 103 24" id="caption8" class="search_name"/>
- <Static text="~" position="absolute 188 8 200 25" id="caption7" class="search_no_b"/>
- <Static text="주무부서 :" position="absolute 291 7 380 24" id="caption2" class="search_name"/>
- <Shape position="absolute 709 5 715 46" linetype="vertical" id="line2"/>
- <Button position="absolute 720 12 776 34" id="btn_search" class="btn1" text="조회" onclick="group3_grp_sea_btn_search_onclick"/>
- <Combo position="absolute 360 29 505 48" id="cmb_dept" class="combo_search" visible="false" innerdataset="ds_init_cmb_dept" datacolumn="deptnm" codecolumn="deptcd"/>
- <Combo position="absolute 621 7 705 26" id="cmb_prizyn" class="combo_search" visible="false" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">-</Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">Y</Col>
- <Col id="datacolumn">YES</Col>
- </Row>
- <Row>
- <Col id="codecolumn">N</Col>
- <Col id="datacolumn">NO</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="우수사례 :" position="absolute 531 7 622 24" id="cap_prizyn" class="search_name" visible="false"/>
- <Button position="absolute 801 3 878 22" id="btn_plan" class="btn5" visible="false" text="계획서 양식" onclick="group3_grp_sea_btn_plan_onclick"/>
- <Button position="absolute 880 3 966 22" id="btn_first" class="btn5" visible="false" text="질지표정의서" onclick="group3_grp_sea_btn_first_onclick"/>
- <Button position="absolute 968 3 1087 22" id="btn_second" class="btn5" visible="false" text="질지표 분석 보고서" onclick="group3_grp_sea_btn_second_onclick"/>
- <Button position="absolute 1090 3 1190 22" id="btn_third" class="btn5" visible="false" text="중간활동 보고서" onclick="group3_grp_sea_btn_third_onclick"/>
- <Button position="absolute 801 25 878 44" id="btn_fourth" class="btn5" visible="false" text="중간 회의록" onclick="group3_grp_sea_btn_fourth_onclick"/>
- <Edit position="absolute 377 6 527 25" id="ipt_deptnm" autoselect="true"/>
- <Button position="absolute 880 25 955 44" id="btn_fifth" class="btn5" visible="false" text="최종보고서" onclick="group3_grp_sea_btn_fifth_onclick"/>
- <Button position="absolute 957 25 1087 44" id="btn_sixth" class="btn5" visible="false" text="질지표 분석 보고서2" onclick="group3_grp_sea_btn_sixth_onclick"/>
- <Button position="absolute 1091 25 1166 44" id="btn_seventh" class="btn5" visible="false" text="최종회의록" onclick="group3_grp_sea_btn_seventh_onclick"/>
- <Combo position="absolute 621 28 705 47" id="cmb_flag" class="combo_search" codecolumn="codecolumn" datacolumn="datacolumn">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">Q</Col>
- <Col id="datacolumn">QI</Col>
- </Row>
- <Row>
- <Col id="codecolumn">I</Col>
- <Col id="datacolumn">질지표</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- <Static text="QI&질지표 :" position="absolute 520 29 621 46" id="caption1" class="search_name"/>
- <Calendar id="ipt_fromdd" taborder="1" autoselect="true" autoskip="true" class="input_search" position="absolute 101 7 186 26"/>
- <Calendar id="ipt_todd" taborder="2" class="input_search" position="absolute 201 7 286 26" autoselect="true"/>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1127 64 1191 83" id="btn_excel" class="btn2" text="엑셀저장" onclick="group3_btn_excel_onclick"/>
- <Static text="QI활동목록" position="absolute 1 71 114 88" id="caption4" class="tit_2"/>
- <Button position="absolute 1033 64 1125 83" id="btn_prizyn" class="btn5" visible="false" text="포상유무 저장" onclick="group3_btn_prizyn_onclick"/>
- <Button position="absolute 989 64 1031 83" id="btn_hidden" class="btn2_letter2" visible="false" text="상태" onclick="group3_btn_hidden_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static text="QI활동목록조회" position="absolute 0 0 800 25" id="caption6" class="tit_1"/>
- <Grid position="absolute 0 113 1193 756" id="grd_list" class="datagrid2" binddataset="ds_main_list_row" oncellclick="grd_list_oncellclick" cellsizingtype="both">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="22"/>
- <Column size="61"/>
- <Column size="63"/>
- <Column size="320"/>
- <Column size="125"/>
- <Column size="51"/>
- <Column size="47"/>
- <Column size="82"/>
- <Column size="99"/>
- <Column size="131"/>
- <Column size="104"/>
- <Column size="82"/>
- <Column size="86"/>
- <Column size="105"/>
- <Column size="78"/>
- <Column size="75"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="130"/>
- </Columns>
- <Rows>
- <Row size="32" 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="질지표 분석보고서 3분기" wordwrap="char"/>
- <Cell col="14" text="최종회의록"/>
- <Cell col="15" text="구연발표"/>
- <Cell col="16" text="측정지표1"/>
- <Cell col="17" text="측정지표2"/>
- <Cell col="18" text="현재지표1"/>
- <Cell col="19" text="목표1"/>
- <Cell col="20" text="현재지표2"/>
- <Cell col="21" text="목표2"/>
- <Cell col="22" text="현재지표3"/>
- <Cell col="23" text="목표3"/>
- <Cell col="24" text="현재지표4"/>
- <Cell col="25" text="목표4"/>
- <Cell col="26" text="포상유무"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" expr="currow + 1"/>
- <Cell col="1" text="bind:acptno"/>
- <Cell col="2" text="bind:rgstrdd"/>
- <Cell col="3" style="align:left top;padding:6 2 0 2;" text="bind:subj" wordwrap="char"/>
- <Cell col="4" text="bind:chfdeptnm"/>
- <Cell col="5" text="bind:chfhngnm"/>
- <Cell col="6" text="bind:staffhngnm"/>
- <Cell col="7" style="color:blue;color2:blue;font:dotum,9, underline;" text="bind:prcsstat0"/>
- <Cell col="8" displaytype="text" edittype="text" style="color:blue;color2:blue;font:dotum,9, underline;" text="bind:prcsstat1"/>
- <Cell col="9" style="color:blue;color2:blue;font:dotum,9, underline;" text="bind:prcsstat2"/>
- <Cell col="10" style="color:blue;color2:blue;font:dotum,9, underline;" text="bind:prcsstat3"/>
- <Cell col="11" style="color:blue;color2:blue;font:dotum,9, underline;" text="bind:prcsstat4"/>
- <Cell col="12" style="color:blue;color2:blue;font:dotum,9, underline;" text="bind:prcsstat5"/>
- <Cell col="13" style="color:blue;color2:blue;font:dotum,9, underline;" text="bind:prcsstat6"/>
- <Cell col="14" style="color:blue;color2:blue;font:dotum,9, underline;" text="bind:prcsstat7"/>
- <Cell col="15"/>
- <Cell col="16" text="bind:inspindex1"/>
- <Cell col="17" text="bind:inspindex2"/>
- <Cell col="18" text="bind:prestindex1"/>
- <Cell col="19" text="bind:goalindex1"/>
- <Cell col="20" text="bind:prestindex2"/>
- <Cell col="21" text="bind:goalindex2"/>
- <Cell col="22" text="bind:prestindex3"/>
- <Cell col="23" text="bind:goalindex3"/>
- <Cell col="24" text="bind:prestindex4"/>
- <Cell col="25" text="bind:goalindex4"/>
- <Cell col="26" displaytype="combo" edittype="combo" text="bind:prizyn"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_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" sumtext="시작일"/>
- <Column id="todd" type="STRING" size="256" sumtext="종료일"/>
- <Column id="deptnm" type="STRING" size="256" sumtext="주무부서"/>
- <Column id="prizyn" type="STRING" size="256" sumtext="포상유무"/>
- <Column id="auth" type="STRING" size="256" sumtext="사용자권한"/>
- <Column id="flag" type="STRING" size="256" sumtext="QI_질지표Flag"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="flag">Q</Col>
- <Col id="prizyn">-</Col>
- </Row>
- </Rows>
- </Dataset>
- <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" sumtext="접수번호"/>
- <Column id="rgstrdd" type="STRING" size="256" sumtext="등록일"/>
- <Column id="subj" type="STRING" size="256" sumtext="주제명"/>
- <Column id="chfdeptnm" type="STRING" size="256" sumtext="팀장부서명"/>
- <Column id="chfhngnm" type="STRING" size="256" sumtext="팀장명"/>
- <Column id="staffhngnm" type="STRING" size="256" sumtext="간사명"/>
- <Column id="prcsstat0" type="STRING" size="256" sumtext="활동계획서"/>
- <Column id="prcsstat1" type="STRING" size="256" sumtext="1차보고서"/>
- <Column id="prcsstat2" type="STRING" size="256" sumtext="2차보고서"/>
- <Column id="prcsstat3" type="STRING" size="256" sumtext="3차보고서"/>
- <Column id="prcsstat4" type="STRING" size="256" sumtext="4차보고서"/>
- <Column id="prcsstat5" type="STRING" size="256" sumtext="5차보고서"/>
- <Column id="prcsstat6" type="STRING" size="256" sumtext="6차보고서"/>
- <Column id="prcsstat7" type="STRING" size="256" sumtext="7차보고서"/>
- <Column id="inspindex1" type="STRING" size="256" sumtext="측정지표1"/>
- <Column id="inspindex2" type="STRING" size="256" sumtext="측정지표2"/>
- <Column id="prestindex1" type="STRING" size="256" sumtext="현재지표1"/>
- <Column id="goalindex1" type="STRING" size="256" sumtext="목표1"/>
- <Column id="prestindex2" type="STRING" size="256" sumtext="현재지표2"/>
- <Column id="goalindex2" type="STRING" size="256" sumtext="목표2"/>
- <Column id="prestindex3" type="STRING" size="256" sumtext="현재지표3"/>
- <Column id="goalindex3" type="STRING" size="256" sumtext="목표3"/>
- <Column id="prestindex4" type="STRING" size="256" sumtext="현재지표4"/>
- <Column id="goalindex4" type="STRING" size="256" sumtext="목표4"/>
- <Column id="prizyn" type="STRING" size="256" sumtext="포상유무"/>
- <Column id="rgstrid" type="STRING" size="256" sumtext="현재지표4"/>
- <Column id="chfid" type="STRING" size="256" sumtext="목표4"/>
- <Column id="staffid" type="STRING" size="256" sumtext="포상유무"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_send_report" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="prcsstagecd" type="STRING" size="256"/>
- <Column id="flag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_file" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="filedata" type="BLOB" size="0"/>
- <Column id="filenm" type="STRING" size="256"/>
- <Column id="filesize" type="STRING" size="256"/>
- <Column id="filetype" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_prizinfo_saveinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item1" compid="group3.grp_sea.ipt_todd" propid="value" datasetid="ds_main_cond" columnid="todd"/>
- <BindItem id="item0" compid="group3.grp_sea.ipt_fromdd" propid="value" datasetid="ds_main_cond" columnid="fromdd"/>
- <BindItem id="item2" compid="group3.grp_sea.ipt_deptnm" propid="value" datasetid="ds_main_cond" columnid="deptnm"/>
- <BindItem id="item3" compid="group3.grp_sea.cmb_prizyn" propid="value" datasetid="ds_main_cond" columnid="prizyn"/>
- <BindItem id="item4" compid="group3.grp_sea.cmb_dept" propid="value" datasetid="ds_main_cond" columnid="deptnm"/>
- <BindItem id="item5" compid="group3.grp_sea.cmb_flag" propid="value" datasetid="ds_main_cond" columnid="flag"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-02-20
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-02-20 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "emr_qixp::SMMQK00100.xjs";
- include "emr_qixp::SMMQK00300.xjs";
- var arErrorCode = new HashArray();
- var gMaxSize = 1048576;
- function SMMQK00300_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- grdf_initGrid(grd_list);
- }
- function SMMQK00300_onload(obj:Form, e:LoadEventInfo)
- {
- fInitialize();
- }
- function fInitialize(){
-
- group3.grp_sea.ipt_fromdd.value = utlf_getCurrentDate().substring(0,4).concat("0101");
- group3.grp_sea.ipt_todd.value = utlf_getCurrentDate();
-
- if(fchkUser() == "Q"){
- group3.grp_sea.cap_prizyn.visible = true;
- group3.grp_sea.cmb_prizyn.visible = true;
- group3.btn_prizyn.visible = true;
-
- group3.grp_sea.btn_plan.visible = true;
- group3.grp_sea.btn_first.visible = true;
- group3.grp_sea.btn_second.visible = true;
- group3.grp_sea.btn_third.visible = true;
- group3.grp_sea.btn_fourth.visible = true;
- group3.grp_sea.btn_fifth.visible = true;
- group3.grp_sea.btn_sixth.visible = true;
- group3.grp_sea.btn_seventh.visible = true;
-
- }
- else{
-
- group3.grp_sea.cap_prizyn.visible = false;
- group3.grp_sea.cmb_prizyn.visible = false;
- group3.btn_prizyn.visible = false;
-
- group3.grp_sea.btn_plan.visible = false;
- group3.grp_sea.btn_first.visible = false;
- group3.grp_sea.btn_second.visible = false;
- group3.grp_sea.btn_third.visible = false;
- group3.grp_sea.btn_fourth.visible = false;
- group3.grp_sea.btn_fifth.visible = false;
- group3.grp_sea.btn_sixth.visible = false;
- group3.grp_sea.btn_seventh.visible = false;
- }
- if(sysf_getUserId() == "DEVB07"){
- group3.btn_hidden.visible = true;
- group3.grp_sea.cap_prizyn.visible = true;
- group3.grp_sea.cmb_prizyn.visible = true;
- group3.btn_prizyn.visible = true;
- group3.grp_sea.btn_plan.visible = true;
- group3.grp_sea.btn_first.visible = true;
- group3.grp_sea.btn_second.visible = true;
- group3.grp_sea.btn_third.visible = true;
- group3.grp_sea.btn_fourth.visible = true;
- group3.grp_sea.btn_fifth.visible = true;
- group3.grp_sea.btn_sixth.visible = true;
- group3.grp_sea.btn_seventh.visible = true;
- }
- fGetList();
- }
- function fGetList(){
- var auth = fchkUser();
- ds_main_cond.setColumn(0, "auth", auth);
-
- var oParam = {};
- oParam.id = "TRMQK00300";
- oParam.service = "qiapp.QiActivityMngt";
- oParam.method = "reqGetQiActivityList";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_main_list_row=list";
- oParam.async = false;
- tranf_submit(oParam);
- for(var i = 0; i < ds_main_list_row.rowcount ; i++){
- for(var a =0; a < 7 ; a++){
- var endFlag = ds_main_list_row.getColumn(i, "prcsstat"+a);
- if(endFlag.substr(0,2) != "마감"){
- ds_main_list_row.setColumn(i, "prcsstat"+(a+1), "");
- }
- else{
- }
- }
- }
- }
- function group3_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- fGetList();
- }
- function group3_grp_sea_btn_plan_onclick(obj:Button, e:ClickEventInfo)
- {
- fFormSave("0");
- }
- //계획서, 보고서 양식 저장
- function fFormSave(prcsstagecd){
- var maxsize = gMaxSize;//upload1.attribute("filesize");
- //files = window.fileDialog("open");
-
- var fd = new FileDialog;
- var objVFile = fd.open("FileOpen", FileDialog.LOAD); //// 단일 파일 선택
-
- ds_send_file.clearData();
- ds_send_file.addRow();
-
- ds_send_report.clearData();
- ds_send_report.addRow();
- var files = dsf_writeFileToDs(objVFile, ds_send_file, 0, "filedata");
- filesize = file.filesize;
-
- //파일사이즈 체크
- //파일 크기가 너무 큰경우 메세지를 띄운다.
- if (filesize > maxsize){
- sysf_messageBox("파일 크기가 최대치("+maxsize+"Byte)를", "E003");
- }
- if (!utlf_isNull(files)) {
- ds_send_file.setColumn(0, "file", file.filename);
- ds_send_file.setColumn(0, "filenm", file.filename);
- ds_send_file.setColumn(0, "filesize", file.filesize);
- ds_send_file.setColumn(0, "filetype", file.filetype);
-
- ds_send_report.setColumn(0, "file", files);
- ds_send_report.setColumn(0, "prcsstagecd", prcsstagecd);
-
- var oParam = {};
- oParam.id = "TXMQK00301";
- oParam.service = "qiapp.QiActivityMngt";
- oParam.method = "reqExeUploadForm";
- oParam.inds = "attach=ds_send_file report=ds_send_report";
- oParam.outds = "";
- oParam.async = false;
- oParam.callback = "cf_TXMQK00301";
- tranf_submit(oParam);
- }
- }
- function group3_grp_sea_btn_first_onclick(obj:Button, e:ClickEventInfo)
- {
- fFormSave("1");
- }
- function group3_grp_sea_btn_second_onclick(obj:Button, e:ClickEventInfo)
- {
- fFormSave("2");
- }
- function group3_grp_sea_btn_third_onclick(obj:Button, e:ClickEventInfo)
- {
- fFormSave("3");
- }
- function group3_grp_sea_btn_fourth_onclick(obj:Button, e:ClickEventInfo)
- {
- fFormSave("4");
- }
- function group3_grp_sea_btn_fifth_onclick(obj:Button, e:ClickEventInfo)
- {
- fFormSave("5");
- }
- function group3_grp_sea_btn_sixth_onclick(obj:Button, e:ClickEventInfo)
- {
- fFormSave("6");
- }
- function group3_grp_sea_btn_seventh_onclick(obj:Button, e:ClickEventInfo)
- {
- fFormSave("7");
- }
- function group3_btn_excel_onclick(obj:Button, e:ClickEventInfo)
- {
- grdf_exportExcel(grd_list, "QI활동목록조회" + utlf_getCurrentDate(), "sheetname1" , true, "" , "" , true);
- }
- function group3_btn_prizyn_onclick(obj:Button, e:ClickEventInfo)
- {
- fPrizynSave();
- }
- function fPrizynSave() {
- if (sysf_messageBox("포상유무를 ", "Q002") == "7") {
- return false;
- }
- ds_main_list_row.filter("prizyn != 'N'");
- //var csv = getNodeListCSV(checkNodeList);
- ds_send_prizinfo_saveinfo.copyData(ds_main_list_row, true);
- ds_main_list_row.filter("");
-
- var oParam = {};
- oParam.id = "TXMQK00310";
- oParam.service = "qiapp.QiActivityMngt";
- oParam.method = "reqSetPrizyn";
- oParam.inds = "req=ds_send_prizinfo_saveinfo";
- oParam.outds = "";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function group3_btn_hidden_onclick(obj:Button, e:ClickEventInfo)
- {
- if(sysf_getUserId() == "DEVB07"){
- auth = "A";
- }
- else{
- auth = fchkUser();
- }
-
- ds_main_cond.setColumn(0, "auth", auth);
-
- var oParam = {};
- oParam.id = "TRMQK00300";
- oParam.service = "qiapp.QiActivityMngt";
- oParam.method = "reqGetQiActivityList";
- oParam.inds = "req=ds_main_cond";
- oParam.outds = "ds_main_list_row=list";
- oParam.async = false;
- tranf_submit(oParam);
- }
- function grd_list_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- fGridOnclick();
- }
- function fGridOnclick(){
- var cur_row = ds_main_list_row.rowposition;
- var acptno = ds_main_list_row.getColumn(cur_row, "acptno");
- sysf_trace("acptno : " + acptno)
- if (!utlf_isNull(acptno)) {
- var col = grd_list.currentcol;
- frmf_setParameter("ano", acptno);
-
- if(col == "6"){
- frmf_modal("SMMQK00100", "SMMQK00100", "", null, "1", "", "", null, null, null, null, null, "M");
- //grd_list.select(cur_row) = false;
- fGetList();
- }
- else if(col == "7" || col == "8" || col == "9" || col == "10"|| col == "11"|| col == "12"|| col == "13"){
- var endFlag = utlf_transNullToEmpty(ds_main_list_row.getColumn(cur_row, "prcsstat" + (eval(col) - 8)));
- if(endFlag.substr(0,2) == "마감"){
-
- var prcsstagecd = "";
- var flag = ds_main_cond.getColumn(0, "flag");
-
- if(col == "8"){ // 질지표정의서
- if(flag == "Q"){
- prcsstagecd = "5";
- }else{
- prcsstagecd = "10";
- }
- }else if(col == "9"){ // 질지표분석 보고서
- if(flag == "Q"){
- prcsstagecd = "6";
- }else{
- prcsstagecd = "20";
- }
- }else if(col == "10"){ // 중간활동 보고서
- if(flag == "Q"){
- prcsstagecd = "10";
- }else{
- prcsstagecd = "25";
- }
- }else if(col == "11"){ // 중간회의록
- if(flag == "Q"){
- prcsstagecd = "15";
- }else{
- prcsstagecd = "26";
- }
- }else if(col == "12"){ // 최종보고서
- if(flag == "Q"){
- prcsstagecd = "20";
- }else{
- prcsstagecd = "27";
- }
- }else if(col == "13"){ // 질지표분석 3분기
- if(flag == "Q"){
- prcsstagecd = "25";
- }else{
- prcsstagecd = "40";
- }
- }else if(col == "14"){ // 최종회의록v
- if(flag == "Q"){
- prcsstagecd = "26";
- }else{
- prcsstagecd = "55";
- }
- }
-
- var screenID = "";
-
- if(flag == "Q"){
- screenID = "SMMQK00201";
- }else{
- screenID = "SMMQK00202";
- }
-
- frmf_setParameter("prcsstagecd", prcsstagecd);
- if(!utlf_isNull(ds_main_list_row.getColumn(cur_row, "prcsstat" + (col - 7)))){
- //modal(screenID, "1", "" , "" , "" , "" , "" , "left:100; top:100; width:1230; height:784;");
- frmf_modal(screenID, screenID, "", null, "1", "", "", null, null, null, null, null, "M");
- fGetList();
- }
- }
- }
- }
- else{
- return;
- }
- }]]></Script>
- </Form>
- </FDL>
|