123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596 |
- <?xml version="1.0" encoding="EUC-KR"?>
- <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
- <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
- <xhtml:head>
- <xhtml:title>결과관리서식팝업</xhtml:title>
- <model id="model1">
- <instance id="instance1">
- <root xmlns="">
- <main>
- <sheetdata>
- <sheet>
- <seq/>
- <rowno/>
- <colno/>
- <bold/>
- <content/>
- </sheet>
- </sheetdata>
- <sheetlist>
- <sheet>
- <seq/>
- <sheetnm/>
- <defltvw/>
- <grupcd/>
- </sheet>
- </sheetlist>
- <sheetinfo>
- <sheet>
- <seq/>
- <flag/>
- <pos/>
- <val/>
- </sheet>
- </sheetinfo>
- <grupcd/>
- <superuser>
- <yn/>
- </superuser>
- <display>
- <seq/>
- <pos/>
- <label/>
- <sentence1/>
- <sentence2/>
- </display>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- <grdsheetdata>
- <col1/>
- <col2/>
- <col3/>
- <col4/>
- <col5/>
- <col6/>
- <col7/>
- <col8/>
- <col9/>
- <col10/>
- <col11/>
- <col12/>
- <col13/>
- <col14/>
- <col15/>
- <col16/>
- <col17/>
- <col18/>
- <col19/>
- <col20/>
- </grdsheetdata>
- </main>
- <send>
- <flag>
- <grupcd/>
- <seq/>
- </flag>
- </send>
- <init>
- <autoresizeyn>Y</autoresizeyn>
- </init>
- </root>
- </instance>
- <script type="javascript" src="../../../com/commonweb/js/common.js"/>
- <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
- <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
- <script type="javascript" src="../../../ast/recpatweb/js/SMMMT00200.js"/>
- <script type="javascript" ev:event="xforms-ready">
- <![CDATA[
-
- var ls_superuser = "";
- var ls_grupcd = "";
- try
- {
- ls_superuser = opener.javascript.getParameter("mmt203_superuser");
- ls_grupcd = opener.javascript.getParameter("mmt203_grupcd");
- tar_Sentence1.value = opener.javascript.getParameter("mmt203_str1");
- tar_Sentence2.value = opener.javascript.getParameter("mmt203_str2");
-
- }
- catch(err)
- {
- //테스트용도
- ls_superuser = "Y";
- ls_grupcd = "ENDOSCOPY_EGD_EGD ENDOSCOPIC DIAGNOSIS_DUODENUM";
- tar_Sentence1.value = "";
- tar_Sentence2.value = "";
- }
-
- //Spread Default FontSize
- //ss.FontSize = 10;
- //ss.ReDraw = false;
- fSetClearSpread(false);
- //ss.ReDraw = true;
-
- //일반사용자는 관리자모드를 사용못하게한다.
- // if (ls_superuser != "Y") bool1.disabled = true;
-
- model.makeValue("/root/main/superuser/yn", ls_superuser);
- fApplyPermission();
-
- model.makeValue("/root/main/grupcd", ls_grupcd);
- var sgrupcd = model.getValue("/root/main/grupcd");
- fGetSheetList(sgrupcd);
-
- model.refresh();
-
- ]]>
- </script>
- <submission id="TXAMT00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- <submission id="TRAMT00300" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/flag" replace="instance" resultref="/root/main/sheetlist/sheet"/>
- <submission id="TRAMT00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/flag" replace="instance" resultref="/root/main/sheetdata/sheet"/>
- <submission id="TRAMT00303" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/flag" replace="instance" resultref="/root/main/sheetinfo/sheet"/>
- <submission id="TXAMT00304" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send" replace="instance"/>
- </model>
- </xhtml:head>
- <xhtml:body pagewidth="1200" pageheight="800" guideline="1,1208;2,841;" style="margin-left:0; margin-top:0; margin-right:0; margin-bottom:0; ">
- <button id="cmd_input" class="btn2_letter4" style="left:975px; top:760px; width:64px; height:19px; ">
- <caption>입 력</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( checkOpener() ) {
- opener.javascript.setParameter("mmt203_str1", tar_Sentence1.value);
- opener.javascript.setParameter("mmt203_str2", tar_Sentence2.value);
- window.close();
- } else {
- var rtn = messageBox("상위화면을 찾을 수", "E001");
- }
- ]]>
- </script>
- </button>
- <textarea id="tar_Sentence1" ref="/root/main/display/sentence1" style="left:5px; top:645px; width:740px; height:110px; ">
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- fMovePos(0, 0);
- ]]>
- </script>
- <script type="javascript" ev:event="onkeydown">
- <![CDATA[
- if (event.keyCode == 39) {
- var ls_pos = tar_Sentence1.selBegin;
- tar_Sentence1.selEnd = tar_Sentence1.selBegin;
- //setInputNodeCurText();
- fMovePos(ls_pos + 1, 0);
- }
- if(event.keyCode==9) {
- event.keyCode=0;
- model.setFocus("cmd_input");
- return;
- }
-
- ]]>
- </script>
- </textarea>
- <textarea id="tar_Sentence2" ref="/root/main/display/sentence2" style="left:750px; top:645px; width:440px; height:110px; "/>
- <button id="button9" class="btn2_letter5" style="left:885px; top:760px; width:75px; height:19px; ">
- <caption>줄 바꾸기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- tar_Sentence1.value = tar_Sentence1.value + "\n";
- ]]>
- </script>
- </button>
- <button id="button12" class="btn2_letter4" style="left:1050px; top:760px; width:64px; height:19px; ">
- <caption>취 소</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- if ( checkOpener() ) {
- opener.javascript.setParameter("mmt203_str1", "");
- opener.javascript.setParameter("mmt203_str2", "");
- window.close();
- } else {
- var rtn = messageBox("상위화면을 찾을 수", "E001");
- }
- ]]>
- </script>
- </button>
- <button id="button13" class="btn2_letter4" style="left:1125px; top:760px; width:64px; height:19px; ">
- <caption>초 기 화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- tar_Sentence1.value = ""
- tar_Sentence2.value = ""
-
- ]]>
- </script>
- </button>
- <output id="output2" ref="/root/main/display/pos" class="output_search" style="left:245px; top:0px; width:84px; height:19px; text-align:center; "/>
- <output id="output3" ref="/root/main/display/label" class="output_fix" style="left:330px; top:0px; width:565px; height:19px; "/>
- <datagrid id="grd_sheet" nodeset="/root/main/sheetlist/sheet" backcoloralternate="#ffffff" caption="Sheet List^seq^defltvw^grupcd" colsep="^" colwidth="198, 100, 100, 100" mergecellsfixedrows="bycolrec" rowheader="update" rowsep="|" style="left:5px; top:25px; width:235px; height:615px; ">
- <col ref="sheetnm" type="input"/>
- <col ref="seq" type="input" visibility="hidden"/>
- <col ref="defltvw" type="input" visibility="hidden"/>
- <col ref="grupcd" type="input" visibility="hidden"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var selRow = grd_sheet.row;
- var seq = model.getValue("/root/main/sheetlist/sheet[" + selRow + "]/seq");
- //ss.ReDraw = false;
- if (seq == "") {
- //ss.maxrows = 0;
- return;
- }
-
- fSetClearSpread(true);
-
- fGetSheetInfo(seq);
-
- fGetSheetData(seq);
- //ss.ReDraw = true;
-
- ]]>
- </script>
- </datagrid>
- <button id="btn_rowadd" class="btn2_letter3" style="left:5px; top:0px; width:53px; height:19px; ">
- <caption>행추가</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var gridCnt = model.getXPathValue("count(/root/main/sheetlist/sheet)");
- if (gridCnt > 0) {
- //1:insert, 3:insert,new
- if (grd_sheet.rowStatus(gridCnt) == 1 || grd_sheet.rowStatus(gridCnt) == 3 ) {
- return;
- }
- }
- grd_sheet.addRow(false);
- var sgrupcd = model.getValue("/root/main/grupcd");
- model.setValue("/root/main/sheetlist/sheet[" + (Number(gridCnt) + 1) + "]/grupcd", sgrupcd);
-
- grd_sheet.refresh();
- ]]>
- </script>
- </button>
- <button id="btn_rowdel" class="btn2_letter3" style="left:60px; top:0px; width:53px; height:19px; ">
- <caption>행삭제</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var gridCnt = model.getXPathValue("count(/root/main/sheetlist/sheet)");
- if (gridCnt > 0) {
- var selRow = grd_sheet.row;
- //1:insert, 3:insert,new
- if (grd_sheet.rowStatus(selRow) == 1 || grd_sheet.rowStatus(gridCnt) == 3 ) {
- grd_sheet.deleteRow(selRow, false);
- } else {
- grd_sheet.addStatus(selRow,"delete")
- }
- grd_sheet.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_sheetsave" class="btn5_letter2" style="left:198px; top:0px; width:42px; height:19px; ">
- <caption>저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sgrupcd = model.getValue("/root/main/grupcd");
- var confirm = messageBox("", "Q002", "");
- if (confirm == "6") {
- fSaveData();
- //ss.ReDraw = false;
- fSetClearSpread(true);
- fGetSheetList(sgrupcd);
- //ss.ReDraw = true;
- model.refresh();
- }
- ]]>
- </script>
- </button>
- <button id="btn_default" class="btn2_letter4" style="left:115px; top:0px; width:55px; height:19px; ">
- <caption>Default</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var sRow = grd_sheet.row;
- if (sRow > 0) {
- fClearSheetGridStyle();
- grd_sheet.rowstyle(sRow, "data", "font-weight") = "bold";
- model.setValue("/root/main/sheetlist/sheet[" + sRow + "]/defltvw","Y");
- } else {
- alert("선택된 Sheet가 없습니다.");
- }
- ]]>
- </script>
- </button>
- <button id="btn_datasave" class="btn5_letter6" style="left:5px; top:760px; width:86px; height:19px; ">
- <caption>편집내용저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var ls_seq = model.getValue("/root/main/display/seq");
- var li_line1 = 0;
- var li_line2 = 0;
-
- if (ls_seq=="") {
- messageBox("Sheet가 선택되지","E007");
- //model.setFocus("cmb_input_cls");
- return;
- }
-
- model.makeNode("/root/send/sheetinfo/sheet");
- model.copyNode("/root/send/info","/root/main/sheetinfo/sheet");
- model.resetInstanceNode("/root/send/sheetinfo/sheet");
- model.resetInstanceNode("/root/send/info");
- model.resetInstanceNode("/root/send/data");
- for(var i = 1;i<=grd_sheetdata.cols; i++) {
- //Cell Size, 간격초기화시 정보를 저장하기위해 첫 Cell을 저장한다.
- if (grd_sheetdata.colwidth(i) != 72 || i == 1) {
- li_line1 ++;
- model.makeValue("/root/send/info[" + li_line1+ "]/seq", ls_seq);
- model.makeValue("/root/send/info[" + li_line1+ "]/flag", "C");
- model.makeValue("/root/send/info[" + li_line1+ "]/pos", i);
- model.makeValue("/root/send/info[" + li_line1+ "]/val", grd_sheetdata.colwidth(i));
- }
- for(var j = 1;j<=grd_sheetdata.rows; j++) {
- //ss.row = j;
- //ss.col = i;
-
-
- //Data, Data가 전혀없을 경우를 위해 첫 Cell을 저장한다.
- if (model.getValue(grd_sheetdata.nodeset+"["+j+"]/col"+i) != "" || (i == 1 && j == 1)) {
- li_line2 ++;
- model.makeValue("/root/send/data[" + li_line2 + "]/seq", ls_seq);
- model.makeValue("/root/send/data[" + li_line2 + "]/rowno", j);
- model.makeValue("/root/send/data[" + li_line2 + "]/colno", i);
- if (grd_sheetdata.cellstyle("font-weight", j, i, j, i) == "bold") {
- model.makeValue("/root/send/data[" + li_line2 + "]/bold", "Y");
- } else {
- model.makeValue("/root/send/data[" + li_line2 + "]/bold", "N");
- }
- model.makeValue("/root/send/data[" + li_line2 + "]/content", model.getValue(grd_sheetdata.nodeset+"["+j+"]/col"+i));
- }
- }
- }
-
- if (submit( "TXAMT00304", false )) {
- alert("저장했습니다.");
- //get sheet data, info
- //ss.ReDraw = false;
- fSetClearSpread(true);
- fGetSheetData(ls_seq);
- fGetSheetInfo(ls_seq);
- //ss.ReDraw = true;
- }
-
-
- ]]>
- </script>
- </button>
- <bool id="bool1" checkvalue="Y,N" ref="/root/main/superuser/yn" style="left:105px; top:760px; width:25px; height:20px; ">
- <script type="javascript" ev:event="xforms-select">
- <![CDATA[
- model.makeValue("/root/main/superuser/yn", "Y");
- fApplyPermission();
- ]]>
- </script>
- <script type="javascript" ev:event="xforms-deselect">
- <![CDATA[
- model.makeValue("/root/main/superuser/yn", "N");
- fApplyPermission();
- ]]>
- </script>
- </bool>
- <caption id="cap_superuser" style="left:129px; top:762px; width:71px; height:15px; ">관리자모드</caption>
- <button id="btn_fontbold" class="btn2_letter2" style="left:1148px; top:0px; width:42px; height:19px; ">
- <caption>굵게</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var srow = 0;
- var scol = 0;
- for (var i=0; i<grd_sheetdata.selectedCells.length; i++)
- {
- srow = grd_sheetdata.selectedCells.item(i).row
- scol = grd_sheetdata.selectedCells.item(i).col
-
- if (grd_sheetdata.cellstyle("font-weight", srow, scol) == "bold") {
- grd_sheetdata.rebuildStyle( srow, scol, srow, scol);
- }else {
- grd_sheetdata.cellstyle("font-weight", srow, scol) = "bold";
- }
- }
-
- // var ls_Row1 = ss.SelBlockRow;
- // var ls_Row2 = ss.SelBlockRow2;
- // var ls_Col1 = ss.SelBlockCol;
- // var ls_Col2 = ss.SelBlockCol2;
- //
- // ss.BlockMode = true;
- // ss.row = ls_Row1;
- // ss.row2 = ls_Row2;
- // ss.col = ls_Col1;
- // ss.col2 = ls_Col2;
- //
- // //block의 첫Cell기준
- // if (ss.FontBold) {
- // ss.FontBold = false;
- // }else {
- // ss.FontBold = true;
- // }
- //
- // ss.BlockMode = false;
- /*
- var Row = ss.ActiveRow;
- var Col = ss.ActiveCol;
- ss.row = Row;
- ss.col = Col;
- if (ss.FontBold) {
- ss.FontBold = false;
- }else {
- ss.FontBold = true;
- }
- */
- ]]>
- </script>
- </button>
- <button id="btn_excel" class="btn2_letter5" style="left:990px; top:0px; width:75px; height:19px; ">
- <caption>엑셀업로드</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
-
- //엑셀용 변수 선언
- var Excel,oRange;
- var fileName = window.fileDialog("open", ",", false, " ", "xls", "All Files (*.*) |*.*| Excel FIles(*.xls)|*.xls");
- if (fileName == "") return;
- // 엑셀 객체생성
- Excel = new ActiveXObject("Excel.Application");
- Excel.Application.Workbooks.Open(fileName);
- //엑셀표시
- Excel.Application.Visible = false;
- //sheet1 선택
- Excel.Application.Worksheets(1).Activate;
- // sheet1내 작업영역을 객체에 저장
- oRange = Excel.Application.ActiveSheet.UsedRange;
-
- //oRange에는 현재 내용이 있는 부분만 선택됨.
- //oRange부분을 선택표시
- oRange.Select();
- //ss.ReDraw = false;
- fSetClearSpread(true);
- //oRange부분을 브라우저에 출력
-
- for ( var i= 1; i <= oRange.Rows.count ; i ++ ) //Rows
- {
- for ( var j = 1 ; j <= oRange.Columns.count ; j ++ ) //Columns
- {
- if (((oRange.Cells( 1, j ).width) / 72) * 96 != 72) {
- grd_sheetdata.colWidth(j) = ((oRange.Cells( 1, j ).width) / 72) * 96 ;
- }
- // ss.row = i;
- // ss.col = j;
- // ss.text = oRange.Cells( i, j );
- // ss.FontBold = oRange.Cells( i, j ).font.bold;
- if (oRange.Cells( i, j ).Value != null ) {
- model.makeValue(grd_sheetdata.nodeset+"["+i+"]/col"+j, oRange.Cells( i, j ));
- }
- if (oRange.Cells( i, j ).font.bold) {
- grd_sheetdata.cellstyle("font-weight", i, j) = "bold";
- }
-
- }
- }
- // ss.ReDraw = true;
- Excel.Quit();
-
- grd_sheetdata.resizeCells();
- grd_sheetdata.rebuild();
- ]]>
- </script>
- </button>
- <button id="btn_initcell" class="btn2_letter5" style="left:1069px; top:0px; width:75px; height:19px; ">
- <caption>간격초기화</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- //ss.ReDraw = false;
- fSetClearSpread(false);
- //ss.ReDraw = true;
- ]]>
- </script>
- </button>
- <button id="button1" class="btn2_letter5" style="left:885px; top:760px; width:75px; height:19px; ">
- <caption>줄 바꾸기</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- tar_Sentence1.value = tar_Sentence1.value + "\n";
- ]]>
- </script>
- </button>
- <datagrid id="grd_sheetdata" nodeset="/root/main/grdsheetdata" allowbigselection="false" allowselection="true" allowuserresize="true" autoresize="false" autosizemouse="true" caption="A^B^C^D^E^F^G^H^I^J^K^L^M^N^O^P^Q^R^S^T" colsep="^" colwidth="72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72, 72" mergecellsfixedrows="bycolrec" rowheader="seq" rowsep="|" selectionmode="free" tooltip="true" style="left:245px; top:25px; width:940px; height:613px; ">
- <col ref="col1" type="input"/>
- <col ref="col2" type="input"/>
- <col ref="col3" type="input"/>
- <col ref="col4" type="input"/>
- <col ref="col5" type="input"/>
- <col ref="col6" type="input"/>
- <col ref="col7" type="input"/>
- <col ref="col8" type="input"/>
- <col ref="col9" type="input"/>
- <col ref="col10" type="input"/>
- <col ref="col11" type="input"/>
- <col ref="col12" type="input"/>
- <col ref="col13" type="input"/>
- <col ref="col14" type="input"/>
- <col ref="col15" type="input"/>
- <col ref="col16" type="input"/>
- <col ref="col17" type="input"/>
- <col ref="col18" type="input"/>
- <col ref="col19" type="input"/>
- <col ref="col20" type="input"/>
- <script type="javascript" ev:event="onclick">
- <![CDATA[
- var ls_pos = "";
- var ls_value = "";
- var ls_row = grd_sheetdata.row;
- var ls_col = grd_sheetdata.col;
- var ls_sentence = "";
- var ls_searhstr = "";
- //ss object외에 입력되는것을 방지하기위해 추가
- //model.setFocus("ss");
-
- //좌표 찍어줌
- //ASCII코드를 문자로 변환
- ls_pos = String.fromCharCode(65 + (ls_col - 1));
- ls_pos = ls_pos + ls_row;
- model.setValue("/root/main/display/pos", ls_pos);
-
- grd_sheetdata.row = ls_row;
- grd_sheetdata.col = ls_col;
- ls_value = grd_sheetdata.valueMatrix(ls_row,ls_col);
- model.setValue("/root/main/display/label"," " + ls_value);
- //model.refresh();
-
- if (ls_value == "") return;
- if (grd_sheetdata.cellstyle("font-weight", ls_row, ls_col) == "bold") return;
- if (ls_row==0 ) return;
-
- if (ls_col == 0) return;
-
- if (ls_value.indexOf("[[") != -1 && ls_value.indexOf("]]") != -1) {
- ls_sentence = ls_value.substring(0,ls_value.indexOf("[["));
- ls_searhstr = ls_value.substring(ls_value.indexOf("[["), ls_value.indexOf("]]")+2);
- } else {
- ls_sentence = ls_value;
- ls_searhstr = "";
- }
- if (tar_Sentence1.value == "") tar_Sentence1.value = " ";
-
- if (tar_Sentence1.value == " " || tar_Sentence1.value.substr(tar_Sentence1.value.length-1,1).charCodeAt(0) == 10) {
- if (tar_Sentence1.value == " ") tar_Sentence1.value = "";
- tar_Sentence1.value = tar_Sentence1.value + ls_sentence;
- } else {
- tar_Sentence1.value = tar_Sentence1.value + " " + ls_sentence;
- }
-
- if (ls_searhstr != "") {
- if(tar_Sentence2.value == "") {
- tar_Sentence2.value = ls_searhstr.replace("[[","<").replace("]]",">");
- } else {
- tar_Sentence2.value = tar_Sentence2.value + " " + ls_searhstr.replace("[[","<").replace("]]",">");
- }
- }
- //문장중 마지막 두글자가 AT인 경우 마지막 Sheet로 이동해서 보여준다.
- if (tar_Sentence1.value.substr(tar_Sentence1.value.length-2,2).toUpperCase()== "AT") {
- var ls_lastrow = model.getXPathValue("count(/root/main/sheetlist/sheet)");
- var seq = model.getValue("/root/main/sheetlist/sheet[" + ls_lastrow + "]/seq");
- grd_sheet.row = ls_lastrow;
- if (seq == "") {
- //ss.maxrows = 0;
- } else {
- //ss.ReDraw = false;
- fSetClearSpread(true);
- fGetSheetData(seq);
- fGetSheetInfo(seq);
- //ss.ReDraw = true;
- }
- }
-
- ]]>
- </script>
- <script type="javascript" ev:event="KeyPress(KeyAscii)">
- <![CDATA[
- if(KeyAscii==9) model.setFocus("cmd_input");
- ]]>
- </script>
- </datagrid>
- <bool id="bool2" checkvalue="Y,N" ref="/root/init/autoresizeyn" style="left:200px; top:760px; width:20px; height:20px; "/>
- <caption id="caption1" style="left:221px; top:761px; width:86px; height:15px; ">자동줄바꿈적용</caption>
- <button id="btn_xlssave" class="btn2_letter5" style="left:910px; top:0px; width:75px; height:19px; ">
- <caption>엑셀저장</caption>
- <script type="javascript" ev:event="DOMActivate">
- <![CDATA[
- var file = window.fileDialog("save","","true","","xls","Excel Files(*.xls)|*.xls");
- if(file == "") return;
- grd_sheetdata.saveExcel(file, "sheet1;exportfalserows:0");
- ]]>
- </script>
- </button>
- </xhtml:body>
- </xhtml:html>
|