DeskTop.js 499 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339
  1. /*
  2. 此處為桌面系統啟動應用區域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面應用處理
  5. //判斷圖片是否在拖拽,如果是拖拽圖標的過程是不會打開圖片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教師桌面圖標的全局變量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //極簡模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教師桌面圖標的全局變量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "項目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的項目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "學習資料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "漢字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "國學經典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "筆畫訓練", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "書法課堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "課程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "學生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "學生評價", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班級管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "課程進展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的評價", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北師大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "數字實驗室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  426. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  427. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  428. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  429. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  431. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  432. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  433. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  434. ];
  435. U.MD.D.I.wankeAdminDeskIcon = [
  436. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  444. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  445. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  446. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  447. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  448. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  450. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  451. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  453. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  454. ];
  455. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  456. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  457. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  458. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  459. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  460. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  461. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  462. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  463. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  464. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  465. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  466. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  467. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  468. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  469. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  470. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  471. ];
  472. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  473. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  474. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  475. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  476. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  477. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  478. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  479. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  480. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  481. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  482. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  483. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  484. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  485. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  486. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  487. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  488. ];
  489. //明德教師桌面圖標的全局變量
  490. U.MD.D.I.MingdeTeacherDeskIcon = [
  491. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  492. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  493. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  494. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  495. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  496. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  497. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  498. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  499. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  500. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  501. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  502. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  503. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  504. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  505. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  506. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  507. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  508. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  509. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  510. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  511. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  512. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  513. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  514. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  515. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  516. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  517. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  518. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  519. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  522. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  523. ];
  524. //97c4ee8b-d010-4042-986d-e9d3c217264f
  525. //教師桌面圖標的全局變量
  526. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  527. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  528. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  529. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  530. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  531. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  532. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  533. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  534. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  535. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  538. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  539. ];
  540. //福田
  541. U.MD.D.I.futianTeacherDeskIcon = [
  542. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  545. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  546. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  547. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  548. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  551. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  552. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  553. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  554. ];
  555. //福田
  556. U.MD.D.I.futianAdminDeskIcon = [
  557. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  562. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  563. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  565. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  567. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  568. ];
  569. //lotech
  570. U.MD.D.I.lotechTeacherDeskIcon = [
  571. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  575. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  578. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  579. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  580. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  581. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  582. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  583. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  586. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  587. ];
  588. //龍華中心小學教師桌面圖標的全局變量
  589. U.MD.D.I.longhuateacherDeskIcon = [
  590. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  591. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  592. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  593. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  594. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  595. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  596. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  597. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  598. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  599. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  600. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  601. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  602. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  603. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  604. ];
  605. //教科院實小教師桌面圖標的全局變量
  606. U.MD.D.I.siesteacherDeskIcon = [
  607. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  608. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  609. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  611. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  612. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  613. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  614. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  615. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  616. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  617. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  618. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  622. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  623. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  626. { "Name": "數據融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  627. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  628. { "Name": "評測看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  629. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. { "Name": "教師管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  631. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  632. ];
  633. //教科院實小教師桌面圖標的全局變量
  634. U.MD.D.I.siesStudentDeskIcon = [
  635. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  639. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  640. ];
  641. //福田
  642. U.MD.D.I.gdjgTeacherDeskIcon = [
  643. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  644. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  645. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  646. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  647. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  648. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  649. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  651. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  656. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  657. ];
  658. //gdjg
  659. U.MD.D.I.gdjgAdminDeskIcon = [
  660. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  661. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  662. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  663. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  664. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  665. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  666. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  668. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  669. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  671. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  672. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  673. ];
  674. //hk
  675. U.MD.D.I.hkteacherDeskIcon = [
  676. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  680. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  681. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  682. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  683. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  684. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  685. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  686. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  687. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  689. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  692. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  693. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  694. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  695. ];
  696. //hk
  697. U.MD.D.I.hkStudentDeskIcon = [
  698. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  699. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  700. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  701. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  704. ];
  705. //hk
  706. U.MD.D.I.hkaceteacherDeskIcon = [
  707. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  708. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  709. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  710. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  711. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  712. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  713. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  714. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  715. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  716. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  717. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  718. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  719. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  720. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  721. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  723. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  724. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  725. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  726. ];
  727. //hk
  728. U.MD.D.I.hkaceStudentDeskIcon = [
  729. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  730. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  731. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  732. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  733. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  735. ];
  736. //香海正覺蓮社佛教正覺中學
  737. U.MD.D.I.hkZJLSteacherDeskIcon = [
  738. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  739. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  740. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  741. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  742. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  743. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  744. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  745. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  746. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  747. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  748. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  749. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  750. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  751. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  752. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  753. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  754. ];
  755. //香海正覺蓮社佛教正覺中學
  756. U.MD.D.I.hkZJLSStudentDeskIcon = [
  757. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  758. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  759. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  760. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  761. ];
  762. //雲海
  763. U.MD.D.I.yunhaiTeacherDeskIcon = [
  764. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  765. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  766. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  767. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  768. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  769. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  770. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  771. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  772. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  773. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  774. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  775. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  776. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  777. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  778. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  779. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  780. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  781. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  782. ];
  783. //福田
  784. U.MD.D.I.heyuanTeacherDeskIcon = [
  785. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  786. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  787. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  788. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  789. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  790. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  791. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  792. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  793. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  794. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  795. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  796. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  797. ];
  798. //福田
  799. U.MD.D.I.heyuanAdminDeskIcon = [
  800. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  801. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  802. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  803. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  804. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  805. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  806. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  807. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  808. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  809. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  810. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  811. ];
  812. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  813. U.MD.D.I.szherTeacherDeskIcon = [
  814. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  817. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  818. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  819. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  820. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  821. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  824. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  825. ];
  826. //dsei
  827. U.MD.D.I.dseiTeacherDeskIcon = [
  828. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  829. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  830. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  831. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  832. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  833. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  834. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  835. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  836. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  837. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  838. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  839. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  840. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  841. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  842. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  843. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  844. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  845. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  846. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  847. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  848. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  849. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  850. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  851. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  852. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  853. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  854. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  855. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  856. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  857. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  858. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  859. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  860. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  861. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  862. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  863. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  864. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  865. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  866. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  868. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  869. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  870. ];
  871. //dsei
  872. U.MD.D.I.dseiAdminDeskIcon = [
  873. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  874. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  875. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  876. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  877. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  878. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  879. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  880. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  881. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  882. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  883. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  884. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  885. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  886. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  887. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  888. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  889. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  890. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  891. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  892. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  893. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  894. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  895. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  896. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  897. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  898. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  899. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  900. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  901. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  902. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  903. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  904. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  905. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  906. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  907. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  908. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  909. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  910. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  911. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  913. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  914. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  915. ];
  916. //dsei
  917. U.MD.D.I.dseiStudentDeskIcon = [
  918. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  919. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  920. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  921. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  922. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  924. ];
  925. //未來教育基地
  926. U.MD.D.I.szjkyTeacherDeskIcon = [
  927. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  928. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  929. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  930. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  931. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  932. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  933. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  934. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  935. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  936. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  937. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  938. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  939. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  940. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  941. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  942. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  943. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  944. { "Name": "評測管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  945. { "Name": "評測中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  946. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  947. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  948. ];
  949. //未來教育基地
  950. U.MD.D.I.szjkyAdminDeskIcon = [
  951. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  952. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  953. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  954. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  955. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  956. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  957. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  958. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  959. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  960. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  961. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  962. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  963. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  964. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  965. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  966. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  967. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  968. { "Name": "評測管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  969. { "Name": "評測中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  970. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  971. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  972. ];
  973. //未來教育基地
  974. U.MD.D.I.szjkyStudentDeskIcon = [
  975. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  976. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  977. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  978. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  979. ];
  980. //成華教育局
  981. U.MD.D.I.chjyjTeacherDeskIcon = [
  982. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  983. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  984. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  985. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  986. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  987. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  988. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  989. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  990. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  991. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  992. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  995. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  996. ];
  997. //成華教育局chjyj
  998. U.MD.D.I.chjyjAdminDeskIcon = [
  999. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1000. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1001. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1002. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1003. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1004. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1005. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1006. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1007. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1008. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1009. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1010. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1013. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1014. ];
  1015. //成華教育局chjyj
  1016. U.MD.D.I.chjyjStudentDeskIcon = [
  1017. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1018. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1019. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1020. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1021. ];
  1022. //tpc
  1023. U.MD.D.I.tpcStudentDeskIcon = [
  1024. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1025. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1026. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1027. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1028. ];
  1029. //tpc
  1030. U.MD.D.I.tpcTeacherDeskIcon = [
  1031. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1032. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1033. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1034. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1035. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1036. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1037. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1038. ];
  1039. //tpc
  1040. U.MD.D.I.tpcAdminDeskIcon = [
  1041. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1042. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1043. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1044. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1045. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1046. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1047. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1048. ];
  1049. //THU-IOE
  1050. U.MD.D.I.thuioeTeacherDeskIcon = [
  1051. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1052. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1053. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1054. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1055. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1056. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1057. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1058. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1059. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1060. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1061. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1062. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1063. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1064. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1065. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1066. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1067. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1068. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1069. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1070. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1071. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1072. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1073. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1074. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1075. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1076. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1077. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1078. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1079. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1080. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1081. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1082. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1083. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1084. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1085. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1086. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1087. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1088. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1089. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1090. ];
  1091. //THU-IOE
  1092. U.MD.D.I.thuioeStudentDeskIcon = [
  1093. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1094. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1095. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1096. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1097. ];
  1098. //jccssyl
  1099. U.MD.D.I.jccssylTeacherDeskIcon = [
  1100. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1101. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1102. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1103. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1104. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1105. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1106. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1107. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1108. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1109. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1110. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1111. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1112. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1113. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1114. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1115. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1116. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1117. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1118. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1119. ];
  1120. //jccssyl
  1121. U.MD.D.I.jccssylStudentDeskIcon = [
  1122. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1123. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1124. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1125. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1126. ];
  1127. //#region 桌面初始化a
  1128. /**
  1129. * 初始化桌面的起始函數
  1130. *
  1131. */
  1132. U.MD.D.I.init = function () {
  1133. if ($("#U_MD_D_K")[0]) {
  1134. //初始化桌面圖標
  1135. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1136. // var clickUrl = ':12588/requestIp.php';
  1137. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1138. // U.MD.D.I.Ip = data;
  1139. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1140. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1141. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1142. // })
  1143. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1144. // })
  1145. }
  1146. }
  1147. /**
  1148. * 模式切換
  1149. *
  1150. */
  1151. U.MD.D.I.ModeCheck = function (type) {
  1152. if (US.Config.type == type) {
  1153. return
  1154. }
  1155. US.Config.type = type
  1156. $('.U_PBL_Check .active')[0].className = ''
  1157. if (type == 1) {
  1158. $('.U_PBL_Check div')[0].className = 'active'
  1159. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1160. } else {
  1161. $('.U_PBL_Check div')[1].className = 'active'
  1162. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1163. }
  1164. //初始化桌面圖標
  1165. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1166. if (type == 2) {
  1167. U.MD.D.I.openApplication("project")
  1168. }
  1169. }
  1170. /**
  1171. * 隱藏任務欄
  1172. *
  1173. * @param {element} 桌面元素
  1174. */
  1175. U.MD.D.I.hiddenTaskbar = function (el) {
  1176. //任務欄位置變小
  1177. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1178. //桌面的位置變大
  1179. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1180. }
  1181. /**
  1182. * 隱藏任務欄
  1183. *
  1184. * @param {element} 桌面元素
  1185. */
  1186. U.MD.D.I.hiddenTaskbarout = function (el) {
  1187. //任務欄位置變小
  1188. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1189. //任務欄位置變化
  1190. U.selectEl(el).css({ "bottom": "-60px" });
  1191. //桌面的位置變大
  1192. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1193. }
  1194. }
  1195. /**
  1196. * 初始化打印桌面圖標
  1197. *
  1198. * @param {element} 桌面元素
  1199. */
  1200. U.MD.D.I.initDesktopIcons = function (el, type) {
  1201. var i, //用於循環
  1202. _content, //桌面圖標元素
  1203. _iconcontent, //桌面圖標元素
  1204. _frag = $$("frag"), //定義一個碎片元素
  1205. _type = US.userInfo.type,
  1206. _org = US.userInfo.org,
  1207. _oid = US.userInfo.organizeid,
  1208. _role = US.userInfo.role,
  1209. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1210. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1211. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1212. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1213. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1214. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1215. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1216. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1217. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1218. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1219. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1220. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大
  1221. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1222. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1223. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1224. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1225. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1226. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1227. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1228. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1229. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1230. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1231. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1232. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1233. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1234. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1235. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1236. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1237. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1238. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1239. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1240. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1241. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1242. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1243. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1244. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1245. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1246. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1247. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1248. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1249. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1250. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1251. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1252. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1253. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1254. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1255. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1256. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1257. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1258. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1259. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1260. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1261. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1262. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1263. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1264. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1265. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1266. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1267. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
  1268. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
  1269. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //網絡夏令營
  1270. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5'];
  1271. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956','fbb00cc1-380b-4173-add4-59b3cf7682b5','63060b4a-89dc-4f0c-bf04-a1de22d479ff','777559d2-7239-11ee-b98c-005056b86db5'];
  1272. //清楚桌面圖標
  1273. el.innerHTML = "";
  1274. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1275. _teacherDesktopIconInfo.push(
  1276. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1277. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } }, { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } }, { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } }, { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1278. )
  1279. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1280. }
  1281. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1282. _teacherDesktopIconInfo.push(
  1283. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1284. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1285. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1286. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1287. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1288. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1289. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1290. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1291. { "Name": "評測管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1292. { "Name": "評測中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1293. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1294. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1295. )
  1296. }
  1297. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1298. // _teacherDesktopIconInfo.push(
  1299. // )
  1300. // }
  1301. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1302. _teacherDesktopIconInfo.push(
  1303. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1304. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1305. )
  1306. }
  1307. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1308. _teacherDesktopIconInfo.push(
  1309. )
  1310. }
  1311. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1312. _teacherDesktopIconInfo.push(
  1313. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1314. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1315. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1316. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1317. )
  1318. _studentDesktopIconInfo.push(
  1319. )
  1320. }
  1321. //麒麟二中 和 民新小學
  1322. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1323. _teacherDesktopIconInfo.push(
  1324. )
  1325. }
  1326. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1327. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1328. _teacherDesktopIconInfo.push(
  1329. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1330. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1331. )
  1332. }
  1333. //麒麟二中
  1334. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1335. _studentDesktopIconInfo.push(
  1336. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1337. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1338. )
  1339. }
  1340. //萬科雙語
  1341. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1342. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1343. if (el.Name == '項目管理') {
  1344. el.Name = 'PBL項目'
  1345. }
  1346. return el
  1347. })
  1348. _studentDesktopIconInfo3.push(
  1349. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1350. )
  1351. }
  1352. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1353. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1354. return el.Name != '魔盒識字' && el.Name != '24點'
  1355. })
  1356. }
  1357. if ((_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") && _type == 2) {
  1358. _studentDesktopIconInfo.push(
  1359. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1360. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1361. )
  1362. }
  1363. //循環創建桌面圖標
  1364. if (type == 1) {
  1365. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1366. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1367. _content = $$("div", {
  1368. className: "U_MD_D_KO",
  1369. "onmousedown": U.UF.C.closure(function (obj) {
  1370. //防止拖動圖標即打開了桌面應用
  1371. U.MD.D.click(this, obj);
  1372. }, [_studentDesktopIconInfo[i]]),
  1373. "onclick": U.UF.C.closure(function (obj) {
  1374. //防止拖動圖標即打開了桌面應用
  1375. U.MD.D.click(this, obj);
  1376. }, [_studentDesktopIconInfo[i]])
  1377. }, _frag); //
  1378. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1379. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1380. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1381. }
  1382. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1383. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1384. _content = $$("div", {
  1385. className: "U_MD_D_KO",
  1386. "onmousedown": U.UF.C.closure(function (obj) {
  1387. //防止拖動圖標即打開了桌面應用
  1388. U.MD.D.click(this, obj);
  1389. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1390. "onclick": U.UF.C.closure(function (obj) {
  1391. //防止拖動圖標即打開了桌面應用
  1392. U.MD.D.click(this, obj);
  1393. }, [_hkZJLSStudentDeskIconInfo[i]])
  1394. }, _frag); //
  1395. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1396. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1397. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1398. } //
  1399. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1400. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1401. _content = $$("div", {
  1402. className: "U_MD_D_KO",
  1403. "onmousedown": U.UF.C.closure(function (obj) {
  1404. //防止拖動圖標即打開了桌面應用
  1405. U.MD.D.click(this, obj);
  1406. }, [_jccssylStudentDeskIconInfo[i]]),
  1407. "onclick": U.UF.C.closure(function (obj) {
  1408. //防止拖動圖標即打開了桌面應用
  1409. U.MD.D.click(this, obj);
  1410. }, [_jccssylStudentDeskIconInfo[i]])
  1411. }, _frag); //
  1412. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1413. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1414. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1415. }
  1416. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1417. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1418. _content = $$("div", {
  1419. className: "U_MD_D_KO",
  1420. "onmousedown": U.UF.C.closure(function (obj) {
  1421. //防止拖動圖標即打開了桌面應用
  1422. U.MD.D.click(this, obj);
  1423. }, [_thuioeStudentDeskIconInfo[i]]),
  1424. "onclick": U.UF.C.closure(function (obj) {
  1425. //防止拖動圖標即打開了桌面應用
  1426. U.MD.D.click(this, obj);
  1427. }, [_thuioeStudentDeskIconInfo[i]])
  1428. }, _frag); //
  1429. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1430. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1431. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1432. }
  1433. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1434. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1435. _content = $$("div", {
  1436. className: "U_MD_D_KO",
  1437. "onmousedown": U.UF.C.closure(function (obj) {
  1438. //防止拖動圖標即打開了桌面應用
  1439. U.MD.D.click(this, obj);
  1440. }, [_tpcStudentDeskIconInfo[i]]),
  1441. "onclick": U.UF.C.closure(function (obj) {
  1442. //防止拖動圖標即打開了桌面應用
  1443. U.MD.D.click(this, obj);
  1444. }, [_tpcStudentDeskIconInfo[i]])
  1445. }, _frag); //
  1446. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1447. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1448. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1449. } //
  1450. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1451. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1452. _content = $$("div", {
  1453. className: "U_MD_D_KO",
  1454. "onmousedown": U.UF.C.closure(function (obj) {
  1455. //防止拖動圖標即打開了桌面應用
  1456. U.MD.D.click(this, obj);
  1457. }, [_chjyjStudentDeskIconInfo[i]]),
  1458. "onclick": U.UF.C.closure(function (obj) {
  1459. //防止拖動圖標即打開了桌面應用
  1460. U.MD.D.click(this, obj);
  1461. }, [_chjyjStudentDeskIconInfo[i]])
  1462. }, _frag); //
  1463. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1464. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1465. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1466. }
  1467. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1468. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1469. _content = $$("div", {
  1470. className: "U_MD_D_KO",
  1471. "onmousedown": U.UF.C.closure(function (obj) {
  1472. //防止拖動圖標即打開了桌面應用
  1473. U.MD.D.click(this, obj);
  1474. }, [_szjkyStudentDeskIconInfo[i]]),
  1475. "onclick": U.UF.C.closure(function (obj) {
  1476. //防止拖動圖標即打開了桌面應用
  1477. U.MD.D.click(this, obj);
  1478. }, [_szjkyStudentDeskIconInfo[i]])
  1479. }, _frag); //
  1480. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1481. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1482. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1483. }
  1484. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1485. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1486. _content = $$("div", {
  1487. className: "U_MD_D_KO",
  1488. "onmousedown": U.UF.C.closure(function (obj) {
  1489. //防止拖動圖標即打開了桌面應用
  1490. U.MD.D.click(this, obj);
  1491. }, [_dseiStudentDeskIconInfo[i]]),
  1492. "onclick": U.UF.C.closure(function (obj) {
  1493. //防止拖動圖標即打開了桌面應用
  1494. U.MD.D.click(this, obj);
  1495. }, [_dseiStudentDeskIconInfo[i]])
  1496. }, _frag); //
  1497. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1498. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1499. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1500. }
  1501. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1502. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1503. _content = $$("div", {
  1504. className: "U_MD_D_KO",
  1505. "onmousedown": U.UF.C.closure(function (obj) {
  1506. //防止拖動圖標即打開了桌面應用
  1507. U.MD.D.click(this, obj);
  1508. }, [_siesStudentDeskIconInfo[i]]),
  1509. "onclick": U.UF.C.closure(function (obj) {
  1510. //防止拖動圖標即打開了桌面應用
  1511. U.MD.D.click(this, obj);
  1512. }, [_siesStudentDeskIconInfo[i]])
  1513. }, _frag); //
  1514. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1515. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1516. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1517. }
  1518. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1519. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1520. _content = $$("div", {
  1521. className: "U_MD_D_KO",
  1522. "onmousedown": U.UF.C.closure(function (obj) {
  1523. //防止拖動圖標即打開了桌面應用
  1524. U.MD.D.click(this, obj);
  1525. }, [_hkStudentDeskIconInfo[i]]),
  1526. "onclick": U.UF.C.closure(function (obj) {
  1527. //防止拖動圖標即打開了桌面應用
  1528. U.MD.D.click(this, obj);
  1529. }, [_hkStudentDeskIconInfo[i]])
  1530. }, _frag); //
  1531. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1532. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1533. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1534. }
  1535. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1536. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1537. _content = $$("div", {
  1538. className: "U_MD_D_KO",
  1539. "onmousedown": U.UF.C.closure(function (obj) {
  1540. //防止拖動圖標即打開了桌面應用
  1541. U.MD.D.click(this, obj);
  1542. }, [_hkaceStudentDeskIconInfo[i]]),
  1543. "onclick": U.UF.C.closure(function (obj) {
  1544. //防止拖動圖標即打開了桌面應用
  1545. U.MD.D.click(this, obj);
  1546. }, [_hkaceStudentDeskIconInfo[i]])
  1547. }, _frag); //
  1548. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1549. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1550. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1551. }
  1552. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1553. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1554. _content = $$("div", {
  1555. className: "U_MD_D_KO",
  1556. "onmousedown": U.UF.C.closure(function (obj) {
  1557. //防止拖動圖標即打開了桌面應用
  1558. U.MD.D.click(this, obj);
  1559. }, [_studentDesktopIconInfo[i]]),
  1560. "onclick": U.UF.C.closure(function (obj) {
  1561. //防止拖動圖標即打開了桌面應用
  1562. U.MD.D.click(this, obj);
  1563. }, [_studentDesktopIconInfo[i]])
  1564. }, _frag); //
  1565. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1566. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1567. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1568. }
  1569. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1570. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1571. _content = $$("div", {
  1572. className: "U_MD_D_KO",
  1573. "onmousedown": U.UF.C.closure(function (obj) {
  1574. //防止拖動圖標即打開了桌面應用
  1575. U.MD.D.click(this, obj);
  1576. }, [_tcStudentDeskIconInfo[i]]),
  1577. "onclick": U.UF.C.closure(function (obj) {
  1578. //防止拖動圖標即打開了桌面應用
  1579. U.MD.D.click(this, obj);
  1580. }, [_tcStudentDeskIconInfo[i]])
  1581. }, _frag); //
  1582. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1583. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1584. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1585. }
  1586. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1587. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1588. _content = $$("div", {
  1589. className: "U_MD_D_KO",
  1590. "onmousedown": U.UF.C.closure(function (obj) {
  1591. //防止拖動圖標即打開了桌面應用
  1592. U.MD.D.click(this, obj);
  1593. }, [_szscStudentDeskIconInfo[i]]),
  1594. "onclick": U.UF.C.closure(function (obj) {
  1595. //防止拖動圖標即打開了桌面應用
  1596. U.MD.D.click(this, obj);
  1597. }, [_szscStudentDeskIconInfo[i]])
  1598. }, _frag); //
  1599. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1600. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1601. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1602. }
  1603. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1604. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1605. _content = $$("div", {
  1606. className: "U_MD_D_KO",
  1607. "onmousedown": U.UF.C.closure(function (obj) {
  1608. //防止拖動圖標即打開了桌面應用
  1609. U.MD.D.click(this, obj);
  1610. }, [_studentDesktopIconInfo3[i]]),
  1611. "onclick": U.UF.C.closure(function (obj) {
  1612. //防止拖動圖標即打開了桌面應用
  1613. U.MD.D.click(this, obj);
  1614. }, [_studentDesktopIconInfo3[i]])
  1615. }, _frag); //
  1616. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1617. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1618. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1619. }
  1620. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1621. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1622. _content = $$("div", {
  1623. className: "U_MD_D_KO",
  1624. "onmousedown": U.UF.C.closure(function (obj) {
  1625. //防止拖動圖標即打開了桌面應用
  1626. U.MD.D.click(this, obj);
  1627. }, [_studentDesktopIconInfo2[i]]),
  1628. "onclick": U.UF.C.closure(function (obj) {
  1629. //防止拖動圖標即打開了桌面應用
  1630. U.MD.D.click(this, obj);
  1631. }, [_studentDesktopIconInfo2[i]])
  1632. }, _frag); //
  1633. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1634. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1635. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1636. }
  1637. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1638. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1639. _content = $$("div", {
  1640. className: "U_MD_D_KO",
  1641. "onmousedown": U.UF.C.closure(function (obj) {
  1642. //防止拖動圖標即打開了桌面應用
  1643. U.MD.D.click(this, obj);
  1644. }, [_wanketeacherDesktopIconInfo[i]]),
  1645. "onclick": U.UF.C.closure(function (obj) {
  1646. //防止拖動圖標即打開了桌面應用
  1647. U.MD.D.click(this, obj);
  1648. }, [_wanketeacherDesktopIconInfo[i]])
  1649. }, _frag); //
  1650. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1651. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1652. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1653. }
  1654. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1655. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1656. _content = $$("div", {
  1657. className: "U_MD_D_KO",
  1658. "onmousedown": U.UF.C.closure(function (obj) {
  1659. //防止拖動圖標即打開了桌面應用
  1660. U.MD.D.click(this, obj);
  1661. }, [_wankeAdminDesktopIconInfo[i]]),
  1662. "onclick": U.UF.C.closure(function (obj) {
  1663. //防止拖動圖標即打開了桌面應用
  1664. U.MD.D.click(this, obj);
  1665. }, [_wankeAdminDesktopIconInfo[i]])
  1666. }, _frag); //
  1667. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1668. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1669. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1670. }
  1671. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1672. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1673. _content = $$("div", {
  1674. className: "U_MD_D_KO",
  1675. "onmousedown": U.UF.C.closure(function (obj) {
  1676. //防止拖動圖標即打開了桌面應用
  1677. U.MD.D.click(this, obj);
  1678. }, [_jccssylTeacherDeskIconInfo[i]]),
  1679. "onclick": U.UF.C.closure(function (obj) {
  1680. //防止拖動圖標即打開了桌面應用
  1681. U.MD.D.click(this, obj);
  1682. }, [_jccssylTeacherDeskIconInfo[i]])
  1683. }, _frag); //
  1684. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1685. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1686. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1687. }
  1688. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1689. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1690. _content = $$("div", {
  1691. className: "U_MD_D_KO",
  1692. "onmousedown": U.UF.C.closure(function (obj) {
  1693. //防止拖動圖標即打開了桌面應用
  1694. U.MD.D.click(this, obj);
  1695. }, [_tpcOrganizerDeskIconInfo[i]]),
  1696. "onclick": U.UF.C.closure(function (obj) {
  1697. //防止拖動圖標即打開了桌面應用
  1698. U.MD.D.click(this, obj);
  1699. }, [_tpcOrganizerDeskIconInfo[i]])
  1700. }, _frag); //
  1701. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1702. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1703. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1704. }
  1705. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1706. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1707. _content = $$("div", {
  1708. className: "U_MD_D_KO",
  1709. "onmousedown": U.UF.C.closure(function (obj) {
  1710. //防止拖動圖標即打開了桌面應用
  1711. U.MD.D.click(this, obj);
  1712. }, [_tpcTeacherDeskIconInfo[i]]),
  1713. "onclick": U.UF.C.closure(function (obj) {
  1714. //防止拖動圖標即打開了桌面應用
  1715. U.MD.D.click(this, obj);
  1716. }, [_tpcTeacherDeskIconInfo[i]])
  1717. }, _frag); //
  1718. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1719. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1720. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1721. }
  1722. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1723. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1724. _content = $$("div", {
  1725. className: "U_MD_D_KO",
  1726. "onmousedown": U.UF.C.closure(function (obj) {
  1727. //防止拖動圖標即打開了桌面應用
  1728. U.MD.D.click(this, obj);
  1729. }, [_teacherDesktopIconInfo2[i]]),
  1730. "onclick": U.UF.C.closure(function (obj) {
  1731. //防止拖動圖標即打開了桌面應用
  1732. U.MD.D.click(this, obj);
  1733. }, [_teacherDesktopIconInfo2[i]])
  1734. }, _frag); //
  1735. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1736. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1737. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1738. }
  1739. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1740. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1741. _content = $$("div", {
  1742. className: "U_MD_D_KO",
  1743. "onmousedown": U.UF.C.closure(function (obj) {
  1744. //防止拖動圖標即打開了桌面應用
  1745. U.MD.D.click(this, obj);
  1746. }, [_thuioeTeacherDeskIconInfo[i]]),
  1747. "onclick": U.UF.C.closure(function (obj) {
  1748. //防止拖動圖標即打開了桌面應用
  1749. U.MD.D.click(this, obj);
  1750. }, [_thuioeTeacherDeskIconInfo[i]])
  1751. }, _frag); //
  1752. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1753. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1754. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1755. }
  1756. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1757. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1758. _content = $$("div", {
  1759. className: "U_MD_D_KO",
  1760. "onmousedown": U.UF.C.closure(function (obj) {
  1761. //防止拖動圖標即打開了桌面應用
  1762. U.MD.D.click(this, obj);
  1763. }, [_lotechTeacherDeskIconInfo[i]]),
  1764. "onclick": U.UF.C.closure(function (obj) {
  1765. //防止拖動圖標即打開了桌面應用
  1766. U.MD.D.click(this, obj);
  1767. }, [_lotechTeacherDeskIconInfo[i]])
  1768. }, _frag); //
  1769. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1770. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1771. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1772. }//
  1773. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1774. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1775. _content = $$("div", {
  1776. className: "U_MD_D_KO",
  1777. "onmousedown": U.UF.C.closure(function (obj) {
  1778. //防止拖動圖標即打開了桌面應用
  1779. U.MD.D.click(this, obj);
  1780. }, [_siesTeacherDeskIconInfo[i]]),
  1781. "onclick": U.UF.C.closure(function (obj) {
  1782. //防止拖動圖標即打開了桌面應用
  1783. U.MD.D.click(this, obj);
  1784. }, [_siesTeacherDeskIconInfo[i]])
  1785. }, _frag); //
  1786. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1787. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1788. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1789. }
  1790. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1791. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1792. _content = $$("div", {
  1793. className: "U_MD_D_KO",
  1794. "onmousedown": U.UF.C.closure(function (obj) {
  1795. //防止拖動圖標即打開了桌面應用
  1796. U.MD.D.click(this, obj);
  1797. }, [_longhuaTeacherDeskIconInfo[i]]),
  1798. "onclick": U.UF.C.closure(function (obj) {
  1799. //防止拖動圖標即打開了桌面應用
  1800. U.MD.D.click(this, obj);
  1801. }, [_longhuaTeacherDeskIconInfo[i]])
  1802. }, _frag); //
  1803. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1804. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1805. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1806. }
  1807. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1808. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1809. _content = $$("div", {
  1810. className: "U_MD_D_KO",
  1811. "onmousedown": U.UF.C.closure(function (obj) {
  1812. //防止拖動圖標即打開了桌面應用
  1813. U.MD.D.click(this, obj);
  1814. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1815. "onclick": U.UF.C.closure(function (obj) {
  1816. //防止拖動圖標即打開了桌面應用
  1817. U.MD.D.click(this, obj);
  1818. }, [_yunhaiTeacherDeskIconInfo[i]])
  1819. }, _frag); //
  1820. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1821. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1822. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1823. } //_hkStudentDeskIconInfo
  1824. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1825. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1826. _content = $$("div", {
  1827. className: "U_MD_D_KO",
  1828. "onmousedown": U.UF.C.closure(function (obj) {
  1829. //防止拖動圖標即打開了桌面應用
  1830. U.MD.D.click(this, obj);
  1831. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1832. "onclick": U.UF.C.closure(function (obj) {
  1833. //防止拖動圖標即打開了桌面應用
  1834. U.MD.D.click(this, obj);
  1835. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1836. }, _frag); //
  1837. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1838. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1839. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1840. }
  1841. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1842. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1843. _content = $$("div", {
  1844. className: "U_MD_D_KO",
  1845. "onmousedown": U.UF.C.closure(function (obj) {
  1846. //防止拖動圖標即打開了桌面應用
  1847. U.MD.D.click(this, obj);
  1848. }, [_hkTeacherDeskIconInfo[i]]),
  1849. "onclick": U.UF.C.closure(function (obj) {
  1850. //防止拖動圖標即打開了桌面應用
  1851. U.MD.D.click(this, obj);
  1852. }, [_hkTeacherDeskIconInfo[i]])
  1853. }, _frag); //
  1854. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1855. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1856. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1857. }
  1858. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1859. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1860. _content = $$("div", {
  1861. className: "U_MD_D_KO",
  1862. "onmousedown": U.UF.C.closure(function (obj) {
  1863. //防止拖動圖標即打開了桌面應用
  1864. U.MD.D.click(this, obj);
  1865. }, [_hkaceTeacherDeskIconInfo[i]]),
  1866. "onclick": U.UF.C.closure(function (obj) {
  1867. //防止拖動圖標即打開了桌面應用
  1868. U.MD.D.click(this, obj);
  1869. }, [_hkaceTeacherDeskIconInfo[i]])
  1870. }, _frag); //
  1871. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1872. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1873. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1874. }
  1875. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1876. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1877. _content = $$("div", {
  1878. className: "U_MD_D_KO",
  1879. "onmousedown": U.UF.C.closure(function (obj) {
  1880. //防止拖動圖標即打開了桌面應用
  1881. U.MD.D.click(this, obj);
  1882. }, [_gdjgAdminDeskIconInfo[i]]),
  1883. "onclick": U.UF.C.closure(function (obj) {
  1884. //防止拖動圖標即打開了桌面應用
  1885. U.MD.D.click(this, obj);
  1886. }, [_gdjgAdminDeskIconInfo[i]])
  1887. }, _frag); //
  1888. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1889. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1890. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1891. }
  1892. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1893. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1894. _content = $$("div", {
  1895. className: "U_MD_D_KO",
  1896. "onmousedown": U.UF.C.closure(function (obj) {
  1897. //防止拖動圖標即打開了桌面應用
  1898. U.MD.D.click(this, obj);
  1899. }, [_gdjgTeacherDeskIconInfo[i]]),
  1900. "onclick": U.UF.C.closure(function (obj) {
  1901. //防止拖動圖標即打開了桌面應用
  1902. U.MD.D.click(this, obj);
  1903. }, [_gdjgTeacherDeskIconInfo[i]])
  1904. }, _frag); //
  1905. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1906. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1907. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1908. }
  1909. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1910. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1911. _content = $$("div", {
  1912. className: "U_MD_D_KO",
  1913. "onmousedown": U.UF.C.closure(function (obj) {
  1914. //防止拖動圖標即打開了桌面應用
  1915. U.MD.D.click(this, obj);
  1916. }, [_szherTeacherDeskIconInfo[i]]),
  1917. "onclick": U.UF.C.closure(function (obj) {
  1918. //防止拖動圖標即打開了桌面應用
  1919. U.MD.D.click(this, obj);
  1920. }, [_szherTeacherDeskIconInfo[i]])
  1921. }, _frag); //
  1922. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1923. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1924. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1925. }
  1926. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1927. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1928. _content = $$("div", {
  1929. className: "U_MD_D_KO",
  1930. "onmousedown": U.UF.C.closure(function (obj) {
  1931. //防止拖動圖標即打開了桌面應用
  1932. U.MD.D.click(this, obj);
  1933. }, [_heyuannAdminDeskIconInfo[i]]),
  1934. "onclick": U.UF.C.closure(function (obj) {
  1935. //防止拖動圖標即打開了桌面應用
  1936. U.MD.D.click(this, obj);
  1937. }, [_heyuannAdminDeskIconInfo[i]])
  1938. }, _frag); //
  1939. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1940. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1941. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1942. }
  1943. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1944. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1945. _content = $$("div", {
  1946. className: "U_MD_D_KO",
  1947. "onmousedown": U.UF.C.closure(function (obj) {
  1948. //防止拖動圖標即打開了桌面應用
  1949. U.MD.D.click(this, obj);
  1950. }, [_heyuanTeacherDeskIconInfo[i]]),
  1951. "onclick": U.UF.C.closure(function (obj) {
  1952. //防止拖動圖標即打開了桌面應用
  1953. U.MD.D.click(this, obj);
  1954. }, [_heyuanTeacherDeskIconInfo[i]])
  1955. }, _frag); //
  1956. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1957. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1958. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1959. } //
  1960. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1961. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1962. _content = $$("div", {
  1963. className: "U_MD_D_KO",
  1964. "onmousedown": U.UF.C.closure(function (obj) {
  1965. //防止拖動圖標即打開了桌面應用
  1966. U.MD.D.click(this, obj);
  1967. }, [_dseiAdminDeskIconInfo[i]]),
  1968. "onclick": U.UF.C.closure(function (obj) {
  1969. //防止拖動圖標即打開了桌面應用
  1970. U.MD.D.click(this, obj);
  1971. }, [_dseiAdminDeskIconInfo[i]])
  1972. }, _frag); //
  1973. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1974. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1975. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1976. }
  1977. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1978. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1979. _content = $$("div", {
  1980. className: "U_MD_D_KO",
  1981. "onmousedown": U.UF.C.closure(function (obj) {
  1982. //防止拖動圖標即打開了桌面應用
  1983. U.MD.D.click(this, obj);
  1984. }, [_dseiTeacherDeskIconInfo[i]]),
  1985. "onclick": U.UF.C.closure(function (obj) {
  1986. //防止拖動圖標即打開了桌面應用
  1987. U.MD.D.click(this, obj);
  1988. }, [_dseiTeacherDeskIconInfo[i]])
  1989. }, _frag); //
  1990. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1991. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1992. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1993. } //
  1994. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1995. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1996. _content = $$("div", {
  1997. className: "U_MD_D_KO",
  1998. "onmousedown": U.UF.C.closure(function (obj) {
  1999. //防止拖動圖標即打開了桌面應用
  2000. U.MD.D.click(this, obj);
  2001. }, [_chjyjAdminDeskIconInfo[i]]),
  2002. "onclick": U.UF.C.closure(function (obj) {
  2003. //防止拖動圖標即打開了桌面應用
  2004. U.MD.D.click(this, obj);
  2005. }, [_chjyjAdminDeskIconInfo[i]])
  2006. }, _frag); //
  2007. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2008. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2009. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2010. }//
  2011. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2012. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2013. _content = $$("div", {
  2014. className: "U_MD_D_KO",
  2015. "onmousedown": U.UF.C.closure(function (obj) {
  2016. //防止拖動圖標即打開了桌面應用
  2017. U.MD.D.click(this, obj);
  2018. }, [_chjyjTeacherDeskIconInfo[i]]),
  2019. "onclick": U.UF.C.closure(function (obj) {
  2020. //防止拖動圖標即打開了桌面應用
  2021. U.MD.D.click(this, obj);
  2022. }, [_chjyjTeacherDeskIconInfo[i]])
  2023. }, _frag); //
  2024. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2025. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2026. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2027. }
  2028. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2029. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2030. _content = $$("div", {
  2031. className: "U_MD_D_KO",
  2032. "onmousedown": U.UF.C.closure(function (obj) {
  2033. //防止拖動圖標即打開了桌面應用
  2034. U.MD.D.click(this, obj);
  2035. }, [_szjkyAdminDeskIconInfo[i]]),
  2036. "onclick": U.UF.C.closure(function (obj) {
  2037. //防止拖動圖標即打開了桌面應用
  2038. U.MD.D.click(this, obj);
  2039. }, [_szjkyAdminDeskIconInfo[i]])
  2040. }, _frag); //
  2041. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2042. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2043. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2044. }//
  2045. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2046. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2047. _content = $$("div", {
  2048. className: "U_MD_D_KO",
  2049. "onmousedown": U.UF.C.closure(function (obj) {
  2050. //防止拖動圖標即打開了桌面應用
  2051. U.MD.D.click(this, obj);
  2052. }, [_szjkyTeacherDeskIconInfo[i]]),
  2053. "onclick": U.UF.C.closure(function (obj) {
  2054. //防止拖動圖標即打開了桌面應用
  2055. U.MD.D.click(this, obj);
  2056. }, [_szjkyTeacherDeskIconInfo[i]])
  2057. }, _frag); //
  2058. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2059. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2060. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2061. }
  2062. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2063. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2064. _content = $$("div", {
  2065. className: "U_MD_D_KO",
  2066. "onmousedown": U.UF.C.closure(function (obj) {
  2067. //防止拖動圖標即打開了桌面應用
  2068. U.MD.D.click(this, obj);
  2069. }, [_futianAdminDeskIconInfo[i]]),
  2070. "onclick": U.UF.C.closure(function (obj) {
  2071. //防止拖動圖標即打開了桌面應用
  2072. U.MD.D.click(this, obj);
  2073. }, [_futianAdminDeskIconInfo[i]])
  2074. }, _frag); //
  2075. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2076. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2077. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2078. }
  2079. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2080. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2081. _content = $$("div", {
  2082. className: "U_MD_D_KO",
  2083. "onmousedown": U.UF.C.closure(function (obj) {
  2084. //防止拖動圖標即打開了桌面應用
  2085. U.MD.D.click(this, obj);
  2086. }, [_futianTeacherDeskIconInfo[i]]),
  2087. "onclick": U.UF.C.closure(function (obj) {
  2088. //防止拖動圖標即打開了桌面應用
  2089. U.MD.D.click(this, obj);
  2090. }, [_futianTeacherDeskIconInfo[i]])
  2091. }, _frag); //
  2092. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2093. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2094. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2095. }
  2096. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2097. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2098. _content = $$("div", {
  2099. className: "U_MD_D_KO",
  2100. "onmousedown": U.UF.C.closure(function (obj) {
  2101. //防止拖動圖標即打開了桌面應用
  2102. U.MD.D.click(this, obj);
  2103. }, [_MingdeTeacherDeskIcon[i]]),
  2104. "onclick": U.UF.C.closure(function (obj) {
  2105. //防止拖動圖標即打開了桌面應用
  2106. U.MD.D.click(this, obj);
  2107. }, [_MingdeTeacherDeskIcon[i]])
  2108. }, _frag); //
  2109. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2110. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2111. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2112. }
  2113. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2114. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2115. _content = $$("div", {
  2116. className: "U_MD_D_KO",
  2117. "onmousedown": U.UF.C.closure(function (obj) {
  2118. //防止拖動圖標即打開了桌面應用
  2119. U.MD.D.click(this, obj);
  2120. }, [_lhsAdminDesktopIconInfo[i]]),
  2121. "onclick": U.UF.C.closure(function (obj) {
  2122. //防止拖動圖標即打開了桌面應用
  2123. U.MD.D.click(this, obj);
  2124. }, [_lhsAdminDesktopIconInfo[i]])
  2125. }, _frag); //
  2126. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2127. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2128. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2129. }
  2130. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2131. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2132. _content = $$("div", {
  2133. className: "U_MD_D_KO",
  2134. "onmousedown": U.UF.C.closure(function (obj) {
  2135. //防止拖動圖標即打開了桌面應用
  2136. U.MD.D.click(this, obj);
  2137. }, [_lhsteacherDesktopIconInfo[i]]),
  2138. "onclick": U.UF.C.closure(function (obj) {
  2139. //防止拖動圖標即打開了桌面應用
  2140. U.MD.D.click(this, obj);
  2141. }, [_lhsteacherDesktopIconInfo[i]])
  2142. }, _frag); //
  2143. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2144. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2145. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2146. }
  2147. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2148. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2149. _content = $$("div", {
  2150. className: "U_MD_D_KO",
  2151. "onmousedown": U.UF.C.closure(function (obj) {
  2152. //防止拖動圖標即打開了桌面應用
  2153. U.MD.D.click(this, obj);
  2154. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2155. "onclick": U.UF.C.closure(function (obj) {
  2156. //防止拖動圖標即打開了桌面應用
  2157. U.MD.D.click(this, obj);
  2158. }, [_zhoujiateacherDesktopIconInfo[i]])
  2159. }, _frag); //
  2160. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2161. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2162. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2163. }
  2164. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2165. for (i = 0; i < _hanDeskIcon.length; i++) {
  2166. _content = $$("div", {
  2167. className: "U_MD_D_KO",
  2168. "onmousedown": U.UF.C.closure(function (obj) {
  2169. //防止拖動圖標即打開了桌面應用
  2170. U.MD.D.click(this, obj);
  2171. }, [_hanDeskIcon[i]]),
  2172. "onclick": U.UF.C.closure(function (obj) {
  2173. //防止拖動圖標即打開了桌面應用
  2174. U.MD.D.click(this, obj);
  2175. }, [_hanDeskIcon[i]])
  2176. }, _frag); //
  2177. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2178. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2179. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2180. }
  2181. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2182. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2183. _content = $$("div", {
  2184. className: "U_MD_D_KO",
  2185. "onmousedown": U.UF.C.closure(function (obj) {
  2186. //防止拖動圖標即打開了桌面應用
  2187. U.MD.D.click(this, obj);
  2188. }, [_orgStemDeskIcon[i]]),
  2189. "onclick": U.UF.C.closure(function (obj) {
  2190. //防止拖動圖標即打開了桌面應用
  2191. U.MD.D.click(this, obj);
  2192. }, [_orgStemDeskIcon[i]])
  2193. }, _frag); //
  2194. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2195. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2196. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2197. }
  2198. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2199. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2200. _content = $$("div", {
  2201. className: "U_MD_D_KO",
  2202. "onmousedown": U.UF.C.closure(function (obj) {
  2203. //防止拖動圖標即打開了桌面應用
  2204. U.MD.D.click(this, obj);
  2205. }, [_szulsDeskIcon[i]]),
  2206. "onclick": U.UF.C.closure(function (obj) {
  2207. //防止拖動圖標即打開了桌面應用
  2208. U.MD.D.click(this, obj);
  2209. }, [_szulsDeskIcon[i]])
  2210. }, _frag); //
  2211. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2212. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2213. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2214. }
  2215. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2216. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2217. _content = $$("div", {
  2218. className: "U_MD_D_KO",
  2219. "onmousedown": U.UF.C.closure(function (obj) {
  2220. //防止拖動圖標即打開了桌面應用
  2221. U.MD.D.click(this, obj);
  2222. }, [_orgDesktopIconInfo[i]]),
  2223. "onclick": U.UF.C.closure(function (obj) {
  2224. //防止拖動圖標即打開了桌面應用
  2225. U.MD.D.click(this, obj);
  2226. }, [_orgDesktopIconInfo[i]])
  2227. }, _frag); //
  2228. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2229. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2230. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2231. }
  2232. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2233. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2234. _content = $$("div", {
  2235. className: "U_MD_D_KO",
  2236. "onmousedown": U.UF.C.closure(function (obj) {
  2237. //防止拖動圖標即打開了桌面應用
  2238. U.MD.D.click(this, obj);
  2239. }, [_schoolDesktopIconInfo[i]]),
  2240. "onclick": U.UF.C.closure(function (obj) {
  2241. //防止拖動圖標即打開了桌面應用
  2242. U.MD.D.click(this, obj);
  2243. }, [_schoolDesktopIconInfo[i]])
  2244. }, _frag); //
  2245. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2246. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2247. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2248. }
  2249. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2250. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2251. _content = $$("div", {
  2252. className: "U_MD_D_KO",
  2253. "onmousedown": U.UF.C.closure(function (obj) {
  2254. //防止拖動圖標即打開了桌面應用
  2255. U.MD.D.click(this, obj);
  2256. }, [_GMteacherDesktopIconInfo[i]]),
  2257. "onclick": U.UF.C.closure(function (obj) {
  2258. //防止拖動圖標即打開了桌面應用
  2259. U.MD.D.click(this, obj);
  2260. }, [_GMteacherDesktopIconInfo[i]])
  2261. }, _frag); //
  2262. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2263. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2264. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2265. }
  2266. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2267. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2268. _content = $$("div", {
  2269. className: "U_MD_D_KO",
  2270. "onmousedown": U.UF.C.closure(function (obj) {
  2271. //防止拖動圖標即打開了桌面應用
  2272. U.MD.D.click(this, obj);
  2273. }, [_SONGteacherDesktopIconInfo[i]]),
  2274. "onclick": U.UF.C.closure(function (obj) {
  2275. //防止拖動圖標即打開了桌面應用
  2276. U.MD.D.click(this, obj);
  2277. }, [_SONGteacherDesktopIconInfo[i]])
  2278. }, _frag); //
  2279. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2280. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2281. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2282. }
  2283. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2284. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2285. _content = $$("div", {
  2286. className: "U_MD_D_KO",
  2287. "onmousedown": U.UF.C.closure(function (obj) {
  2288. //防止拖動圖標即打開了桌面應用
  2289. U.MD.D.click(this, obj);
  2290. }, [_GMstudentDesktopIconInfo[i]]),
  2291. "onclick": U.UF.C.closure(function (obj) {
  2292. //防止拖動圖標即打開了桌面應用
  2293. U.MD.D.click(this, obj);
  2294. }, [_GMstudentDesktopIconInfo[i]])
  2295. }, _frag); //
  2296. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2297. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2298. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2299. }
  2300. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2301. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2302. _content = $$("div", {
  2303. className: "U_MD_D_KO",
  2304. "onmousedown": U.UF.C.closure(function (obj) {
  2305. //防止拖動圖標即打開了桌面應用
  2306. U.MD.D.click(this, obj);
  2307. }, [_tcTeacherDeskIconInfo[i]]),
  2308. "onclick": U.UF.C.closure(function (obj) {
  2309. //防止拖動圖標即打開了桌面應用
  2310. U.MD.D.click(this, obj);
  2311. }, [_tcTeacherDeskIconInfo[i]])
  2312. }, _frag); //
  2313. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2314. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2315. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2316. }
  2317. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2318. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2319. _content = $$("div", {
  2320. className: "U_MD_D_KO",
  2321. "onmousedown": U.UF.C.closure(function (obj) {
  2322. //防止拖動圖標即打開了桌面應用
  2323. U.MD.D.click(this, obj);
  2324. }, [_tcOrganizerDeskIconInfo[i]]),
  2325. "onclick": U.UF.C.closure(function (obj) {
  2326. //防止拖動圖標即打開了桌面應用
  2327. U.MD.D.click(this, obj);
  2328. }, [_tcOrganizerDeskIconInfo[i]])
  2329. }, _frag); //
  2330. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2331. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2332. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2333. }
  2334. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2335. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2336. _content = $$("div", {
  2337. className: "U_MD_D_KO",
  2338. "onmousedown": U.UF.C.closure(function (obj) {
  2339. //防止拖動圖標即打開了桌面應用
  2340. U.MD.D.click(this, obj);
  2341. }, [_szscTeacherDeskIconInfo[i]]),
  2342. "onclick": U.UF.C.closure(function (obj) {
  2343. //防止拖動圖標即打開了桌面應用
  2344. U.MD.D.click(this, obj);
  2345. }, [_szscTeacherDeskIconInfo[i]])
  2346. }, _frag); //
  2347. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2348. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2349. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2350. }
  2351. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2352. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2353. _content = $$("div", {
  2354. className: "U_MD_D_KO",
  2355. "onmousedown": U.UF.C.closure(function (obj) {
  2356. //防止拖動圖標即打開了桌面應用
  2357. U.MD.D.click(this, obj);
  2358. }, [_szscOrganizerDeskIconInfo[i]]),
  2359. "onclick": U.UF.C.closure(function (obj) {
  2360. //防止拖動圖標即打開了桌面應用
  2361. U.MD.D.click(this, obj);
  2362. }, [_szscOrganizerDeskIconInfo[i]])
  2363. }, _frag); //
  2364. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2365. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2366. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2367. }
  2368. } else {
  2369. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2370. _content = $$("div", {
  2371. className: "U_MD_D_KO",
  2372. "onmousedown": U.UF.C.closure(function (obj) {
  2373. //防止拖動圖標即打開了桌面應用
  2374. U.MD.D.click(this, obj);
  2375. }, [_teacherDesktopIconInfo[i]]),
  2376. "onclick": U.UF.C.closure(function (obj) {
  2377. //防止拖動圖標即打開了桌面應用
  2378. U.MD.D.click(this, obj);
  2379. }, [_teacherDesktopIconInfo[i]])
  2380. }, _frag); //
  2381. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2382. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2383. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2384. }
  2385. }
  2386. } else {
  2387. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2388. _content = $$("div", {
  2389. className: "U_MD_D_KO",
  2390. style: { 'width': '124px', 'height': '145px' },
  2391. "onmousedown": U.UF.C.closure(function (obj) {
  2392. //防止拖動圖標即打開了桌面應用
  2393. U.MD.D.click(this, obj);
  2394. }, [_easyDesktopIconInfo[i]]),
  2395. "onclick": U.UF.C.closure(function (obj) {
  2396. //防止拖動圖標即打開了桌面應用
  2397. U.MD.D.click(this, obj);
  2398. }, [_easyDesktopIconInfo[i]])
  2399. }, _frag); //
  2400. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2403. }
  2404. }
  2405. if (type == 1) {
  2406. //加載好後給圖標定位
  2407. U.MD.D.iconPostion($(_frag).Child());
  2408. } else {
  2409. //加載好後給圖標定位
  2410. U.MD.D.iconPostion2($(_frag).Child());
  2411. }
  2412. //把圖標加載到頁面
  2413. el.appendChild(_frag);
  2414. }
  2415. /**
  2416. * 顯示任務欄
  2417. *
  2418. * @param {element} 桌面元素
  2419. */
  2420. U.MD.D.I.displayTaskbar = function (el) {
  2421. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  2422. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2423. //任務欄位置變化
  2424. U.selectEl(el).css({ "bottom": "0px" });
  2425. //桌面位置變話
  2426. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2427. }
  2428. }
  2429. //#region 桌面圖標拖動邏輯
  2430. /**
  2431. * 桌面排列圖標
  2432. *
  2433. * @param {element} 桌面元素
  2434. * @param {object} 上下相距的距離
  2435. * @param {object} 左右相距的距離
  2436. * @return {object} 命名空間
  2437. */
  2438. U.MD.D.iconPostion = function (childs, top, left) {
  2439. var i; //用於循環處理
  2440. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  2441. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2442. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2443. for (i = 0; i < childs.length; i++) {
  2444. //如果豎排top超過了範圍處理
  2445. if (top + 95 > US.height - 10) {
  2446. //left超過了頁面範圍處理,則向上重疊打印處理
  2447. if ((left + 180) > US.width) {
  2448. top -= 110;
  2449. left -= 90;
  2450. }
  2451. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2452. else {
  2453. left += 90;
  2454. top = 15;
  2455. };
  2456. }
  2457. //給圖標的位置賦值
  2458. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2459. if (i < childs.length - 1) {
  2460. //頁面圖標每次向下加95
  2461. top += 95;
  2462. }
  2463. }
  2464. //返回最後調用的圖標的位置
  2465. return [top, left];
  2466. }
  2467. /**
  2468. * 桌面排列圖標
  2469. *
  2470. * @param {element} 桌面元素
  2471. * @param {object} 上下相距的距離
  2472. * @param {object} 左右相距的距離
  2473. * @return {object} 命名空間
  2474. */
  2475. U.MD.D.iconPostion2 = function (childs, top, left) {
  2476. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  2477. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  2478. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2479. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2480. for (i = 0; i < childs.length; i++) {
  2481. //如果豎排top超過了範圍處理
  2482. if (left + 150 > US.width - 10) {
  2483. //left超過了頁面範圍處理,則向上重疊打印處理
  2484. if ((top + 180) > US.Height) {
  2485. top -= 150;
  2486. left -= 150;
  2487. }
  2488. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2489. else {
  2490. top += 150;
  2491. left = ol;
  2492. };
  2493. }
  2494. //給圖標的位置賦值
  2495. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2496. if (i < childs.length - 1) {
  2497. //頁面圖標每次向下加95
  2498. left += 150;
  2499. }
  2500. }
  2501. //返回最後調用的圖標的位置
  2502. return [top, left];
  2503. }
  2504. /**
  2505. * 桌面點擊事件邏輯
  2506. *
  2507. * @param {element} 桌面元素
  2508. * @param {object} 上下相距的距離
  2509. * @param {object} 左右相距的距離
  2510. * @return {object} 命名空間
  2511. */
  2512. U.MD.D.click = function (el, obj) {
  2513. var _buttonnumber = event.button; //點擊的按鈕的事件值
  2514. var _userinfo = US.userInfo;
  2515. U.UF.EV.stopBubble(); //阻止向上冒泡
  2516. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  2517. if (_buttonnumber < 2) {
  2518. //如果是click事件的處理
  2519. if (event.type == "click") {
  2520. //如果元素在mousemove事件中沒有移動則出發click事件
  2521. if (!U.MD.D.I.IsDrag) {
  2522. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2523. U.alert("請先登錄您的賬號!");
  2524. setTimeout(() => {
  2525. U.MD.U.L.login();
  2526. }, 2000);
  2527. } else {
  2528. //打開應用處理
  2529. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2530. }
  2531. }
  2532. }
  2533. //如果是mouse事件的處理
  2534. else {
  2535. if (US.Config.type == '1') {
  2536. //拖動處理,添加拖動和拖動結束事件
  2537. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2538. }
  2539. }
  2540. U.MD.D.I.IsDrag = false;
  2541. }
  2542. }
  2543. /**
  2544. * 拖動的處理
  2545. *
  2546. */
  2547. U.MD.D.iconMove = function () {
  2548. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  2549. U.MD.D.I.IsDrag = true;
  2550. }
  2551. /**
  2552. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  2553. *
  2554. * @param {element} 拖動的元素
  2555. * @return {object} 命名空間
  2556. */
  2557. U.MD.D.iconUp = function (el) {
  2558. var _top = 15,
  2559. _left = 20,
  2560. _margin,
  2561. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  2562. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  2563. if (_positioninfo["OT"] > 15) {
  2564. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  2565. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2566. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2567. }
  2568. if (_positioninfo["OL"] > 20) {
  2569. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  2570. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2571. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2572. }
  2573. //while循環判斷麼一個重疊的元素
  2574. do {
  2575. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  2576. _top = _positioninfo[0] + 95; //得到定位後的top
  2577. _left = _positioninfo[1]; //得到定位後的left
  2578. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2579. }
  2580. /**
  2581. * 判斷拖動後圖標是否重疊
  2582. *
  2583. * @param {element} 拖動的元素
  2584. * @param {element} 桌面所有的元素
  2585. * @param {array} 拖動元素的位置
  2586. ----------[0] 上 top
  2587. ----------[1] 左 left
  2588. * @return {object} 命名空間
  2589. */
  2590. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2591. //循環所有的圖標
  2592. for (var i = 0; i < childs.length; i++) {
  2593. //判斷有沒有和該圖標誒子重疊的元素
  2594. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2595. return childs[i]; //如果有返回
  2596. }
  2597. }
  2598. }
  2599. //#endregion
  2600. //#endregion
  2601. //#region 桌面應用
  2602. /**
  2603. * 打開應用
  2604. *
  2605. * @param {string} 類型
  2606. -----------------Disk 網盤系統
  2607. -----------------PDisk 學習系統網盤
  2608. -----------------Poto 圖片
  2609. -----------------Video 視頻
  2610. -----------------Music 音樂
  2611. -----------------Word word
  2612. -----------------Excel excel
  2613. -----------------Txt 記事本
  2614. -----------------PB 學習系統
  2615. -----------------Blog 朋友圈系統
  2616. -----------------FTP ftp系統
  2617. -----------------Group 好友群
  2618. -----------------SY 首頁系統
  2619. -----------------Set 個人設置
  2620. -----------------XSet 系統設置
  2621. -----------------App 我們所有的app
  2622. -----------------BC c.1473.cn 平臺
  2623. -----------------CWeb d.1473.cn 變成平臺
  2624. -----------------其他的外聯系統 我們統一用iframe打開
  2625. * @param {array} 類型
  2626. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  2627. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  2628. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  2629. 如果第一個參數為其他,則無第二個參數
  2630. * @returns {array}
  2631. */
  2632. window.addEventListener('message', function (e) { // 監聽 message 事件
  2633. // alert(e.data.type);
  2634. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  2635. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2636. //3是展示全部階段 2學生 1老師 4專家
  2637. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  2638. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2639. //3是展示全部階段 2學生 1老師 4專家
  2640. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  2641. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2642. //3是展示全部階段 2學生 1老師 4專家
  2643. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  2644. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2645. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  2646. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2647. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  2648. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2649. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  2650. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2651. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  2652. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2653. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  2654. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2655. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  2656. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2657. //3是展示全部階段 2學生 1老師 4專家
  2658. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  2659. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2660. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  2661. U.MD.D.I.selectUser();
  2662. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2663. var _formel = document.getElementById("study");
  2664. U.UF.F.windowZooming(_formel);
  2665. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2666. var _formel = document.getElementById("studyDetail");
  2667. U.UF.F.windowZooming(_formel);
  2668. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2669. var _formel = document.getElementById("studyDetail");
  2670. U.UF.F.windowZooming(_formel);
  2671. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2672. var _formel = document.getElementById("studentStudy");
  2673. U.UF.F.windowZooming(_formel);
  2674. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2675. // var _formel = document.getElementById("study");
  2676. //如果最大化了,那麼就把他縮小
  2677. // if (_formel.ismaximize) {
  2678. // return;
  2679. // }
  2680. // U.UF.F.windowZooming(_formel);
  2681. // U.UF.F.topWindow(_formel);
  2682. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2683. // var _formel = document.getElementById("studyDetail");
  2684. //如果最大化了,那麼就把他縮小
  2685. // if (_formel.ismaximize) {
  2686. // return;
  2687. // }
  2688. // U.UF.F.windowZooming(_formel);
  2689. // U.UF.F.topWindow(_formel);
  2690. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2691. // var _formel = document.getElementById("studentStudy");
  2692. // if (_formel.ismaximize) {
  2693. // return;
  2694. // }
  2695. // U.UF.F.windowZooming(_formel);
  2696. // U.UF.F.topWindow(_formel);
  2697. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2698. var _formel = document.getElementById("study");
  2699. // if (_formel.ismaximize) {
  2700. // return;
  2701. // }
  2702. // U.UF.F.windowZooming(_formel);
  2703. U.UF.F.topWindow(_formel);
  2704. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2705. var _formel = document.getElementById("studentIndex");
  2706. U.UF.F.windowZooming(_formel);
  2707. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2708. var _formel = document.getElementById("studyDetailS");
  2709. U.UF.F.windowZooming(_formel);
  2710. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2711. var _formel = document.getElementById("studioIndex");
  2712. U.UF.F.windowZooming(_formel);
  2713. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2714. var _formel = document.getElementById("studyDetailStudio");
  2715. U.UF.F.windowZooming(_formel);
  2716. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2717. var _formel = document.getElementById("studyDetailStudio");
  2718. U.UF.F.windowZooming(_formel);
  2719. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2720. var _formel = document.getElementById("studyDetailNT");
  2721. U.UF.F.windowZooming(_formel);
  2722. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2723. var _formel = document.getElementById("studyDetailS");
  2724. U.UF.F.windowZooming(_formel);
  2725. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2726. var _formel = document.getElementById("studyDetailS");
  2727. U.UF.F.topWindow(_formel);
  2728. } else if (e.data.tools && e.data.tools == "1") {
  2729. // U.MD.D.I.openApplication("whiteboard")
  2730. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2731. } else if (e.data.tools && e.data.tools == "2") {
  2732. U.MD.D.I.openApplication("note")
  2733. } else if (e.data.tools && e.data.tools == "3") {
  2734. // U.MD.D.I.openApplication("mind")
  2735. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2736. } else if (e.data.tools && e.data.tools == "4") {
  2737. U.MD.D.I.openApplication("investigation")
  2738. } else if (e.data.tools && e.data.tools == "6") {
  2739. // U.MD.D.I.openApplication("doc")
  2740. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2741. } else if (e.data.tools && e.data.tools == "7") {
  2742. // U.MD.D.I.openApplication("mindNetwork")
  2743. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2744. } else if (e.data.tools && e.data.tools == "8") {
  2745. U.MD.D.I.openApplication("library")
  2746. } else if (e.data.tools && e.data.tools == "17") {
  2747. U.MD.D.I.openApplication("stuLibrary")
  2748. } else if (e.data.tools && e.data.tools == "18") {
  2749. U.MD.D.I.openApplication("train")
  2750. } else if (e.data.tools && e.data.tools == "21") {
  2751. U.MD.D.I.openApplication("program")
  2752. } else if (e.data.tools && e.data.tools == "22") {
  2753. U.MD.D.I.openApplication("AIprogram2")
  2754. } else if (e.data.tools && e.data.tools == "23") {
  2755. U.MD.D.I.openApplication("Pythonprogram")
  2756. } else if (e.data.tools && e.data.tools == "24") {
  2757. U.MD.D.I.openApplication("AIprogram")
  2758. } else if (e.data.tools && e.data.tools == "25") {
  2759. U.MD.D.I.openApplication("sys")
  2760. } else if (e.data.tools && e.data.tools == "26") {
  2761. // U.MD.D.I.openApplication("courseDesign")
  2762. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2763. } else if (e.data.tools && e.data.tools == "31") {
  2764. U.MD.D.I.openApplication("netWorkPanel")
  2765. } else if (e.data.tools && e.data.tools == "32") {
  2766. U.MD.D.I.openApplication("codeEdit")
  2767. } else if (e.data.tools && e.data.tools == "57") {
  2768. U.MD.D.I.openApplication("CocoPi")
  2769. } else if (e.data.tools && e.data.tools == "63") {
  2770. U.MD.D.I.openApplication("Wood")
  2771. } else if (e.data.tools && e.data.tools == "58") {
  2772. U.MD.D.I.openApplication("car")
  2773. } else if (e.data.tools && e.data.tools == "59") {
  2774. U.MD.D.I.openApplication("lineSearch")
  2775. } else if (e.data.tools && e.data.tools == "60") {
  2776. U.MD.D.I.openApplication("deepLearning")
  2777. } else if (e.data.tools && e.data.tools == "61") {
  2778. U.MD.D.I.openApplication("allHistory")
  2779. } else if (e.data.tools && e.data.tools == "28") {
  2780. U.MD.D.I.openApplication("translation")
  2781. } else if (e.data.tools && e.data.tools == "37") {
  2782. U.MD.D.I.openApplication("mohe")
  2783. } else if (e.data.tools && e.data.tools == "38") {
  2784. U.MD.D.I.openApplication("24game")
  2785. } else if (e.data.tools && e.data.tools == "39") {
  2786. U.MD.D.I.openApplication("GeoGebra")
  2787. } else if (e.data.tools && e.data.tools == "43") {
  2788. U.MD.D.I.openApplication("studentEvaluate")
  2789. } else if (e.data.tools && e.data.tools == "44") {
  2790. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2791. } else if (e.data.tools && e.data.tools == "46") {
  2792. U.MD.D.I.openApplication("project")
  2793. } else if (e.data.tools && e.data.tools == "1s") {
  2794. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2795. } else if (e.data.tools && e.data.tools == "3s") {
  2796. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2797. } else if (e.data.tools && e.data.tools == "6s") {
  2798. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2799. } else if (e.data.tools && e.data.tools == "1studio") {
  2800. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2801. } else if (e.data.tools && e.data.tools == "3studio") {
  2802. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2803. } else if (e.data.tools && e.data.tools == "6studio") {
  2804. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2805. } else if (e.data.tools && e.data.tools == "3y") {
  2806. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2807. } else if (e.data.tools && e.data.tools == "1y") {
  2808. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2809. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2810. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2811. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2812. U.MD.D.I.openApplication("AIAnalyse")
  2813. } else if (e.data.tools && e.data.tools == "1teacher") {
  2814. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2815. } else if (e.data.tools && e.data.tools == "3teacher") {
  2816. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2817. } else if (e.data.tools && e.data.tools == "7teacher") {
  2818. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2819. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2820. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2821. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2822. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2823. } else if (e.data.tools && e.data.tools == "1E") {
  2824. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2825. } else if (e.data.tools && e.data.tools == "3E") {
  2826. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2827. } else if (e.data.tools && e.data.tools == "57y") {
  2828. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2829. } else if (e.data.tools && e.data.tools == "57u") {
  2830. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2831. } else if (e.data.tools && e.data.tools == "57teacher") {
  2832. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2833. } else if (e.data.tools && e.data.tools == "64") {
  2834. U.MD.D.I.openApplication("AIChat")
  2835. } else if (e.data.tools && e.data.tools == "66") {
  2836. U.MD.D.I.openApplication("formulaEdi")
  2837. } else if (e.data.tools && e.data.tools == "67") {
  2838. U.MD.D.I.openApplication("molStr")
  2839. } else if (e.data.tools && e.data.tools == "68") {
  2840. U.MD.D.I.openApplication("timeAxis")
  2841. } else if (e.data.tools && e.data.tools == "openCourse") {
  2842. let _data = {
  2843. typea: e.data.typea || '',
  2844. typeb: e.data.typeb || '',
  2845. typed: e.data.typed || '',
  2846. }
  2847. U.MD.D.I.openInApplication("index", _data)
  2848. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2849. let _data = {
  2850. classid: e.data.classid || '',
  2851. }
  2852. U.MD.D.I.openInApplication("dataClass", _data)
  2853. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2854. let _data = {
  2855. cid: e.data.cid || '',
  2856. gid: e.data.gid || '',
  2857. }
  2858. U.MD.D.I.openInApplication("opencCscl", _data)
  2859. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  2860. U.MD.D.I.openApplication("dataBoardTest")
  2861. }
  2862. });
  2863. U.MD.D.I.selectUser = function () {
  2864. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2865. if (res.value[0].length > 0) {
  2866. US.userInfo = res.value[0][0];
  2867. $(".userName")[0].innerHTML = US.userInfo.username;
  2868. }
  2869. }, [], { "type": "GET", "withCredentials": true });
  2870. }
  2871. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2872. var _userinfo = US.userInfo, //登錄用戶信息
  2873. _userid = US.userInfo.userid, //登錄用戶id
  2874. _oid = _userinfo.organizeid,
  2875. _type = US.userInfo.type,
  2876. _org = US.userInfo.org,
  2877. _role = US.userInfo.role,
  2878. _classId = US.userInfo.classid;
  2879. if (_type == 4) {
  2880. tType = 4
  2881. }
  2882. switch (str) {
  2883. case "studyDetailNT": //無終端模式
  2884. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2885. setTimeout(() => {
  2886. U.MD.U.L.login();
  2887. }, 2000);
  2888. } else {
  2889. _formdiv = new U.UF.UI.form(
  2890. "課程詳情",
  2891. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailNT?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2892. "id": "studyDetailNT",
  2893. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2894. "onresize": function () { }
  2895. }, {
  2896. closecallback: function () { }
  2897. }, { "style": { "height": "36px" } }).form; //創建窗體
  2898. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2899. break;
  2900. }
  2901. case "studyDetail":
  2902. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2903. setTimeout(() => {
  2904. U.MD.U.L.login();
  2905. }, 2000);
  2906. } else {
  2907. _formdiv = new U.UF.UI.form(
  2908. "課程詳情",
  2909. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2910. "id": "studyDetail",
  2911. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2912. "onresize": function () { }
  2913. }, {
  2914. closecallback: function () { }
  2915. }, { "style": { "height": "36px" } }).form; //創建窗體
  2916. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2917. break;
  2918. }
  2919. case "studyDetailTrain":
  2920. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2921. setTimeout(() => {
  2922. U.MD.U.L.login();
  2923. }, 2000);
  2924. } else {
  2925. _formdiv = new U.UF.UI.form(
  2926. "培訓詳情",
  2927. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2928. "id": "studyDetailTrain",
  2929. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2930. "onresize": function () { }
  2931. }, {
  2932. closecallback: function () { }
  2933. }, { "style": { "height": "36px" } }).form; //創建窗體
  2934. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2935. break;
  2936. }
  2937. case "studyDetailS":
  2938. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2939. setTimeout(() => {
  2940. U.MD.U.L.login();
  2941. }, 2000);
  2942. } else {
  2943. _formdiv = new U.UF.UI.form(
  2944. "項目詳情",
  2945. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2946. "id": "studyDetailS",
  2947. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2948. "onresize": function () { }
  2949. }, {
  2950. closecallback: function () { }
  2951. }, { "style": { "height": "36px" } }).form; //創建窗體
  2952. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2953. break;
  2954. }
  2955. case "studyDetailStudio":
  2956. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2957. setTimeout(() => {
  2958. U.MD.U.L.login();
  2959. }, 2000);
  2960. } else {
  2961. _formdiv = new U.UF.UI.form(
  2962. "工作詳情",
  2963. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailStudio?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2964. "id": "studyDetailStudio",
  2965. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2966. "onresize": function () { }
  2967. }, {
  2968. closecallback: function () { }
  2969. }, { "style": { "height": "36px" } }).form; //創建窗體
  2970. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作詳情", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2971. break;
  2972. }
  2973. case "studyDetailS5":
  2974. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2975. setTimeout(() => {
  2976. U.MD.U.L.login();
  2977. }, 2000);
  2978. } else {
  2979. _formdiv = new U.UF.UI.form(
  2980. "項目詳情",
  2981. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  2982. "id": "studyDetailS",
  2983. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2984. "onresize": function () { }
  2985. }, {
  2986. closecallback: function () { }
  2987. }, { "style": { "height": "36px" } }).form; //創建窗體
  2988. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  2989. break;
  2990. }
  2991. case "studyDetailGM":
  2992. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2993. setTimeout(() => {
  2994. U.MD.U.L.login();
  2995. }, 2000);
  2996. } else {
  2997. _formdiv = new U.UF.UI.form(
  2998. "課程詳情",
  2999. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3000. "id": "studyDetail",
  3001. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3002. "onresize": function () { }
  3003. }, {
  3004. closecallback: function () { }
  3005. }, { "style": { "height": "36px" } }).form; //創建窗體
  3006. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3007. break;
  3008. }
  3009. case "hanUrl":
  3010. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3011. setTimeout(() => {
  3012. U.MD.U.L.login();
  3013. }, 2000);
  3014. } else {
  3015. _formdiv = new U.UF.UI.form(
  3016. "漢字宮",
  3017. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  3018. "id": "hanUrl",
  3019. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3020. "onresize": function () { }
  3021. }, {
  3022. closecallback: function () { }
  3023. }, { "style": { "height": "36px" } }).form; //創建窗體
  3024. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "漢字宮", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3025. break;
  3026. }
  3027. case "index":
  3028. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3029. setTimeout(() => {
  3030. U.MD.U.L.login();
  3031. }, 2000);
  3032. } else {
  3033. _formdiv = new U.UF.UI.form(
  3034. "課程中心",
  3035. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  3036. "id": "study",
  3037. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3038. "onresize": function () { }
  3039. }, {
  3040. closecallback: function () { }
  3041. }, { "style": { "height": "36px" } }).form; //創建窗體
  3042. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3043. break;
  3044. }
  3045. case "dataClass":
  3046. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3047. setTimeout(() => {
  3048. U.MD.U.L.login();
  3049. }, 2000);
  3050. } else {
  3051. _formdiv = new U.UF.UI.form(
  3052. "數據報告",
  3053. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  3054. "id": "dataClass",
  3055. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3056. "onresize": function () { }
  3057. }, {
  3058. closecallback: function () { }
  3059. }, { "style": { "height": "36px" } }).form; //創建窗體
  3060. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "數據報告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3061. break;
  3062. }
  3063. case "opencCscl":
  3064. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3065. setTimeout(() => {
  3066. U.MD.U.L.login();
  3067. }, 2000);
  3068. } else {
  3069. _formdiv = new U.UF.UI.form(
  3070. "協同建構",
  3071. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.hk?cid=" + data.cid + "&gid=" + data.gid }), {
  3072. "id": "futureClass",
  3073. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3074. "onresize": function () { }
  3075. }, {
  3076. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3077. }, { "style": { "height": "36px" } }).form; //創建窗體
  3078. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "協同建構", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3079. break;
  3080. }
  3081. }
  3082. }
  3083. U.MD.D.I.openApplication = function (str, obj, info) {
  3084. obj = obj || {};
  3085. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  3086. _formdiv, //創建任務欄時同時彈出的窗體元素。
  3087. _userinfo = US.userInfo, //登錄用戶信息
  3088. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  3089. _oid = obj.organizeid || _userinfo.organizeid,
  3090. _type = US.userInfo.type,
  3091. _org = US.userInfo.org,
  3092. _role = US.userInfo.role,
  3093. _classId = US.userInfo.classid,
  3094. _TscreenType = 1
  3095. _screenType = 2,
  3096. _SscreenType = 3;
  3097. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3098. return;
  3099. }
  3100. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3101. switch (str) {
  3102. case "studnetProject": //好友打開
  3103. _formdiv = new U.UF.UI.form(
  3104. "我的項目",
  3105. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3106. "id": "studnetProject",
  3107. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3108. "onresize": function () { }
  3109. }, {
  3110. closecallback: function () { }
  3111. }, { "style": { "height": "36px" } }).form; //創建窗體
  3112. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的項目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3113. break;
  3114. case "studentEvaluate": //好友打開
  3115. _formdiv = new U.UF.UI.form(
  3116. "我的評價",
  3117. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3118. "id": "studentEvaluate",
  3119. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3120. "onresize": function () { }
  3121. }, {
  3122. closecallback: function () { }
  3123. }, { "style": { "height": "36px" } }).form; //創建窗體
  3124. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3125. break;
  3126. case "my":
  3127. _formdiv = new U.UF.UI.form(
  3128. "我的資料",
  3129. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3130. "id": "my",
  3131. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3132. "onresize": function () { }
  3133. }, {
  3134. closecallback: function () { }
  3135. }, { "style": { "height": "36px" } }).form; //創建窗體
  3136. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3137. break;
  3138. case "program":
  3139. _formdiv = new U.UF.UI.form(
  3140. "編程平臺",
  3141. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3142. "id": "program",
  3143. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3144. "onresize": function () { }
  3145. }, {
  3146. closecallback: function () { }
  3147. }, { "style": { "height": "36px" } }).form; //創建窗體
  3148. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3149. break;
  3150. case "library":
  3151. _formdiv = new U.UF.UI.form(
  3152. "素材庫",
  3153. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3154. "id": "library",
  3155. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3156. "onresize": function () { }
  3157. }, {
  3158. closecallback: function () { }
  3159. }, { "style": { "height": "36px" } }).form; //創建窗體
  3160. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材庫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3161. break;
  3162. case "whiteboard":
  3163. _formdiv = new U.UF.UI.form(
  3164. "電子白板",
  3165. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3166. "id": "whiteboard",
  3167. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3168. "onresize": function () { }
  3169. }, {
  3170. closecallback: function () { }
  3171. }, { "style": { "height": "36px" } }).form; //創建窗體
  3172. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "電子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3173. break;
  3174. case "investigation":
  3175. _formdiv = new U.UF.UI.form(
  3176. "問卷調查",
  3177. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3178. "id": "investigation",
  3179. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3180. "onresize": function () { }
  3181. }, {
  3182. closecallback: function () { }
  3183. }, { "style": { "height": "36px" } }).form; //創建窗體
  3184. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "問卷調查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3185. break;
  3186. case "note":
  3187. _formdiv = new U.UF.UI.form(
  3188. "便簽分類",
  3189. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3190. "id": "note",
  3191. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3192. "onresize": function () { }
  3193. }, {
  3194. closecallback: function () { }
  3195. }, { "style": { "height": "36px" } }).form; //創建窗體
  3196. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便簽分類", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3197. break;
  3198. // case "score":
  3199. // _formdiv = new U.UF.UI.form(
  3200. // "量規評分",
  3201. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3202. // "id": "score",
  3203. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3204. // "onresize": function() {}
  3205. // }, {
  3206. // closecallback: function() {}
  3207. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3208. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量規評分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3209. // break;
  3210. case "mind":
  3211. _formdiv = new U.UF.UI.form(
  3212. "思維導圖",
  3213. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3214. "id": "mind",
  3215. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3216. "onresize": function () { }
  3217. }, {
  3218. closecallback: function () { }
  3219. }, { "style": { "height": "36px" } }).form; //創建窗體
  3220. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3221. break;
  3222. case "doc":
  3223. // U.MD.D.I.isRoom();
  3224. _formdiv = new U.UF.UI.form(
  3225. "協同文檔",
  3226. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3227. "id": "doc",
  3228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3229. "onresize": function () { }
  3230. }, {
  3231. closecallback: function () { }
  3232. }, { "style": { "height": "36px" } }).form; //創建窗體
  3233. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3234. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3235. // })
  3236. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "協同文檔", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3237. break;
  3238. case "studentStudy":
  3239. _formdiv = new U.UF.UI.form(
  3240. "課程中心",
  3241. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3242. "id": "studentStudy",
  3243. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3244. "onresize": function () { }
  3245. }, {
  3246. closecallback: function () { }
  3247. }, { "style": { "height": "36px" } }).form; //創建窗體
  3248. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3249. break;
  3250. case "train": //好友打開
  3251. _formdiv = new U.UF.UI.form(
  3252. "訓練平臺",
  3253. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3254. "id": "train",
  3255. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3256. "onresize": function () { }
  3257. }, {
  3258. closecallback: function () { }
  3259. }, { "style": { "height": "36px" } }).form; //創建窗體
  3260. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3261. break;
  3262. case "mindNetwork": //好友打開
  3263. _formdiv = new U.UF.UI.form(
  3264. "思維網格",
  3265. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3266. "id": "mindNetwork",
  3267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3268. "onresize": function () { }
  3269. }, {
  3270. closecallback: function () { }
  3271. }, { "style": { "height": "36px" } }).form; //創建窗體
  3272. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思維網格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3273. break;
  3274. case "studentClassRoom": //好友打開
  3275. _formdiv = new U.UF.UI.form(
  3276. "實時課堂",
  3277. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3278. "id": "studentClassRoom",
  3279. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3280. "onresize": function () { }
  3281. }, {
  3282. closecallback: function () { }
  3283. }, { "style": { "height": "36px" } }).form; //創建窗體
  3284. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "實時課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3285. setTimeout(() => {
  3286. U.UF.F.windowZooming(_formdiv)
  3287. }, 0);
  3288. break;
  3289. }
  3290. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3291. switch (str) {
  3292. case "studnetProject": //好友打開
  3293. _formdiv = new U.UF.UI.form(
  3294. "我的項目",
  3295. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  3296. "id": "studnetProject",
  3297. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3298. "onresize": function () { }
  3299. }, {
  3300. closecallback: function () { }
  3301. }, { "style": { "height": "36px" } }).form; //創建窗體
  3302. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的項目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3303. break;
  3304. case "studentEvaluate": //好友打開
  3305. _formdiv = new U.UF.UI.form(
  3306. "我的評價",
  3307. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3308. "id": "studentEvaluate",
  3309. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3310. "onresize": function () { }
  3311. }, {
  3312. closecallback: function () { }
  3313. }, { "style": { "height": "36px" } }).form; //創建窗體
  3314. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3315. break;
  3316. case "my":
  3317. _formdiv = new U.UF.UI.form(
  3318. "我的資料",
  3319. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3320. "id": "my",
  3321. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3322. "onresize": function () { }
  3323. }, {
  3324. closecallback: function () { }
  3325. }, { "style": { "height": "36px" } }).form; //創建窗體
  3326. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3327. break;
  3328. case "program":
  3329. _formdiv = new U.UF.UI.form(
  3330. "編程平臺",
  3331. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3332. "id": "program",
  3333. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3334. "onresize": function () { }
  3335. }, {
  3336. closecallback: function () { }
  3337. }, { "style": { "height": "36px" } }).form; //創建窗體
  3338. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3339. break;
  3340. case "library":
  3341. _formdiv = new U.UF.UI.form(
  3342. "素材庫",
  3343. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3344. "id": "library",
  3345. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3346. "onresize": function () { }
  3347. }, {
  3348. closecallback: function () { }
  3349. }, { "style": { "height": "36px" } }).form; //創建窗體
  3350. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材庫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3351. break;
  3352. case "whiteboard":
  3353. _formdiv = new U.UF.UI.form(
  3354. "電子白板",
  3355. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3356. "id": "whiteboard",
  3357. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3358. "onresize": function () { }
  3359. }, {
  3360. closecallback: function () { }
  3361. }, { "style": { "height": "36px" } }).form; //創建窗體
  3362. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "電子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3363. break;
  3364. case "investigation":
  3365. _formdiv = new U.UF.UI.form(
  3366. "問卷調查",
  3367. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3368. "id": "investigation",
  3369. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3370. "onresize": function () { }
  3371. }, {
  3372. closecallback: function () { }
  3373. }, { "style": { "height": "36px" } }).form; //創建窗體
  3374. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "問卷調查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3375. break;
  3376. case "note":
  3377. _formdiv = new U.UF.UI.form(
  3378. "便簽分類",
  3379. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3380. "id": "note",
  3381. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3382. "onresize": function () { }
  3383. }, {
  3384. closecallback: function () { }
  3385. }, { "style": { "height": "36px" } }).form; //創建窗體
  3386. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便簽分類", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3387. break;
  3388. // case "score":
  3389. // _formdiv = new U.UF.UI.form(
  3390. // "量規評分",
  3391. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3392. // "id": "score",
  3393. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3394. // "onresize": function() {}
  3395. // }, {
  3396. // closecallback: function() {}
  3397. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3398. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量規評分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3399. // break;
  3400. case "mind":
  3401. _formdiv = new U.UF.UI.form(
  3402. "思維導圖",
  3403. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3404. "id": "mind",
  3405. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3406. "onresize": function () { }
  3407. }, {
  3408. closecallback: function () { }
  3409. }, { "style": { "height": "36px" } }).form; //創建窗體
  3410. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3411. break;
  3412. case "doc":
  3413. // U.MD.D.I.isRoom();
  3414. _formdiv = new U.UF.UI.form(
  3415. "協同文檔",
  3416. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3417. "id": "doc",
  3418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function () { }
  3420. }, {
  3421. closecallback: function () { }
  3422. }, { "style": { "height": "36px" } }).form; //創建窗體
  3423. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3424. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3425. })
  3426. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "協同文檔", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3427. break;
  3428. case "train": //好友打開
  3429. _formdiv = new U.UF.UI.form(
  3430. "訓練平臺",
  3431. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3432. "id": "train",
  3433. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3434. "onresize": function () { }
  3435. }, {
  3436. closecallback: function () { }
  3437. }, { "style": { "height": "36px" } }).form; //創建窗體
  3438. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3439. break;
  3440. case "studentStudy":
  3441. _formdiv = new U.UF.UI.form(
  3442. "課程中心",
  3443. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3444. "id": "studentStudy",
  3445. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3446. "onresize": function () { }
  3447. }, {
  3448. closecallback: function () { }
  3449. }, { "style": { "height": "36px" } }).form; //創建窗體
  3450. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3451. break;
  3452. case "mindNetwork": //好友打開
  3453. _formdiv = new U.UF.UI.form(
  3454. "思維網格",
  3455. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3456. "id": "mindNetwork",
  3457. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3458. "onresize": function () { }
  3459. }, {
  3460. closecallback: function () { }
  3461. }, { "style": { "height": "36px" } }).form; //創建窗體
  3462. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思維網格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3463. break;
  3464. case "studentClassRoom": //好友打開
  3465. _formdiv = new U.UF.UI.form(
  3466. "實時課堂",
  3467. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/liveRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3468. "id": "studentClassRoom",
  3469. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3470. "onresize": function () { }
  3471. }, {
  3472. closecallback: function () { }
  3473. }, { "style": { "height": "36px" } }).form; //創建窗體
  3474. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "實時課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3475. setTimeout(() => {
  3476. U.UF.F.windowZooming(_formdiv)
  3477. }, 0);
  3478. break;
  3479. }
  3480. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3481. //選擇應用處理
  3482. switch (str) {
  3483. case "project": //好友打開
  3484. _formdiv = new U.UF.UI.form(
  3485. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  3486. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3487. "id": "project",
  3488. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3489. "onresize": function () { }
  3490. }, {
  3491. closecallback: function () { }
  3492. }, { "style": { "height": "36px" } }).form; //創建窗體
  3493. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3494. break;
  3495. case "student":
  3496. _formdiv = new U.UF.UI.form(
  3497. "學生管理",
  3498. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/student?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org + "&role=" + _role }), {
  3499. "id": "student",
  3500. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3501. "onresize": function () { }
  3502. }, {
  3503. closecallback: function () { }
  3504. }, { "style": { "height": "36px" } }).form; //創建窗體
  3505. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "學生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3506. break;
  3507. case "evaluate":
  3508. _formdiv = new U.UF.UI.form(
  3509. "學生評價",
  3510. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3511. "id": "evaluate",
  3512. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3513. "onresize": function () { }
  3514. }, {
  3515. closecallback: function () { }
  3516. }, { "style": { "height": "36px" } }).form; //創建窗體
  3517. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "學生評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3518. break;
  3519. case "sys":
  3520. _formdiv = new U.UF.UI.form(
  3521. "目標管理",
  3522. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3523. "id": "sys",
  3524. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3525. "onresize": function () { }
  3526. }, {
  3527. closecallback: function () { }
  3528. }, { "style": { "height": "36px" } }).form; //創建窗體
  3529. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目標管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3530. break;
  3531. case "courseDesign":
  3532. _formdiv = new U.UF.UI.form(
  3533. "項目設計",
  3534. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3535. "id": "courseDesign",
  3536. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3537. "onresize": function () { }
  3538. }, {
  3539. closecallback: function () { }
  3540. }, { "style": { "height": "36px" } }).form; //創建窗體
  3541. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "項目設計", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3542. break;
  3543. case "program":
  3544. _formdiv = new U.UF.UI.form(
  3545. "編程平臺",
  3546. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3547. "id": "program",
  3548. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3549. "onresize": function () { }
  3550. }, {
  3551. closecallback: function () { }
  3552. }, { "style": { "height": "36px" } }).form; //創建窗體
  3553. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3554. break;
  3555. case "class":
  3556. _formdiv = new U.UF.UI.form(
  3557. "班級管理",
  3558. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/class?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3559. "id": "class",
  3560. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3561. "onresize": function () { }
  3562. }, {
  3563. closecallback: function () { }
  3564. }, { "style": { "height": "36px" } }).form; //創建窗體
  3565. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班級管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3566. break;
  3567. case "Grade":
  3568. _formdiv = new U.UF.UI.form(
  3569. "年級管理",
  3570. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3571. "id": "Grade",
  3572. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3573. "onresize": function () { }
  3574. }, {
  3575. closecallback: function () { }
  3576. }, { "style": { "height": "36px" } }).form; //創建窗體
  3577. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年級管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3578. break;
  3579. case "teacherOffice":
  3580. _formdiv = new U.UF.UI.form(
  3581. "教研室",
  3582. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3583. "id": "teacherOffice",
  3584. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3585. "onresize": function () { }
  3586. }, {
  3587. closecallback: function () { }
  3588. }, { "style": { "height": "36px" } }).form; //創建窗體
  3589. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3590. break;
  3591. case "my":
  3592. _formdiv = new U.UF.UI.form(
  3593. "我的資料",
  3594. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3595. "id": "my",
  3596. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3597. "onresize": function () { }
  3598. }, {
  3599. closecallback: function () { }
  3600. }, { "style": { "height": "36px" } }).form; //創建窗體
  3601. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3602. break;
  3603. case "notice":
  3604. _formdiv = new U.UF.UI.form(
  3605. "通知公告",
  3606. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3607. "id": "notice",
  3608. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3609. "onresize": function () { }
  3610. }, {
  3611. closecallback: function () { }
  3612. }, { "style": { "height": "36px" } }).form; //創建窗體
  3613. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3614. break;
  3615. case "library":
  3616. _formdiv = new U.UF.UI.form(
  3617. "素材庫",
  3618. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3619. "id": "library",
  3620. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3621. "onresize": function () { }
  3622. }, {
  3623. closecallback: function () { }
  3624. }, { "style": { "height": "36px" } }).form; //創建窗體
  3625. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材庫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3626. break;
  3627. case "whiteboard":
  3628. _formdiv = new U.UF.UI.form(
  3629. "電子白板",
  3630. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3631. "id": "whiteboard",
  3632. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3633. "onresize": function () { }
  3634. }, {
  3635. closecallback: function () { }
  3636. }, { "style": { "height": "36px" } }).form; //創建窗體
  3637. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "電子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3638. break;
  3639. case "investigation":
  3640. _formdiv = new U.UF.UI.form(
  3641. "問卷調查",
  3642. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3643. "id": "investigation",
  3644. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function () { }
  3646. }, {
  3647. closecallback: function () { }
  3648. }, { "style": { "height": "36px" } }).form; //創建窗體
  3649. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "問卷調查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3650. break;
  3651. case "note":
  3652. _formdiv = new U.UF.UI.form(
  3653. "便簽分類",
  3654. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3655. "id": "note",
  3656. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3657. "onresize": function () { }
  3658. }, {
  3659. closecallback: function () { }
  3660. }, { "style": { "height": "36px" } }).form; //創建窗體
  3661. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便簽分類", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3662. break;
  3663. // case "score":
  3664. // _formdiv = new U.UF.UI.form(
  3665. // "量規評分",
  3666. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3667. // "id": "score",
  3668. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3669. // "onresize": function() {}
  3670. // }, {
  3671. // closecallback: function() {}
  3672. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3673. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量規評分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3674. // break;
  3675. case "mind":
  3676. _formdiv = new U.UF.UI.form(
  3677. "思維導圖",
  3678. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3679. "id": "mind",
  3680. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3681. "onresize": function () { }
  3682. }, {
  3683. closecallback: function () { }
  3684. }, { "style": { "height": "36px" } }).form; //創建窗體
  3685. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3686. break;
  3687. case "doc":
  3688. // U.MD.D.I.isRoom();
  3689. _formdiv = new U.UF.UI.form(
  3690. "協同文檔",
  3691. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3692. "id": "doc",
  3693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3694. "onresize": function () { }
  3695. }, {
  3696. closecallback: function () { }
  3697. }, { "style": { "height": "36px" } }).form; //創建窗體
  3698. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3699. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3700. })
  3701. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "協同文檔", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3702. break;
  3703. case "study":
  3704. _formdiv = new U.UF.UI.form(
  3705. "課程中心",
  3706. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3707. "id": "study",
  3708. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3709. "onresize": function () { }
  3710. }, {
  3711. closecallback: function () { }
  3712. }, { "style": { "height": "36px" } }).form; //創建窗體
  3713. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3714. break;
  3715. case "mindNetwork": //好友打開
  3716. _formdiv = new U.UF.UI.form(
  3717. "思維網格",
  3718. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3719. "id": "mindNetwork",
  3720. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3721. "onresize": function () { }
  3722. }, {
  3723. closecallback: function () { }
  3724. }, { "style": { "height": "36px" } }).form; //創建窗體
  3725. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思維網格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3726. break;
  3727. case "train": //好友打開
  3728. _formdiv = new U.UF.UI.form(
  3729. "訓練平臺",
  3730. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3731. "id": "mindNetwork",
  3732. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3733. "onresize": function () { }
  3734. }, {
  3735. closecallback: function () { }
  3736. }, { "style": { "height": "36px" } }).form; //創建窗體
  3737. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3738. break;
  3739. case "teacherClassRoom": //好友打開
  3740. _formdiv = new U.UF.UI.form(
  3741. "實時課堂",
  3742. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classRoom?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3743. "id": "teacherClassRoom",
  3744. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3745. "onresize": function () { }
  3746. }, {
  3747. closecallback: function () { }
  3748. }, { "style": { "height": "36px" } }).form; //創建窗體
  3749. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "實時課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3750. setTimeout(() => {
  3751. U.UF.F.windowZooming(_formdiv)
  3752. }, 0);
  3753. break;
  3754. }
  3755. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3756. switch (str) {
  3757. case "project": //好友打開
  3758. _formdiv = new U.UF.UI.form(
  3759. "課程管理",
  3760. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3761. "id": "project",
  3762. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3763. "onresize": function () { }
  3764. }, {
  3765. closecallback: function () { }
  3766. }, { "style": { "height": "36px" } }).form; //創建窗體
  3767. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "課程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3768. break;
  3769. case "evaluate":
  3770. _formdiv = new U.UF.UI.form(
  3771. "學生評價",
  3772. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3773. "id": "evaluate",
  3774. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3775. "onresize": function () { }
  3776. }, {
  3777. closecallback: function () { }
  3778. }, { "style": { "height": "36px" } }).form; //創建窗體
  3779. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "學生評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3780. break;
  3781. case "notice":
  3782. _formdiv = new U.UF.UI.form(
  3783. "通知公告",
  3784. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3785. "id": "notice",
  3786. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3787. "onresize": function () { }
  3788. }, {
  3789. closecallback: function () { }
  3790. }, { "style": { "height": "36px" } }).form; //創建窗體
  3791. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3792. break;
  3793. case "stuLibrary":
  3794. _formdiv = new U.UF.UI.form(
  3795. "學習資料",
  3796. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  3797. "id": "stuLibrary",
  3798. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3799. "onresize": function () { }
  3800. }, {
  3801. closecallback: function () { }
  3802. }, { "style": { "height": "36px" } }).form; //創建窗體
  3803. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "學習資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3804. break;
  3805. case "program":
  3806. _formdiv = new U.UF.UI.form(
  3807. "編程平臺",
  3808. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3809. "id": "program",
  3810. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3811. "onresize": function () { }
  3812. }, {
  3813. closecallback: function () { }
  3814. }, { "style": { "height": "36px" } }).form; //創建窗體
  3815. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3816. break;
  3817. case "whiteboard":
  3818. _formdiv = new U.UF.UI.form(
  3819. "電子白板",
  3820. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3821. "id": "whiteboard",
  3822. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3823. "onresize": function () { }
  3824. }, {
  3825. closecallback: function () { }
  3826. }, { "style": { "height": "36px" } }).form; //創建窗體
  3827. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "電子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3828. break;
  3829. case "investigation":
  3830. _formdiv = new U.UF.UI.form(
  3831. "問卷調查",
  3832. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3833. "id": "investigation",
  3834. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3835. "onresize": function () { }
  3836. }, {
  3837. closecallback: function () { }
  3838. }, { "style": { "height": "36px" } }).form; //創建窗體
  3839. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "問卷調查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3840. break;
  3841. case "mind":
  3842. _formdiv = new U.UF.UI.form(
  3843. "思維導圖",
  3844. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3845. "id": "mind",
  3846. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3847. "onresize": function () { }
  3848. }, {
  3849. closecallback: function () { }
  3850. }, { "style": { "height": "36px" } }).form; //創建窗體
  3851. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3852. break;
  3853. case "doc":
  3854. // U.MD.D.I.isRoom();
  3855. _formdiv = new U.UF.UI.form(
  3856. "協同文檔",
  3857. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3858. "id": "doc",
  3859. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3860. "onresize": function () { }
  3861. }, {
  3862. closecallback: function () { }
  3863. }, { "style": { "height": "36px" } }).form; //創建窗體
  3864. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3865. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3866. })
  3867. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/doc.png)" }, "name": "協同文檔", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3868. break;
  3869. case "study":
  3870. _formdiv = new U.UF.UI.form(
  3871. "課程中心",
  3872. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  3873. "id": "study",
  3874. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3875. "onresize": function () { }
  3876. }, {
  3877. closecallback: function () { }
  3878. }, { "style": { "height": "36px" } }).form; //創建窗體
  3879. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3880. break;
  3881. case "mindNetwork": //好友打開
  3882. _formdiv = new U.UF.UI.form(
  3883. "思維網格",
  3884. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid + "&org=" + _org }), {
  3885. "id": "mindNetwork",
  3886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3887. "onresize": function () { }
  3888. }, {
  3889. closecallback: function () { }
  3890. }, { "style": { "height": "36px" } }).form; //創建窗體
  3891. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思維網格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3892. break;
  3893. case "train": //好友打開
  3894. _formdiv = new U.UF.UI.form(
  3895. "訓練平臺",
  3896. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3897. "id": "train",
  3898. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3899. "onresize": function () { }
  3900. }, {
  3901. closecallback: function () { }
  3902. }, { "style": { "height": "36px" } }).form; //創建窗體
  3903. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3904. break;
  3905. case "sys":
  3906. _formdiv = new U.UF.UI.form(
  3907. "目標管理",
  3908. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3909. "id": "sys",
  3910. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3911. "onresize": function () { }
  3912. }, {
  3913. closecallback: function () { }
  3914. }, { "style": { "height": "36px" } }).form; //創建窗體
  3915. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目標管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3916. break;
  3917. case "courseDesign":
  3918. _formdiv = new U.UF.UI.form(
  3919. "項目設計",
  3920. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3921. "id": "courseDesign",
  3922. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3923. "onresize": function () { }
  3924. }, {
  3925. closecallback: function () { }
  3926. }, { "style": { "height": "36px" } }).form; //創建窗體
  3927. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "項目設計", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3928. break;
  3929. }
  3930. } else if (!_type) {
  3931. switch (str) {
  3932. case "my":
  3933. _formdiv = new U.UF.UI.form(
  3934. "我的資料",
  3935. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  3936. "id": "my",
  3937. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3938. "onresize": function () { }
  3939. }, {
  3940. closecallback: function () { }
  3941. }, { "style": { "height": "36px" } }).form; //創建窗體
  3942. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3943. break;
  3944. }
  3945. }
  3946. switch (str) {
  3947. // AIprogram2 AI體驗 aihub.cocorobo.cn
  3948. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  3949. // AIprogram AI編程 ai-blockly.cocorobo.cn
  3950. case "formulaEdi": //公式編輯
  3951. _formdiv = new U.UF.UI.form(
  3952. "公式編輯",
  3953. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3954. "id": "formulaEdi",
  3955. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3956. "onresize": function () { }
  3957. }, {
  3958. closecallback: function () { }
  3959. }, { "style": { "height": "36px" } }).form; //創建窗體
  3960. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式編輯", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3961. break;
  3962. case "molStr": //分子結構
  3963. _formdiv = new U.UF.UI.form(
  3964. "分子結構",
  3965. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3966. "id": "molStr",
  3967. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3968. "onresize": function () { }
  3969. }, {
  3970. closecallback: function () { }
  3971. }, { "style": { "height": "36px" } }).form; //創建窗體
  3972. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子結構", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3973. break;
  3974. case "timeAxis": //時間軸
  3975. _formdiv = new U.UF.UI.form(
  3976. "時間軸",
  3977. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3978. "id": "timeAxis",
  3979. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3980. "onresize": function () { }
  3981. }, {
  3982. closecallback: function () { }
  3983. }, { "style": { "height": "36px" } }).form; //創建窗體
  3984. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "時間軸", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3985. break;
  3986. case "AIprogram2": //AI體驗
  3987. _formdiv = new U.UF.UI.form(
  3988. "AI體驗",
  3989. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3990. "id": "AIprogram2",
  3991. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3992. "onresize": function () { }
  3993. }, {
  3994. closecallback: function () { }
  3995. }, { "style": { "height": "36px" } }).form; //創建窗體
  3996. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI體驗", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3997. break;
  3998. case "Pythonprogram": //python編程
  3999. _formdiv = new U.UF.UI.form(
  4000. "Python編程",
  4001. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4002. "id": "Pythonprogram",
  4003. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4004. "onresize": function () { }
  4005. }, {
  4006. closecallback: function () { }
  4007. }, { "style": { "height": "36px" } }).form; //創建窗體
  4008. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python編程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4009. break;
  4010. case "AIprogram": //ai編程
  4011. _formdiv = new U.UF.UI.form(
  4012. "AI編程平臺",
  4013. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4014. "id": "AIprogram",
  4015. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4016. "onresize": function () { }
  4017. }, {
  4018. closecallback: function () { }
  4019. }, { "style": { "height": "36px" } }).form; //創建窗體
  4020. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4021. break;
  4022. case "CocoPi": //CocoPi
  4023. _formdiv = new U.UF.UI.form(
  4024. "CocoPi",
  4025. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pi.cocorobo.hk/?lang=zh-hant" }), {
  4026. "id": "CocoPi",
  4027. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4028. "onresize": function () { }
  4029. }, {
  4030. closecallback: function () { }
  4031. }, { "style": { "height": "36px" } }).form; //創建窗體
  4032. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4033. break;
  4034. case "Wood": //Wood
  4035. _formdiv = new U.UF.UI.form(
  4036. "海龜編程",
  4037. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://wood.codemao.cn/" }), {
  4038. "id": "Wood",
  4039. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4040. "onresize": function () { }
  4041. }, {
  4042. closecallback: function () { }
  4043. }, { "style": { "height": "36px" } }).form; //創建窗體
  4044. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龜編程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4045. break;
  4046. case "car": //模擬駕駛
  4047. _formdiv = new U.UF.UI.form(
  4048. "模擬駕駛",
  4049. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://slowroads.io/" }), {
  4050. "id": "car",
  4051. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4052. "onresize": function () { }
  4053. }, {
  4054. closecallback: function () { }
  4055. }, { "style": { "height": "36px" } }).form; //創建窗體
  4056. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模擬駕駛", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4057. break;
  4058. case "lineSearch": //路徑搜索
  4059. _formdiv = new U.UF.UI.form(
  4060. "路徑搜索",
  4061. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://qiao.github.io/PathFinding.js/visual/" }), {
  4062. "id": "lineSearch",
  4063. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4064. "onresize": function () { }
  4065. }, {
  4066. closecallback: function () { }
  4067. }, { "style": { "height": "36px" } }).form; //創建窗體
  4068. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路徑搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4069. break;
  4070. case "deepLearning": //深度學習
  4071. _formdiv = new U.UF.UI.form(
  4072. "深度學習",
  4073. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-demos.cocorobo.cn/teachable-machine/public/#" }), {
  4074. "id": "deepLearning",
  4075. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4076. "onresize": function () { }
  4077. }, {
  4078. closecallback: function () { }
  4079. }, { "style": { "height": "36px" } }).form; //創建窗體
  4080. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度學習", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4081. break;
  4082. case "allHistory": //深度學習
  4083. _formdiv = new U.UF.UI.form(
  4084. "全歷史",
  4085. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.allhistory.com/" }), {
  4086. "id": "allHistory",
  4087. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4088. "onresize": function () { }
  4089. }, {
  4090. closecallback: function () { }
  4091. }, { "style": { "height": "36px" } }).form; //創建窗體
  4092. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全歷史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4093. break;
  4094. case "chatPDF": //ai編程
  4095. _formdiv = new U.UF.UI.form(
  4096. "chatPDF",
  4097. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4098. "id": "chatPDF",
  4099. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4100. "onresize": function () { }
  4101. }, {
  4102. closecallback: function () { }
  4103. }, { "style": { "height": "36px" } }).form; //創建窗體
  4104. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4105. break;
  4106. case "resources": //國家教育
  4107. _formdiv = new U.UF.UI.form(
  4108. "國家教育",
  4109. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4110. "id": "resources",
  4111. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4112. "onresize": function () { }
  4113. }, {
  4114. closecallback: function () { }
  4115. }, { "style": { "height": "36px" } }).form; //創建窗體
  4116. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "國家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4117. break;
  4118. case "codeEdit": //源碼編輯
  4119. _formdiv = new U.UF.UI.form(
  4120. "源碼編輯",
  4121. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4122. "id": "codeEdit",
  4123. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4124. "onresize": function () { }
  4125. }, {
  4126. closecallback: function () { }
  4127. }, { "style": { "height": "36px" } }).form; //創建窗體
  4128. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源碼編輯", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4129. break; //
  4130. case "MindMap": //MindMap
  4131. _formdiv = new U.UF.UI.form(
  4132. "MindMap",
  4133. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4134. "id": "MindMap",
  4135. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4136. "onresize": function () { }
  4137. }, {
  4138. closecallback: function () { }
  4139. }, { "style": { "height": "36px" } }).form; //創建窗體
  4140. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4141. break;
  4142. case "netWorkPanel": //netWorkPanel
  4143. _formdiv = new U.UF.UI.form(
  4144. "netWorkPanel",
  4145. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4146. "id": "netWorkPanel",
  4147. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4148. "onresize": function () { }
  4149. }, {
  4150. closecallback: function () { }
  4151. }, { "style": { "height": "36px" } }).form; //創建窗體
  4152. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4153. break;
  4154. case "GeoGebra": //GeoGebra
  4155. _formdiv = new U.UF.UI.form(
  4156. "GeoGebra",
  4157. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.geogebra.org/calculator" }), {
  4158. "id": "GeoGebra",
  4159. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4160. "onresize": function () { }
  4161. }, {
  4162. closecallback: function () { }
  4163. }, { "style": { "height": "36px" } }).form; //創建窗體
  4164. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4165. break;
  4166. case "translation": //翻譯
  4167. _formdiv = new U.UF.UI.form(
  4168. "翻譯",
  4169. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4170. "id": "translation",
  4171. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4172. "onresize": function () { }
  4173. }, {
  4174. closecallback: function () { }
  4175. }, { "style": { "height": "36px" } }).form; //創建窗體
  4176. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻譯", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4177. break;
  4178. case "mohe": //魔盒
  4179. _formdiv = new U.UF.UI.form(
  4180. "魔盒識字",
  4181. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4182. "id": "mohe",
  4183. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4184. "onresize": function () { }
  4185. }, {
  4186. closecallback: function () { }
  4187. }, { "style": { "height": "36px" } }).form; //創建窗體
  4188. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒識字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4189. break;
  4190. case "24game": //24點
  4191. _formdiv = new U.UF.UI.form(
  4192. "24點",
  4193. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4194. "id": "24game",
  4195. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4196. "onresize": function () { }
  4197. }, {
  4198. closecallback: function () { }
  4199. }, { "style": { "height": "36px" } }).form; //創建窗體
  4200. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24點", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4201. break;
  4202. case "case":
  4203. _formdiv = new U.UF.UI.form(
  4204. "課程進展",
  4205. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4206. "id": "case",
  4207. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4208. "onresize": function () { }
  4209. }, {
  4210. closecallback: function () { }
  4211. }, { "style": { "height": "36px" } }).form; //創建窗體
  4212. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "課程進展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4213. break;
  4214. case "snf":
  4215. _formdiv = new U.UF.UI.form(
  4216. "賽諾梵",
  4217. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//try.cynovan.com/standard/?trial=true&data=%7B%22username%22%3A%22cynovanDemo%22%2C%22password%22%3A%22cynovanDemo%22%7D&redirect_uri=http://janus.cynovan.com/#/app/workflow/menu/1/r/6343ce2ac00fa32609d1f91b" }), {
  4218. "id": "snf",
  4219. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4220. "onresize": function () { }
  4221. }, {
  4222. closecallback: function () { }
  4223. }, { "style": { "height": "36px" } }).form; //創建窗體
  4224. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "賽諾梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4225. break;
  4226. case "hanFamily":
  4227. _formdiv = new U.UF.UI.form(
  4228. "漢字家族",
  4229. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4230. "id": "hanFamily",
  4231. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4232. "onresize": function () { }
  4233. }, {
  4234. closecallback: function () { }
  4235. }, { "style": { "height": "36px" } }).form; //創建窗體
  4236. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "漢字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4237. break;
  4238. case "hanClassics":
  4239. _formdiv = new U.UF.UI.form(
  4240. "國學經典",
  4241. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4242. "id": "hanClassics",
  4243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4244. "onresize": function () { }
  4245. }, {
  4246. closecallback: function () { }
  4247. }, { "style": { "height": "36px" } }).form; //創建窗體
  4248. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "國學經典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4249. break;
  4250. case "hanTraining":
  4251. _formdiv = new U.UF.UI.form(
  4252. "筆畫訓練",
  4253. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4254. "id": "hanTraining",
  4255. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4256. "onresize": function () { }
  4257. }, {
  4258. closecallback: function () { }
  4259. }, { "style": { "height": "36px" } }).form; //創建窗體
  4260. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "筆畫訓練", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4261. break;
  4262. case "hanClass":
  4263. _formdiv = new U.UF.UI.form(
  4264. "書法課堂",
  4265. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4266. "id": "hanClass",
  4267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4268. "onresize": function () { }
  4269. }, {
  4270. closecallback: function () { }
  4271. }, { "style": { "height": "36px" } }).form; //創建窗體
  4272. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "書法課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4273. break;
  4274. case "han":
  4275. _formdiv = new U.UF.UI.form(
  4276. "漢字宮",
  4277. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4278. "id": "han",
  4279. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4280. "onresize": function () { }
  4281. }, {
  4282. closecallback: function () { }
  4283. }, { "style": { "height": "36px" } }).form; //創建窗體
  4284. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "漢字宮", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4285. break;
  4286. case "projectGM": //課程管理
  4287. _formdiv = new U.UF.UI.form(
  4288. "課程管理",
  4289. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4290. "id": "projectGM",
  4291. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4292. "onresize": function () { }
  4293. }, {
  4294. closecallback: function () { }
  4295. }, { "style": { "height": "36px" } }).form; //創建窗體
  4296. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "課程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4297. break;
  4298. case "studyGM": //課程中心
  4299. _formdiv = new U.UF.UI.form(
  4300. "課程中心",
  4301. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/indexGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType }), { //https://beta.pbl.cocorobo.cn/pbl-student-table/dist/#/index
  4302. "id": "study",
  4303. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4304. "onresize": function () { }
  4305. }, {
  4306. closecallback: function () { }
  4307. }, { "style": { "height": "36px" } }).form; //創建窗體
  4308. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4309. break;
  4310. // studentGM
  4311. case "studentGM": //學生管理
  4312. _formdiv = new U.UF.UI.form(
  4313. "學生管理",
  4314. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4315. "id": "studentGM",
  4316. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4317. "onresize": function () { }
  4318. }, {
  4319. closecallback: function () { }
  4320. }, { "style": { "height": "36px" } }).form; //創建窗體
  4321. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "學生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4322. break;
  4323. case "evaluateGM": //學生評價
  4324. _formdiv = new U.UF.UI.form(
  4325. "學生評價",
  4326. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4327. "id": "evaluateGM",
  4328. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4329. "onresize": function () { }
  4330. }, {
  4331. closecallback: function () { }
  4332. }, { "style": { "height": "36px" } }).form; //創建窗體
  4333. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "學生評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4334. break;
  4335. // classGM
  4336. case "classGM": //班級管理
  4337. _formdiv = new U.UF.UI.form(
  4338. "班級管理",
  4339. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4340. "id": "classGM",
  4341. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4342. "onresize": function () { }
  4343. }, {
  4344. closecallback: function () { }
  4345. }, { "style": { "height": "36px" } }).form; //創建窗體
  4346. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/class.png)" }, "name": "班級管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4347. break;
  4348. // dataGM
  4349. case "dataGM":
  4350. _formdiv = new U.UF.UI.form(
  4351. "我的資料",
  4352. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  4353. "id": "dataGM",
  4354. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4355. "onresize": function () { }
  4356. }, {
  4357. closecallback: function () { }
  4358. }, { "style": { "height": "36px" } }).form; //創建窗體
  4359. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4360. break;
  4361. // caseGM
  4362. case "caseGM": //課程進展
  4363. _formdiv = new U.UF.UI.form(
  4364. "課程進展",
  4365. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4366. "id": "caseGM",
  4367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4368. "onresize": function () { }
  4369. }, {
  4370. closecallback: function () { }
  4371. }, { "style": { "height": "36px" } }).form; //創建窗體
  4372. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/case.png)" }, "name": "課程進展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4373. break;
  4374. // meterialGM
  4375. case "meterialGM": //素材庫
  4376. _formdiv = new U.UF.UI.form(
  4377. "素材庫",
  4378. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/libraryGM?userid=" + _userid + "&org=" + _org }), {
  4379. "id": "meterialGM",
  4380. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4381. "onresize": function () { }
  4382. }, {
  4383. closecallback: function () { }
  4384. }, { "style": { "height": "36px" } }).form; //創建窗體
  4385. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/material.png)" }, "name": "素材庫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4386. break;
  4387. // evaluateSGM
  4388. case "evaluateSGM": //我的評價
  4389. _formdiv = new U.UF.UI.form(
  4390. "我的評價",
  4391. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4392. "id": "evaluateSGM",
  4393. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4394. "onresize": function () { }
  4395. }, {
  4396. closecallback: function () { }
  4397. }, { "style": { "height": "36px" } }).form; //創建窗體
  4398. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4399. break;
  4400. case "jupyter": //jupyter
  4401. _formdiv = new U.UF.UI.form(
  4402. "jupyter",
  4403. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4404. "id": "jupyter",
  4405. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4406. "onresize": function () { }
  4407. }, {
  4408. closecallback: function () { }
  4409. }, { "style": { "height": "36px" } }).form; //創建窗體
  4410. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4411. break;
  4412. case "number": //數字實驗室
  4413. _formdiv = new U.UF.UI.form(
  4414. "數字實驗室",
  4415. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4416. "id": "number",
  4417. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4418. "onresize": function () { }
  4419. }, {
  4420. closecallback: function () { }
  4421. }, { "style": { "height": "36px" } }).form; //創建窗體
  4422. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "數字實驗室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4423. break;
  4424. case "studentCourse": //項目管理 學生
  4425. _formdiv = new U.UF.UI.form(
  4426. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4427. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4428. "id": "studentCourse",
  4429. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4430. "onresize": function () { }
  4431. }, {
  4432. closecallback: function () { }
  4433. }, { "style": { "height": "36px" } }).form; //創建窗體
  4434. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4435. break;
  4436. case "studentCourseS": //項目管理 老師
  4437. _formdiv = new U.UF.UI.form(
  4438. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4439. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;clipboard-write;clipboard-read;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/scourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4440. "id": "studentCourseS",
  4441. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4442. "onresize": function () { }
  4443. }, {
  4444. closecallback: function () { }
  4445. }, { "style": { "height": "36px" } }).form; //創建窗體
  4446. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4447. break;
  4448. case "studentIndex": //項目中心
  4449. _formdiv = new U.UF.UI.form(
  4450. "項目中心",
  4451. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studentIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4452. "id": "studentIndex",
  4453. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4454. "onresize": function () { }
  4455. }, {
  4456. closecallback: function () { }
  4457. }, { "style": { "height": "36px" } }).form; //創建窗體
  4458. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4459. break;
  4460. case "CaseDesignS":
  4461. _formdiv = new U.UF.UI.form(
  4462. "項目進展",
  4463. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4464. "id": "case",
  4465. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4466. "onresize": function () { }
  4467. }, {
  4468. closecallback: function () { }
  4469. }, { "style": { "height": "36px" } }).form; //創建窗體
  4470. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "項目進展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4471. break;
  4472. case "tcStudent": //騰訊學生管理
  4473. _formdiv = new U.UF.UI.form(
  4474. "學生管理",
  4475. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4476. "id": "tcStudent",
  4477. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4478. "onresize": function () { }
  4479. }, {
  4480. closecallback: function () { }
  4481. }, { "style": { "height": "36px" } }).form; //創建窗體
  4482. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "學生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4483. break;
  4484. case "tcSchool": //騰訊學校管理
  4485. _formdiv = new U.UF.UI.form(
  4486. "學校管理",
  4487. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4488. "id": "tcSchool",
  4489. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4490. "onresize": function () { }
  4491. }, {
  4492. closecallback: function () { }
  4493. }, { "style": { "height": "36px" } }).form; //創建窗體
  4494. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "學校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4495. break;
  4496. case "tcTeacher": //騰訊學校管理
  4497. _formdiv = new U.UF.UI.form(
  4498. "教師管理",
  4499. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4500. "id": "tcTeacher",
  4501. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4502. "onresize": function () { }
  4503. }, {
  4504. closecallback: function () { }
  4505. }, { "style": { "height": "36px" } }).form; //創建窗體
  4506. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教師管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4507. break;
  4508. case "tcData": //騰訊我的資料
  4509. _formdiv = new U.UF.UI.form(
  4510. "我的資料",
  4511. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4512. "id": "tcData",
  4513. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4514. "onresize": function () { }
  4515. }, {
  4516. closecallback: function () { }
  4517. }, { "style": { "height": "36px" } }).form; //創建窗體
  4518. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4519. break;
  4520. case "tcNotice": //騰訊消息通知
  4521. _formdiv = new U.UF.UI.form(
  4522. "消息通知",
  4523. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4524. "id": "tcNotice",
  4525. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4526. "onresize": function () { }
  4527. }, {
  4528. closecallback: function () { }
  4529. }, { "style": { "height": "36px" } }).form; //創建窗體
  4530. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4531. break;
  4532. case "myReport": //好友打開
  4533. _formdiv = new U.UF.UI.form(
  4534. "我的評價",
  4535. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4536. "id": "myReport",
  4537. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4538. "onresize": function () { }
  4539. }, {
  4540. closecallback: function () { }
  4541. }, { "style": { "height": "36px" } }).form; //創建窗體
  4542. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4543. break;
  4544. case "learnAna": //好友打開
  4545. _formdiv = new U.UF.UI.form(
  4546. "學習分析",
  4547. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4548. "id": "learnAna",
  4549. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4550. "onresize": function () { }
  4551. }, {
  4552. closecallback: function () { }
  4553. }, { "style": { "height": "36px" } }).form; //創建窗體
  4554. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "學習分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4555. break;
  4556. case "AIChat": //AI共創
  4557. _formdiv = new U.UF.UI.form(
  4558. "AI共創",
  4559. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  4560. "id": "AIChat",
  4561. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4562. "onresize": function () { }
  4563. }, {
  4564. istop: true,
  4565. closecallback: function () { $("#aichat_icon").remove(); },
  4566. narrowcallback: function () {
  4567. if (!$("#aichat_icon")[0]) {
  4568. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4569. }
  4570. },
  4571. }, { "style": { "height": "36px" } }).form; //創建窗體
  4572. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI共創", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4573. break;
  4574. case "ainew": //AI共創
  4575. _formdiv = new U.UF.UI.form(
  4576. "AI協同",
  4577. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  4578. "id": "ainew",
  4579. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4580. "onresize": function () { }
  4581. }, {
  4582. closecallback: function () { }
  4583. }, { "style": { "height": "36px" } }).form; //創建窗體
  4584. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI協同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4585. break;
  4586. case "gpt4": //gpt4
  4587. _formdiv = new U.UF.UI.form(
  4588. "AI助手",
  4589. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4590. "id": "gpt4",
  4591. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4592. "onresize": function () { }
  4593. }, {
  4594. closecallback: function () { }
  4595. }, { "style": { "height": "36px" } }).form; //創建窗體
  4596. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4597. break;
  4598. case "aigpt": //gpt4
  4599. _formdiv = new U.UF.UI.form(
  4600. "AI助手+",
  4601. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4602. "id": "aigpt",
  4603. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4604. "onresize": function () { }
  4605. }, {
  4606. closecallback: function () { }
  4607. }, { "style": { "height": "36px" } }).form; //創建窗體
  4608. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4609. break;
  4610. case "futureClass": //AI共創
  4611. _formdiv = new U.UF.UI.form(
  4612. "協同建構",
  4613. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/synergyCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {//https://cscl.cocorobo.hk
  4614. "id": "synergyCourse",
  4615. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4616. "onresize": function () { }
  4617. }, {
  4618. closecallback: function () {
  4619. $("iframe", _formdiv)[0].contentWindow.loginout();
  4620. }
  4621. }, { "style": { "height": "36px" } }).form; //創建窗體
  4622. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/futureClass.png)" }, "name": "協同建構", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4623. break;
  4624. case "aiagent": //ai agent
  4625. _formdiv = new U.UF.UI.form(
  4626. "AI Agent",
  4627. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://metagpt.cocorobo.cn/dist/index.html" }), {
  4628. "id": "AIAgent",
  4629. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4630. "onresize": function () { }
  4631. }, {
  4632. closecallback: function () { }
  4633. }, { "style": { "height": "36px" } }).form; //創建窗體
  4634. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4635. break;
  4636. case "dataBoard": //數據看板
  4637. _formdiv = new U.UF.UI.form(
  4638. "數據看板",
  4639. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoard?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4640. "id": "dataBoard",
  4641. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4642. "onresize": function () { }
  4643. }, {
  4644. closecallback: function () { }
  4645. }, { "style": { "height": "36px" } }).form; //創建窗體
  4646. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "數據看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4647. break;
  4648. case "dataBoardSies": //數據融合
  4649. _formdiv = new U.UF.UI.form(
  4650. "數據融合",
  4651. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardSies?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4652. "id": "dataBoardSies",
  4653. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4654. "onresize": function () { }
  4655. }, {
  4656. closecallback: function () { }
  4657. }, { "style": { "height": "36px" } }).form; //創建窗體
  4658. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "數據融合", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4659. break;
  4660. case "dataBoardNew": //數據看板
  4661. _formdiv = new U.UF.UI.form(
  4662. "綜合看板",
  4663. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardNew?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4664. "id": "dataBoardNew",
  4665. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4666. "onresize": function () { }
  4667. }, {
  4668. closecallback: function () { }
  4669. }, { "style": { "height": "36px" } }).form; //創建窗體
  4670. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardNew.png)" }, "name": "綜合看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4671. break;
  4672. case "dataBoardTest": //數據看板
  4673. _formdiv = new U.UF.UI.form(
  4674. "評測看板",
  4675. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4676. "id": "dataBoardTest",
  4677. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4678. "onresize": function () { }
  4679. }, {
  4680. closecallback: function () { }
  4681. }, { "style": { "height": "36px" } }).form; //創建窗體
  4682. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "評測看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4683. break;
  4684. case "AIAnalyse": //AI共創
  4685. _formdiv = new U.UF.UI.form(
  4686. "AI分析",
  4687. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  4688. "id": "AIAnalyse",
  4689. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4690. "onresize": function () { }
  4691. }, {
  4692. closecallback: function () { }
  4693. }, { "style": { "height": "36px" } }).form; //創建窗體
  4694. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4695. break;
  4696. case "studioCourse": //AI共創
  4697. _formdiv = new U.UF.UI.form(
  4698. "工作管理",
  4699. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studioCourse?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4700. "id": "studioCourse",
  4701. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4702. "onresize": function () { }
  4703. }, {
  4704. closecallback: function () { }
  4705. }, { "style": { "height": "36px" } }).form; //創建窗體
  4706. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4707. break;
  4708. case "studioIndex": //AI共創
  4709. _formdiv = new U.UF.UI.form(
  4710. "工作中心",
  4711. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studioIndex?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _TscreenType + "&role=" + _role }), {
  4712. "id": "studioIndex",
  4713. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4714. "onresize": function () { }
  4715. }, {
  4716. closecallback: function () { }
  4717. }, { "style": { "height": "36px" } }).form; //創建窗體
  4718. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4719. break;
  4720. case "source":
  4721. _formdiv = new U.UF.UI.form(
  4722. "教學資源",
  4723. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4724. "id": "source",
  4725. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4726. "onresize": function () { }
  4727. }, {
  4728. closecallback: function () { }
  4729. }, { "style": { "height": "36px" } }).form; //創建窗體
  4730. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教學資源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4731. break;
  4732. case "testTeacher":
  4733. _formdiv = new U.UF.UI.form(
  4734. "評測管理",
  4735. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4736. "id": "testTeacher",
  4737. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4738. "onresize": function () { }
  4739. }, {
  4740. closecallback: function () { }
  4741. }, { "style": { "height": "36px" } }).form; //創建窗體
  4742. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "評測管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4743. break;
  4744. case "testStudent":
  4745. _formdiv = new U.UF.UI.form(
  4746. "評測中心",
  4747. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4748. "id": "testStudent",
  4749. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4750. "onresize": function () { }
  4751. }, {
  4752. closecallback: function () { }
  4753. }, { "style": { "height": "36px" } }).form; //創建窗體
  4754. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "評測管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4755. break;
  4756. case "testTeacherSies":
  4757. _formdiv = new U.UF.UI.form(
  4758. "教師管理",
  4759. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4760. "id": "testTeacherSies",
  4761. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4762. "onresize": function () { }
  4763. }, {
  4764. closecallback: function () { }
  4765. }, { "style": { "height": "36px" } }).form; //創建窗體
  4766. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "教師管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4767. break;
  4768. case "testStudentSies":
  4769. _formdiv = new U.UF.UI.form(
  4770. "教師中心",
  4771. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4772. "id": "testStudentSies",
  4773. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4774. "onresize": function () { }
  4775. }, {
  4776. closecallback: function () { }
  4777. }, { "style": { "height": "36px" } }).form; //創建窗體
  4778. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "教師中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4779. break;
  4780. case "ytpbl": //消息通知
  4781. _formdiv = new U.UF.UI.form(
  4782. "案例征集",
  4783. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4784. "id": "ytpbl",
  4785. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4786. "onresize": function () { }
  4787. }, {
  4788. closecallback: function () { }
  4789. }, { "style": { "height": "36px" } }).form; //創建窗體
  4790. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4791. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  4792. break;
  4793. }
  4794. //U.MD.D.I.openClick(str);
  4795. //如果有任務欄信息
  4796. if (_taskbar) {
  4797. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  4798. }
  4799. }
  4800. // U.MD.D.I.openClick = function(str){
  4801. // var click = '';
  4802. // switch(str){
  4803. // case 'friend':
  4804. // click = '我的好友';
  4805. // break;
  4806. // case 'domain':
  4807. // click = '域名管理';
  4808. // break;
  4809. // case 'disk':
  4810. // click = '我的雲盤';
  4811. // break;
  4812. // case 'word':
  4813. // click = 'Word';
  4814. // break;
  4815. // case 'excel':
  4816. // click = 'Execl';
  4817. // break;
  4818. // case 'txt':
  4819. // click = '文本文件';
  4820. // break;
  4821. // case 'lookupFriend':
  4822. // click = '查找好友';
  4823. // break;
  4824. // case 'ftp':
  4825. // click = 'FTP';
  4826. // break;
  4827. // case 'group':
  4828. // click = '群組';
  4829. // break;
  4830. // case 'set':
  4831. // click = '我的設置';
  4832. // break;
  4833. // case 'systemSet':
  4834. // click = '系統設置';
  4835. // break;
  4836. // case 'boomYun':
  4837. // click = '互聯辦公';
  4838. // break;
  4839. // case 'xz':
  4840. // click = '雲端下載';
  4841. // break;
  4842. // case 'client':
  4843. // click = '有思瀏覽器';
  4844. // break;
  4845. // case 'backEndProgramming':
  4846. // click = '在線後臺編程';
  4847. // break;
  4848. // case 'frontEndProgramming':
  4849. // click = '在線前端編程';
  4850. // break;
  4851. // default: break;
  4852. // }
  4853. // if(U.MD.D.I.Ip && click){
  4854. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4855. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4856. // })
  4857. // }
  4858. // }
  4859. /**
  4860. *函數作用:ajax簡易函數,使用post格式
  4861. *@param url {data} 後臺地址
  4862. *@param data {data} 參數json
  4863. *@param fn {data} 回調函數
  4864. *
  4865. */
  4866. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4867. // var xhr = new XMLHttpRequest();
  4868. // xhr.open("GET",url,true);
  4869. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4870. // xhr.onreadystatechange = function(){
  4871. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4872. // fn.call(this,xhr.responseText);
  4873. // }
  4874. // };
  4875. // xhr.send();
  4876. // }
  4877. /*判斷是否是內網IP*/
  4878. // U.MD.D.I.isInnerIPFn = function(str){
  4879. // var curPageUrl = str;
  4880. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  4881. // curPageUrl =curPageUrl.replace(reg1,'');
  4882. // // console.log('curPageUrl-1 '+curPageUrl);
  4883. // var reg2 = /\:+/g;//替換冒號為一點
  4884. // curPageUrl =curPageUrl.replace(reg2,'.');
  4885. // // console.log('curPageUrl-2 '+curPageUrl);
  4886. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  4887. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4888. // if(curPageUrl[2] != '16'){
  4889. // return ipAddress;
  4890. // }else{
  4891. // return false;
  4892. // }
  4893. // }
  4894. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4895. // //compatibility for firefox and chrome
  4896. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4897. // var pc = new myPeerConnection({
  4898. // iceServers: []
  4899. // }),
  4900. // noop = function() {},
  4901. // localIPs = {},
  4902. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4903. // key;
  4904. // function iterateIP(ip) {
  4905. // if (!localIPs[ip]) onNewIP(ip);
  4906. // localIPs[ip] = true;
  4907. // }
  4908. // //create a bogus data channel
  4909. // pc.createDataChannel("");
  4910. // // create offer and set local description
  4911. // pc.createOffer().then(function(sdp) {
  4912. // sdp.sdp.split('\n').forEach(function(line) {
  4913. // if (line.indexOf('candidate') < 0) return;
  4914. // line.match(ipRegex).forEach(iterateIP);
  4915. // });
  4916. // pc.setLocalDescription(sdp, noop, noop);
  4917. // }).catch(function(reason) {
  4918. // // An error occurred, so handle the failure to connect
  4919. // });
  4920. // //sten for candidate events
  4921. // pc.onicecandidate = function(ice) {
  4922. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4923. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4924. // };
  4925. // }
  4926. // U.MD.D.I.getUserIpBool = function(callback){
  4927. // U.MD.D.I.getUserIP(function(ip){
  4928. // alert("Got IP! :" + ip);
  4929. // });
  4930. //}
  4931. //#endregion
  4932. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4933. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  4934. _formdiv, //創建任務欄時同時彈出的窗體元素。
  4935. _userinfo = US.userInfo, //登錄用戶信息
  4936. _userid = US.userInfo.userid //登錄用戶id
  4937. let _iframe;
  4938. let _cid = cid,
  4939. _stage = stage,
  4940. _task = task,
  4941. _tool = tool;
  4942. var _jie = $$("div", {
  4943. "style": {
  4944. "position": "absolute",
  4945. "bottom": "50px",
  4946. "right": "50px",
  4947. "zIndex": "9999",
  4948. "backgroundColor": "#2268bc",
  4949. "color": "#fff",
  4950. "padding": "12px 20px",
  4951. "cursor": "pointer",
  4952. "borderRadius": "4px",
  4953. },
  4954. "innerHTML": "提交作業"
  4955. })
  4956. let aTool = ''
  4957. let _loading = document.createElement('div')
  4958. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  4959. // _loading.id = "";
  4960. let _lchild = document.createElement('div')
  4961. let _limg = document.createElement('img')
  4962. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4963. _limg.style = "width: 26px;margin-right: 10px;"
  4964. _lchild.appendChild(_limg)
  4965. let _lspan = document.createElement('span')
  4966. _lspan.innerHTML = "上傳中..."
  4967. _lchild.appendChild(_lspan)
  4968. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  4969. _loading.appendChild(_lchild)
  4970. var _box = $$('div', {
  4971. "style": {
  4972. "position": "relative",
  4973. "width": "100%",
  4974. "height": "100%",
  4975. },
  4976. })
  4977. _box.appendChild(_loading)
  4978. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4979. switch (str) {
  4980. case "whiteboard":
  4981. aTool = 1;
  4982. _iframe = $$("iframe", {
  4983. "frameborder": "no",
  4984. "border": "0",
  4985. "scrolling ": "no",
  4986. "style": {
  4987. "cssText": "border:0;width:100%;height:100%"
  4988. },
  4989. "src": "https://iwb.cocorobo.hk/"
  4990. })
  4991. _box.appendChild(_iframe);
  4992. _box.appendChild(_jie);
  4993. _formdiv = new U.UF.UI.form(
  4994. "電子白板",
  4995. _box, {
  4996. "id": "whiteboard" + cid + stage + task + tool,
  4997. "style": {
  4998. "width": "90%",
  4999. "height": "90%",
  5000. "overflow": 'hidden'
  5001. },
  5002. "onresize": function () { }
  5003. }, {
  5004. closecallback: function () { }
  5005. }, {
  5006. "style": {
  5007. "height": "36px"
  5008. }
  5009. }).form; //創建窗體
  5010. _taskbar = {
  5011. "id": str + _formdiv.id,
  5012. "style": {
  5013. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5014. },
  5015. "name": "電子白板",
  5016. "forms": _formdiv,
  5017. "click": function () {
  5018. U.MD.D.I.openApplication(str, obj, info);
  5019. }
  5020. }
  5021. break;
  5022. case "mind":
  5023. aTool = 3;
  5024. _iframe = $$("iframe", {
  5025. "frameborder": "no",
  5026. "border": "0",
  5027. "scrolling ": "no",
  5028. "style": {
  5029. "cssText": "border:0;width:100%;height:100%"
  5030. },
  5031. "src": "/kityminder-editor/dist/index.html"
  5032. })
  5033. _box.appendChild(_iframe);
  5034. _box.appendChild(_jie);
  5035. _formdiv = new U.UF.UI.form(
  5036. "思維導圖",
  5037. _box, { //"/jsmind/example/demo.html"
  5038. "id": "mind" + cid + stage + task + tool,
  5039. "style": {
  5040. "width": "90%",
  5041. "height": "90%",
  5042. "overflow": 'hidden'
  5043. },
  5044. "onresize": function () { }
  5045. }, {
  5046. closecallback: function () { }
  5047. }, {
  5048. "style": {
  5049. "height": "36px"
  5050. }
  5051. }).form; //創建窗體
  5052. _taskbar = {
  5053. "id": str + _formdiv.id,
  5054. "style": {
  5055. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5056. },
  5057. "name": "思維導圖",
  5058. "forms": _formdiv,
  5059. "click": function () {
  5060. U.MD.D.I.openApplication(str, obj, info);
  5061. }
  5062. }
  5063. break;
  5064. case "MindMap":
  5065. aTool = 3;
  5066. _iframe = $$("iframe", {
  5067. "frameborder": "no",
  5068. "border": "0",
  5069. "scrolling ": "no",
  5070. "style": {
  5071. "cssText": "border:0;width:100%;height:100%"
  5072. },
  5073. "src": "//cloud.cocorobo.hk/mind/"
  5074. })
  5075. _box.appendChild(_iframe);
  5076. _box.appendChild(_jie);
  5077. _formdiv = new U.UF.UI.form(
  5078. "思維導圖",
  5079. _box, { //"/jsmind/example/demo.html"
  5080. "id": "mind" + cid + stage + task + tool,
  5081. "style": {
  5082. "width": "90%",
  5083. "height": "90%",
  5084. "overflow": 'hidden'
  5085. },
  5086. "onresize": function () { }
  5087. }, {
  5088. closecallback: function () { }
  5089. }, {
  5090. "style": {
  5091. "height": "36px"
  5092. }
  5093. }).form; //創建窗體
  5094. _taskbar = {
  5095. "id": str + _formdiv.id,
  5096. "style": {
  5097. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5098. },
  5099. "name": "思維導圖",
  5100. "forms": _formdiv,
  5101. "click": function () {
  5102. U.MD.D.I.openApplication(str, obj, info);
  5103. }
  5104. }
  5105. break;
  5106. case "doc":
  5107. aTool = 6;
  5108. _iframe = $$("iframe", {
  5109. "frameborder": "no",
  5110. "border": "0",
  5111. "scrolling ": "no",
  5112. "style": {
  5113. "cssText": "border:0;width:100%;height:100%"
  5114. },
  5115. "src": "/Office/Word/WordEditArea.htm"
  5116. })
  5117. _box.appendChild(_iframe);
  5118. _box.appendChild(_jie);
  5119. _formdiv = new U.UF.UI.form(
  5120. "協同文檔",
  5121. _box, {
  5122. "id": "doc" + cid + stage + task + tool,
  5123. "style": {
  5124. "width": "90%",
  5125. "height": "90%",
  5126. "overflow": 'hidden'
  5127. },
  5128. "onresize": function () { }
  5129. }, {
  5130. closecallback: function () { }
  5131. }, {
  5132. "style": {
  5133. "height": "36px"
  5134. }
  5135. }).form; //創建窗體
  5136. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5137. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5138. })
  5139. _taskbar = {
  5140. "id": str + _formdiv.id,
  5141. "style": {
  5142. "backgroundImage": "url(/img/icon/doc.png)"
  5143. },
  5144. "name": "協同文檔",
  5145. "forms": _formdiv,
  5146. "click": function () {
  5147. U.MD.D.I.openApplication(str, obj, info);
  5148. }
  5149. }
  5150. break;
  5151. case "mindNetwork": //好友打開
  5152. aTool = 7;
  5153. _iframe = $$("iframe", {
  5154. "webkitallowfullscreen": "",
  5155. "mozallowfullscreen": "",
  5156. "allowfullscreen": "",
  5157. "frameborder": "no",
  5158. "border": "0",
  5159. "scrolling ": "no",
  5160. "style": {
  5161. "cssText": "border:0; width:100%; height:100%;"
  5162. },
  5163. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5164. })
  5165. _box.appendChild(_iframe);
  5166. _box.appendChild(_jie);
  5167. _formdiv = new U.UF.UI.form(
  5168. "思維網格",
  5169. _box, {
  5170. "id": "mindNetwork" + cid + stage + task + tool,
  5171. "style": {
  5172. "width": "90%",
  5173. "height": "90%",
  5174. "overflow": 'hidden'
  5175. },
  5176. "onresize": function () { }
  5177. }, {
  5178. closecallback: function () { }
  5179. }, {
  5180. "style": {
  5181. "height": "36px"
  5182. }
  5183. }).form; //創建窗體
  5184. _taskbar = {
  5185. "id": str + _formdiv.id,
  5186. "style": {
  5187. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5188. },
  5189. "name": "思維網格",
  5190. "forms": _formdiv,
  5191. "click": function () {
  5192. U.MD.D.I.openApplication(str, obj, info);
  5193. }
  5194. }
  5195. break;
  5196. case "courseDesign":
  5197. _iframe = $$("iframe", {
  5198. "webkitallowfullscreen": "",
  5199. "mozallowfullscreen": "",
  5200. "allowfullscreen": "",
  5201. "frameborder": "no",
  5202. "border": "0",
  5203. "scrolling ": "no",
  5204. "style": {
  5205. "cssText": "border:0; width:100%; height:100%;"
  5206. },
  5207. "src": "/course-design-vue"
  5208. })
  5209. _box.appendChild(_iframe);
  5210. _box.appendChild(_jie);
  5211. _formdiv = new U.UF.UI.form(
  5212. "項目設計",
  5213. _box, {
  5214. "id": "courseDesign" + cid + stage + task + tool,
  5215. "style": {
  5216. "width": "90%",
  5217. "height": "90%",
  5218. "overflow": 'hidden'
  5219. },
  5220. "onresize": function () { }
  5221. }, {
  5222. closecallback: function () { }
  5223. }, {
  5224. "style": {
  5225. "height": "36px"
  5226. }
  5227. }).form; //創建窗體
  5228. _taskbar = {
  5229. "id": str + _formdiv.id,
  5230. "style": {
  5231. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5232. },
  5233. "name": "項目設計",
  5234. "forms": _formdiv,
  5235. "click": function () {
  5236. U.MD.D.I.openApplication(str, obj, info);
  5237. }
  5238. }
  5239. break;
  5240. }
  5241. const script1 = document.createElement("script");
  5242. script1.type = "text/javascript";
  5243. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5244. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5245. const script2 = document.createElement("script");
  5246. script2.type = "text/javascript";
  5247. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5248. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5249. const script3 = document.createElement("script");
  5250. script3.type = "text/javascript";
  5251. script3.charset = "UTF-8";
  5252. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5253. const script4 = document.createElement("script");
  5254. script4.type = "text/javascript";
  5255. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5256. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  5257. if (_iframe) {
  5258. if (str == 'doc') {
  5259. _iframe = _formdiv.querySelector('iframe')
  5260. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5261. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5262. _iframe.contentWindow.document.body.appendChild(script1);
  5263. _iframe.contentWindow.document.body.appendChild(script2);
  5264. // _iframe.contentWindow.document.body.appendChild(script3);
  5265. _iframe.contentWindow.document.body.appendChild(script4);
  5266. })
  5267. if (onloadListener) {
  5268. _iframe.contentDocument.location.reload()
  5269. } else {
  5270. _iframe.contentDocument.location.reload()
  5271. }
  5272. } else if (str == 'courseDesign') {
  5273. U.UF.DL.iframeLoad(_iframe, function () {
  5274. // _iframe.contentWindow.U.MD.O.W.load();
  5275. // _iframe.contentWindow.document.body.appendChild(script1);
  5276. _iframe.contentWindow.document.body.appendChild(script2);
  5277. _iframe.contentWindow.document.body.appendChild(script4);
  5278. })
  5279. } else if (str == 'mind') {
  5280. _iframe = _formdiv.querySelector('iframe')
  5281. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5282. //
  5283. _iframe.contentWindow.document.body.appendChild(script1);
  5284. _iframe.contentWindow.document.body.appendChild(script2);
  5285. _iframe.contentWindow.document.body.appendChild(script4);
  5286. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5287. })
  5288. if (onloadListener) {
  5289. _iframe.contentDocument.location.reload()
  5290. } else {
  5291. _iframe.contentDocument.location.reload()
  5292. }
  5293. } else if (str == 'whiteboard') {
  5294. _iframe = _formdiv.querySelector('iframe')
  5295. let onloadListener = _iframe.onload = () => {
  5296. _iframe.contentWindow.document.body.appendChild(script1);
  5297. _iframe.contentWindow.document.body.appendChild(script2);
  5298. _iframe.contentWindow.document.body.appendChild(script4);
  5299. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5300. };
  5301. if (onloadListener) {
  5302. _iframe.contentDocument.location.reload()
  5303. } else {
  5304. _iframe.contentDocument.location.reload()
  5305. }
  5306. } else {
  5307. _iframe.onload = () => {
  5308. _iframe.contentWindow.document.body.appendChild(script1);
  5309. _iframe.contentWindow.document.body.appendChild(script2);
  5310. // _iframe.contentWindow.document.body.appendChild(script3);
  5311. _iframe.contentWindow.document.body.appendChild(script4);
  5312. };
  5313. }
  5314. _jie.onclick = async () => {
  5315. let text = ''
  5316. if (aTool == 1) {
  5317. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5318. } else if (aTool == 6) {
  5319. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5320. } else if (aTool == 3) {
  5321. text = await U.MD.D.I.getEditorContent(_iframe);
  5322. }
  5323. _loading.style.display = 'flex'
  5324. console.log(_loading);
  5325. var _ajs = _iframe.contentWindow.document.createElement("script");
  5326. _ajs.type = "text/javascript";
  5327. _ajs.innerHTML =
  5328. // 'console.log(' + _loading + ');\n' +
  5329. 'var _js = document.createElement("script");\n' +
  5330. '_js.type="text/javascript";\n' +
  5331. '_js.charset="UTF-8";\n' +
  5332. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5333. "_js.onload = function(){\n" +
  5334. ' var a = document.getElementsByTagName("img")\n' +
  5335. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5336. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5337. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5338. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5339. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5340. "beforeUpload_shishi(file," +
  5341. "'" +
  5342. _userid +
  5343. "'" +
  5344. ", " +
  5345. "'" +
  5346. _cid +
  5347. "'" +
  5348. ", " +
  5349. "'" +
  5350. _stage +
  5351. "'" +
  5352. ", " +
  5353. "'" +
  5354. _task +
  5355. "'" +
  5356. ", " +
  5357. "'" +
  5358. _tool +
  5359. "'" +
  5360. ", " +
  5361. "'" +
  5362. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5363. "'" +
  5364. ", " +
  5365. "'" +
  5366. aTool +
  5367. "'" +
  5368. ", " +
  5369. "`" +
  5370. text +
  5371. "`" +
  5372. ")\n" +
  5373. " });\n" +
  5374. "}\n" +
  5375. "document.head.appendChild(_js);\n";
  5376. _iframe.contentWindow.document.head.appendChild(_ajs);
  5377. }
  5378. }
  5379. //U.MD.D.I.openClick(str);
  5380. //如果有任務欄信息
  5381. // if (_taskbar) {
  5382. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5383. // }
  5384. }
  5385. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5386. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5387. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5388. _userinfo = US.userInfo, //登錄用戶信息
  5389. _userid = US.userInfo.userid //登錄用戶id
  5390. let _iframe;
  5391. let _cid = cid,
  5392. _stage = stage,
  5393. _task = task,
  5394. _tool = tool;
  5395. var _jie = $$("div", {
  5396. "style": {
  5397. "position": "absolute",
  5398. "bottom": "50px",
  5399. "right": "50px",
  5400. "zIndex": "9999",
  5401. "backgroundColor": "#2268bc",
  5402. "color": "#fff",
  5403. "padding": "12px 20px",
  5404. "cursor": "pointer",
  5405. "borderRadius": "4px",
  5406. },
  5407. "innerHTML": "提交作業"
  5408. })
  5409. let aTool = ''
  5410. let _loading = document.createElement('div')
  5411. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  5412. // _loading.id = "";
  5413. let _lchild = document.createElement('div')
  5414. let _limg = document.createElement('img')
  5415. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5416. _limg.style = "width: 26px;margin-right: 10px;"
  5417. _lchild.appendChild(_limg)
  5418. let _lspan = document.createElement('span')
  5419. _lspan.innerHTML = "上傳中..."
  5420. _lchild.appendChild(_lspan)
  5421. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  5422. _loading.appendChild(_lchild)
  5423. var _box = $$('div', {
  5424. "style": {
  5425. "position": "relative",
  5426. "width": "100%",
  5427. "height": "100%",
  5428. },
  5429. })
  5430. _box.appendChild(_loading)
  5431. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5432. switch (str) {
  5433. case "whiteboard":
  5434. aTool = 1;
  5435. _iframe = $$("iframe", {
  5436. "frameborder": "no",
  5437. "border": "0",
  5438. "scrolling ": "no",
  5439. "style": {
  5440. "cssText": "border:0;width:100%;height:100%"
  5441. },
  5442. "src": "https://iwb.cocorobo.hk/"
  5443. })
  5444. _box.appendChild(_iframe);
  5445. _box.appendChild(_jie);
  5446. _formdiv = new U.UF.UI.form(
  5447. "電子白板",
  5448. _box, {
  5449. "id": "whiteboard" + cid + stage + task + tool,
  5450. "style": {
  5451. "width": "90%",
  5452. "height": "90%",
  5453. "overflow": 'hidden'
  5454. },
  5455. "onresize": function () { }
  5456. }, {
  5457. closecallback: function () { }
  5458. }, {
  5459. "style": {
  5460. "height": "36px"
  5461. }
  5462. }).form; //創建窗體
  5463. _taskbar = {
  5464. "id": str + _formdiv.id,
  5465. "style": {
  5466. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5467. },
  5468. "name": "電子白板",
  5469. "forms": _formdiv,
  5470. "click": function () {
  5471. U.MD.D.I.openApplication(str, obj, info);
  5472. }
  5473. }
  5474. break;
  5475. case "mind":
  5476. aTool = 3;
  5477. _iframe = $$("iframe", {
  5478. "frameborder": "no",
  5479. "border": "0",
  5480. "scrolling ": "no",
  5481. "style": {
  5482. "cssText": "border:0;width:100%;height:100%"
  5483. },
  5484. "src": "/kityminder-editor/dist/index.html"
  5485. })
  5486. _box.appendChild(_iframe);
  5487. _box.appendChild(_jie);
  5488. _formdiv = new U.UF.UI.form(
  5489. "思維導圖",
  5490. _box, { //"/jsmind/example/demo.html"
  5491. "id": "mind" + cid + stage + task + tool,
  5492. "style": {
  5493. "width": "90%",
  5494. "height": "90%",
  5495. "overflow": 'hidden'
  5496. },
  5497. "onresize": function () { }
  5498. }, {
  5499. closecallback: function () { }
  5500. }, {
  5501. "style": {
  5502. "height": "36px"
  5503. }
  5504. }).form; //創建窗體
  5505. _taskbar = {
  5506. "id": str + _formdiv.id,
  5507. "style": {
  5508. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5509. },
  5510. "name": "思維導圖",
  5511. "forms": _formdiv,
  5512. "click": function () {
  5513. U.MD.D.I.openApplication(str, obj, info);
  5514. }
  5515. }
  5516. break;
  5517. case "MindMap":
  5518. aTool = 3;
  5519. _iframe = $$("iframe", {
  5520. "frameborder": "no",
  5521. "border": "0",
  5522. "scrolling ": "no",
  5523. "style": {
  5524. "cssText": "border:0;width:100%;height:100%"
  5525. },
  5526. "src": "//cloud.cocorobo.hk/mind/"
  5527. })
  5528. _box.appendChild(_iframe);
  5529. _box.appendChild(_jie);
  5530. _formdiv = new U.UF.UI.form(
  5531. "思維導圖",
  5532. _box, { //"/jsmind/example/demo.html"
  5533. "id": "mind" + cid + stage + task + tool,
  5534. "style": {
  5535. "width": "90%",
  5536. "height": "90%",
  5537. "overflow": 'hidden'
  5538. },
  5539. "onresize": function () { }
  5540. }, {
  5541. closecallback: function () { }
  5542. }, {
  5543. "style": {
  5544. "height": "36px"
  5545. }
  5546. }).form; //創建窗體
  5547. _taskbar = {
  5548. "id": str + _formdiv.id,
  5549. "style": {
  5550. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5551. },
  5552. "name": "思維導圖",
  5553. "forms": _formdiv,
  5554. "click": function () {
  5555. U.MD.D.I.openApplication(str, obj, info);
  5556. }
  5557. }
  5558. break;
  5559. case "doc":
  5560. aTool = 6;
  5561. _iframe = $$("iframe", {
  5562. "frameborder": "no",
  5563. "border": "0",
  5564. "scrolling ": "no",
  5565. "style": {
  5566. "cssText": "border:0;width:100%;height:100%"
  5567. },
  5568. "src": "/Office/Word/WordEditArea.htm"
  5569. })
  5570. _box.appendChild(_iframe);
  5571. _box.appendChild(_jie);
  5572. _formdiv = new U.UF.UI.form(
  5573. "協同文檔",
  5574. _box, {
  5575. "id": "doc" + cid + stage + task + tool,
  5576. "style": {
  5577. "width": "90%",
  5578. "height": "90%",
  5579. "overflow": 'hidden'
  5580. },
  5581. "onresize": function () { }
  5582. }, {
  5583. closecallback: function () { }
  5584. }, {
  5585. "style": {
  5586. "height": "36px"
  5587. }
  5588. }).form; //創建窗體
  5589. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5590. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5591. })
  5592. _taskbar = {
  5593. "id": str + _formdiv.id,
  5594. "style": {
  5595. "backgroundImage": "url(/img/icon/doc.png)"
  5596. },
  5597. "name": "協同文檔",
  5598. "forms": _formdiv,
  5599. "click": function () {
  5600. U.MD.D.I.openApplication(str, obj, info);
  5601. }
  5602. }
  5603. break;
  5604. case "mindNetwork": //好友打開
  5605. aTool = 7;
  5606. _iframe = $$("iframe", {
  5607. "webkitallowfullscreen": "",
  5608. "mozallowfullscreen": "",
  5609. "allowfullscreen": "",
  5610. "frameborder": "no",
  5611. "border": "0",
  5612. "scrolling ": "no",
  5613. "style": {
  5614. "cssText": "border:0; width:100%; height:100%;"
  5615. },
  5616. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5617. })
  5618. _box.appendChild(_iframe);
  5619. _box.appendChild(_jie);
  5620. _formdiv = new U.UF.UI.form(
  5621. "思維網格",
  5622. _box, {
  5623. "id": "mindNetwork" + cid + stage + task + tool,
  5624. "style": {
  5625. "width": "90%",
  5626. "height": "90%",
  5627. "overflow": 'hidden'
  5628. },
  5629. "onresize": function () { }
  5630. }, {
  5631. closecallback: function () { }
  5632. }, {
  5633. "style": {
  5634. "height": "36px"
  5635. }
  5636. }).form; //創建窗體
  5637. _taskbar = {
  5638. "id": str + _formdiv.id,
  5639. "style": {
  5640. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5641. },
  5642. "name": "思維網格",
  5643. "forms": _formdiv,
  5644. "click": function () {
  5645. U.MD.D.I.openApplication(str, obj, info);
  5646. }
  5647. }
  5648. break;
  5649. case "courseDesign":
  5650. _iframe = $$("iframe", {
  5651. "webkitallowfullscreen": "",
  5652. "mozallowfullscreen": "",
  5653. "allowfullscreen": "",
  5654. "frameborder": "no",
  5655. "border": "0",
  5656. "scrolling ": "no",
  5657. "style": {
  5658. "cssText": "border:0; width:100%; height:100%;"
  5659. },
  5660. "src": "/course-design-vue"
  5661. })
  5662. _box.appendChild(_iframe);
  5663. _box.appendChild(_jie);
  5664. _formdiv = new U.UF.UI.form(
  5665. "項目設計",
  5666. _box, {
  5667. "id": "courseDesign" + cid + stage + task + tool,
  5668. "style": {
  5669. "width": "90%",
  5670. "height": "90%",
  5671. "overflow": 'hidden'
  5672. },
  5673. "onresize": function () { }
  5674. }, {
  5675. closecallback: function () { }
  5676. }, {
  5677. "style": {
  5678. "height": "36px"
  5679. }
  5680. }).form; //創建窗體
  5681. _taskbar = {
  5682. "id": str + _formdiv.id,
  5683. "style": {
  5684. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5685. },
  5686. "name": "項目設計",
  5687. "forms": _formdiv,
  5688. "click": function () {
  5689. U.MD.D.I.openApplication(str, obj, info);
  5690. }
  5691. }
  5692. break;
  5693. }
  5694. const script1 = document.createElement("script");
  5695. script1.type = "text/javascript";
  5696. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5697. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5698. const script2 = document.createElement("script");
  5699. script2.type = "text/javascript";
  5700. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5701. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5702. const script3 = document.createElement("script");
  5703. script3.type = "text/javascript";
  5704. script3.charset = "UTF-8";
  5705. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5706. const script4 = document.createElement("script");
  5707. script4.type = "text/javascript";
  5708. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5709. script4.src = window.origin + "/js/Common/jietu2E.js";
  5710. if (_iframe) {
  5711. if (str == 'doc') {
  5712. _iframe = _formdiv.querySelector('iframe')
  5713. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5714. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5715. _iframe.contentWindow.document.body.appendChild(script1);
  5716. _iframe.contentWindow.document.body.appendChild(script2);
  5717. // _iframe.contentWindow.document.body.appendChild(script3);
  5718. _iframe.contentWindow.document.body.appendChild(script4);
  5719. })
  5720. if (onloadListener) {
  5721. _iframe.contentDocument.location.reload()
  5722. } else {
  5723. _iframe.contentDocument.location.reload()
  5724. }
  5725. } else if (str == 'courseDesign') {
  5726. U.UF.DL.iframeLoad(_iframe, function () {
  5727. // _iframe.contentWindow.U.MD.O.W.load();
  5728. // _iframe.contentWindow.document.body.appendChild(script1);
  5729. _iframe.contentWindow.document.body.appendChild(script2);
  5730. _iframe.contentWindow.document.body.appendChild(script4);
  5731. })
  5732. } else if (str == 'mind') {
  5733. _iframe = _formdiv.querySelector('iframe')
  5734. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5735. //
  5736. _iframe.contentWindow.document.body.appendChild(script1);
  5737. _iframe.contentWindow.document.body.appendChild(script2);
  5738. _iframe.contentWindow.document.body.appendChild(script4);
  5739. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5740. })
  5741. if (onloadListener) {
  5742. _iframe.contentDocument.location.reload()
  5743. } else {
  5744. _iframe.contentDocument.location.reload()
  5745. }
  5746. } else if (str == 'whiteboard') {
  5747. _iframe = _formdiv.querySelector('iframe')
  5748. let onloadListener = _iframe.onload = () => {
  5749. _iframe.contentWindow.document.body.appendChild(script1);
  5750. _iframe.contentWindow.document.body.appendChild(script2);
  5751. _iframe.contentWindow.document.body.appendChild(script4);
  5752. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5753. };
  5754. if (onloadListener) {
  5755. _iframe.contentDocument.location.reload()
  5756. } else {
  5757. _iframe.contentDocument.location.reload()
  5758. }
  5759. } else {
  5760. _iframe.onload = () => {
  5761. _iframe.contentWindow.document.body.appendChild(script1);
  5762. _iframe.contentWindow.document.body.appendChild(script2);
  5763. // _iframe.contentWindow.document.body.appendChild(script3);
  5764. _iframe.contentWindow.document.body.appendChild(script4);
  5765. };
  5766. }
  5767. _jie.onclick = async () => {
  5768. let text = ''
  5769. if (aTool == 1) {
  5770. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5771. } else if (aTool == 6) {
  5772. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5773. } else if (aTool == 3) {
  5774. text = await U.MD.D.I.getEditorContent(_iframe);
  5775. }
  5776. _loading.style.display = 'flex'
  5777. console.log(_loading);
  5778. var _ajs = _iframe.contentWindow.document.createElement("script");
  5779. _ajs.type = "text/javascript";
  5780. _ajs.innerHTML =
  5781. // 'console.log(' + _loading + ');\n' +
  5782. 'var _js = document.createElement("script");\n' +
  5783. '_js.type="text/javascript";\n' +
  5784. '_js.charset="UTF-8";\n' +
  5785. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5786. "_js.onload = function(){\n" +
  5787. ' var a = document.getElementsByTagName("img")\n' +
  5788. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5789. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5790. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5791. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5792. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5793. "beforeUpload_shishi(file," +
  5794. "'" +
  5795. _userid +
  5796. "'" +
  5797. ", " +
  5798. "'" +
  5799. _cid +
  5800. "'" +
  5801. ", " +
  5802. "'" +
  5803. _stage +
  5804. "'" +
  5805. ", " +
  5806. "'" +
  5807. _task +
  5808. "'" +
  5809. ", " +
  5810. "'" +
  5811. _tool +
  5812. "'" +
  5813. ", " +
  5814. "'" +
  5815. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5816. "'" +
  5817. ", " +
  5818. "'" +
  5819. aTool +
  5820. "'" +
  5821. ", " +
  5822. "`" +
  5823. text +
  5824. "`" +
  5825. ")\n" +
  5826. " });\n" +
  5827. "}\n" +
  5828. "document.head.appendChild(_js);\n";
  5829. _iframe.contentWindow.document.head.appendChild(_ajs);
  5830. }
  5831. }
  5832. //U.MD.D.I.openClick(str);
  5833. //如果有任務欄信息
  5834. // if (_taskbar) {
  5835. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5836. // }
  5837. }
  5838. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5839. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5840. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5841. _userid = student.userid, //登錄用戶id
  5842. _username = student.student //用戶名字
  5843. let _iframe;
  5844. let _cid = cid,
  5845. _stage = stage,
  5846. _task = task,
  5847. _tool = tool;
  5848. var _jie = $$("div", {
  5849. "style": {
  5850. "position": "absolute",
  5851. "bottom": "50px",
  5852. "right": "50px",
  5853. "zIndex": "9999",
  5854. "backgroundColor": "#2268bc",
  5855. "color": "#fff",
  5856. "padding": "12px 20px",
  5857. "cursor": "pointer",
  5858. "borderRadius": "4px",
  5859. },
  5860. "innerHTML": "提交作業"
  5861. })
  5862. let aTool = ''
  5863. let _loading = document.createElement('div')
  5864. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  5865. // _loading.id = "";
  5866. let _lchild = document.createElement('div')
  5867. let _limg = document.createElement('img')
  5868. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5869. _limg.style = "width: 26px;margin-right: 10px;"
  5870. _lchild.appendChild(_limg)
  5871. let _lspan = document.createElement('span')
  5872. _lspan.innerHTML = "上傳中..."
  5873. _lchild.appendChild(_lspan)
  5874. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  5875. _loading.appendChild(_lchild)
  5876. var _box = $$('div', {
  5877. "style": {
  5878. "position": "relative",
  5879. "width": "100%",
  5880. "height": "100%",
  5881. },
  5882. })
  5883. _box.appendChild(_loading)
  5884. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5885. switch (str) {
  5886. case "whiteboard":
  5887. aTool = 1;
  5888. _iframe = $$("iframe", {
  5889. "frameborder": "no",
  5890. "border": "0",
  5891. "scrolling ": "no",
  5892. "style": {
  5893. "cssText": "border:0;width:100%;height:100%"
  5894. },
  5895. "src": "https://iwb.cocorobo.hk/"
  5896. })
  5897. _box.appendChild(_iframe);
  5898. _box.appendChild(_jie);
  5899. _formdiv = new U.UF.UI.form(
  5900. "電子白板-" + _username,
  5901. _box, {
  5902. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5903. "style": {
  5904. "width": "90%",
  5905. "height": "90%",
  5906. "overflow": 'hidden'
  5907. },
  5908. "onresize": function () { }
  5909. }, {
  5910. closecallback: function () { }
  5911. }, {
  5912. "style": {
  5913. "height": "36px"
  5914. }
  5915. }).form; //創建窗體
  5916. _taskbar = {
  5917. "id": str + _formdiv.id,
  5918. "style": {
  5919. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5920. },
  5921. "name": "電子白板",
  5922. "forms": _formdiv,
  5923. "click": function () {
  5924. U.MD.D.I.openApplication(str, obj, info);
  5925. }
  5926. }
  5927. break;
  5928. case "mind":
  5929. aTool = 3;
  5930. _iframe = $$("iframe", {
  5931. "frameborder": "no",
  5932. "border": "0",
  5933. "scrolling ": "no",
  5934. "style": {
  5935. "cssText": "border:0;width:100%;height:100%"
  5936. },
  5937. "src": "/kityminder-editor/dist/index.html"
  5938. })
  5939. _box.appendChild(_iframe);
  5940. _box.appendChild(_jie);
  5941. _formdiv = new U.UF.UI.form(
  5942. "思維導圖-" + _username,
  5943. _box, { //"/jsmind/example/demo.html"
  5944. "id": "mind" + cid + stage + task + tool + _userid,
  5945. "style": {
  5946. "width": "90%",
  5947. "height": "90%",
  5948. "overflow": 'hidden'
  5949. },
  5950. "onresize": function () { }
  5951. }, {
  5952. closecallback: function () { }
  5953. }, {
  5954. "style": {
  5955. "height": "36px"
  5956. }
  5957. }).form; //創建窗體
  5958. _taskbar = {
  5959. "id": str + _formdiv.id,
  5960. "style": {
  5961. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5962. },
  5963. "name": "思維導圖",
  5964. "forms": _formdiv,
  5965. "click": function () {
  5966. U.MD.D.I.openApplication(str, obj, info);
  5967. }
  5968. }
  5969. break;
  5970. case "MindMap":
  5971. aTool = 3;
  5972. _iframe = $$("iframe", {
  5973. "frameborder": "no",
  5974. "border": "0",
  5975. "scrolling ": "no",
  5976. "style": {
  5977. "cssText": "border:0;width:100%;height:100%"
  5978. },
  5979. "src": "//cloud.cocorobo.hk/mind/"
  5980. })
  5981. _box.appendChild(_iframe);
  5982. _box.appendChild(_jie);
  5983. _formdiv = new U.UF.UI.form(
  5984. "思維導圖-" + _username,
  5985. _box, { //"/jsmind/example/demo.html"
  5986. "id": "mind" + cid + stage + task + tool + _userid,
  5987. "style": {
  5988. "width": "90%",
  5989. "height": "90%",
  5990. "overflow": 'hidden'
  5991. },
  5992. "onresize": function () { }
  5993. }, {
  5994. closecallback: function () { }
  5995. }, {
  5996. "style": {
  5997. "height": "36px"
  5998. }
  5999. }).form; //創建窗體
  6000. _taskbar = {
  6001. "id": str + _formdiv.id,
  6002. "style": {
  6003. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6004. },
  6005. "name": "思維導圖",
  6006. "forms": _formdiv,
  6007. "click": function () {
  6008. U.MD.D.I.openApplication(str, obj, info);
  6009. }
  6010. }
  6011. break;
  6012. case "doc":
  6013. aTool = 6;
  6014. _iframe = $$("iframe", {
  6015. "frameborder": "no",
  6016. "border": "0",
  6017. "scrolling ": "no",
  6018. "style": {
  6019. "cssText": "border:0;width:100%;height:100%"
  6020. },
  6021. "src": "/Office/Word/WordEditArea.htm"
  6022. })
  6023. _box.appendChild(_iframe);
  6024. _box.appendChild(_jie);
  6025. _formdiv = new U.UF.UI.form(
  6026. "協同文檔-" + _username,
  6027. _box, {
  6028. "id": "doc" + cid + stage + task + tool + _userid,
  6029. "style": {
  6030. "width": "90%",
  6031. "height": "90%",
  6032. "overflow": 'hidden'
  6033. },
  6034. "onresize": function () { }
  6035. }, {
  6036. closecallback: function () { }
  6037. }, {
  6038. "style": {
  6039. "height": "36px"
  6040. }
  6041. }).form; //創建窗體
  6042. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6043. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6044. })
  6045. _taskbar = {
  6046. "id": str + _formdiv.id,
  6047. "style": {
  6048. "backgroundImage": "url(/img/icon/doc.png)"
  6049. },
  6050. "name": "協同文檔",
  6051. "forms": _formdiv,
  6052. "click": function () {
  6053. U.MD.D.I.openApplication(str, obj, info);
  6054. }
  6055. }
  6056. break;
  6057. case "mindNetwork": //好友打開
  6058. aTool = 7;
  6059. _iframe = $$("iframe", {
  6060. "webkitallowfullscreen": "",
  6061. "mozallowfullscreen": "",
  6062. "allowfullscreen": "",
  6063. "frameborder": "no",
  6064. "border": "0",
  6065. "scrolling ": "no",
  6066. "style": {
  6067. "cssText": "border:0; width:100%; height:100%;"
  6068. },
  6069. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6070. })
  6071. _box.appendChild(_iframe);
  6072. _box.appendChild(_jie);
  6073. _formdiv = new U.UF.UI.form(
  6074. "思維網格-" + _username,
  6075. _box, {
  6076. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6077. "style": {
  6078. "width": "90%",
  6079. "height": "90%",
  6080. "overflow": 'hidden'
  6081. },
  6082. "onresize": function () { }
  6083. }, {
  6084. closecallback: function () { }
  6085. }, {
  6086. "style": {
  6087. "height": "36px"
  6088. }
  6089. }).form; //創建窗體
  6090. _taskbar = {
  6091. "id": str + _formdiv.id,
  6092. "style": {
  6093. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6094. },
  6095. "name": "思維網格",
  6096. "forms": _formdiv,
  6097. "click": function () {
  6098. U.MD.D.I.openApplication(str, obj, info);
  6099. }
  6100. }
  6101. break;
  6102. case "courseDesign":
  6103. _iframe = $$("iframe", {
  6104. "webkitallowfullscreen": "",
  6105. "mozallowfullscreen": "",
  6106. "allowfullscreen": "",
  6107. "frameborder": "no",
  6108. "border": "0",
  6109. "scrolling ": "no",
  6110. "style": {
  6111. "cssText": "border:0; width:100%; height:100%;"
  6112. },
  6113. "src": "/course-design-vue"
  6114. })
  6115. _box.appendChild(_iframe);
  6116. _box.appendChild(_jie);
  6117. _formdiv = new U.UF.UI.form(
  6118. "項目設計-" + _username,
  6119. _box, {
  6120. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6121. "style": {
  6122. "width": "90%",
  6123. "height": "90%",
  6124. "overflow": 'hidden'
  6125. },
  6126. "onresize": function () { }
  6127. }, {
  6128. closecallback: function () { }
  6129. }, {
  6130. "style": {
  6131. "height": "36px"
  6132. }
  6133. }).form; //創建窗體
  6134. _taskbar = {
  6135. "id": str + _formdiv.id,
  6136. "style": {
  6137. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6138. },
  6139. "name": "項目設計",
  6140. "forms": _formdiv,
  6141. "click": function () {
  6142. U.MD.D.I.openApplication(str, obj, info);
  6143. }
  6144. }
  6145. break;
  6146. }
  6147. const script1 = document.createElement("script");
  6148. script1.type = "text/javascript";
  6149. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6150. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6151. const script2 = document.createElement("script");
  6152. script2.type = "text/javascript";
  6153. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6154. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6155. const script3 = document.createElement("script");
  6156. script3.type = "text/javascript";
  6157. script3.charset = "UTF-8";
  6158. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6159. const script4 = document.createElement("script");
  6160. script4.type = "text/javascript";
  6161. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6162. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6163. if (_iframe) {
  6164. if (str == 'doc') {
  6165. _iframe = _formdiv.querySelector('iframe')
  6166. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6167. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6168. _iframe.contentWindow.document.body.appendChild(script1);
  6169. _iframe.contentWindow.document.body.appendChild(script2);
  6170. // _iframe.contentWindow.document.body.appendChild(script3);
  6171. _iframe.contentWindow.document.body.appendChild(script4);
  6172. })
  6173. if (onloadListener) {
  6174. _iframe.contentDocument.location.reload()
  6175. } else {
  6176. _iframe.contentDocument.location.reload()
  6177. }
  6178. } else if (str == 'courseDesign') {
  6179. U.UF.DL.iframeLoad(_iframe, function () {
  6180. // _iframe.contentWindow.U.MD.O.W.load();
  6181. // _iframe.contentWindow.document.body.appendChild(script1);
  6182. _iframe.contentWindow.document.body.appendChild(script2);
  6183. _iframe.contentWindow.document.body.appendChild(script4);
  6184. })
  6185. } else if (str == 'mind') {
  6186. _iframe = _formdiv.querySelector('iframe')
  6187. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6188. //
  6189. _iframe.contentWindow.document.body.appendChild(script1);
  6190. _iframe.contentWindow.document.body.appendChild(script2);
  6191. _iframe.contentWindow.document.body.appendChild(script4);
  6192. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6193. })
  6194. if (onloadListener) {
  6195. _iframe.contentDocument.location.reload()
  6196. } else {
  6197. _iframe.contentDocument.location.reload()
  6198. }
  6199. } else if (str == 'whiteboard') {
  6200. _iframe = _formdiv.querySelector('iframe')
  6201. let onloadListener = _iframe.onload = () => {
  6202. _iframe.contentWindow.document.body.appendChild(script1);
  6203. _iframe.contentWindow.document.body.appendChild(script2);
  6204. _iframe.contentWindow.document.body.appendChild(script4);
  6205. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6206. };
  6207. if (onloadListener) {
  6208. _iframe.contentDocument.location.reload()
  6209. } else {
  6210. _iframe.contentDocument.location.reload()
  6211. }
  6212. } else {
  6213. _iframe.onload = () => {
  6214. _iframe.contentWindow.document.body.appendChild(script1);
  6215. _iframe.contentWindow.document.body.appendChild(script2);
  6216. // _iframe.contentWindow.document.body.appendChild(script3);
  6217. _iframe.contentWindow.document.body.appendChild(script4);
  6218. };
  6219. }
  6220. _jie.onclick = async () => {
  6221. let text = ''
  6222. if (aTool == 1) {
  6223. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6224. } else if (aTool == 6) {
  6225. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6226. } else if (aTool == 3) {
  6227. text = await U.MD.D.I.getEditorContent(_iframe);
  6228. }
  6229. _loading.style.display = 'flex'
  6230. console.log(_loading);
  6231. var _ajs = _iframe.contentWindow.document.createElement("script");
  6232. _ajs.type = "text/javascript";
  6233. _ajs.innerHTML =
  6234. // 'console.log(' + _loading + ');\n' +
  6235. 'var _js = document.createElement("script");\n' +
  6236. '_js.type="text/javascript";\n' +
  6237. '_js.charset="UTF-8";\n' +
  6238. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6239. "_js.onload = function(){\n" +
  6240. ' var a = document.getElementsByTagName("img")\n' +
  6241. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6242. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6243. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6244. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6245. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6246. "beforeUpload_shishi(file," +
  6247. "'" +
  6248. _userid +
  6249. "'" +
  6250. ", " +
  6251. "'" +
  6252. _cid +
  6253. "'" +
  6254. ", " +
  6255. "'" +
  6256. _stage +
  6257. "'" +
  6258. ", " +
  6259. "'" +
  6260. _task +
  6261. "'" +
  6262. ", " +
  6263. "'" +
  6264. _tool +
  6265. "'" +
  6266. ", " +
  6267. "'" +
  6268. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6269. "'" +
  6270. ", " +
  6271. "'" +
  6272. aTool +
  6273. "'" +
  6274. ", " +
  6275. "`" +
  6276. text +
  6277. "`" +
  6278. ")\n" +
  6279. " });\n" +
  6280. "}\n" +
  6281. "document.head.appendChild(_js);\n";
  6282. _iframe.contentWindow.document.head.appendChild(_ajs);
  6283. }
  6284. }
  6285. }
  6286. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6287. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6288. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6289. _userid = student.userid, //登錄用戶id
  6290. _username = student.student //用戶名字
  6291. let _iframe;
  6292. let _cid = cid,
  6293. _stage = stage,
  6294. _task = task,
  6295. _tool = tool;
  6296. var _jie = $$("div", {
  6297. "style": {
  6298. "position": "absolute",
  6299. "bottom": "50px",
  6300. "right": "50px",
  6301. "zIndex": "9999",
  6302. "backgroundColor": "#2268bc",
  6303. "color": "#fff",
  6304. "padding": "12px 20px",
  6305. "cursor": "pointer",
  6306. "borderRadius": "4px",
  6307. },
  6308. "innerHTML": "提交作業"
  6309. })
  6310. let aTool = ''
  6311. let _loading = document.createElement('div')
  6312. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  6313. // _loading.id = "";
  6314. let _lchild = document.createElement('div')
  6315. let _limg = document.createElement('img')
  6316. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6317. _limg.style = "width: 26px;margin-right: 10px;"
  6318. _lchild.appendChild(_limg)
  6319. let _lspan = document.createElement('span')
  6320. _lspan.innerHTML = "上傳中..."
  6321. _lchild.appendChild(_lspan)
  6322. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  6323. _loading.appendChild(_lchild)
  6324. var _box = $$('div', {
  6325. "style": {
  6326. "position": "relative",
  6327. "width": "100%",
  6328. "height": "100%",
  6329. },
  6330. })
  6331. _box.appendChild(_loading)
  6332. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6333. switch (str) {
  6334. case "whiteboard":
  6335. aTool = 1;
  6336. _iframe = $$("iframe", {
  6337. "frameborder": "no",
  6338. "border": "0",
  6339. "scrolling ": "no",
  6340. "style": {
  6341. "cssText": "border:0;width:100%;height:100%"
  6342. },
  6343. "src": "https://iwb.cocorobo.hk/"
  6344. })
  6345. _box.appendChild(_iframe);
  6346. _box.appendChild(_jie);
  6347. _formdiv = new U.UF.UI.form(
  6348. "電子白板-" + _username,
  6349. _box, {
  6350. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6351. "style": {
  6352. "width": "90%",
  6353. "height": "90%",
  6354. "overflow": 'hidden'
  6355. },
  6356. "onresize": function () { }
  6357. }, {
  6358. closecallback: function () { }
  6359. }, {
  6360. "style": {
  6361. "height": "36px"
  6362. }
  6363. }).form; //創建窗體
  6364. _taskbar = {
  6365. "id": str + _formdiv.id,
  6366. "style": {
  6367. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6368. },
  6369. "name": "電子白板",
  6370. "forms": _formdiv,
  6371. "click": function () {
  6372. U.MD.D.I.openApplication(str, obj, info);
  6373. }
  6374. }
  6375. break;
  6376. case "mind":
  6377. aTool = 3;
  6378. _iframe = $$("iframe", {
  6379. "frameborder": "no",
  6380. "border": "0",
  6381. "scrolling ": "no",
  6382. "style": {
  6383. "cssText": "border:0;width:100%;height:100%"
  6384. },
  6385. "src": "/kityminder-editor/dist/index.html"
  6386. })
  6387. _box.appendChild(_iframe);
  6388. _box.appendChild(_jie);
  6389. _formdiv = new U.UF.UI.form(
  6390. "思維導圖-" + _username,
  6391. _box, { //"/jsmind/example/demo.html"
  6392. "id": "mind" + cid + stage + task + tool + _userid,
  6393. "style": {
  6394. "width": "90%",
  6395. "height": "90%",
  6396. "overflow": 'hidden'
  6397. },
  6398. "onresize": function () { }
  6399. }, {
  6400. closecallback: function () { }
  6401. }, {
  6402. "style": {
  6403. "height": "36px"
  6404. }
  6405. }).form; //創建窗體
  6406. _taskbar = {
  6407. "id": str + _formdiv.id,
  6408. "style": {
  6409. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6410. },
  6411. "name": "思維導圖",
  6412. "forms": _formdiv,
  6413. "click": function () {
  6414. U.MD.D.I.openApplication(str, obj, info);
  6415. }
  6416. }
  6417. break;
  6418. case "MindMap":
  6419. aTool = 3;
  6420. _iframe = $$("iframe", {
  6421. "frameborder": "no",
  6422. "border": "0",
  6423. "scrolling ": "no",
  6424. "style": {
  6425. "cssText": "border:0;width:100%;height:100%"
  6426. },
  6427. "src": "//cloud.cocorobo.hk/mind/"
  6428. })
  6429. _box.appendChild(_iframe);
  6430. _box.appendChild(_jie);
  6431. _formdiv = new U.UF.UI.form(
  6432. "思維導圖-" + _username,
  6433. _box, { //"/jsmind/example/demo.html"
  6434. "id": "mind" + cid + stage + task + tool + _userid,
  6435. "style": {
  6436. "width": "90%",
  6437. "height": "90%",
  6438. "overflow": 'hidden'
  6439. },
  6440. "onresize": function () { }
  6441. }, {
  6442. closecallback: function () { }
  6443. }, {
  6444. "style": {
  6445. "height": "36px"
  6446. }
  6447. }).form; //創建窗體
  6448. _taskbar = {
  6449. "id": str + _formdiv.id,
  6450. "style": {
  6451. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6452. },
  6453. "name": "思維導圖",
  6454. "forms": _formdiv,
  6455. "click": function () {
  6456. U.MD.D.I.openApplication(str, obj, info);
  6457. }
  6458. }
  6459. break;
  6460. case "doc":
  6461. aTool = 6;
  6462. _iframe = $$("iframe", {
  6463. "frameborder": "no",
  6464. "border": "0",
  6465. "scrolling ": "no",
  6466. "style": {
  6467. "cssText": "border:0;width:100%;height:100%"
  6468. },
  6469. "src": "/Office/Word/WordEditArea.htm"
  6470. })
  6471. _box.appendChild(_iframe);
  6472. _box.appendChild(_jie);
  6473. _formdiv = new U.UF.UI.form(
  6474. "協同文檔-" + _username,
  6475. _box, {
  6476. "id": "doc" + cid + stage + task + tool + _userid,
  6477. "style": {
  6478. "width": "90%",
  6479. "height": "90%",
  6480. "overflow": 'hidden'
  6481. },
  6482. "onresize": function () { }
  6483. }, {
  6484. closecallback: function () { }
  6485. }, {
  6486. "style": {
  6487. "height": "36px"
  6488. }
  6489. }).form; //創建窗體
  6490. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6491. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6492. })
  6493. _taskbar = {
  6494. "id": str + _formdiv.id,
  6495. "style": {
  6496. "backgroundImage": "url(/img/icon/doc.png)"
  6497. },
  6498. "name": "協同文檔",
  6499. "forms": _formdiv,
  6500. "click": function () {
  6501. U.MD.D.I.openApplication(str, obj, info);
  6502. }
  6503. }
  6504. break;
  6505. case "mindNetwork": //好友打開
  6506. aTool = 7;
  6507. _iframe = $$("iframe", {
  6508. "webkitallowfullscreen": "",
  6509. "mozallowfullscreen": "",
  6510. "allowfullscreen": "",
  6511. "frameborder": "no",
  6512. "border": "0",
  6513. "scrolling ": "no",
  6514. "style": {
  6515. "cssText": "border:0; width:100%; height:100%;"
  6516. },
  6517. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6518. })
  6519. _box.appendChild(_iframe);
  6520. _box.appendChild(_jie);
  6521. _formdiv = new U.UF.UI.form(
  6522. "思維網格-" + _username,
  6523. _box, {
  6524. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6525. "style": {
  6526. "width": "90%",
  6527. "height": "90%",
  6528. "overflow": 'hidden'
  6529. },
  6530. "onresize": function () { }
  6531. }, {
  6532. closecallback: function () { }
  6533. }, {
  6534. "style": {
  6535. "height": "36px"
  6536. }
  6537. }).form; //創建窗體
  6538. _taskbar = {
  6539. "id": str + _formdiv.id,
  6540. "style": {
  6541. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6542. },
  6543. "name": "思維網格",
  6544. "forms": _formdiv,
  6545. "click": function () {
  6546. U.MD.D.I.openApplication(str, obj, info);
  6547. }
  6548. }
  6549. break;
  6550. case "courseDesign":
  6551. _iframe = $$("iframe", {
  6552. "webkitallowfullscreen": "",
  6553. "mozallowfullscreen": "",
  6554. "allowfullscreen": "",
  6555. "frameborder": "no",
  6556. "border": "0",
  6557. "scrolling ": "no",
  6558. "style": {
  6559. "cssText": "border:0; width:100%; height:100%;"
  6560. },
  6561. "src": "/course-design-vue"
  6562. })
  6563. _box.appendChild(_iframe);
  6564. _box.appendChild(_jie);
  6565. _formdiv = new U.UF.UI.form(
  6566. "項目設計-" + _username,
  6567. _box, {
  6568. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6569. "style": {
  6570. "width": "90%",
  6571. "height": "90%",
  6572. "overflow": 'hidden'
  6573. },
  6574. "onresize": function () { }
  6575. }, {
  6576. closecallback: function () { }
  6577. }, {
  6578. "style": {
  6579. "height": "36px"
  6580. }
  6581. }).form; //創建窗體
  6582. _taskbar = {
  6583. "id": str + _formdiv.id,
  6584. "style": {
  6585. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6586. },
  6587. "name": "項目設計",
  6588. "forms": _formdiv,
  6589. "click": function () {
  6590. U.MD.D.I.openApplication(str, obj, info);
  6591. }
  6592. }
  6593. break;
  6594. }
  6595. const script1 = document.createElement("script");
  6596. script1.type = "text/javascript";
  6597. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6598. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6599. const script2 = document.createElement("script");
  6600. script2.type = "text/javascript";
  6601. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6602. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6603. const script3 = document.createElement("script");
  6604. script3.type = "text/javascript";
  6605. script3.charset = "UTF-8";
  6606. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6607. const script4 = document.createElement("script");
  6608. script4.type = "text/javascript";
  6609. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6610. script4.src = window.origin + "/js/Common/jietu2E.js";
  6611. if (_iframe) {
  6612. if (str == 'doc') {
  6613. _iframe = _formdiv.querySelector('iframe')
  6614. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6615. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6616. _iframe.contentWindow.document.body.appendChild(script1);
  6617. _iframe.contentWindow.document.body.appendChild(script2);
  6618. // _iframe.contentWindow.document.body.appendChild(script3);
  6619. _iframe.contentWindow.document.body.appendChild(script4);
  6620. })
  6621. if (onloadListener) {
  6622. _iframe.contentDocument.location.reload()
  6623. } else {
  6624. _iframe.contentDocument.location.reload()
  6625. }
  6626. } else if (str == 'courseDesign') {
  6627. U.UF.DL.iframeLoad(_iframe, function () {
  6628. // _iframe.contentWindow.U.MD.O.W.load();
  6629. // _iframe.contentWindow.document.body.appendChild(script1);
  6630. _iframe.contentWindow.document.body.appendChild(script2);
  6631. _iframe.contentWindow.document.body.appendChild(script4);
  6632. })
  6633. } else if (str == 'mind') {
  6634. _iframe = _formdiv.querySelector('iframe')
  6635. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6636. //
  6637. _iframe.contentWindow.document.body.appendChild(script1);
  6638. _iframe.contentWindow.document.body.appendChild(script2);
  6639. _iframe.contentWindow.document.body.appendChild(script4);
  6640. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6641. })
  6642. if (onloadListener) {
  6643. _iframe.contentDocument.location.reload()
  6644. } else {
  6645. _iframe.contentDocument.location.reload()
  6646. }
  6647. } else if (str == 'whiteboard') {
  6648. _iframe = _formdiv.querySelector('iframe')
  6649. let onloadListener = _iframe.onload = () => {
  6650. _iframe.contentWindow.document.body.appendChild(script1);
  6651. _iframe.contentWindow.document.body.appendChild(script2);
  6652. _iframe.contentWindow.document.body.appendChild(script4);
  6653. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6654. };
  6655. if (onloadListener) {
  6656. _iframe.contentDocument.location.reload()
  6657. } else {
  6658. _iframe.contentDocument.location.reload()
  6659. }
  6660. } else {
  6661. _iframe.onload = () => {
  6662. _iframe.contentWindow.document.body.appendChild(script1);
  6663. _iframe.contentWindow.document.body.appendChild(script2);
  6664. // _iframe.contentWindow.document.body.appendChild(script3);
  6665. _iframe.contentWindow.document.body.appendChild(script4);
  6666. };
  6667. }
  6668. _jie.onclick = async () => {
  6669. let text = ''
  6670. if (aTool == 1) {
  6671. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6672. } else if (aTool == 6) {
  6673. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6674. } else if (aTool == 3) {
  6675. text = await U.MD.D.I.getEditorContent(_iframe);
  6676. }
  6677. _loading.style.display = 'flex'
  6678. console.log(_loading);
  6679. var _ajs = _iframe.contentWindow.document.createElement("script");
  6680. _ajs.type = "text/javascript";
  6681. _ajs.innerHTML =
  6682. // 'console.log(' + _loading + ');\n' +
  6683. 'var _js = document.createElement("script");\n' +
  6684. '_js.type="text/javascript";\n' +
  6685. '_js.charset="UTF-8";\n' +
  6686. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6687. "_js.onload = function(){\n" +
  6688. ' var a = document.getElementsByTagName("img")\n' +
  6689. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6690. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6691. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6692. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6693. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6694. "beforeUpload_shishi(file," +
  6695. "'" +
  6696. _userid +
  6697. "'" +
  6698. ", " +
  6699. "'" +
  6700. _cid +
  6701. "'" +
  6702. ", " +
  6703. "'" +
  6704. _stage +
  6705. "'" +
  6706. ", " +
  6707. "'" +
  6708. _task +
  6709. "'" +
  6710. ", " +
  6711. "'" +
  6712. _tool +
  6713. "'" +
  6714. ", " +
  6715. "'" +
  6716. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6717. "'" +
  6718. ", " +
  6719. "'" +
  6720. aTool +
  6721. "'" +
  6722. ", " +
  6723. "`" +
  6724. text +
  6725. "`" +
  6726. ")\n" +
  6727. " });\n" +
  6728. "}\n" +
  6729. "document.head.appendChild(_js);\n";
  6730. _iframe.contentWindow.document.head.appendChild(_ajs);
  6731. }
  6732. }
  6733. }
  6734. U.MD.D.I.getEditorContent = function (iframe) {
  6735. return new Promise((resolve, reject) => {
  6736. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6737. console.log(content);
  6738. resolve(content)
  6739. });
  6740. });
  6741. }
  6742. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6743. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6744. // if (res.value[0].length > 0) {
  6745. // // resolve(res.value[0][0].text);
  6746. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6747. // $(fileInput).val('');
  6748. // });
  6749. // }
  6750. // }, [], { "type": "GET", "withCredentials": true });
  6751. var xmlhttp;
  6752. var Mac, Sn, DeviceId
  6753. if (window.XMLHttpRequest) {
  6754. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  6755. xmlhttp = new XMLHttpRequest();
  6756. }
  6757. else {
  6758. // IE6, IE5 瀏覽器執行代碼
  6759. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6760. }
  6761. xmlhttp.onreadystatechange = function () {
  6762. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6763. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6764. // resolve(res.value[0][0].text);
  6765. if (type == '2') {
  6766. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6767. } else if (type == '3') {
  6768. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6769. }
  6770. } else {
  6771. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6772. }
  6773. }
  6774. }
  6775. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6776. xmlhttp.send();
  6777. }
  6778. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6779. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6780. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6781. _userinfo = US.userInfo, //登錄用戶信息
  6782. _userid = US.userInfo.userid //登錄用戶id
  6783. let _iframe;
  6784. let _cid = cid,
  6785. _stage = stage,
  6786. _task = task,
  6787. _tool = tool;
  6788. var _jie = $$("div", {
  6789. "style": {
  6790. "position": "absolute",
  6791. "bottom": "50px",
  6792. "right": "50px",
  6793. "zIndex": "9999",
  6794. "backgroundColor": "#2268bc",
  6795. "color": "#fff",
  6796. "padding": "12px 20px",
  6797. "cursor": "pointer",
  6798. "borderRadius": "4px",
  6799. },
  6800. "innerHTML": "確認並提交"
  6801. })
  6802. let aTool = ''
  6803. let _loading = document.createElement('div')
  6804. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  6805. // _loading.id = "";
  6806. let _lchild = document.createElement('div')
  6807. let _limg = document.createElement('img')
  6808. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6809. _limg.style = "width: 26px;margin-right: 10px;"
  6810. _lchild.appendChild(_limg)
  6811. let _lspan = document.createElement('span')
  6812. _lspan.innerHTML = "上傳中..."
  6813. _lchild.appendChild(_lspan)
  6814. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  6815. _loading.appendChild(_lchild)
  6816. var _box = $$('div', {
  6817. "style": {
  6818. "position": "relative",
  6819. "width": "100%",
  6820. "height": "100%",
  6821. },
  6822. })
  6823. _box.appendChild(_loading)
  6824. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6825. switch (str) {
  6826. case "whiteboard":
  6827. aTool = 1;
  6828. _iframe = $$("iframe", {
  6829. "frameborder": "no",
  6830. "border": "0",
  6831. "scrolling ": "no",
  6832. "style": {
  6833. "cssText": "border:0;width:100%;height:100%"
  6834. },
  6835. "src": "https://iwb.cocorobo.hk/"
  6836. })
  6837. _box.appendChild(_iframe);
  6838. _box.appendChild(_jie);
  6839. _formdiv = new U.UF.UI.form(
  6840. "電子白板",
  6841. _box, {
  6842. "id": "whiteboards" + cid + stage + task + tool,
  6843. "style": {
  6844. "width": "90%",
  6845. "height": "90%",
  6846. "overflow": 'hidden'
  6847. },
  6848. "onresize": function () { }
  6849. }, {
  6850. closecallback: function () { }
  6851. }, {
  6852. "style": {
  6853. "height": "36px"
  6854. }
  6855. }).form; //創建窗體
  6856. _taskbar = {
  6857. "id": str + _formdiv.id,
  6858. "style": {
  6859. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6860. },
  6861. "name": "電子白板",
  6862. "forms": _formdiv,
  6863. "click": function () {
  6864. U.MD.D.I.openApplication(str, obj, info);
  6865. }
  6866. }
  6867. break;
  6868. case "mind":
  6869. aTool = 3;
  6870. _iframe = $$("iframe", {
  6871. "frameborder": "no",
  6872. "border": "0",
  6873. "scrolling ": "no",
  6874. "style": {
  6875. "cssText": "border:0;width:100%;height:100%"
  6876. },
  6877. "src": "/kityminder-editor/dist/index.html"
  6878. });
  6879. _box.appendChild(_iframe);
  6880. _box.appendChild(_jie);
  6881. _formdiv = new U.UF.UI.form(
  6882. "思維導圖",
  6883. _box, { //"/jsmind/example/demo.html"
  6884. "id": "minds" + cid + stage + task + tool,
  6885. "style": {
  6886. "width": "90%",
  6887. "height": "90%",
  6888. "overflow": 'hidden'
  6889. },
  6890. "onresize": function () { }
  6891. }, {
  6892. closecallback: function () { }
  6893. }, {
  6894. "style": {
  6895. "height": "36px"
  6896. }
  6897. }).form; //創建窗體
  6898. _taskbar = {
  6899. "id": str + _formdiv.id,
  6900. "style": {
  6901. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6902. },
  6903. "name": "思維導圖",
  6904. "forms": _formdiv,
  6905. "click": function () {
  6906. U.MD.D.I.openApplication(str, obj, info);
  6907. }
  6908. }
  6909. break;
  6910. case "doc":
  6911. aTool = 6;
  6912. _iframe = $$("iframe", {
  6913. "frameborder": "no",
  6914. "border": "0",
  6915. "scrolling ": "no",
  6916. "style": {
  6917. "cssText": "border:0;width:100%;height:100%"
  6918. },
  6919. "src": "/Office/Word/WordEditArea.htm"
  6920. })
  6921. _box.appendChild(_iframe);
  6922. _box.appendChild(_jie);
  6923. _formdiv = new U.UF.UI.form(
  6924. "協同文檔",
  6925. _box, {
  6926. "id": "docs" + cid + stage + task + tool,
  6927. "style": {
  6928. "width": "90%",
  6929. "height": "90%",
  6930. "overflow": 'hidden'
  6931. },
  6932. "onresize": function () { }
  6933. }, {
  6934. closecallback: function () { }
  6935. }, {
  6936. "style": {
  6937. "height": "36px"
  6938. }
  6939. }).form; //創建窗體
  6940. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6941. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6942. })
  6943. _taskbar = {
  6944. "id": str + _formdiv.id,
  6945. "style": {
  6946. "backgroundImage": "url(/img/icon/doc.png)"
  6947. },
  6948. "name": "協同文檔",
  6949. "forms": _formdiv,
  6950. "click": function () {
  6951. U.MD.D.I.openApplication(str, obj, info);
  6952. }
  6953. }
  6954. break;
  6955. }
  6956. const script1 = document.createElement("script");
  6957. script1.type = "text/javascript";
  6958. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6959. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6960. const script2 = document.createElement("script");
  6961. script2.type = "text/javascript";
  6962. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6963. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6964. const script3 = document.createElement("script");
  6965. script3.type = "text/javascript";
  6966. script3.charset = "UTF-8";
  6967. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6968. const script4 = document.createElement("script");
  6969. script4.type = "text/javascript";
  6970. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6971. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  6972. if (_iframe) {
  6973. if (str == 'doc') {
  6974. _iframe = _formdiv.querySelector('iframe')
  6975. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6976. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6977. _iframe.contentWindow.document.body.appendChild(script1);
  6978. _iframe.contentWindow.document.body.appendChild(script2);
  6979. // _iframe.contentWindow.document.body.appendChild(script3);
  6980. _iframe.contentWindow.document.body.appendChild(script4);
  6981. })
  6982. if (onloadListener) {
  6983. _iframe.contentDocument.location.reload()
  6984. } else {
  6985. _iframe.contentDocument.location.reload()
  6986. }
  6987. } else if (str == 'mind') {
  6988. _iframe = _formdiv.querySelector('iframe')
  6989. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6990. _iframe.contentWindow.document.body.appendChild(script1);
  6991. _iframe.contentWindow.document.body.appendChild(script2);
  6992. _iframe.contentWindow.document.body.appendChild(script4);
  6993. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6994. })
  6995. if (onloadListener) {
  6996. _iframe.contentDocument.location.reload()
  6997. } else {
  6998. _iframe.contentDocument.location.reload()
  6999. }
  7000. } else {
  7001. _iframe.onload = () => {
  7002. _iframe.contentWindow.document.body.appendChild(script1);
  7003. _iframe.contentWindow.document.body.appendChild(script2);
  7004. // _iframe.contentWindow.document.body.appendChild(script3);
  7005. _iframe.contentWindow.document.body.appendChild(script4);
  7006. };
  7007. }
  7008. _jie.onclick = async () => {
  7009. let text = ''
  7010. if (aTool == 6) {
  7011. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7012. } else if (aTool == 3) {
  7013. text = await U.MD.D.I.getEditorContent(_iframe);
  7014. }
  7015. _loading.style.display = 'flex'
  7016. console.log(_loading);
  7017. var _ajs = _iframe.contentWindow.document.createElement("script");
  7018. _ajs.type = "text/javascript";
  7019. _ajs.innerHTML =
  7020. // 'console.log(' + _loading + ');\n' +
  7021. 'var _js = document.createElement("script");\n' +
  7022. '_js.type="text/javascript";\n' +
  7023. '_js.charset="UTF-8";\n' +
  7024. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7025. "_js.onload = function(){\n" +
  7026. ' var a = document.getElementsByTagName("img")\n' +
  7027. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7028. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7029. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7030. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7031. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7032. "beforeUpload_shishi(file," +
  7033. "'" +
  7034. _userid +
  7035. "'" +
  7036. ", " +
  7037. "'" +
  7038. _cid +
  7039. "'" +
  7040. ", " +
  7041. "'" +
  7042. _stage +
  7043. "'" +
  7044. ", " +
  7045. "'" +
  7046. _task +
  7047. "'" +
  7048. ", " +
  7049. "'" +
  7050. _tool +
  7051. "'" +
  7052. ", " +
  7053. "'" +
  7054. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7055. "'" +
  7056. ", " +
  7057. "'" +
  7058. aTool +
  7059. "'" +
  7060. ", " +
  7061. "`" +
  7062. text +
  7063. "`" +
  7064. ")\n" +
  7065. " });\n" +
  7066. "}\n" +
  7067. "document.head.appendChild(_js);\n";
  7068. _iframe.contentWindow.document.head.appendChild(_ajs);
  7069. }
  7070. }
  7071. //U.MD.D.I.openClick(str);
  7072. //如果有任務欄信息
  7073. // if (_taskbar) {
  7074. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7075. // }
  7076. }
  7077. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7078. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7079. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7080. _userinfo = US.userInfo, //登錄用戶信息
  7081. _userid = US.userInfo.userid //登錄用戶id
  7082. let _iframe;
  7083. let _cid = cid,
  7084. _stage = stage,
  7085. _task = task,
  7086. _tool = tool;
  7087. var _jie = $$("div", {
  7088. "style": {
  7089. "position": "absolute",
  7090. "bottom": "50px",
  7091. "right": "50px",
  7092. "zIndex": "9999",
  7093. "backgroundColor": "#2268bc",
  7094. "color": "#fff",
  7095. "padding": "12px 20px",
  7096. "cursor": "pointer",
  7097. "borderRadius": "4px",
  7098. },
  7099. "innerHTML": "確認並提交"
  7100. })
  7101. let aTool = ''
  7102. let _loading = document.createElement('div')
  7103. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  7104. // _loading.id = "";
  7105. let _lchild = document.createElement('div')
  7106. let _limg = document.createElement('img')
  7107. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7108. _limg.style = "width: 26px;margin-right: 10px;"
  7109. _lchild.appendChild(_limg)
  7110. let _lspan = document.createElement('span')
  7111. _lspan.innerHTML = "上傳中..."
  7112. _lchild.appendChild(_lspan)
  7113. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  7114. _loading.appendChild(_lchild)
  7115. var _box = $$('div', {
  7116. "style": {
  7117. "position": "relative",
  7118. "width": "100%",
  7119. "height": "100%",
  7120. },
  7121. })
  7122. _box.appendChild(_loading)
  7123. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7124. switch (str) {
  7125. case "whiteboard":
  7126. aTool = 1;
  7127. _iframe = $$("iframe", {
  7128. "frameborder": "no",
  7129. "border": "0",
  7130. "scrolling ": "no",
  7131. "style": {
  7132. "cssText": "border:0;width:100%;height:100%"
  7133. },
  7134. "src": "https://iwb.cocorobo.hk/"
  7135. })
  7136. _box.appendChild(_iframe);
  7137. _box.appendChild(_jie);
  7138. _formdiv = new U.UF.UI.form(
  7139. "電子白板",
  7140. _box, {
  7141. "id": "whiteboards" + cid + stage + task + tool,
  7142. "style": {
  7143. "width": "90%",
  7144. "height": "90%",
  7145. "overflow": 'hidden'
  7146. },
  7147. "onresize": function () { }
  7148. }, {
  7149. closecallback: function () { }
  7150. }, {
  7151. "style": {
  7152. "height": "36px"
  7153. }
  7154. }).form; //創建窗體
  7155. _taskbar = {
  7156. "id": str + _formdiv.id,
  7157. "style": {
  7158. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7159. },
  7160. "name": "電子白板",
  7161. "forms": _formdiv,
  7162. "click": function () {
  7163. U.MD.D.I.openApplication(str, obj, info);
  7164. }
  7165. }
  7166. break;
  7167. case "mind":
  7168. aTool = 3;
  7169. _iframe = $$("iframe", {
  7170. "frameborder": "no",
  7171. "border": "0",
  7172. "scrolling ": "no",
  7173. "style": {
  7174. "cssText": "border:0;width:100%;height:100%"
  7175. },
  7176. "src": "/kityminder-editor/dist/index.html"
  7177. });
  7178. _box.appendChild(_iframe);
  7179. _box.appendChild(_jie);
  7180. _formdiv = new U.UF.UI.form(
  7181. "思維導圖",
  7182. _box, { //"/jsmind/example/demo.html"
  7183. "id": "minds" + cid + stage + task + tool,
  7184. "style": {
  7185. "width": "90%",
  7186. "height": "90%",
  7187. "overflow": 'hidden'
  7188. },
  7189. "onresize": function () { }
  7190. }, {
  7191. closecallback: function () { }
  7192. }, {
  7193. "style": {
  7194. "height": "36px"
  7195. }
  7196. }).form; //創建窗體
  7197. _taskbar = {
  7198. "id": str + _formdiv.id,
  7199. "style": {
  7200. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7201. },
  7202. "name": "思維導圖",
  7203. "forms": _formdiv,
  7204. "click": function () {
  7205. U.MD.D.I.openApplication(str, obj, info);
  7206. }
  7207. }
  7208. break;
  7209. case "doc":
  7210. aTool = 6;
  7211. _iframe = $$("iframe", {
  7212. "frameborder": "no",
  7213. "border": "0",
  7214. "scrolling ": "no",
  7215. "style": {
  7216. "cssText": "border:0;width:100%;height:100%"
  7217. },
  7218. "src": "/Office/Word/WordEditArea.htm"
  7219. })
  7220. _box.appendChild(_iframe);
  7221. _box.appendChild(_jie);
  7222. _formdiv = new U.UF.UI.form(
  7223. "協同文檔",
  7224. _box, {
  7225. "id": "docs" + cid + stage + task + tool,
  7226. "style": {
  7227. "width": "90%",
  7228. "height": "90%",
  7229. "overflow": 'hidden'
  7230. },
  7231. "onresize": function () { }
  7232. }, {
  7233. closecallback: function () { }
  7234. }, {
  7235. "style": {
  7236. "height": "36px"
  7237. }
  7238. }).form; //創建窗體
  7239. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7240. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7241. })
  7242. _taskbar = {
  7243. "id": str + _formdiv.id,
  7244. "style": {
  7245. "backgroundImage": "url(/img/icon/doc.png)"
  7246. },
  7247. "name": "協同文檔",
  7248. "forms": _formdiv,
  7249. "click": function () {
  7250. U.MD.D.I.openApplication(str, obj, info);
  7251. }
  7252. }
  7253. break;
  7254. }
  7255. const script1 = document.createElement("script");
  7256. script1.type = "text/javascript";
  7257. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7258. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7259. const script2 = document.createElement("script");
  7260. script2.type = "text/javascript";
  7261. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7262. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7263. const script3 = document.createElement("script");
  7264. script3.type = "text/javascript";
  7265. script3.charset = "UTF-8";
  7266. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7267. const script4 = document.createElement("script");
  7268. script4.type = "text/javascript";
  7269. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7270. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  7271. if (_iframe) {
  7272. if (str == 'doc') {
  7273. _iframe = _formdiv.querySelector('iframe')
  7274. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7275. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7276. _iframe.contentWindow.document.body.appendChild(script1);
  7277. _iframe.contentWindow.document.body.appendChild(script2);
  7278. // _iframe.contentWindow.document.body.appendChild(script3);
  7279. _iframe.contentWindow.document.body.appendChild(script4);
  7280. })
  7281. if (onloadListener) {
  7282. _iframe.contentDocument.location.reload()
  7283. } else {
  7284. _iframe.contentDocument.location.reload()
  7285. }
  7286. } else if (str == 'mind') {
  7287. _iframe = _formdiv.querySelector('iframe')
  7288. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7289. _iframe.contentWindow.document.body.appendChild(script1);
  7290. _iframe.contentWindow.document.body.appendChild(script2);
  7291. _iframe.contentWindow.document.body.appendChild(script4);
  7292. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7293. })
  7294. if (onloadListener) {
  7295. _iframe.contentDocument.location.reload()
  7296. } else {
  7297. _iframe.contentDocument.location.reload()
  7298. }
  7299. } else {
  7300. _iframe.onload = () => {
  7301. _iframe.contentWindow.document.body.appendChild(script1);
  7302. _iframe.contentWindow.document.body.appendChild(script2);
  7303. // _iframe.contentWindow.document.body.appendChild(script3);
  7304. _iframe.contentWindow.document.body.appendChild(script4);
  7305. };
  7306. }
  7307. _jie.onclick = async () => {
  7308. let text = ''
  7309. if (aTool == 6) {
  7310. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7311. } else if (aTool == 3) {
  7312. text = await U.MD.D.I.getEditorContent(_iframe);
  7313. }
  7314. _loading.style.display = 'flex'
  7315. console.log(_loading);
  7316. var _ajs = _iframe.contentWindow.document.createElement("script");
  7317. _ajs.type = "text/javascript";
  7318. _ajs.innerHTML =
  7319. // 'console.log(' + _loading + ');\n' +
  7320. 'var _js = document.createElement("script");\n' +
  7321. '_js.type="text/javascript";\n' +
  7322. '_js.charset="UTF-8";\n' +
  7323. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7324. "_js.onload = function(){\n" +
  7325. ' var a = document.getElementsByTagName("img")\n' +
  7326. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7327. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7328. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7329. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7330. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7331. "beforeUpload_shishi(file," +
  7332. "'" +
  7333. _userid +
  7334. "'" +
  7335. ", " +
  7336. "'" +
  7337. _cid +
  7338. "'" +
  7339. ", " +
  7340. "'" +
  7341. _stage +
  7342. "'" +
  7343. ", " +
  7344. "'" +
  7345. _task +
  7346. "'" +
  7347. ", " +
  7348. "'" +
  7349. _tool +
  7350. "'" +
  7351. ", " +
  7352. "'" +
  7353. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7354. "'" +
  7355. ", " +
  7356. "'" +
  7357. aTool +
  7358. "'" +
  7359. ", " +
  7360. "`" +
  7361. text +
  7362. "`" +
  7363. ")\n" +
  7364. " });\n" +
  7365. "}\n" +
  7366. "document.head.appendChild(_js);\n";
  7367. _iframe.contentWindow.document.head.appendChild(_ajs);
  7368. }
  7369. }
  7370. //U.MD.D.I.openClick(str);
  7371. //如果有任務欄信息
  7372. // if (_taskbar) {
  7373. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7374. // }
  7375. }
  7376. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7377. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7378. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7379. _userinfo = US.userInfo, //登錄用戶信息
  7380. _userid = US.userInfo.userid //登錄用戶id
  7381. let _iframe;
  7382. let _cid = cid,
  7383. _stage = stage,
  7384. _task = task,
  7385. _tool = tool;
  7386. var _jie = $$("div", {
  7387. "style": {
  7388. "position": "absolute",
  7389. "bottom": "50px",
  7390. "right": "50px",
  7391. "zIndex": "9999",
  7392. "backgroundColor": "#2268bc",
  7393. "color": "#fff",
  7394. "padding": "12px 20px",
  7395. "cursor": "pointer",
  7396. "borderRadius": "4px",
  7397. },
  7398. "innerHTML": "上傳模板"
  7399. })
  7400. let aTool = ''
  7401. let _loading = document.createElement('div')
  7402. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  7403. // _loading.id = "";
  7404. let _lchild = document.createElement('div')
  7405. let _limg = document.createElement('img')
  7406. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7407. _limg.style = "width: 26px;margin-right: 10px;"
  7408. _lchild.appendChild(_limg)
  7409. let _lspan = document.createElement('span')
  7410. _lspan.innerHTML = "上傳中..."
  7411. _lchild.appendChild(_lspan)
  7412. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  7413. _loading.appendChild(_lchild)
  7414. var _box = $$('div', {
  7415. "style": {
  7416. "position": "relative",
  7417. "width": "100%",
  7418. "height": "100%",
  7419. },
  7420. })
  7421. _box.appendChild(_loading)
  7422. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7423. switch (str) {
  7424. case "whiteboard":
  7425. aTool = 1;
  7426. _iframe = $$("iframe", {
  7427. "frameborder": "no",
  7428. "border": "0",
  7429. "scrolling ": "no",
  7430. "style": {
  7431. "cssText": "border:0;width:100%;height:100%"
  7432. },
  7433. "src": "https://iwb.cocorobo.hk/"
  7434. })
  7435. _box.appendChild(_iframe);
  7436. _box.appendChild(_jie);
  7437. _formdiv = new U.UF.UI.form(
  7438. "電子白板",
  7439. _box, {
  7440. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7441. "style": {
  7442. "width": "90%",
  7443. "height": "90%",
  7444. "overflow": 'hidden'
  7445. },
  7446. "onresize": function () { }
  7447. }, {
  7448. closecallback: function () { }
  7449. }, {
  7450. "style": {
  7451. "height": "36px"
  7452. }
  7453. }).form; //創建窗體
  7454. _taskbar = {
  7455. "id": str + _formdiv.id,
  7456. "style": {
  7457. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7458. },
  7459. "name": "電子白板",
  7460. "forms": _formdiv,
  7461. "click": function () {
  7462. U.MD.D.I.openApplication(str, obj, info);
  7463. }
  7464. }
  7465. break;
  7466. case "mind":
  7467. aTool = 3;
  7468. _iframe = $$("iframe", {
  7469. "frameborder": "no",
  7470. "border": "0",
  7471. "scrolling ": "no",
  7472. "style": {
  7473. "cssText": "border:0;width:100%;height:100%"
  7474. },
  7475. "src": "/kityminder-editor/dist/index.html"
  7476. });
  7477. _box.appendChild(_iframe);
  7478. _box.appendChild(_jie);
  7479. _formdiv = new U.UF.UI.form(
  7480. "思維導圖",
  7481. _box, { //"/jsmind/example/demo.html"
  7482. "id": "minds_Yu" + cid + stage + task + tool,
  7483. "style": {
  7484. "width": "90%",
  7485. "height": "90%",
  7486. "overflow": 'hidden'
  7487. },
  7488. "onresize": function () { }
  7489. }, {
  7490. closecallback: function () { }
  7491. }, {
  7492. "style": {
  7493. "height": "36px"
  7494. }
  7495. }).form; //創建窗體
  7496. _taskbar = {
  7497. "id": str + _formdiv.id,
  7498. "style": {
  7499. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7500. },
  7501. "name": "思維導圖",
  7502. "forms": _formdiv,
  7503. "click": function () {
  7504. U.MD.D.I.openApplication(str, obj, info);
  7505. }
  7506. }
  7507. break;
  7508. case "doc":
  7509. aTool = 6;
  7510. _iframe = $$("iframe", {
  7511. "frameborder": "no",
  7512. "border": "0",
  7513. "scrolling ": "no",
  7514. "style": {
  7515. "cssText": "border:0;width:100%;height:100%"
  7516. },
  7517. "src": "/Office/Word/WordEditArea.htm"
  7518. })
  7519. _box.appendChild(_iframe);
  7520. _box.appendChild(_jie);
  7521. _formdiv = new U.UF.UI.form(
  7522. "協同文檔",
  7523. _box, {
  7524. "id": "docs_Yu" + cid + stage + task + tool,
  7525. "style": {
  7526. "width": "90%",
  7527. "height": "90%",
  7528. "overflow": 'hidden'
  7529. },
  7530. "onresize": function () { }
  7531. }, {
  7532. closecallback: function () { }
  7533. }, {
  7534. "style": {
  7535. "height": "36px"
  7536. }
  7537. }).form; //創建窗體
  7538. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7539. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7540. })
  7541. _taskbar = {
  7542. "id": str + _formdiv.id,
  7543. "style": {
  7544. "backgroundImage": "url(/img/icon/doc.png)"
  7545. },
  7546. "name": "協同文檔",
  7547. "forms": _formdiv,
  7548. "click": function () {
  7549. U.MD.D.I.openApplication(str, obj, info);
  7550. }
  7551. }
  7552. break;
  7553. case "CocoPi":
  7554. aTool = 57;
  7555. _iframe = $$("iframe", {
  7556. "allowpaymentrequest": "allowpaymentrequest",
  7557. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7558. "webkitallowfullscreen": "",
  7559. "mozallowfullscreen": "",
  7560. "frameborder": "no",
  7561. "border": "0",
  7562. "scrolling ": "no",
  7563. "style": {
  7564. "cssText": "border:0;width:100%;height:100%"
  7565. },
  7566. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7567. })
  7568. _box.appendChild(_iframe);
  7569. _box.appendChild(_jie);
  7570. _formdiv = new U.UF.UI.form(
  7571. "CocoPi",
  7572. _box, {
  7573. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7574. "style": {
  7575. "width": "90%",
  7576. "height": "90%",
  7577. "overflow": 'hidden'
  7578. },
  7579. "onresize": function () { }
  7580. }, {
  7581. closecallback: function () { }
  7582. }, {
  7583. "style": {
  7584. "height": "36px"
  7585. }
  7586. }).form; //創建窗體
  7587. _taskbar = {
  7588. "id": str + _formdiv.id,
  7589. "style": {
  7590. "backgroundImage": "url(/img/icon/cocopi.png)"
  7591. },
  7592. "name": "CocoPi",
  7593. "forms": _formdiv,
  7594. "click": function () {
  7595. U.MD.D.I.openApplication(str, obj, info);
  7596. }
  7597. }
  7598. break;
  7599. }
  7600. if (_iframe) {
  7601. if (str == 'doc') {
  7602. _iframe = _formdiv.querySelector('iframe')
  7603. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7604. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7605. })
  7606. if (onloadListener) {
  7607. _iframe.contentDocument.location.reload()
  7608. } else {
  7609. _iframe.contentDocument.location.reload()
  7610. }
  7611. } else if (str == 'mind') {
  7612. _iframe = _formdiv.querySelector('iframe')
  7613. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7614. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7615. })
  7616. if (onloadListener) {
  7617. _iframe.contentDocument.location.reload()
  7618. } else {
  7619. _iframe.contentDocument.location.reload()
  7620. }
  7621. } else if (str == 'whiteboard') {
  7622. _iframe = _formdiv.querySelector('iframe')
  7623. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7624. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7625. })
  7626. if (onloadListener) {
  7627. _iframe.contentDocument.location.reload()
  7628. } else {
  7629. _iframe.contentDocument.location.reload()
  7630. }
  7631. } else if (str == 'CocoPi') {
  7632. _iframe = _formdiv.querySelector('iframe')
  7633. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7634. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7635. })
  7636. if (onloadListener) {
  7637. _iframe.contentDocument.location.reload()
  7638. } else {
  7639. _iframe.contentDocument.location.reload()
  7640. }
  7641. } else {
  7642. _iframe.onload = () => { };
  7643. }
  7644. _jie.onclick = async () => {
  7645. let text = ''
  7646. let type = '2'
  7647. if (aTool == 1) {
  7648. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7649. type = '3'
  7650. } else if (aTool == 6) {
  7651. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7652. type = '1'
  7653. } else if (aTool == 3) {
  7654. text = await U.MD.D.I.getEditorContent(_iframe);
  7655. type = '2'
  7656. } else if (aTool == 57) {
  7657. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7658. type = '4'
  7659. }
  7660. _loading.style.display = 'flex'
  7661. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7662. }
  7663. }
  7664. //U.MD.D.I.openClick(str);
  7665. //如果有任務欄信息
  7666. // if (_taskbar) {
  7667. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7668. // }
  7669. }
  7670. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7671. var xmlhttp;
  7672. var Mac, Sn, DeviceId
  7673. if (window.XMLHttpRequest) {
  7674. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7675. xmlhttp = new XMLHttpRequest();
  7676. }
  7677. else {
  7678. // IE6, IE5 瀏覽器執行代碼
  7679. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7680. }
  7681. xmlhttp.onreadystatechange = function () {
  7682. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7683. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7684. // resolve(res.value[0][0].text);
  7685. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7686. }
  7687. }
  7688. }
  7689. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7690. xmlhttp.send();
  7691. }
  7692. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7693. var xmlhttp;
  7694. var Mac, Sn, DeviceId
  7695. if (window.XMLHttpRequest) {
  7696. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7697. xmlhttp = new XMLHttpRequest();
  7698. }
  7699. else {
  7700. // IE6, IE5 瀏覽器執行代碼
  7701. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7702. }
  7703. xmlhttp.onreadystatechange = function () {
  7704. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7705. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7706. // resolve(res.value[0][0].text);
  7707. if (type == '2') {
  7708. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7709. } else if (type == '3') {
  7710. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7711. } else if (type == '4') {
  7712. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7713. }
  7714. } else {
  7715. if (type == '2') {
  7716. iframe.contentWindow.editor.minder.importData('json', '')
  7717. } else if (type == '3') {
  7718. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7719. } else if (type == '4') {
  7720. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7721. }
  7722. }
  7723. }
  7724. }
  7725. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7726. xmlhttp.send();
  7727. }
  7728. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7729. var xmlhttp;
  7730. var Mac, Sn, DeviceId
  7731. if (window.XMLHttpRequest) {
  7732. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7733. xmlhttp = new XMLHttpRequest();
  7734. }
  7735. else {
  7736. // IE6, IE5 瀏覽器執行代碼
  7737. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7738. }
  7739. xmlhttp.onreadystatechange = function () {
  7740. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7741. if (xmlhttp.response) {
  7742. // resolve(res.value[0][0].text);
  7743. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7744. // $(fileInput).val('');
  7745. // });
  7746. span.innerHTML = '上傳成功'
  7747. setTimeout(() => {
  7748. loading.style.display = 'none'
  7749. }, 1000);
  7750. }
  7751. }
  7752. }
  7753. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7754. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7755. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7756. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7757. // 設置請求頭,表示請求體的編碼格式
  7758. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7759. // 設置請求體,使用url-encoded格式的數據
  7760. }
  7761. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7762. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7763. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7764. _userinfo = US.userInfo, //登錄用戶信息
  7765. _userid = US.userInfo.userid //登錄用戶id
  7766. let _iframe;
  7767. let _cid = cid,
  7768. _stage = stage,
  7769. _task = task,
  7770. _tool = tool;
  7771. var _jie = $$("div", {
  7772. "style": {
  7773. "position": "absolute",
  7774. "bottom": "50px",
  7775. "right": "50px",
  7776. "zIndex": "9999",
  7777. "backgroundColor": "#2268bc",
  7778. "color": "#fff",
  7779. "padding": "12px 20px",
  7780. "cursor": "pointer",
  7781. "borderRadius": "4px",
  7782. },
  7783. "innerHTML": "提交作業"
  7784. })
  7785. let aTool = ''
  7786. let _loading = document.createElement('div')
  7787. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  7788. // _loading.id = "";
  7789. let _lchild = document.createElement('div')
  7790. let _limg = document.createElement('img')
  7791. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7792. _limg.style = "width: 26px;margin-right: 10px;"
  7793. _lchild.appendChild(_limg)
  7794. let _lspan = document.createElement('span')
  7795. _lspan.innerHTML = "上傳中..."
  7796. _lchild.appendChild(_lspan)
  7797. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  7798. _loading.appendChild(_lchild)
  7799. var _box = $$('div', {
  7800. "style": {
  7801. "position": "relative",
  7802. "width": "100%",
  7803. "height": "100%",
  7804. },
  7805. })
  7806. _box.appendChild(_loading)
  7807. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7808. switch (str) {
  7809. case "CocoPi":
  7810. aTool = 57;
  7811. _iframe = $$("iframe", {
  7812. "allowpaymentrequest": "allowpaymentrequest",
  7813. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7814. "webkitallowfullscreen": "",
  7815. "mozallowfullscreen": "",
  7816. "frameborder": "no",
  7817. "border": "0",
  7818. "scrolling ": "no",
  7819. "style": {
  7820. "cssText": "border:0;width:100%;height:100%"
  7821. },
  7822. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7823. })
  7824. _box.appendChild(_iframe);
  7825. _box.appendChild(_jie);
  7826. _formdiv = new U.UF.UI.form(
  7827. "CocoPi",
  7828. _box, {
  7829. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7830. "style": {
  7831. "width": "90%",
  7832. "height": "90%",
  7833. "overflow": 'hidden'
  7834. },
  7835. "onresize": function () { }
  7836. }, {
  7837. closecallback: function () { }
  7838. }, {
  7839. "style": {
  7840. "height": "36px"
  7841. }
  7842. }).form; //創建窗體
  7843. _taskbar = {
  7844. "id": str + _formdiv.id,
  7845. "style": {
  7846. "backgroundImage": "url(/img/icon/cocopi.png)"
  7847. },
  7848. "name": "CocoPi",
  7849. "forms": _formdiv,
  7850. "click": function () {
  7851. U.MD.D.I.openApplication(str, obj, info);
  7852. }
  7853. }
  7854. break;
  7855. }
  7856. if (_iframe) {
  7857. if (str == 'CocoPi') {
  7858. _iframe = _formdiv.querySelector('iframe')
  7859. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7860. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7861. })
  7862. if (onloadListener) {
  7863. _iframe.contentDocument.location.reload()
  7864. } else {
  7865. _iframe.contentDocument.location.reload()
  7866. }
  7867. }
  7868. _jie.onclick = async () => {
  7869. let text = ''
  7870. if (aTool == 57) {
  7871. text = _iframe.contentWindow.getLoadXmlStr()
  7872. }
  7873. _loading.style.display = 'flex'
  7874. console.log(_loading);
  7875. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7876. _loading.style.display = 'none'
  7877. let _div = document.createElement('div')
  7878. _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
  7879. let _inner = document.createElement('div')
  7880. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7881. _inner.innerHTML = "上傳成功"
  7882. _div.appendChild(_inner)
  7883. _iframe.contentWindow.window.document.body.appendChild(_div)
  7884. _div.onclick = () => {
  7885. _iframe.contentWindow.window.document.body.removeChild(_div)
  7886. }
  7887. setTimeout(() => {
  7888. _iframe.contentWindow.window.document.body.removeChild(_div)
  7889. }, 1000);
  7890. }, [], { "type": "POST", "withCredentials": true });
  7891. }
  7892. }
  7893. }
  7894. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7895. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7896. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7897. _userid = student.userid, //登錄用戶id
  7898. _username = student.student //用戶名字
  7899. let _iframe;
  7900. let _cid = cid,
  7901. _stage = stage,
  7902. _task = task,
  7903. _tool = tool;
  7904. var _jie = $$("div", {
  7905. "style": {
  7906. "position": "absolute",
  7907. "bottom": "50px",
  7908. "right": "50px",
  7909. "zIndex": "9999",
  7910. "backgroundColor": "#2268bc",
  7911. "color": "#fff",
  7912. "padding": "12px 20px",
  7913. "cursor": "pointer",
  7914. "borderRadius": "4px",
  7915. },
  7916. "innerHTML": "提交作業"
  7917. })
  7918. let aTool = ''
  7919. let _loading = document.createElement('div')
  7920. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  7921. // _loading.id = "";
  7922. let _lchild = document.createElement('div')
  7923. let _limg = document.createElement('img')
  7924. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7925. _limg.style = "width: 26px;margin-right: 10px;"
  7926. _lchild.appendChild(_limg)
  7927. let _lspan = document.createElement('span')
  7928. _lspan.innerHTML = "上傳中..."
  7929. _lchild.appendChild(_lspan)
  7930. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  7931. _loading.appendChild(_lchild)
  7932. var _box = $$('div', {
  7933. "style": {
  7934. "position": "relative",
  7935. "width": "100%",
  7936. "height": "100%",
  7937. },
  7938. })
  7939. _box.appendChild(_loading)
  7940. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7941. switch (str) {
  7942. case "CocoPi":
  7943. aTool = 57;
  7944. _iframe = $$("iframe", {
  7945. "allowpaymentrequest": "allowpaymentrequest",
  7946. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7947. "webkitallowfullscreen": "",
  7948. "mozallowfullscreen": "",
  7949. "frameborder": "no",
  7950. "border": "0",
  7951. "scrolling ": "no",
  7952. "style": {
  7953. "cssText": "border:0;width:100%;height:100%"
  7954. },
  7955. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7956. })
  7957. _box.appendChild(_iframe);
  7958. _box.appendChild(_jie);
  7959. _formdiv = new U.UF.UI.form(
  7960. "CocoPi-" + _username,
  7961. _box, {
  7962. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7963. "style": {
  7964. "width": "90%",
  7965. "height": "90%",
  7966. "overflow": 'hidden'
  7967. },
  7968. "onresize": function () { }
  7969. }, {
  7970. closecallback: function () { }
  7971. }, {
  7972. "style": {
  7973. "height": "36px"
  7974. }
  7975. }).form; //創建窗體
  7976. _taskbar = {
  7977. "id": str + _formdiv.id,
  7978. "style": {
  7979. "backgroundImage": "url(/img/icon/cocopi.png)"
  7980. },
  7981. "name": "CocoPi",
  7982. "forms": _formdiv,
  7983. "click": function () {
  7984. U.MD.D.I.openApplication(str, obj, info);
  7985. }
  7986. }
  7987. break;
  7988. }
  7989. if (_iframe) {
  7990. if (str == 'CocoPi') {
  7991. _iframe = _formdiv.querySelector('iframe')
  7992. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7993. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7994. })
  7995. if (onloadListener) {
  7996. _iframe.contentDocument.location.reload()
  7997. } else {
  7998. _iframe.contentDocument.location.reload()
  7999. }
  8000. }
  8001. _jie.onclick = async () => {
  8002. let text = ''
  8003. if (aTool == 57) {
  8004. text = _iframe.contentWindow.getLoadXmlStr()
  8005. }
  8006. _loading.style.display = 'flex'
  8007. console.log(_loading);
  8008. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8009. _loading.style.display = 'none'
  8010. let _div = document.createElement('div')
  8011. _div.style = "width:100%;height:100%;background:#0000008f;position:fixed;top:0;left:0;z-index:99999999999999;display: flex;justify-content: center;align-items: center;"
  8012. let _inner = document.createElement('div')
  8013. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8014. _inner.innerHTML = "上傳成功"
  8015. _div.appendChild(_inner)
  8016. _iframe.contentWindow.window.document.body.appendChild(_div)
  8017. _div.onclick = () => {
  8018. _iframe.contentWindow.window.document.body.removeChild(_div)
  8019. }
  8020. setTimeout(() => {
  8021. _iframe.contentWindow.window.document.body.removeChild(_div)
  8022. }, 1000);
  8023. }, [], { "type": "POST", "withCredentials": true });
  8024. }
  8025. }
  8026. }
  8027. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8028. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8029. if (res.value[0].length > 0) {
  8030. if (atool == 57) {
  8031. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8032. }
  8033. } else {
  8034. if (atool == 57) {
  8035. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8036. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8037. }
  8038. }
  8039. }, [], { "type": "POST", "withCredentials": true });
  8040. }