SMZHA20003_전산의뢰결과확인및결재.xfdl 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMZHA20003" position="absolute 0 0 1213 738" titletext="프로그램 개발관리 조회" oninit="SMZHA20003_oninit" onload="SMZHA20003_onload">
  5. <Layouts>
  6. <Layout>
  7. <Static text="전산의뢰 처리결과 확인 및 결재" position="absolute 0 0 235 25" id="caption6" class="tit_1"/>
  8. <Tab position="absolute 0 20 1205 728" id="switch1" class="tab_Normal" anchor="all">
  9. <Tabpages>
  10. <Tabpage text="" position="absolute 0 0 1203 738" id="case1">
  11. <Layouts>
  12. <Layout>
  13. <Div position="absolute 0 1 1200 61" id="grp_dev" class="div_SA2" anchor="left top right"/>
  14. <Static text="요청제목" position="absolute 245 37 345 54" id="caption20" class="search_name"/>
  15. <Static text="요청자" position="absolute 828 37 928 54" id="caption21" class="search_name"/>
  16. <Edit position="absolute 900 37 975 56" id="input9" taborder="3" autoselect="true" autoskip="true"/>
  17. <Edit position="absolute 335 37 495 56" id="input10" taborder="2" autoselect="true" autoskip="true"/>
  18. <Button position="absolute 1120 8 1176 30" id="button5" class="btn1" taborder="5" text="조회" anchor="top right" onclick="switch1_case1_button5_onclick"/>
  19. <Static text="요청일자" position="absolute 510 37 610 54" id="caption22" class="search_name"/>
  20. <Calendar position="absolute 597 37 697 56" id="input11" taborder="4" autoselect="true" autoskip="true"/>
  21. <Calendar position="absolute 712 37 812 56" id="input15" taborder="4" autoselect="true" autoskip="true"/>
  22. <Static text="~" position="absolute 700 37 715 57" id="caption26"/>
  23. <Edit position="absolute 525 9 680 28" id="ipt_reqdeptnm" visible="false" autoselect="true" autoskip="true"/>
  24. <Button position="absolute 507 9 523 25" id="btn_reqdept" class="icon_search" visible="false" text="" onclick="switch1_case1_btn_reqdept_onclick"/>
  25. <Grid position="absolute 5 85 1195 690" id="grd_reqprgm" binddataset="ds_main_reqprgmlist" autoenter="select" autofittype="col" cellsizingtype="col" anchor="all" oncelldblclick="switch1_case1_grd_reqprgm_oncelldblclick">
  26. <Formats>
  27. <Format id="default">
  28. <Columns>
  29. <Column size="20"/>
  30. <Column size="19"/>
  31. <Column size="74"/>
  32. <Column size="73"/>
  33. <Column size="98"/>
  34. <Column size="69"/>
  35. <Column size="220"/>
  36. <Column size="32"/>
  37. <Column size="100"/>
  38. <Column size="50"/>
  39. <Column size="20"/>
  40. <Column size="48"/>
  41. <Column size="68"/>
  42. <Column size="84"/>
  43. <Column size="47"/>
  44. <Column size="70"/>
  45. <Column size="95"/>
  46. </Columns>
  47. <Rows>
  48. <Row size="24" band="head"/>
  49. <Row size="24" band="head"/>
  50. <Row size="24"/>
  51. </Rows>
  52. <Band id="head">
  53. <Cell rowspan="2" taborder="undefined"/>
  54. <Cell col="1" rowspan="2" colspan="2" text="결재종류" taborder="undefined"/>
  55. <Cell col="3" rowspan="2" text="요청번호" taborder="undefined"/>
  56. <Cell col="4" rowspan="2" text="구분" taborder="undefined"/>
  57. <Cell col="5" rowspan="2" text="요청일자" taborder="undefined"/>
  58. <Cell col="6" rowspan="2" text="요청제목" taborder="undefined"/>
  59. <Cell col="7" rowspan="2" text="기관" taborder="undefined"/>
  60. <Cell col="8" rowspan="2" text="요청부서" taborder="undefined"/>
  61. <Cell col="9" rowspan="2" text="요청자" taborder="undefined"/>
  62. <Cell col="10" rowspan="2" colspan="2" text="부서장승인" taborder="undefined"/>
  63. <Cell col="12" rowspan="2" text="승인일자" taborder="undefined"/>
  64. <Cell col="13" rowspan="2" text="진행상태" taborder="undefined"/>
  65. <Cell col="14" rowspan="2" text="통보자" taborder="undefined"/>
  66. <Cell col="15" rowspan="2" text="통보일자" taborder="undefined"/>
  67. <Cell col="16" rowspan="2" text="통보상태" taborder="undefined"/>
  68. </Band>
  69. <Band id="body">
  70. <Cell celltype="head" expr="currow+1"/>
  71. <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:chk" expr="expr:chk == true ? 1 : 0"/>
  72. <Cell col="2" displaytype="none" edittype="none" text="bind:aprvdesc"/>
  73. <Cell col="3" text="bind:reqno"/>
  74. <Cell col="4" displaytype="combo" edittype="combo" text="bind:kind" combodataset="ds_cmb_kind" combocodecol="value" combodatacol="label" enable="false"/>
  75. <Cell col="5" displaytype="date" text="bind:reqdd" calendardisplaynulltype="nulltext"/>
  76. <Cell col="6" text="bind:reqtitle"/>
  77. <Cell col="7" text="bind:instnm"/>
  78. <Cell col="8" text="bind:reqdeptnm"/>
  79. <Cell col="9" text="bind:reqmannm"/>
  80. <Cell col="10" text="bind:deptmngraprvyn"/>
  81. <Cell col="11" text="bind:deptmngrnm"/>
  82. <Cell col="12" displaytype="date" text="bind:deptmngrdt" calendardisplaynulltype="nulltext"/>
  83. <Cell col="13" displaytype="combo" edittype="combo" text="bind:status" combodataset="ds_init_cmb_status_hidden" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
  84. <Cell col="14" text="bind:notinm"/>
  85. <Cell col="15" displaytype="date" text="bind:notidd" calendardisplaynulltype="nulltext"/>
  86. <Cell col="16" displaytype="combo" edittype="combo" text="bind:notistatus" combodataset="ds_hidden_notistatus_item" combocodecol="cdid" combodatacol="cdnm"/>
  87. </Band>
  88. </Format>
  89. </Formats>
  90. </Grid>
  91. <Static text="부서조회조건" position="absolute 25 9 127 26" id="caption1" class="search_name"/>
  92. <Static text="요청번호" position="absolute 25 37 125 54" id="caption3" class="search_name"/>
  93. <Edit position="absolute 410 9 505 28" id="ipt_reqdeptcd" taborder="2" visible="false" autoselect="true" autoskip="true"/>
  94. <Edit position="absolute 130 37 230 56" id="input1" autoselect="true" autoskip="true"/>
  95. <Combo position="absolute 130 9 220 28" id="cmb_deptflag" innerdataset="ds_init_flag_item" datacolumn="label" codecolumn="value" onitemchanged="switch1_case1_cmb_deptflag_onitemchanged"/>
  96. <Edit position="absolute 900 9 1000 28" id="ipt_jobkindnm" autoselect="true" autoskip="true"/>
  97. <Button position="absolute 1005 9 1021 25" id="btn_jobkindcd" class="icon_search" text="" onclick="switch1_case1_btn_jobkindcd_onclick"/>
  98. <Static text="직종" position="absolute 828 9 888 26" id="cpt_jobkind" class="search_name"/>
  99. <CheckBox position="absolute 686 8 786 28" id="chk_subdeptyn" visible="false" text="하위부서포함" truevalue="Y" onclick="switch1_case1_chk_subdeptyn_onclick"/>
  100. <Combo position="absolute 1008 41 1108 60" id="cmb_status_hidden" visible="false" innerdataset="ds_temp" datacolumn="cdnm" codecolumn="cdid"/>
  101. <Button position="absolute 230 9 316 28" id="btn_fav" class="btn5" visible="false" text="즐겨찾기관리" onclick="switch1_case1_btn_fav_onclick"/>
  102. <Combo position="absolute 335 9 400 28" id="cmb_instcd" taborder="3" visible="false" codecolumn="codecolumn" datacolumn="datacolumn">
  103. <Dataset id="innerdataset">
  104. <ColumnInfo>
  105. <Column id="codecolumn"/>
  106. <Column id="datacolumn"/>
  107. </ColumnInfo>
  108. <Rows>
  109. <Row>
  110. <Col id="codecolumn">
  111. </Col>
  112. <Col id="datacolumn">전체</Col>
  113. </Row>
  114. <Row>
  115. <Col id="codecolumn">031</Col>
  116. <Col id="datacolumn">본원</Col>
  117. </Row>
  118. <Row>
  119. <Col id="codecolumn">032</Col>
  120. <Col id="datacolumn">칠곡</Col>
  121. </Row>
  122. </Rows>
  123. </Dataset>
  124. </Combo>
  125. <Static text="기관/부서" position="absolute 250 11 334 28" id="cpt_dept" class="search_name"/>
  126. <Button position="absolute 1120 33 1176 55" id="button1" class="btn4" text="결재" anchor="top right" onclick="switch1_case1_button1_onclick"/>
  127. </Layout>
  128. </Layouts>
  129. </Tabpage>
  130. </Tabpages>
  131. </Tab>
  132. </Layout>
  133. </Layouts>
  134. <Objects>
  135. <Dataset id="ds_send_reqprgmdesc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_reqprgmdesc_oncolumnchanged">
  136. <ColumnInfo>
  137. <Column id="gubun" type="STRING" size="256"/>
  138. <Column id="gubundev" type="STRING" size="256"/>
  139. <Column id="gubundata" type="STRING" size="256"/>
  140. <Column id="reqgbdev" type="STRING" size="256"/>
  141. <Column id="reqgbdata" type="STRING" size="256"/>
  142. <Column id="reqno" type="STRING" size="256"/>
  143. <Column id="reqdeptnm" type="STRING" size="256"/>
  144. <Column id="reqtitle" type="STRING" size="256"/>
  145. <Column id="reqmannm" type="STRING" size="256"/>
  146. <Column id="reqddfrom" type="STRING" size="256"/>
  147. <Column id="aprv2" type="STRING" size="256"/>
  148. <Column id="aprv3" type="STRING" size="256"/>
  149. <Column id="aprv4" type="STRING" size="256"/>
  150. <Column id="aprv5" type="STRING" size="256"/>
  151. <Column id="chrgid" type="STRING" size="256"/>
  152. <Column id="status" type="STRING" size="256"/>
  153. <Column id="progress" type="STRING" size="256"/>
  154. <Column id="prgmr" type="STRING" size="256"/>
  155. <Column id="instcd" type="STRING" size="256"/>
  156. <Column id="estendddfrom" type="STRING" size="256"/>
  157. <Column id="inst031" type="STRING" size="256"/>
  158. <Column id="inst032" type="STRING" size="256"/>
  159. <Column id="worknm1" type="STRING" size="256"/>
  160. <Column id="jobkindcd" type="STRING" size="256"/>
  161. <Column id="reqddto" type="STRING" size="256"/>
  162. <Column id="estendddto" type="STRING" size="256"/>
  163. <Column id="reqdeptcd" type="STRING" size="256"/>
  164. <Column id="excldflag" type="STRING" size="256"/>
  165. <Column id="deptgb" type="STRING" size="256"/>
  166. <Column id="deptflag" type="STRING" size="256"/>
  167. <Column id="jobkindnm" type="STRING" size="256"/>
  168. <Column id="subdeptyn" type="STRING" size="256"/>
  169. </ColumnInfo>
  170. <Rows>
  171. <Row>
  172. <Col id="gubun"/>
  173. <Col id="gubundev"/>
  174. <Col id="gubundata"/>
  175. <Col id="reqgbdev"/>
  176. <Col id="reqgbdata"/>
  177. <Col id="reqno"/>
  178. <Col id="reqdeptnm"/>
  179. <Col id="reqtitle"/>
  180. <Col id="reqmannm"/>
  181. <Col id="reqddfrom"/>
  182. <Col id="aprv2"/>
  183. <Col id="aprv3"/>
  184. <Col id="aprv4"/>
  185. <Col id="aprv5"/>
  186. <Col id="chrgid"/>
  187. <Col id="status"/>
  188. <Col id="progress"/>
  189. <Col id="prgmr"/>
  190. <Col id="instcd"/>
  191. <Col id="estendddfrom"/>
  192. <Col id="inst031"/>
  193. <Col id="inst032"/>
  194. <Col id="worknm1"/>
  195. <Col id="jobkindcd"/>
  196. <Col id="reqddto"/>
  197. <Col id="estendddto"/>
  198. <Col id="reqdeptcd"/>
  199. <Col id="excldflag"/>
  200. <Col id="deptgb"/>
  201. <Col id="deptflag"/>
  202. <Col id="jobkindnm"/>
  203. <Col id="subdeptyn"/>
  204. </Row>
  205. </Rows>
  206. </Dataset>
  207. <Dataset id="ds_init_flag_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  208. <ColumnInfo>
  209. <Column id="label" type="STRING" size="256"/>
  210. <Column id="value" type="STRING" size="256"/>
  211. </ColumnInfo>
  212. <Rows>
  213. <Row>
  214. <Col id="label">즐겨찾기</Col>
  215. <Col id="value">fav</Col>
  216. </Row>
  217. <Row>
  218. <Col id="label">부서별</Col>
  219. <Col id="value">dept</Col>
  220. </Row>
  221. <Row>
  222. <Col id="label">직종별</Col>
  223. <Col id="value">jobkind</Col>
  224. </Row>
  225. </Rows>
  226. </Dataset>
  227. <Dataset id="ds_cmb_kind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  228. <ColumnInfo>
  229. <Column id="label" type="STRING" size="256"/>
  230. <Column id="value" type="STRING" size="256"/>
  231. </ColumnInfo>
  232. <Rows>
  233. <Row>
  234. <Col id="label">프로그램/통계</Col>
  235. <Col id="value">01</Col>
  236. </Row>
  237. <Row>
  238. <Col id="label">전산장비/통신</Col>
  239. <Col id="value">02</Col>
  240. </Row>
  241. </Rows>
  242. </Dataset>
  243. <Dataset id="ds_init_cmb_status_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  244. <ColumnInfo>
  245. <Column id="cdnm" type="STRING" size="256"/>
  246. <Column id="cdid" type="STRING" size="256"/>
  247. </ColumnInfo>
  248. </Dataset>
  249. <Dataset id="ds_hidden_notistatus_item" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  250. <ColumnInfo>
  251. <Column id="cdnm" type="STRING" size="256"/>
  252. <Column id="cdid" type="STRING" size="256"/>
  253. </ColumnInfo>
  254. </Dataset>
  255. <Dataset id="ds_main_reqprgmlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_reqprgmlist_oncolumnchanged">
  256. <ColumnInfo>
  257. <Column id="kind" type="STRING" size="256" sumtext="종류"/>
  258. <Column id="chk" type="STRING" size="256" sumtext="체크"/>
  259. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  260. <Column id="reqno" type="STRING" size="256" sumtext="요청번호"/>
  261. <Column id="gubun" type="STRING" size="256" sumtext="구분"/>
  262. <Column id="reqgb" type="STRING" size="256" sumtext="통계업무구분"/>
  263. <Column id="reqdd" type="STRING" size="256" sumtext="요청일자"/>
  264. <Column id="reqtitle" type="STRING" size="256" sumtext="요청제목"/>
  265. <Column id="instnm" type="STRING" size="256" sumtext="기관명"/>
  266. <Column id="reqdeptnm" type="STRING" size="256" sumtext="요청부서"/>
  267. <Column id="reqdeptcd" type="STRING" size="256" sumtext="요청부서CD"/>
  268. <Column id="reqmannm" type="STRING" size="256" sumtext="요청자"/>
  269. <Column id="reqmanid" type="STRING" size="256" sumtext="요청자ID"/>
  270. <Column id="deptmngraprvyn" type="STRING" size="256" sumtext="부서장승인여부"/>
  271. <Column id="deptmngrdt" type="STRING" size="256" sumtext="부서장승인일시"/>
  272. <Column id="deptmngrnm" type="STRING" size="256" sumtext="부서장"/>
  273. <Column id="status" type="STRING" size="256" sumtext="진행상태"/>
  274. <Column id="progress" type="STRING" size="256" sumtext="진척율"/>
  275. <Column id="fileyn" type="STRING" size="256" sumtext="파일여부"/>
  276. <Column id="eststartdd" type="STRING" size="256" sumtext="착수예정일"/>
  277. <Column id="estenddd" type="STRING" size="256" sumtext="완료예정일"/>
  278. <Column id="startdd" type="STRING" size="256" sumtext="최초시작일"/>
  279. <Column id="enddd" type="STRING" size="256" sumtext="최종완료일"/>
  280. <Column id="chrgnm" type="STRING" size="256" sumtext="담당자명"/>
  281. <Column id="prgmr" type="STRING" size="256" sumtext="개발자명"/>
  282. <Column id="aprv2" type="STRING" size="256" sumtext="현대PL결재"/>
  283. <Column id="aprv3" type="STRING" size="256" sumtext="현대PM결재"/>
  284. <Column id="aprv4" type="STRING" size="256" sumtext="총괄결재"/>
  285. <Column id="aprv5" type="STRING" size="256" sumtext="파트장결재"/>
  286. <Column id="fstrgstrnm" type="STRING" size="256" sumtext="입력자"/>
  287. <Column id="privyn" type="STRING" size="256" sumtext="비공개구분"/>
  288. <Column id="notistatus" type="STRING" size="256" sumtext="통보상태"/>
  289. <Column id="chk_chrg_ok" type="STRING" size="256" sumtext="통보확인자결재가능여부(Y,N)"/>
  290. <Column id="chk_mngr_ok" type="STRING" size="256" sumtext="통보부서장결재가능여부(Y,N)"/>
  291. <Column id="notiid" type="STRING" size="256" sumtext="통보자ID"/>
  292. <Column id="notidd" type="STRING" size="256" sumtext="통보일자"/>
  293. <Column id="notinm" type="STRING" size="256" sumtext="통보자명"/>
  294. <Column id="aprvdesc" type="STRING" size="256" sumtext="결재타입설명"/>
  295. </ColumnInfo>
  296. </Dataset>
  297. <Dataset id="ds_send_saveaprv_savedata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  298. </Objects>
  299. <Bind>
  300. <BindItem id="item0" compid="switch1.case1.cmb_deptflag" propid="value" datasetid="ds_send_reqprgmdesc" columnid="deptflag"/>
  301. <BindItem id="item1" compid="switch1.case1.cmb_instcd" propid="value" datasetid="ds_send_reqprgmdesc" columnid="instcd"/>
  302. <BindItem id="item2" compid="switch1.case1.ipt_reqdeptcd" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqdeptcd"/>
  303. <BindItem id="item3" compid="switch1.case1.ipt_reqdeptnm" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqdeptnm"/>
  304. <BindItem id="item4" compid="switch1.case1.chk_subdeptyn" propid="value" datasetid="ds_send_reqprgmdesc" columnid="subdeptyn"/>
  305. <BindItem id="item5" compid="switch1.case1.ipt_jobkindnm" propid="value" datasetid="ds_send_reqprgmdesc" columnid="jobkindnm"/>
  306. <BindItem id="item6" compid="switch1.case1.input1" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqno"/>
  307. <BindItem id="item7" compid="switch1.case1.input10" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqtitle"/>
  308. <BindItem id="item8" compid="switch1.case1.input11" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqddfrom"/>
  309. <BindItem id="item9" compid="switch1.case1.input15" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqddto"/>
  310. <BindItem id="item10" compid="switch1.case1.input9" propid="value" datasetid="ds_send_reqprgmdesc" columnid="reqmannm"/>
  311. </Bind>
  312. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  313. * System Name :
  314. * Job Name :
  315. * Creator :
  316. * Make Date : 2016-01-07
  317. * Description :
  318. *---------------------------------------------------------------------------------------
  319. * Modify Date Modifier Modify Description
  320. *---------------------------------------------------------------------------------------
  321. * 2016-01-07 Live Converter TF->XP
  322. *
  323. *---------------------------------------------------------------------------------------
  324. ****************************************************************************************/
  325. include "com_commonxp::comm_main.xjs";
  326. include "com_reqprgmxp::SMZHA20003.xjs";
  327. include "mis_miscommonxp::MIS.xjs";
  328. function SMZHA20003_oninit(obj:Form, e:InitEventInfo)
  329. {
  330. frmf_initForm(obj);
  331. }
  332. function SMZHA20003_onload(obj:Form, e:LoadEventInfo)
  333. {
  334. grdf_initGrid(switch1.case1.grd_reqprgm);
  335. fInit();
  336. }
  337. function switch1_case1_cmb_deptflag_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  338. {
  339. fReqPrgmInit();
  340. switch1.case1.button5.click();
  341. }
  342. function switch1_case1_btn_fav_onclick(obj:Button, e:ClickEventInfo)
  343. {
  344. frmf_modal("SPZHA20700", "SPZHA20700", "", "", "", "", "", "", "", "", "", "", "M");
  345. }
  346. function ds_send_reqprgmdesc_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  347. {
  348. if(e.columnid == "reqdeptcd")
  349. {
  350. if(utlf_isNull(e.newvalue))
  351. {
  352. switch1.case1.ipt_reqdeptnm.value = "";
  353. }
  354. }
  355. if(e.columnid == "jobkindnm")
  356. {
  357. if(utlf_isNull(e.newvalue))
  358. {
  359. ds_send_reqprgmdesc.setColumn(0, "jobkindcd", "");
  360. }
  361. }
  362. }
  363. function switch1_case1_btn_reqdept_onclick(obj:Button, e:ClickEventInfo)
  364. {
  365. var recv_list = "reqdeptcd,reqdeptnm";
  366. misfOpenPopUpList("02", ds_send_reqprgmdesc, "", recv_list, ds_send_reqprgmdesc.getColumn(0, "instcd"), "instcd");
  367. }
  368. function switch1_case1_chk_subdeptyn_onclick(obj:CheckBox, e:ClickEventInfo)
  369. {
  370. if(obj.value == "Y")
  371. {
  372. }
  373. else
  374. {
  375. ds_send_reqprgmdesc.setColumn(0, "subdeptyn", "");
  376. }
  377. }
  378. function switch1_case1_btn_jobkindcd_onclick(obj:Button, e:ClickEventInfo)
  379. {
  380. var recv_list = "jobkindcd,jobkindnm";
  381. misfOpenPopUpList("03", ds_send_reqprgmdesc,"R0061", recv_list) ;
  382. }
  383. function switch1_case1_button5_onclick(obj:Button, e:ClickEventInfo)
  384. {
  385. var deptflag = ds_send_reqprgmdesc.getColumn(0, "deptflag");
  386. if(deptflag == "dept")
  387. {
  388. if(utlf_isNull(ds_send_reqprgmdesc.getColumn(0, "reqdeptcd")))
  389. {
  390. sysf_messageBox("부서별 조회 시 부서 입력은 ", "I003");
  391. return;
  392. }
  393. }
  394. else if(deptflag == "jobkind")
  395. {
  396. if(utlf_isNull(ds_send_reqprgmdesc.getColumn(0, "jobkindcd")))
  397. {
  398. sysf_messageBox("직종별 조회 시 직종 입력은 ", "I003");
  399. return;
  400. }
  401. }
  402. fSearch();
  403. }
  404. function switch1_case1_button1_onclick(obj:Button, e:ClickEventInfo)
  405. {
  406. fSaveAprv();
  407. fSearch();
  408. }
  409. function switch1_case1_grd_reqprgm_oncelldblclick(obj:Grid, e:GridClickEventInfo)
  410. {
  411. if (utlf_isNull(ds_main_reqprgmlist.getColumn(e.row, "reqno")))
  412. {
  413. return;
  414. }
  415. var kind = ds_main_reqprgmlist.getColumn(e.row, "kind");
  416. if(kind == "01")
  417. {
  418. frmf_setParameter("SPZHA20001_PARM_reqno", ds_main_reqprgmlist.getColumn(e.row, "reqno"));
  419. frmf_setParameter("SPZHA20001_PARM_gubun", ds_main_reqprgmlist.getColumn(e.row, "gubun"));
  420. frmf_setParameter("SPZHA20001_PARM_title", obj.getCellText(e.row, obj.getBindCellIndex("Body", "gubun"))+" 요청");
  421. frmf_setParameter("SPZHA20001_PARM_dgubun", "x");
  422. frmf_modal("SPZHA20001", "SPZHA20001", "", "", "", "", "", "", "", "", "", "", "M");
  423. }
  424. else if(kind == "02")
  425. {
  426. frmf_setParameter("SPZHA20601_PARM_reqno", ds_main_reqprgmlist.getColumn(e.row, "reqno"));
  427. frmf_modal("SPZHA20601", "SPZHA20601", "", "", "", "", "", "", "", "", "", "", "M");
  428. }
  429. }
  430. function ds_main_reqprgmlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  431. {
  432. if(e.columnid == "chk")
  433. {
  434. obj.setColumn(e.row, "chk", (e.newvalue == "true" || e.newvalue == 1) ? "true" : "false");
  435. }
  436. }
  437. ]]></Script>
  438. </Form>
  439. </FDL>