123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- /* ---------------------------------------------------------------------
- 관리대상장비목록 (SMMNP05300.xfm - JScript )
- - Version :
- 1) : Ver.1.00.01
- : Create By 김 진 명
- : 2007.09.10
- ---------------------------------------------------------------------- */
- /* --------------------------------------------------*/
- /* type : function */
- /* access : public */
- /* desc : 관리대상방비목록 초기화 */
- /* param : */
- /* return : */
- /* --------------------------------------------------*/
- function fInit() {
- removeComboItem("cmb_installplcecd");
- submit("TRMNP05301");
- addComboItem("cmb_installplcecd", "전 체", "", "above" );
- DataRead();
- }
- /* --------------------------------------------------*/
- /* type : function */
- /* access : public */
- /* desc : 관리대상방비목록 초기화 */
- /* param : */
- /* return : */
- /* --------------------------------------------------*/
- function DataRead() {
- model.copyNode("/root/send/reqdata", "/root/main/cond");
- submit("TRMNP05302");
- }
- /* --------------------------------------------------*/
- /* type : function */
- /* access : public */
- /* desc : 콤보아이템 제거 */
- /* param : */
- /* return : */
- /* --------------------------------------------------*/
- function removeComboItem( comboID ) {
- var comboObj = document.all.item(comboID);
- var comboItemNodeSet = comboObj.choices.itemset.attribute("nodeset");
- model.removenode(comboItemNodeSet + "[1]");
- model.refresh();
- }
- /* --------------------------------------------------*/
- /* type : function */
- /* access : public */
- /* desc : 관심목록장비 출력 */
- /* param : */
- /* return : */
- /* --------------------------------------------------*/
- function fPrntEmqtList() {
- var instcd = getUserInfo("dutplceinstcd");
- //var instcd ="012";
- var installplcecd = model.getValue("/root/main/cond/installplcecd");
- var eqmtcd = model.getValue("/root/main/cond/eqmtcd");
- //코드값이 없으면 조건을 실행시키지 않기 위해
- if( installplcecd == "" ) {
- installplcecd = "%%";
- }
- if( eqmtcd == "" ) {
- eqmtcd = "%%";
- }
- model.setValue("/root/send/report/installplcecd", installplcecd);
- model.setValue("/root/send/report/eqmtcd", eqmtcd);
- model.setValue("/root/send/report/instcd", instcd);
- exeReportPreview("RPMNP05301", "XML", "/root/send/report", "", "true", "", "", "", "", "true");
- }
- // 수술장비조회 팝업 호출
- function fOpEqmtPopup(){
- modal("SPMNP00301");
- sMsg = getParameter("SPMNP00300_Return");
- if(sMsg == "") return;
- model.setValue("/root/main/cond/eqmtcd", getArrayData(sMsg, 1, 0));
- model.setValue("/root/main/cond/eqmtnm", getArrayData(sMsg, 1, 1));
- inp_eqmtnm.refresh();
- inp_eqmtcd.refresh();
- }
- /* ------------------------------------------------- */
- /* ------End Of List ------------------------------- */
- /* -------------------------------------------------- */
|