DeskTop.js 499 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336
  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. ];
  695. //hk
  696. U.MD.D.I.hkStudentDeskIcon = [
  697. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  698. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  699. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  700. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  701. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  703. ];
  704. //hk
  705. U.MD.D.I.hkaceteacherDeskIcon = [
  706. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  707. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  708. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  709. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  710. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  711. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  712. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  713. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  714. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  715. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  716. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  717. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  718. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  719. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  720. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  721. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  722. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  723. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  724. ];
  725. //hk
  726. U.MD.D.I.hkaceStudentDeskIcon = [
  727. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  728. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  729. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  730. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  731. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  732. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  733. ];
  734. //香海正覺蓮社佛教正覺中學
  735. U.MD.D.I.hkZJLSteacherDeskIcon = [
  736. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  737. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  738. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  739. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  740. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  741. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  742. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  743. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  744. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  745. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  746. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  747. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  748. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  749. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  750. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  751. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  752. ];
  753. //香海正覺蓮社佛教正覺中學
  754. U.MD.D.I.hkZJLSStudentDeskIcon = [
  755. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  756. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  757. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  758. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  759. ];
  760. //雲海
  761. U.MD.D.I.yunhaiTeacherDeskIcon = [
  762. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  763. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  764. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  765. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  766. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  767. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  768. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  769. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  770. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  771. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  772. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  773. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  774. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  775. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  776. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  777. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  778. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  779. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  780. ];
  781. //福田
  782. U.MD.D.I.heyuanTeacherDeskIcon = [
  783. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  784. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  785. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  786. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  787. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  788. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  789. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  790. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  791. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  792. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  793. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  794. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  795. ];
  796. //福田
  797. U.MD.D.I.heyuanAdminDeskIcon = [
  798. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  799. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  800. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  801. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  802. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  803. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  804. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  805. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  806. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  807. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  808. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  809. ];
  810. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  811. U.MD.D.I.szherTeacherDeskIcon = [
  812. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  813. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  814. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  815. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  816. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  817. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  818. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  819. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  820. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  821. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  822. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  823. ];
  824. //dsei
  825. U.MD.D.I.dseiTeacherDeskIcon = [
  826. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  827. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  828. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  829. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  830. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  831. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  832. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  833. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  834. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  835. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  836. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  837. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  838. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  839. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  840. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  841. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  842. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  843. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  844. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  845. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  846. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  847. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  848. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  849. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  850. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  851. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  852. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  853. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  854. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  855. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  856. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  857. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  858. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  859. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  860. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  861. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  862. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  863. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  864. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  866. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  867. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  868. ];
  869. //dsei
  870. U.MD.D.I.dseiAdminDeskIcon = [
  871. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  872. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  873. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  874. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  875. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  876. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  877. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  878. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  879. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  880. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  881. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  882. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  883. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  884. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  885. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  886. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  887. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  888. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  889. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  890. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  891. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  892. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  893. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  894. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  895. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  896. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  897. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  898. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  899. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  900. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  901. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  902. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  903. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  904. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  905. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  906. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  907. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  908. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  909. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  910. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  911. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  912. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  913. ];
  914. //dsei
  915. U.MD.D.I.dseiStudentDeskIcon = [
  916. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  917. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  918. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  919. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  920. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  921. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  922. ];
  923. //未來教育基地
  924. U.MD.D.I.szjkyTeacherDeskIcon = [
  925. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  926. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  927. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  928. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  929. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  930. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  931. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  932. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  933. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  934. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  935. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  936. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  937. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  938. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  939. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  940. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  941. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  942. { "Name": "評測管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  943. { "Name": "評測中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  944. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  945. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  946. ];
  947. //未來教育基地
  948. U.MD.D.I.szjkyAdminDeskIcon = [
  949. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  950. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  951. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  952. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  953. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  954. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  955. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  956. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  957. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  958. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  959. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  960. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  961. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  962. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  963. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  964. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  965. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  966. { "Name": "評測管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  967. { "Name": "評測中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  968. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  969. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  970. ];
  971. //未來教育基地
  972. U.MD.D.I.szjkyStudentDeskIcon = [
  973. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  974. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  975. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  976. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  977. ];
  978. //成華教育局
  979. U.MD.D.I.chjyjTeacherDeskIcon = [
  980. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  981. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  982. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  983. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  984. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  985. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  986. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  987. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  988. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  989. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  990. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  991. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  992. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  993. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  994. ];
  995. //成華教育局chjyj
  996. U.MD.D.I.chjyjAdminDeskIcon = [
  997. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  998. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  999. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1000. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1001. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1002. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1003. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1004. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1005. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1006. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1007. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1008. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1009. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1010. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1011. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1012. ];
  1013. //成華教育局chjyj
  1014. U.MD.D.I.chjyjStudentDeskIcon = [
  1015. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1016. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1017. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1018. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1019. ];
  1020. //tpc
  1021. U.MD.D.I.tpcStudentDeskIcon = [
  1022. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1023. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1024. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1025. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1026. ];
  1027. //tpc
  1028. U.MD.D.I.tpcTeacherDeskIcon = [
  1029. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1030. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1031. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1032. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1033. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1034. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1035. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1036. ];
  1037. //tpc
  1038. U.MD.D.I.tpcAdminDeskIcon = [
  1039. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1040. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1041. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1042. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1043. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1044. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1045. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1046. ];
  1047. //THU-IOE
  1048. U.MD.D.I.thuioeTeacherDeskIcon = [
  1049. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1050. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1051. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1052. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1053. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1054. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1055. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1056. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1057. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1058. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1059. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1060. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1061. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1062. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1063. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1064. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1065. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1066. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1067. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1068. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1069. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1070. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1071. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1072. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1073. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1074. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1075. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1076. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1077. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1078. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1079. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1080. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1081. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1082. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1083. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1084. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1085. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1086. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1087. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1088. ];
  1089. //THU-IOE
  1090. U.MD.D.I.thuioeStudentDeskIcon = [
  1091. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1092. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1093. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1094. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1095. ];
  1096. //jccssyl
  1097. U.MD.D.I.jccssylTeacherDeskIcon = [
  1098. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1099. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1100. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1101. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1102. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1103. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1104. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1105. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1106. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1107. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1108. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1109. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1110. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1111. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1112. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1113. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1114. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1115. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1116. ];
  1117. //jccssyl
  1118. U.MD.D.I.jccssylStudentDeskIcon = [
  1119. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1120. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1121. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1122. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1123. ];
  1124. //#region 桌面初始化a
  1125. /**
  1126. * 初始化桌面的起始函數
  1127. *
  1128. */
  1129. U.MD.D.I.init = function () {
  1130. if ($("#U_MD_D_K")[0]) {
  1131. //初始化桌面圖標
  1132. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1133. // var clickUrl = ':12588/requestIp.php';
  1134. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1135. // U.MD.D.I.Ip = data;
  1136. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1137. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1138. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1139. // })
  1140. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1141. // })
  1142. }
  1143. }
  1144. /**
  1145. * 模式切換
  1146. *
  1147. */
  1148. U.MD.D.I.ModeCheck = function (type) {
  1149. if (US.Config.type == type) {
  1150. return
  1151. }
  1152. US.Config.type = type
  1153. $('.U_PBL_Check .active')[0].className = ''
  1154. if (type == 1) {
  1155. $('.U_PBL_Check div')[0].className = 'active'
  1156. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1157. } else {
  1158. $('.U_PBL_Check div')[1].className = 'active'
  1159. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1160. }
  1161. //初始化桌面圖標
  1162. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1163. if (type == 2) {
  1164. U.MD.D.I.openApplication("project")
  1165. }
  1166. }
  1167. /**
  1168. * 隱藏任務欄
  1169. *
  1170. * @param {element} 桌面元素
  1171. */
  1172. U.MD.D.I.hiddenTaskbar = function (el) {
  1173. //任務欄位置變小
  1174. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1175. //桌面的位置變大
  1176. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1177. }
  1178. /**
  1179. * 隱藏任務欄
  1180. *
  1181. * @param {element} 桌面元素
  1182. */
  1183. U.MD.D.I.hiddenTaskbarout = function (el) {
  1184. //任務欄位置變小
  1185. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1186. //任務欄位置變化
  1187. U.selectEl(el).css({ "bottom": "-60px" });
  1188. //桌面的位置變大
  1189. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1190. }
  1191. }
  1192. /**
  1193. * 初始化打印桌面圖標
  1194. *
  1195. * @param {element} 桌面元素
  1196. */
  1197. U.MD.D.I.initDesktopIcons = function (el, type) {
  1198. var i, //用於循環
  1199. _content, //桌面圖標元素
  1200. _iconcontent, //桌面圖標元素
  1201. _frag = $$("frag"), //定義一個碎片元素
  1202. _type = US.userInfo.type,
  1203. _org = US.userInfo.org,
  1204. _oid = US.userInfo.organizeid,
  1205. _role = US.userInfo.role,
  1206. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1207. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1208. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1209. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1210. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1211. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1212. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1213. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1214. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1215. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1216. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1217. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大
  1218. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1219. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1220. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1221. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1222. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1223. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1224. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1225. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1226. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1227. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1228. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1229. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1230. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1231. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1232. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1233. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1234. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1235. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1236. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1237. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1238. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1239. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1240. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1241. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1242. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1243. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1244. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1245. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1246. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1247. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1248. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1249. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1250. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1251. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1252. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1253. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1254. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1255. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1256. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1257. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1258. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1259. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1260. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1261. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1262. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1263. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1264. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
  1265. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
  1266. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //網絡夏令營
  1267. 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'];
  1268. 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'];
  1269. //清楚桌面圖標
  1270. el.innerHTML = "";
  1271. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1272. _teacherDesktopIconInfo.push(
  1273. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1274. { "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)" } },
  1275. )
  1276. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1277. }
  1278. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1279. _teacherDesktopIconInfo.push(
  1280. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1281. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1282. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1283. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1284. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1285. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1286. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1287. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1288. { "Name": "評測管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1289. { "Name": "評測中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1290. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1291. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1292. )
  1293. }
  1294. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1295. // _teacherDesktopIconInfo.push(
  1296. // )
  1297. // }
  1298. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1299. _teacherDesktopIconInfo.push(
  1300. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1301. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1302. )
  1303. }
  1304. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1305. _teacherDesktopIconInfo.push(
  1306. )
  1307. }
  1308. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1309. _teacherDesktopIconInfo.push(
  1310. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1311. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1312. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1313. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1314. )
  1315. _studentDesktopIconInfo.push(
  1316. )
  1317. }
  1318. //麒麟二中 和 民新小學
  1319. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1320. _teacherDesktopIconInfo.push(
  1321. )
  1322. }
  1323. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1324. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1325. _teacherDesktopIconInfo.push(
  1326. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1327. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1328. )
  1329. }
  1330. //麒麟二中
  1331. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1332. _studentDesktopIconInfo.push(
  1333. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1334. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1335. )
  1336. }
  1337. //萬科雙語
  1338. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1339. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1340. if (el.Name == '項目管理') {
  1341. el.Name = 'PBL項目'
  1342. }
  1343. return el
  1344. })
  1345. _studentDesktopIconInfo3.push(
  1346. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1347. )
  1348. }
  1349. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1350. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1351. return el.Name != '魔盒識字' && el.Name != '24點'
  1352. })
  1353. }
  1354. 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) {
  1355. _studentDesktopIconInfo.push(
  1356. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1357. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1358. )
  1359. }
  1360. //循環創建桌面圖標
  1361. if (type == 1) {
  1362. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1363. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1364. _content = $$("div", {
  1365. className: "U_MD_D_KO",
  1366. "onmousedown": U.UF.C.closure(function (obj) {
  1367. //防止拖動圖標即打開了桌面應用
  1368. U.MD.D.click(this, obj);
  1369. }, [_studentDesktopIconInfo[i]]),
  1370. "onclick": U.UF.C.closure(function (obj) {
  1371. //防止拖動圖標即打開了桌面應用
  1372. U.MD.D.click(this, obj);
  1373. }, [_studentDesktopIconInfo[i]])
  1374. }, _frag); //
  1375. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1376. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1377. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1378. }
  1379. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1380. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1381. _content = $$("div", {
  1382. className: "U_MD_D_KO",
  1383. "onmousedown": U.UF.C.closure(function (obj) {
  1384. //防止拖動圖標即打開了桌面應用
  1385. U.MD.D.click(this, obj);
  1386. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1387. "onclick": U.UF.C.closure(function (obj) {
  1388. //防止拖動圖標即打開了桌面應用
  1389. U.MD.D.click(this, obj);
  1390. }, [_hkZJLSStudentDeskIconInfo[i]])
  1391. }, _frag); //
  1392. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1393. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1394. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1395. } //
  1396. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1397. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1398. _content = $$("div", {
  1399. className: "U_MD_D_KO",
  1400. "onmousedown": U.UF.C.closure(function (obj) {
  1401. //防止拖動圖標即打開了桌面應用
  1402. U.MD.D.click(this, obj);
  1403. }, [_jccssylStudentDeskIconInfo[i]]),
  1404. "onclick": U.UF.C.closure(function (obj) {
  1405. //防止拖動圖標即打開了桌面應用
  1406. U.MD.D.click(this, obj);
  1407. }, [_jccssylStudentDeskIconInfo[i]])
  1408. }, _frag); //
  1409. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1410. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1411. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1412. }
  1413. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1414. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1415. _content = $$("div", {
  1416. className: "U_MD_D_KO",
  1417. "onmousedown": U.UF.C.closure(function (obj) {
  1418. //防止拖動圖標即打開了桌面應用
  1419. U.MD.D.click(this, obj);
  1420. }, [_thuioeStudentDeskIconInfo[i]]),
  1421. "onclick": U.UF.C.closure(function (obj) {
  1422. //防止拖動圖標即打開了桌面應用
  1423. U.MD.D.click(this, obj);
  1424. }, [_thuioeStudentDeskIconInfo[i]])
  1425. }, _frag); //
  1426. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1427. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1428. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1429. }
  1430. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1431. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1432. _content = $$("div", {
  1433. className: "U_MD_D_KO",
  1434. "onmousedown": U.UF.C.closure(function (obj) {
  1435. //防止拖動圖標即打開了桌面應用
  1436. U.MD.D.click(this, obj);
  1437. }, [_tpcStudentDeskIconInfo[i]]),
  1438. "onclick": U.UF.C.closure(function (obj) {
  1439. //防止拖動圖標即打開了桌面應用
  1440. U.MD.D.click(this, obj);
  1441. }, [_tpcStudentDeskIconInfo[i]])
  1442. }, _frag); //
  1443. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1444. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1445. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1446. } //
  1447. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1448. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1449. _content = $$("div", {
  1450. className: "U_MD_D_KO",
  1451. "onmousedown": U.UF.C.closure(function (obj) {
  1452. //防止拖動圖標即打開了桌面應用
  1453. U.MD.D.click(this, obj);
  1454. }, [_chjyjStudentDeskIconInfo[i]]),
  1455. "onclick": U.UF.C.closure(function (obj) {
  1456. //防止拖動圖標即打開了桌面應用
  1457. U.MD.D.click(this, obj);
  1458. }, [_chjyjStudentDeskIconInfo[i]])
  1459. }, _frag); //
  1460. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1461. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1462. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1463. }
  1464. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1465. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1466. _content = $$("div", {
  1467. className: "U_MD_D_KO",
  1468. "onmousedown": U.UF.C.closure(function (obj) {
  1469. //防止拖動圖標即打開了桌面應用
  1470. U.MD.D.click(this, obj);
  1471. }, [_szjkyStudentDeskIconInfo[i]]),
  1472. "onclick": U.UF.C.closure(function (obj) {
  1473. //防止拖動圖標即打開了桌面應用
  1474. U.MD.D.click(this, obj);
  1475. }, [_szjkyStudentDeskIconInfo[i]])
  1476. }, _frag); //
  1477. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1478. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1479. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1480. }
  1481. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1482. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1483. _content = $$("div", {
  1484. className: "U_MD_D_KO",
  1485. "onmousedown": U.UF.C.closure(function (obj) {
  1486. //防止拖動圖標即打開了桌面應用
  1487. U.MD.D.click(this, obj);
  1488. }, [_dseiStudentDeskIconInfo[i]]),
  1489. "onclick": U.UF.C.closure(function (obj) {
  1490. //防止拖動圖標即打開了桌面應用
  1491. U.MD.D.click(this, obj);
  1492. }, [_dseiStudentDeskIconInfo[i]])
  1493. }, _frag); //
  1494. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1495. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1496. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1497. }
  1498. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1499. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1500. _content = $$("div", {
  1501. className: "U_MD_D_KO",
  1502. "onmousedown": U.UF.C.closure(function (obj) {
  1503. //防止拖動圖標即打開了桌面應用
  1504. U.MD.D.click(this, obj);
  1505. }, [_siesStudentDeskIconInfo[i]]),
  1506. "onclick": U.UF.C.closure(function (obj) {
  1507. //防止拖動圖標即打開了桌面應用
  1508. U.MD.D.click(this, obj);
  1509. }, [_siesStudentDeskIconInfo[i]])
  1510. }, _frag); //
  1511. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1512. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1513. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1514. }
  1515. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1516. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1517. _content = $$("div", {
  1518. className: "U_MD_D_KO",
  1519. "onmousedown": U.UF.C.closure(function (obj) {
  1520. //防止拖動圖標即打開了桌面應用
  1521. U.MD.D.click(this, obj);
  1522. }, [_hkStudentDeskIconInfo[i]]),
  1523. "onclick": U.UF.C.closure(function (obj) {
  1524. //防止拖動圖標即打開了桌面應用
  1525. U.MD.D.click(this, obj);
  1526. }, [_hkStudentDeskIconInfo[i]])
  1527. }, _frag); //
  1528. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1529. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1530. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1531. }
  1532. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1533. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1534. _content = $$("div", {
  1535. className: "U_MD_D_KO",
  1536. "onmousedown": U.UF.C.closure(function (obj) {
  1537. //防止拖動圖標即打開了桌面應用
  1538. U.MD.D.click(this, obj);
  1539. }, [_hkaceStudentDeskIconInfo[i]]),
  1540. "onclick": U.UF.C.closure(function (obj) {
  1541. //防止拖動圖標即打開了桌面應用
  1542. U.MD.D.click(this, obj);
  1543. }, [_hkaceStudentDeskIconInfo[i]])
  1544. }, _frag); //
  1545. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1546. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1547. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1548. }
  1549. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1550. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1551. _content = $$("div", {
  1552. className: "U_MD_D_KO",
  1553. "onmousedown": U.UF.C.closure(function (obj) {
  1554. //防止拖動圖標即打開了桌面應用
  1555. U.MD.D.click(this, obj);
  1556. }, [_studentDesktopIconInfo[i]]),
  1557. "onclick": U.UF.C.closure(function (obj) {
  1558. //防止拖動圖標即打開了桌面應用
  1559. U.MD.D.click(this, obj);
  1560. }, [_studentDesktopIconInfo[i]])
  1561. }, _frag); //
  1562. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1563. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1564. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1565. }
  1566. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1567. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1568. _content = $$("div", {
  1569. className: "U_MD_D_KO",
  1570. "onmousedown": U.UF.C.closure(function (obj) {
  1571. //防止拖動圖標即打開了桌面應用
  1572. U.MD.D.click(this, obj);
  1573. }, [_tcStudentDeskIconInfo[i]]),
  1574. "onclick": U.UF.C.closure(function (obj) {
  1575. //防止拖動圖標即打開了桌面應用
  1576. U.MD.D.click(this, obj);
  1577. }, [_tcStudentDeskIconInfo[i]])
  1578. }, _frag); //
  1579. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1580. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1581. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1582. }
  1583. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1584. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1585. _content = $$("div", {
  1586. className: "U_MD_D_KO",
  1587. "onmousedown": U.UF.C.closure(function (obj) {
  1588. //防止拖動圖標即打開了桌面應用
  1589. U.MD.D.click(this, obj);
  1590. }, [_szscStudentDeskIconInfo[i]]),
  1591. "onclick": U.UF.C.closure(function (obj) {
  1592. //防止拖動圖標即打開了桌面應用
  1593. U.MD.D.click(this, obj);
  1594. }, [_szscStudentDeskIconInfo[i]])
  1595. }, _frag); //
  1596. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1597. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1598. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1599. }
  1600. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1601. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1602. _content = $$("div", {
  1603. className: "U_MD_D_KO",
  1604. "onmousedown": U.UF.C.closure(function (obj) {
  1605. //防止拖動圖標即打開了桌面應用
  1606. U.MD.D.click(this, obj);
  1607. }, [_studentDesktopIconInfo3[i]]),
  1608. "onclick": U.UF.C.closure(function (obj) {
  1609. //防止拖動圖標即打開了桌面應用
  1610. U.MD.D.click(this, obj);
  1611. }, [_studentDesktopIconInfo3[i]])
  1612. }, _frag); //
  1613. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1614. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1615. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1616. }
  1617. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1618. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1619. _content = $$("div", {
  1620. className: "U_MD_D_KO",
  1621. "onmousedown": U.UF.C.closure(function (obj) {
  1622. //防止拖動圖標即打開了桌面應用
  1623. U.MD.D.click(this, obj);
  1624. }, [_studentDesktopIconInfo2[i]]),
  1625. "onclick": U.UF.C.closure(function (obj) {
  1626. //防止拖動圖標即打開了桌面應用
  1627. U.MD.D.click(this, obj);
  1628. }, [_studentDesktopIconInfo2[i]])
  1629. }, _frag); //
  1630. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1631. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1632. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1633. }
  1634. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1635. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1636. _content = $$("div", {
  1637. className: "U_MD_D_KO",
  1638. "onmousedown": U.UF.C.closure(function (obj) {
  1639. //防止拖動圖標即打開了桌面應用
  1640. U.MD.D.click(this, obj);
  1641. }, [_wanketeacherDesktopIconInfo[i]]),
  1642. "onclick": U.UF.C.closure(function (obj) {
  1643. //防止拖動圖標即打開了桌面應用
  1644. U.MD.D.click(this, obj);
  1645. }, [_wanketeacherDesktopIconInfo[i]])
  1646. }, _frag); //
  1647. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1648. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1649. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1650. }
  1651. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1652. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1653. _content = $$("div", {
  1654. className: "U_MD_D_KO",
  1655. "onmousedown": U.UF.C.closure(function (obj) {
  1656. //防止拖動圖標即打開了桌面應用
  1657. U.MD.D.click(this, obj);
  1658. }, [_wankeAdminDesktopIconInfo[i]]),
  1659. "onclick": U.UF.C.closure(function (obj) {
  1660. //防止拖動圖標即打開了桌面應用
  1661. U.MD.D.click(this, obj);
  1662. }, [_wankeAdminDesktopIconInfo[i]])
  1663. }, _frag); //
  1664. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1665. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1666. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1667. }
  1668. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1669. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1670. _content = $$("div", {
  1671. className: "U_MD_D_KO",
  1672. "onmousedown": U.UF.C.closure(function (obj) {
  1673. //防止拖動圖標即打開了桌面應用
  1674. U.MD.D.click(this, obj);
  1675. }, [_jccssylTeacherDeskIconInfo[i]]),
  1676. "onclick": U.UF.C.closure(function (obj) {
  1677. //防止拖動圖標即打開了桌面應用
  1678. U.MD.D.click(this, obj);
  1679. }, [_jccssylTeacherDeskIconInfo[i]])
  1680. }, _frag); //
  1681. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1682. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1683. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1684. }
  1685. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1686. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1687. _content = $$("div", {
  1688. className: "U_MD_D_KO",
  1689. "onmousedown": U.UF.C.closure(function (obj) {
  1690. //防止拖動圖標即打開了桌面應用
  1691. U.MD.D.click(this, obj);
  1692. }, [_tpcOrganizerDeskIconInfo[i]]),
  1693. "onclick": U.UF.C.closure(function (obj) {
  1694. //防止拖動圖標即打開了桌面應用
  1695. U.MD.D.click(this, obj);
  1696. }, [_tpcOrganizerDeskIconInfo[i]])
  1697. }, _frag); //
  1698. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1699. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1700. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1701. }
  1702. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1703. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1704. _content = $$("div", {
  1705. className: "U_MD_D_KO",
  1706. "onmousedown": U.UF.C.closure(function (obj) {
  1707. //防止拖動圖標即打開了桌面應用
  1708. U.MD.D.click(this, obj);
  1709. }, [_tpcTeacherDeskIconInfo[i]]),
  1710. "onclick": U.UF.C.closure(function (obj) {
  1711. //防止拖動圖標即打開了桌面應用
  1712. U.MD.D.click(this, obj);
  1713. }, [_tpcTeacherDeskIconInfo[i]])
  1714. }, _frag); //
  1715. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1716. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1717. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1718. }
  1719. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1720. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1721. _content = $$("div", {
  1722. className: "U_MD_D_KO",
  1723. "onmousedown": U.UF.C.closure(function (obj) {
  1724. //防止拖動圖標即打開了桌面應用
  1725. U.MD.D.click(this, obj);
  1726. }, [_teacherDesktopIconInfo2[i]]),
  1727. "onclick": U.UF.C.closure(function (obj) {
  1728. //防止拖動圖標即打開了桌面應用
  1729. U.MD.D.click(this, obj);
  1730. }, [_teacherDesktopIconInfo2[i]])
  1731. }, _frag); //
  1732. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1733. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1734. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1735. }
  1736. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1737. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1738. _content = $$("div", {
  1739. className: "U_MD_D_KO",
  1740. "onmousedown": U.UF.C.closure(function (obj) {
  1741. //防止拖動圖標即打開了桌面應用
  1742. U.MD.D.click(this, obj);
  1743. }, [_thuioeTeacherDeskIconInfo[i]]),
  1744. "onclick": U.UF.C.closure(function (obj) {
  1745. //防止拖動圖標即打開了桌面應用
  1746. U.MD.D.click(this, obj);
  1747. }, [_thuioeTeacherDeskIconInfo[i]])
  1748. }, _frag); //
  1749. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1752. }
  1753. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1754. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1755. _content = $$("div", {
  1756. className: "U_MD_D_KO",
  1757. "onmousedown": U.UF.C.closure(function (obj) {
  1758. //防止拖動圖標即打開了桌面應用
  1759. U.MD.D.click(this, obj);
  1760. }, [_lotechTeacherDeskIconInfo[i]]),
  1761. "onclick": U.UF.C.closure(function (obj) {
  1762. //防止拖動圖標即打開了桌面應用
  1763. U.MD.D.click(this, obj);
  1764. }, [_lotechTeacherDeskIconInfo[i]])
  1765. }, _frag); //
  1766. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1767. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1768. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1769. }//
  1770. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1771. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1772. _content = $$("div", {
  1773. className: "U_MD_D_KO",
  1774. "onmousedown": U.UF.C.closure(function (obj) {
  1775. //防止拖動圖標即打開了桌面應用
  1776. U.MD.D.click(this, obj);
  1777. }, [_siesTeacherDeskIconInfo[i]]),
  1778. "onclick": U.UF.C.closure(function (obj) {
  1779. //防止拖動圖標即打開了桌面應用
  1780. U.MD.D.click(this, obj);
  1781. }, [_siesTeacherDeskIconInfo[i]])
  1782. }, _frag); //
  1783. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1784. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1785. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1786. }
  1787. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1788. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1789. _content = $$("div", {
  1790. className: "U_MD_D_KO",
  1791. "onmousedown": U.UF.C.closure(function (obj) {
  1792. //防止拖動圖標即打開了桌面應用
  1793. U.MD.D.click(this, obj);
  1794. }, [_longhuaTeacherDeskIconInfo[i]]),
  1795. "onclick": U.UF.C.closure(function (obj) {
  1796. //防止拖動圖標即打開了桌面應用
  1797. U.MD.D.click(this, obj);
  1798. }, [_longhuaTeacherDeskIconInfo[i]])
  1799. }, _frag); //
  1800. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1801. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1802. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1803. }
  1804. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1805. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1806. _content = $$("div", {
  1807. className: "U_MD_D_KO",
  1808. "onmousedown": U.UF.C.closure(function (obj) {
  1809. //防止拖動圖標即打開了桌面應用
  1810. U.MD.D.click(this, obj);
  1811. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1812. "onclick": U.UF.C.closure(function (obj) {
  1813. //防止拖動圖標即打開了桌面應用
  1814. U.MD.D.click(this, obj);
  1815. }, [_yunhaiTeacherDeskIconInfo[i]])
  1816. }, _frag); //
  1817. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1818. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1819. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1820. } //_hkStudentDeskIconInfo
  1821. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1822. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1823. _content = $$("div", {
  1824. className: "U_MD_D_KO",
  1825. "onmousedown": U.UF.C.closure(function (obj) {
  1826. //防止拖動圖標即打開了桌面應用
  1827. U.MD.D.click(this, obj);
  1828. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1829. "onclick": U.UF.C.closure(function (obj) {
  1830. //防止拖動圖標即打開了桌面應用
  1831. U.MD.D.click(this, obj);
  1832. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1833. }, _frag); //
  1834. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1835. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1836. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1837. }
  1838. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1839. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1840. _content = $$("div", {
  1841. className: "U_MD_D_KO",
  1842. "onmousedown": U.UF.C.closure(function (obj) {
  1843. //防止拖動圖標即打開了桌面應用
  1844. U.MD.D.click(this, obj);
  1845. }, [_hkTeacherDeskIconInfo[i]]),
  1846. "onclick": U.UF.C.closure(function (obj) {
  1847. //防止拖動圖標即打開了桌面應用
  1848. U.MD.D.click(this, obj);
  1849. }, [_hkTeacherDeskIconInfo[i]])
  1850. }, _frag); //
  1851. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1852. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1853. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1854. }
  1855. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1856. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1857. _content = $$("div", {
  1858. className: "U_MD_D_KO",
  1859. "onmousedown": U.UF.C.closure(function (obj) {
  1860. //防止拖動圖標即打開了桌面應用
  1861. U.MD.D.click(this, obj);
  1862. }, [_hkaceTeacherDeskIconInfo[i]]),
  1863. "onclick": U.UF.C.closure(function (obj) {
  1864. //防止拖動圖標即打開了桌面應用
  1865. U.MD.D.click(this, obj);
  1866. }, [_hkaceTeacherDeskIconInfo[i]])
  1867. }, _frag); //
  1868. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1869. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1870. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1871. }
  1872. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1873. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1874. _content = $$("div", {
  1875. className: "U_MD_D_KO",
  1876. "onmousedown": U.UF.C.closure(function (obj) {
  1877. //防止拖動圖標即打開了桌面應用
  1878. U.MD.D.click(this, obj);
  1879. }, [_gdjgAdminDeskIconInfo[i]]),
  1880. "onclick": U.UF.C.closure(function (obj) {
  1881. //防止拖動圖標即打開了桌面應用
  1882. U.MD.D.click(this, obj);
  1883. }, [_gdjgAdminDeskIconInfo[i]])
  1884. }, _frag); //
  1885. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1886. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1887. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1888. }
  1889. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1890. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1891. _content = $$("div", {
  1892. className: "U_MD_D_KO",
  1893. "onmousedown": U.UF.C.closure(function (obj) {
  1894. //防止拖動圖標即打開了桌面應用
  1895. U.MD.D.click(this, obj);
  1896. }, [_gdjgTeacherDeskIconInfo[i]]),
  1897. "onclick": U.UF.C.closure(function (obj) {
  1898. //防止拖動圖標即打開了桌面應用
  1899. U.MD.D.click(this, obj);
  1900. }, [_gdjgTeacherDeskIconInfo[i]])
  1901. }, _frag); //
  1902. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1903. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1904. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1905. }
  1906. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1907. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1908. _content = $$("div", {
  1909. className: "U_MD_D_KO",
  1910. "onmousedown": U.UF.C.closure(function (obj) {
  1911. //防止拖動圖標即打開了桌面應用
  1912. U.MD.D.click(this, obj);
  1913. }, [_szherTeacherDeskIconInfo[i]]),
  1914. "onclick": U.UF.C.closure(function (obj) {
  1915. //防止拖動圖標即打開了桌面應用
  1916. U.MD.D.click(this, obj);
  1917. }, [_szherTeacherDeskIconInfo[i]])
  1918. }, _frag); //
  1919. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1920. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1921. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1922. }
  1923. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1924. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1925. _content = $$("div", {
  1926. className: "U_MD_D_KO",
  1927. "onmousedown": U.UF.C.closure(function (obj) {
  1928. //防止拖動圖標即打開了桌面應用
  1929. U.MD.D.click(this, obj);
  1930. }, [_heyuannAdminDeskIconInfo[i]]),
  1931. "onclick": U.UF.C.closure(function (obj) {
  1932. //防止拖動圖標即打開了桌面應用
  1933. U.MD.D.click(this, obj);
  1934. }, [_heyuannAdminDeskIconInfo[i]])
  1935. }, _frag); //
  1936. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1937. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1938. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1939. }
  1940. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1941. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1942. _content = $$("div", {
  1943. className: "U_MD_D_KO",
  1944. "onmousedown": U.UF.C.closure(function (obj) {
  1945. //防止拖動圖標即打開了桌面應用
  1946. U.MD.D.click(this, obj);
  1947. }, [_heyuanTeacherDeskIconInfo[i]]),
  1948. "onclick": U.UF.C.closure(function (obj) {
  1949. //防止拖動圖標即打開了桌面應用
  1950. U.MD.D.click(this, obj);
  1951. }, [_heyuanTeacherDeskIconInfo[i]])
  1952. }, _frag); //
  1953. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1954. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1955. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1956. } //
  1957. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1958. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1959. _content = $$("div", {
  1960. className: "U_MD_D_KO",
  1961. "onmousedown": U.UF.C.closure(function (obj) {
  1962. //防止拖動圖標即打開了桌面應用
  1963. U.MD.D.click(this, obj);
  1964. }, [_dseiAdminDeskIconInfo[i]]),
  1965. "onclick": U.UF.C.closure(function (obj) {
  1966. //防止拖動圖標即打開了桌面應用
  1967. U.MD.D.click(this, obj);
  1968. }, [_dseiAdminDeskIconInfo[i]])
  1969. }, _frag); //
  1970. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1971. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1972. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1973. }
  1974. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1975. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1976. _content = $$("div", {
  1977. className: "U_MD_D_KO",
  1978. "onmousedown": U.UF.C.closure(function (obj) {
  1979. //防止拖動圖標即打開了桌面應用
  1980. U.MD.D.click(this, obj);
  1981. }, [_dseiTeacherDeskIconInfo[i]]),
  1982. "onclick": U.UF.C.closure(function (obj) {
  1983. //防止拖動圖標即打開了桌面應用
  1984. U.MD.D.click(this, obj);
  1985. }, [_dseiTeacherDeskIconInfo[i]])
  1986. }, _frag); //
  1987. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1988. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1989. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1990. } //
  1991. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1992. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1993. _content = $$("div", {
  1994. className: "U_MD_D_KO",
  1995. "onmousedown": U.UF.C.closure(function (obj) {
  1996. //防止拖動圖標即打開了桌面應用
  1997. U.MD.D.click(this, obj);
  1998. }, [_chjyjAdminDeskIconInfo[i]]),
  1999. "onclick": U.UF.C.closure(function (obj) {
  2000. //防止拖動圖標即打開了桌面應用
  2001. U.MD.D.click(this, obj);
  2002. }, [_chjyjAdminDeskIconInfo[i]])
  2003. }, _frag); //
  2004. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2005. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2006. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2007. }//
  2008. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2009. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2010. _content = $$("div", {
  2011. className: "U_MD_D_KO",
  2012. "onmousedown": U.UF.C.closure(function (obj) {
  2013. //防止拖動圖標即打開了桌面應用
  2014. U.MD.D.click(this, obj);
  2015. }, [_chjyjTeacherDeskIconInfo[i]]),
  2016. "onclick": U.UF.C.closure(function (obj) {
  2017. //防止拖動圖標即打開了桌面應用
  2018. U.MD.D.click(this, obj);
  2019. }, [_chjyjTeacherDeskIconInfo[i]])
  2020. }, _frag); //
  2021. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2022. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2023. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2024. }
  2025. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2026. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2027. _content = $$("div", {
  2028. className: "U_MD_D_KO",
  2029. "onmousedown": U.UF.C.closure(function (obj) {
  2030. //防止拖動圖標即打開了桌面應用
  2031. U.MD.D.click(this, obj);
  2032. }, [_szjkyAdminDeskIconInfo[i]]),
  2033. "onclick": U.UF.C.closure(function (obj) {
  2034. //防止拖動圖標即打開了桌面應用
  2035. U.MD.D.click(this, obj);
  2036. }, [_szjkyAdminDeskIconInfo[i]])
  2037. }, _frag); //
  2038. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2039. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2040. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2041. }//
  2042. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2043. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2044. _content = $$("div", {
  2045. className: "U_MD_D_KO",
  2046. "onmousedown": U.UF.C.closure(function (obj) {
  2047. //防止拖動圖標即打開了桌面應用
  2048. U.MD.D.click(this, obj);
  2049. }, [_szjkyTeacherDeskIconInfo[i]]),
  2050. "onclick": U.UF.C.closure(function (obj) {
  2051. //防止拖動圖標即打開了桌面應用
  2052. U.MD.D.click(this, obj);
  2053. }, [_szjkyTeacherDeskIconInfo[i]])
  2054. }, _frag); //
  2055. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2056. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2057. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2058. }
  2059. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2060. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2061. _content = $$("div", {
  2062. className: "U_MD_D_KO",
  2063. "onmousedown": U.UF.C.closure(function (obj) {
  2064. //防止拖動圖標即打開了桌面應用
  2065. U.MD.D.click(this, obj);
  2066. }, [_futianAdminDeskIconInfo[i]]),
  2067. "onclick": U.UF.C.closure(function (obj) {
  2068. //防止拖動圖標即打開了桌面應用
  2069. U.MD.D.click(this, obj);
  2070. }, [_futianAdminDeskIconInfo[i]])
  2071. }, _frag); //
  2072. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2073. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2074. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2075. }
  2076. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2077. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2078. _content = $$("div", {
  2079. className: "U_MD_D_KO",
  2080. "onmousedown": U.UF.C.closure(function (obj) {
  2081. //防止拖動圖標即打開了桌面應用
  2082. U.MD.D.click(this, obj);
  2083. }, [_futianTeacherDeskIconInfo[i]]),
  2084. "onclick": U.UF.C.closure(function (obj) {
  2085. //防止拖動圖標即打開了桌面應用
  2086. U.MD.D.click(this, obj);
  2087. }, [_futianTeacherDeskIconInfo[i]])
  2088. }, _frag); //
  2089. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2090. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2091. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2092. }
  2093. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2094. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2095. _content = $$("div", {
  2096. className: "U_MD_D_KO",
  2097. "onmousedown": U.UF.C.closure(function (obj) {
  2098. //防止拖動圖標即打開了桌面應用
  2099. U.MD.D.click(this, obj);
  2100. }, [_MingdeTeacherDeskIcon[i]]),
  2101. "onclick": U.UF.C.closure(function (obj) {
  2102. //防止拖動圖標即打開了桌面應用
  2103. U.MD.D.click(this, obj);
  2104. }, [_MingdeTeacherDeskIcon[i]])
  2105. }, _frag); //
  2106. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2107. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2108. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2109. }
  2110. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2111. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2112. _content = $$("div", {
  2113. className: "U_MD_D_KO",
  2114. "onmousedown": U.UF.C.closure(function (obj) {
  2115. //防止拖動圖標即打開了桌面應用
  2116. U.MD.D.click(this, obj);
  2117. }, [_lhsAdminDesktopIconInfo[i]]),
  2118. "onclick": U.UF.C.closure(function (obj) {
  2119. //防止拖動圖標即打開了桌面應用
  2120. U.MD.D.click(this, obj);
  2121. }, [_lhsAdminDesktopIconInfo[i]])
  2122. }, _frag); //
  2123. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2124. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2125. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2126. }
  2127. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2128. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2129. _content = $$("div", {
  2130. className: "U_MD_D_KO",
  2131. "onmousedown": U.UF.C.closure(function (obj) {
  2132. //防止拖動圖標即打開了桌面應用
  2133. U.MD.D.click(this, obj);
  2134. }, [_lhsteacherDesktopIconInfo[i]]),
  2135. "onclick": U.UF.C.closure(function (obj) {
  2136. //防止拖動圖標即打開了桌面應用
  2137. U.MD.D.click(this, obj);
  2138. }, [_lhsteacherDesktopIconInfo[i]])
  2139. }, _frag); //
  2140. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2141. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2142. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2143. }
  2144. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2145. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2146. _content = $$("div", {
  2147. className: "U_MD_D_KO",
  2148. "onmousedown": U.UF.C.closure(function (obj) {
  2149. //防止拖動圖標即打開了桌面應用
  2150. U.MD.D.click(this, obj);
  2151. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2152. "onclick": U.UF.C.closure(function (obj) {
  2153. //防止拖動圖標即打開了桌面應用
  2154. U.MD.D.click(this, obj);
  2155. }, [_zhoujiateacherDesktopIconInfo[i]])
  2156. }, _frag); //
  2157. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2158. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2159. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2160. }
  2161. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2162. for (i = 0; i < _hanDeskIcon.length; i++) {
  2163. _content = $$("div", {
  2164. className: "U_MD_D_KO",
  2165. "onmousedown": U.UF.C.closure(function (obj) {
  2166. //防止拖動圖標即打開了桌面應用
  2167. U.MD.D.click(this, obj);
  2168. }, [_hanDeskIcon[i]]),
  2169. "onclick": U.UF.C.closure(function (obj) {
  2170. //防止拖動圖標即打開了桌面應用
  2171. U.MD.D.click(this, obj);
  2172. }, [_hanDeskIcon[i]])
  2173. }, _frag); //
  2174. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2175. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2176. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2177. }
  2178. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2179. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2180. _content = $$("div", {
  2181. className: "U_MD_D_KO",
  2182. "onmousedown": U.UF.C.closure(function (obj) {
  2183. //防止拖動圖標即打開了桌面應用
  2184. U.MD.D.click(this, obj);
  2185. }, [_orgStemDeskIcon[i]]),
  2186. "onclick": U.UF.C.closure(function (obj) {
  2187. //防止拖動圖標即打開了桌面應用
  2188. U.MD.D.click(this, obj);
  2189. }, [_orgStemDeskIcon[i]])
  2190. }, _frag); //
  2191. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2192. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2193. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2194. }
  2195. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2196. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2197. _content = $$("div", {
  2198. className: "U_MD_D_KO",
  2199. "onmousedown": U.UF.C.closure(function (obj) {
  2200. //防止拖動圖標即打開了桌面應用
  2201. U.MD.D.click(this, obj);
  2202. }, [_szulsDeskIcon[i]]),
  2203. "onclick": U.UF.C.closure(function (obj) {
  2204. //防止拖動圖標即打開了桌面應用
  2205. U.MD.D.click(this, obj);
  2206. }, [_szulsDeskIcon[i]])
  2207. }, _frag); //
  2208. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2209. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2210. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2211. }
  2212. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2213. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2214. _content = $$("div", {
  2215. className: "U_MD_D_KO",
  2216. "onmousedown": U.UF.C.closure(function (obj) {
  2217. //防止拖動圖標即打開了桌面應用
  2218. U.MD.D.click(this, obj);
  2219. }, [_orgDesktopIconInfo[i]]),
  2220. "onclick": U.UF.C.closure(function (obj) {
  2221. //防止拖動圖標即打開了桌面應用
  2222. U.MD.D.click(this, obj);
  2223. }, [_orgDesktopIconInfo[i]])
  2224. }, _frag); //
  2225. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2226. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2227. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2228. }
  2229. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2230. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2231. _content = $$("div", {
  2232. className: "U_MD_D_KO",
  2233. "onmousedown": U.UF.C.closure(function (obj) {
  2234. //防止拖動圖標即打開了桌面應用
  2235. U.MD.D.click(this, obj);
  2236. }, [_schoolDesktopIconInfo[i]]),
  2237. "onclick": U.UF.C.closure(function (obj) {
  2238. //防止拖動圖標即打開了桌面應用
  2239. U.MD.D.click(this, obj);
  2240. }, [_schoolDesktopIconInfo[i]])
  2241. }, _frag); //
  2242. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2243. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2244. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2245. }
  2246. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2247. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2248. _content = $$("div", {
  2249. className: "U_MD_D_KO",
  2250. "onmousedown": U.UF.C.closure(function (obj) {
  2251. //防止拖動圖標即打開了桌面應用
  2252. U.MD.D.click(this, obj);
  2253. }, [_GMteacherDesktopIconInfo[i]]),
  2254. "onclick": U.UF.C.closure(function (obj) {
  2255. //防止拖動圖標即打開了桌面應用
  2256. U.MD.D.click(this, obj);
  2257. }, [_GMteacherDesktopIconInfo[i]])
  2258. }, _frag); //
  2259. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2260. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2261. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2262. }
  2263. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2264. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2265. _content = $$("div", {
  2266. className: "U_MD_D_KO",
  2267. "onmousedown": U.UF.C.closure(function (obj) {
  2268. //防止拖動圖標即打開了桌面應用
  2269. U.MD.D.click(this, obj);
  2270. }, [_SONGteacherDesktopIconInfo[i]]),
  2271. "onclick": U.UF.C.closure(function (obj) {
  2272. //防止拖動圖標即打開了桌面應用
  2273. U.MD.D.click(this, obj);
  2274. }, [_SONGteacherDesktopIconInfo[i]])
  2275. }, _frag); //
  2276. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2277. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2278. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2279. }
  2280. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2281. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2282. _content = $$("div", {
  2283. className: "U_MD_D_KO",
  2284. "onmousedown": U.UF.C.closure(function (obj) {
  2285. //防止拖動圖標即打開了桌面應用
  2286. U.MD.D.click(this, obj);
  2287. }, [_GMstudentDesktopIconInfo[i]]),
  2288. "onclick": U.UF.C.closure(function (obj) {
  2289. //防止拖動圖標即打開了桌面應用
  2290. U.MD.D.click(this, obj);
  2291. }, [_GMstudentDesktopIconInfo[i]])
  2292. }, _frag); //
  2293. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2294. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2295. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2296. }
  2297. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2298. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2299. _content = $$("div", {
  2300. className: "U_MD_D_KO",
  2301. "onmousedown": U.UF.C.closure(function (obj) {
  2302. //防止拖動圖標即打開了桌面應用
  2303. U.MD.D.click(this, obj);
  2304. }, [_tcTeacherDeskIconInfo[i]]),
  2305. "onclick": U.UF.C.closure(function (obj) {
  2306. //防止拖動圖標即打開了桌面應用
  2307. U.MD.D.click(this, obj);
  2308. }, [_tcTeacherDeskIconInfo[i]])
  2309. }, _frag); //
  2310. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2311. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2312. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2313. }
  2314. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2315. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2316. _content = $$("div", {
  2317. className: "U_MD_D_KO",
  2318. "onmousedown": U.UF.C.closure(function (obj) {
  2319. //防止拖動圖標即打開了桌面應用
  2320. U.MD.D.click(this, obj);
  2321. }, [_tcOrganizerDeskIconInfo[i]]),
  2322. "onclick": U.UF.C.closure(function (obj) {
  2323. //防止拖動圖標即打開了桌面應用
  2324. U.MD.D.click(this, obj);
  2325. }, [_tcOrganizerDeskIconInfo[i]])
  2326. }, _frag); //
  2327. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2328. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2329. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2330. }
  2331. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2332. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2333. _content = $$("div", {
  2334. className: "U_MD_D_KO",
  2335. "onmousedown": U.UF.C.closure(function (obj) {
  2336. //防止拖動圖標即打開了桌面應用
  2337. U.MD.D.click(this, obj);
  2338. }, [_szscTeacherDeskIconInfo[i]]),
  2339. "onclick": U.UF.C.closure(function (obj) {
  2340. //防止拖動圖標即打開了桌面應用
  2341. U.MD.D.click(this, obj);
  2342. }, [_szscTeacherDeskIconInfo[i]])
  2343. }, _frag); //
  2344. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2345. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2346. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2347. }
  2348. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2349. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2350. _content = $$("div", {
  2351. className: "U_MD_D_KO",
  2352. "onmousedown": U.UF.C.closure(function (obj) {
  2353. //防止拖動圖標即打開了桌面應用
  2354. U.MD.D.click(this, obj);
  2355. }, [_szscOrganizerDeskIconInfo[i]]),
  2356. "onclick": U.UF.C.closure(function (obj) {
  2357. //防止拖動圖標即打開了桌面應用
  2358. U.MD.D.click(this, obj);
  2359. }, [_szscOrganizerDeskIconInfo[i]])
  2360. }, _frag); //
  2361. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2362. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2363. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2364. }
  2365. } else {
  2366. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2367. _content = $$("div", {
  2368. className: "U_MD_D_KO",
  2369. "onmousedown": U.UF.C.closure(function (obj) {
  2370. //防止拖動圖標即打開了桌面應用
  2371. U.MD.D.click(this, obj);
  2372. }, [_teacherDesktopIconInfo[i]]),
  2373. "onclick": U.UF.C.closure(function (obj) {
  2374. //防止拖動圖標即打開了桌面應用
  2375. U.MD.D.click(this, obj);
  2376. }, [_teacherDesktopIconInfo[i]])
  2377. }, _frag); //
  2378. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2379. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2380. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2381. }
  2382. }
  2383. } else {
  2384. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2385. _content = $$("div", {
  2386. className: "U_MD_D_KO",
  2387. style: { 'width': '124px', 'height': '145px' },
  2388. "onmousedown": U.UF.C.closure(function (obj) {
  2389. //防止拖動圖標即打開了桌面應用
  2390. U.MD.D.click(this, obj);
  2391. }, [_easyDesktopIconInfo[i]]),
  2392. "onclick": U.UF.C.closure(function (obj) {
  2393. //防止拖動圖標即打開了桌面應用
  2394. U.MD.D.click(this, obj);
  2395. }, [_easyDesktopIconInfo[i]])
  2396. }, _frag); //
  2397. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2398. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2399. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2400. }
  2401. }
  2402. if (type == 1) {
  2403. //加載好後給圖標定位
  2404. U.MD.D.iconPostion($(_frag).Child());
  2405. } else {
  2406. //加載好後給圖標定位
  2407. U.MD.D.iconPostion2($(_frag).Child());
  2408. }
  2409. //把圖標加載到頁面
  2410. el.appendChild(_frag);
  2411. }
  2412. /**
  2413. * 顯示任務欄
  2414. *
  2415. * @param {element} 桌面元素
  2416. */
  2417. U.MD.D.I.displayTaskbar = function (el) {
  2418. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  2419. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2420. //任務欄位置變化
  2421. U.selectEl(el).css({ "bottom": "0px" });
  2422. //桌面位置變話
  2423. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2424. }
  2425. }
  2426. //#region 桌面圖標拖動邏輯
  2427. /**
  2428. * 桌面排列圖標
  2429. *
  2430. * @param {element} 桌面元素
  2431. * @param {object} 上下相距的距離
  2432. * @param {object} 左右相距的距離
  2433. * @return {object} 命名空間
  2434. */
  2435. U.MD.D.iconPostion = function (childs, top, left) {
  2436. var i; //用於循環處理
  2437. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  2438. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2439. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2440. for (i = 0; i < childs.length; i++) {
  2441. //如果豎排top超過了範圍處理
  2442. if (top + 95 > US.height - 10) {
  2443. //left超過了頁面範圍處理,則向上重疊打印處理
  2444. if ((left + 180) > US.width) {
  2445. top -= 110;
  2446. left -= 90;
  2447. }
  2448. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2449. else {
  2450. left += 90;
  2451. top = 15;
  2452. };
  2453. }
  2454. //給圖標的位置賦值
  2455. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2456. if (i < childs.length - 1) {
  2457. //頁面圖標每次向下加95
  2458. top += 95;
  2459. }
  2460. }
  2461. //返回最後調用的圖標的位置
  2462. return [top, left];
  2463. }
  2464. /**
  2465. * 桌面排列圖標
  2466. *
  2467. * @param {element} 桌面元素
  2468. * @param {object} 上下相距的距離
  2469. * @param {object} 左右相距的距離
  2470. * @return {object} 命名空間
  2471. */
  2472. U.MD.D.iconPostion2 = function (childs, top, left) {
  2473. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  2474. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  2475. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2476. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2477. for (i = 0; i < childs.length; i++) {
  2478. //如果豎排top超過了範圍處理
  2479. if (left + 150 > US.width - 10) {
  2480. //left超過了頁面範圍處理,則向上重疊打印處理
  2481. if ((top + 180) > US.Height) {
  2482. top -= 150;
  2483. left -= 150;
  2484. }
  2485. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2486. else {
  2487. top += 150;
  2488. left = ol;
  2489. };
  2490. }
  2491. //給圖標的位置賦值
  2492. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2493. if (i < childs.length - 1) {
  2494. //頁面圖標每次向下加95
  2495. left += 150;
  2496. }
  2497. }
  2498. //返回最後調用的圖標的位置
  2499. return [top, left];
  2500. }
  2501. /**
  2502. * 桌面點擊事件邏輯
  2503. *
  2504. * @param {element} 桌面元素
  2505. * @param {object} 上下相距的距離
  2506. * @param {object} 左右相距的距離
  2507. * @return {object} 命名空間
  2508. */
  2509. U.MD.D.click = function (el, obj) {
  2510. var _buttonnumber = event.button; //點擊的按鈕的事件值
  2511. var _userinfo = US.userInfo;
  2512. U.UF.EV.stopBubble(); //阻止向上冒泡
  2513. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  2514. if (_buttonnumber < 2) {
  2515. //如果是click事件的處理
  2516. if (event.type == "click") {
  2517. //如果元素在mousemove事件中沒有移動則出發click事件
  2518. if (!U.MD.D.I.IsDrag) {
  2519. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2520. U.alert("請先登錄您的賬號!");
  2521. setTimeout(() => {
  2522. U.MD.U.L.login();
  2523. }, 2000);
  2524. } else {
  2525. //打開應用處理
  2526. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2527. }
  2528. }
  2529. }
  2530. //如果是mouse事件的處理
  2531. else {
  2532. if (US.Config.type == '1') {
  2533. //拖動處理,添加拖動和拖動結束事件
  2534. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2535. }
  2536. }
  2537. U.MD.D.I.IsDrag = false;
  2538. }
  2539. }
  2540. /**
  2541. * 拖動的處理
  2542. *
  2543. */
  2544. U.MD.D.iconMove = function () {
  2545. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  2546. U.MD.D.I.IsDrag = true;
  2547. }
  2548. /**
  2549. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  2550. *
  2551. * @param {element} 拖動的元素
  2552. * @return {object} 命名空間
  2553. */
  2554. U.MD.D.iconUp = function (el) {
  2555. var _top = 15,
  2556. _left = 20,
  2557. _margin,
  2558. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  2559. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  2560. if (_positioninfo["OT"] > 15) {
  2561. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  2562. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2563. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2564. }
  2565. if (_positioninfo["OL"] > 20) {
  2566. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  2567. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2568. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2569. }
  2570. //while循環判斷麼一個重疊的元素
  2571. do {
  2572. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  2573. _top = _positioninfo[0] + 95; //得到定位後的top
  2574. _left = _positioninfo[1]; //得到定位後的left
  2575. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2576. }
  2577. /**
  2578. * 判斷拖動後圖標是否重疊
  2579. *
  2580. * @param {element} 拖動的元素
  2581. * @param {element} 桌面所有的元素
  2582. * @param {array} 拖動元素的位置
  2583. ----------[0] 上 top
  2584. ----------[1] 左 left
  2585. * @return {object} 命名空間
  2586. */
  2587. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2588. //循環所有的圖標
  2589. for (var i = 0; i < childs.length; i++) {
  2590. //判斷有沒有和該圖標誒子重疊的元素
  2591. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2592. return childs[i]; //如果有返回
  2593. }
  2594. }
  2595. }
  2596. //#endregion
  2597. //#endregion
  2598. //#region 桌面應用
  2599. /**
  2600. * 打開應用
  2601. *
  2602. * @param {string} 類型
  2603. -----------------Disk 網盤系統
  2604. -----------------PDisk 學習系統網盤
  2605. -----------------Poto 圖片
  2606. -----------------Video 視頻
  2607. -----------------Music 音樂
  2608. -----------------Word word
  2609. -----------------Excel excel
  2610. -----------------Txt 記事本
  2611. -----------------PB 學習系統
  2612. -----------------Blog 朋友圈系統
  2613. -----------------FTP ftp系統
  2614. -----------------Group 好友群
  2615. -----------------SY 首頁系統
  2616. -----------------Set 個人設置
  2617. -----------------XSet 系統設置
  2618. -----------------App 我們所有的app
  2619. -----------------BC c.1473.cn 平臺
  2620. -----------------CWeb d.1473.cn 變成平臺
  2621. -----------------其他的外聯系統 我們統一用iframe打開
  2622. * @param {array} 類型
  2623. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  2624. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  2625. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  2626. 如果第一個參數為其他,則無第二個參數
  2627. * @returns {array}
  2628. */
  2629. window.addEventListener('message', function (e) { // 監聽 message 事件
  2630. // alert(e.data.type);
  2631. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  2632. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2633. //3是展示全部階段 2學生 1老師 4專家
  2634. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  2635. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2636. //3是展示全部階段 2學生 1老師 4專家
  2637. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  2638. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2639. //3是展示全部階段 2學生 1老師 4專家
  2640. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  2641. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2642. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  2643. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2644. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  2645. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2646. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  2647. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2648. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  2649. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2650. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  2651. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2652. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  2653. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2654. //3是展示全部階段 2學生 1老師 4專家
  2655. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  2656. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2657. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  2658. U.MD.D.I.selectUser();
  2659. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2660. var _formel = document.getElementById("study");
  2661. U.UF.F.windowZooming(_formel);
  2662. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2663. var _formel = document.getElementById("studyDetail");
  2664. U.UF.F.windowZooming(_formel);
  2665. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2666. var _formel = document.getElementById("studyDetail");
  2667. U.UF.F.windowZooming(_formel);
  2668. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2669. var _formel = document.getElementById("studentStudy");
  2670. U.UF.F.windowZooming(_formel);
  2671. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2672. // var _formel = document.getElementById("study");
  2673. //如果最大化了,那麼就把他縮小
  2674. // if (_formel.ismaximize) {
  2675. // return;
  2676. // }
  2677. // U.UF.F.windowZooming(_formel);
  2678. // U.UF.F.topWindow(_formel);
  2679. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2680. // var _formel = document.getElementById("studyDetail");
  2681. //如果最大化了,那麼就把他縮小
  2682. // if (_formel.ismaximize) {
  2683. // return;
  2684. // }
  2685. // U.UF.F.windowZooming(_formel);
  2686. // U.UF.F.topWindow(_formel);
  2687. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2688. // var _formel = document.getElementById("studentStudy");
  2689. // if (_formel.ismaximize) {
  2690. // return;
  2691. // }
  2692. // U.UF.F.windowZooming(_formel);
  2693. // U.UF.F.topWindow(_formel);
  2694. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2695. var _formel = document.getElementById("study");
  2696. // if (_formel.ismaximize) {
  2697. // return;
  2698. // }
  2699. // U.UF.F.windowZooming(_formel);
  2700. U.UF.F.topWindow(_formel);
  2701. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2702. var _formel = document.getElementById("studentIndex");
  2703. U.UF.F.windowZooming(_formel);
  2704. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2705. var _formel = document.getElementById("studyDetailS");
  2706. U.UF.F.windowZooming(_formel);
  2707. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2708. var _formel = document.getElementById("studioIndex");
  2709. U.UF.F.windowZooming(_formel);
  2710. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2711. var _formel = document.getElementById("studyDetailStudio");
  2712. U.UF.F.windowZooming(_formel);
  2713. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2714. var _formel = document.getElementById("studyDetailStudio");
  2715. U.UF.F.windowZooming(_formel);
  2716. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2717. var _formel = document.getElementById("studyDetailNT");
  2718. U.UF.F.windowZooming(_formel);
  2719. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2720. var _formel = document.getElementById("studyDetailS");
  2721. U.UF.F.windowZooming(_formel);
  2722. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2723. var _formel = document.getElementById("studyDetailS");
  2724. U.UF.F.topWindow(_formel);
  2725. } else if (e.data.tools && e.data.tools == "1") {
  2726. // U.MD.D.I.openApplication("whiteboard")
  2727. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2728. } else if (e.data.tools && e.data.tools == "2") {
  2729. U.MD.D.I.openApplication("note")
  2730. } else if (e.data.tools && e.data.tools == "3") {
  2731. // U.MD.D.I.openApplication("mind")
  2732. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2733. } else if (e.data.tools && e.data.tools == "4") {
  2734. U.MD.D.I.openApplication("investigation")
  2735. } else if (e.data.tools && e.data.tools == "6") {
  2736. // U.MD.D.I.openApplication("doc")
  2737. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2738. } else if (e.data.tools && e.data.tools == "7") {
  2739. // U.MD.D.I.openApplication("mindNetwork")
  2740. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2741. } else if (e.data.tools && e.data.tools == "8") {
  2742. U.MD.D.I.openApplication("library")
  2743. } else if (e.data.tools && e.data.tools == "17") {
  2744. U.MD.D.I.openApplication("stuLibrary")
  2745. } else if (e.data.tools && e.data.tools == "18") {
  2746. U.MD.D.I.openApplication("train")
  2747. } else if (e.data.tools && e.data.tools == "21") {
  2748. U.MD.D.I.openApplication("program")
  2749. } else if (e.data.tools && e.data.tools == "22") {
  2750. U.MD.D.I.openApplication("AIprogram2")
  2751. } else if (e.data.tools && e.data.tools == "23") {
  2752. U.MD.D.I.openApplication("Pythonprogram")
  2753. } else if (e.data.tools && e.data.tools == "24") {
  2754. U.MD.D.I.openApplication("AIprogram")
  2755. } else if (e.data.tools && e.data.tools == "25") {
  2756. U.MD.D.I.openApplication("sys")
  2757. } else if (e.data.tools && e.data.tools == "26") {
  2758. // U.MD.D.I.openApplication("courseDesign")
  2759. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2760. } else if (e.data.tools && e.data.tools == "31") {
  2761. U.MD.D.I.openApplication("netWorkPanel")
  2762. } else if (e.data.tools && e.data.tools == "32") {
  2763. U.MD.D.I.openApplication("codeEdit")
  2764. } else if (e.data.tools && e.data.tools == "57") {
  2765. U.MD.D.I.openApplication("CocoPi")
  2766. } else if (e.data.tools && e.data.tools == "63") {
  2767. U.MD.D.I.openApplication("Wood")
  2768. } else if (e.data.tools && e.data.tools == "58") {
  2769. U.MD.D.I.openApplication("car")
  2770. } else if (e.data.tools && e.data.tools == "59") {
  2771. U.MD.D.I.openApplication("lineSearch")
  2772. } else if (e.data.tools && e.data.tools == "60") {
  2773. U.MD.D.I.openApplication("deepLearning")
  2774. } else if (e.data.tools && e.data.tools == "61") {
  2775. U.MD.D.I.openApplication("allHistory")
  2776. } else if (e.data.tools && e.data.tools == "28") {
  2777. U.MD.D.I.openApplication("translation")
  2778. } else if (e.data.tools && e.data.tools == "37") {
  2779. U.MD.D.I.openApplication("mohe")
  2780. } else if (e.data.tools && e.data.tools == "38") {
  2781. U.MD.D.I.openApplication("24game")
  2782. } else if (e.data.tools && e.data.tools == "39") {
  2783. U.MD.D.I.openApplication("GeoGebra")
  2784. } else if (e.data.tools && e.data.tools == "43") {
  2785. U.MD.D.I.openApplication("studentEvaluate")
  2786. } else if (e.data.tools && e.data.tools == "44") {
  2787. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2788. } else if (e.data.tools && e.data.tools == "46") {
  2789. U.MD.D.I.openApplication("project")
  2790. } else if (e.data.tools && e.data.tools == "1s") {
  2791. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2792. } else if (e.data.tools && e.data.tools == "3s") {
  2793. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2794. } else if (e.data.tools && e.data.tools == "6s") {
  2795. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2796. } else if (e.data.tools && e.data.tools == "1studio") {
  2797. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2798. } else if (e.data.tools && e.data.tools == "3studio") {
  2799. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2800. } else if (e.data.tools && e.data.tools == "6studio") {
  2801. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2802. } else if (e.data.tools && e.data.tools == "3y") {
  2803. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2804. } else if (e.data.tools && e.data.tools == "1y") {
  2805. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2806. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2807. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2808. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2809. U.MD.D.I.openApplication("AIAnalyse")
  2810. } else if (e.data.tools && e.data.tools == "1teacher") {
  2811. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2812. } else if (e.data.tools && e.data.tools == "3teacher") {
  2813. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2814. } else if (e.data.tools && e.data.tools == "7teacher") {
  2815. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2816. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2817. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2818. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2819. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2820. } else if (e.data.tools && e.data.tools == "1E") {
  2821. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2822. } else if (e.data.tools && e.data.tools == "3E") {
  2823. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2824. } else if (e.data.tools && e.data.tools == "57y") {
  2825. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2826. } else if (e.data.tools && e.data.tools == "57u") {
  2827. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2828. } else if (e.data.tools && e.data.tools == "57teacher") {
  2829. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2830. } else if (e.data.tools && e.data.tools == "64") {
  2831. U.MD.D.I.openApplication("AIChat")
  2832. } else if (e.data.tools && e.data.tools == "66") {
  2833. U.MD.D.I.openApplication("formulaEdi")
  2834. } else if (e.data.tools && e.data.tools == "67") {
  2835. U.MD.D.I.openApplication("molStr")
  2836. } else if (e.data.tools && e.data.tools == "68") {
  2837. U.MD.D.I.openApplication("timeAxis")
  2838. } else if (e.data.tools && e.data.tools == "openCourse") {
  2839. let _data = {
  2840. typea: e.data.typea || '',
  2841. typeb: e.data.typeb || '',
  2842. typed: e.data.typed || '',
  2843. }
  2844. U.MD.D.I.openInApplication("index", _data)
  2845. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2846. let _data = {
  2847. classid: e.data.classid || '',
  2848. }
  2849. U.MD.D.I.openInApplication("dataClass", _data)
  2850. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2851. let _data = {
  2852. cid: e.data.cid || '',
  2853. gid: e.data.gid || '',
  2854. }
  2855. U.MD.D.I.openInApplication("opencCscl", _data)
  2856. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  2857. U.MD.D.I.openApplication("dataBoardTest")
  2858. }
  2859. });
  2860. U.MD.D.I.selectUser = function () {
  2861. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2862. if (res.value[0].length > 0) {
  2863. US.userInfo = res.value[0][0];
  2864. $(".userName")[0].innerHTML = US.userInfo.username;
  2865. }
  2866. }, [], { "type": "GET", "withCredentials": true });
  2867. }
  2868. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2869. var _userinfo = US.userInfo, //登錄用戶信息
  2870. _userid = US.userInfo.userid, //登錄用戶id
  2871. _oid = _userinfo.organizeid,
  2872. _type = US.userInfo.type,
  2873. _org = US.userInfo.org,
  2874. _role = US.userInfo.role,
  2875. _classId = US.userInfo.classid;
  2876. if (_type == 4) {
  2877. tType = 4
  2878. }
  2879. switch (str) {
  2880. case "studyDetailNT": //無終端模式
  2881. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2882. setTimeout(() => {
  2883. U.MD.U.L.login();
  2884. }, 2000);
  2885. } else {
  2886. _formdiv = new U.UF.UI.form(
  2887. "課程詳情",
  2888. $$("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 }), {
  2889. "id": "studyDetailNT",
  2890. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2891. "onresize": function () { }
  2892. }, {
  2893. closecallback: function () { }
  2894. }, { "style": { "height": "36px" } }).form; //創建窗體
  2895. _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); } }
  2896. break;
  2897. }
  2898. case "studyDetail":
  2899. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2900. setTimeout(() => {
  2901. U.MD.U.L.login();
  2902. }, 2000);
  2903. } else {
  2904. _formdiv = new U.UF.UI.form(
  2905. "課程詳情",
  2906. $$("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 }), {
  2907. "id": "studyDetail",
  2908. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2909. "onresize": function () { }
  2910. }, {
  2911. closecallback: function () { }
  2912. }, { "style": { "height": "36px" } }).form; //創建窗體
  2913. _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); } }
  2914. break;
  2915. }
  2916. case "studyDetailTrain":
  2917. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2918. setTimeout(() => {
  2919. U.MD.U.L.login();
  2920. }, 2000);
  2921. } else {
  2922. _formdiv = new U.UF.UI.form(
  2923. "培訓詳情",
  2924. $$("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 }), {
  2925. "id": "studyDetailTrain",
  2926. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2927. "onresize": function () { }
  2928. }, {
  2929. closecallback: function () { }
  2930. }, { "style": { "height": "36px" } }).form; //創建窗體
  2931. _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); } }
  2932. break;
  2933. }
  2934. case "studyDetailS":
  2935. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2936. setTimeout(() => {
  2937. U.MD.U.L.login();
  2938. }, 2000);
  2939. } else {
  2940. _formdiv = new U.UF.UI.form(
  2941. "項目詳情",
  2942. $$("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 }), {
  2943. "id": "studyDetailS",
  2944. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2945. "onresize": function () { }
  2946. }, {
  2947. closecallback: function () { }
  2948. }, { "style": { "height": "36px" } }).form; //創建窗體
  2949. _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); } }
  2950. break;
  2951. }
  2952. case "studyDetailStudio":
  2953. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2954. setTimeout(() => {
  2955. U.MD.U.L.login();
  2956. }, 2000);
  2957. } else {
  2958. _formdiv = new U.UF.UI.form(
  2959. "工作詳情",
  2960. $$("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 }), {
  2961. "id": "studyDetailStudio",
  2962. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2963. "onresize": function () { }
  2964. }, {
  2965. closecallback: function () { }
  2966. }, { "style": { "height": "36px" } }).form; //創建窗體
  2967. _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); } }
  2968. break;
  2969. }
  2970. case "studyDetailS5":
  2971. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2972. setTimeout(() => {
  2973. U.MD.U.L.login();
  2974. }, 2000);
  2975. } else {
  2976. _formdiv = new U.UF.UI.form(
  2977. "項目詳情",
  2978. $$("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 }), {
  2979. "id": "studyDetailS",
  2980. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2981. "onresize": function () { }
  2982. }, {
  2983. closecallback: function () { }
  2984. }, { "style": { "height": "36px" } }).form; //創建窗體
  2985. _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); } }
  2986. break;
  2987. }
  2988. case "studyDetailGM":
  2989. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2990. setTimeout(() => {
  2991. U.MD.U.L.login();
  2992. }, 2000);
  2993. } else {
  2994. _formdiv = new U.UF.UI.form(
  2995. "課程詳情",
  2996. $$("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 }), {
  2997. "id": "studyDetail",
  2998. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2999. "onresize": function () { }
  3000. }, {
  3001. closecallback: function () { }
  3002. }, { "style": { "height": "36px" } }).form; //創建窗體
  3003. _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); } }
  3004. break;
  3005. }
  3006. case "hanUrl":
  3007. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3008. setTimeout(() => {
  3009. U.MD.U.L.login();
  3010. }, 2000);
  3011. } else {
  3012. _formdiv = new U.UF.UI.form(
  3013. "漢字宮",
  3014. $$("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" }), {
  3015. "id": "hanUrl",
  3016. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3017. "onresize": function () { }
  3018. }, {
  3019. closecallback: function () { }
  3020. }, { "style": { "height": "36px" } }).form; //創建窗體
  3021. _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); } }
  3022. break;
  3023. }
  3024. case "index":
  3025. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3026. setTimeout(() => {
  3027. U.MD.U.L.login();
  3028. }, 2000);
  3029. } else {
  3030. _formdiv = new U.UF.UI.form(
  3031. "課程中心",
  3032. $$("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 }), {
  3033. "id": "study",
  3034. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3035. "onresize": function () { }
  3036. }, {
  3037. closecallback: function () { }
  3038. }, { "style": { "height": "36px" } }).form; //創建窗體
  3039. _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); } }
  3040. break;
  3041. }
  3042. case "dataClass":
  3043. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3044. setTimeout(() => {
  3045. U.MD.U.L.login();
  3046. }, 2000);
  3047. } else {
  3048. _formdiv = new U.UF.UI.form(
  3049. "數據報告",
  3050. $$("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 }), {
  3051. "id": "dataClass",
  3052. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3053. "onresize": function () { }
  3054. }, {
  3055. closecallback: function () { }
  3056. }, { "style": { "height": "36px" } }).form; //創建窗體
  3057. _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); } }
  3058. break;
  3059. }
  3060. case "opencCscl":
  3061. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3062. setTimeout(() => {
  3063. U.MD.U.L.login();
  3064. }, 2000);
  3065. } else {
  3066. _formdiv = new U.UF.UI.form(
  3067. "協同建構",
  3068. $$("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 }), {
  3069. "id": "futureClass",
  3070. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function () { }
  3072. }, {
  3073. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3074. }, { "style": { "height": "36px" } }).form; //創建窗體
  3075. _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); } }
  3076. break;
  3077. }
  3078. }
  3079. }
  3080. U.MD.D.I.openApplication = function (str, obj, info) {
  3081. obj = obj || {};
  3082. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  3083. _formdiv, //創建任務欄時同時彈出的窗體元素。
  3084. _userinfo = US.userInfo, //登錄用戶信息
  3085. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  3086. _oid = obj.organizeid || _userinfo.organizeid,
  3087. _type = US.userInfo.type,
  3088. _org = US.userInfo.org,
  3089. _role = US.userInfo.role,
  3090. _classId = US.userInfo.classid,
  3091. _TscreenType = 1
  3092. _screenType = 2,
  3093. _SscreenType = 3;
  3094. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3095. return;
  3096. }
  3097. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3098. switch (str) {
  3099. case "studnetProject": //好友打開
  3100. _formdiv = new U.UF.UI.form(
  3101. "我的項目",
  3102. $$("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 }), {
  3103. "id": "studnetProject",
  3104. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3105. "onresize": function () { }
  3106. }, {
  3107. closecallback: function () { }
  3108. }, { "style": { "height": "36px" } }).form; //創建窗體
  3109. _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); } }
  3110. break;
  3111. case "studentEvaluate": //好友打開
  3112. _formdiv = new U.UF.UI.form(
  3113. "我的評價",
  3114. $$("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 }), {
  3115. "id": "studentEvaluate",
  3116. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3117. "onresize": function () { }
  3118. }, {
  3119. closecallback: function () { }
  3120. }, { "style": { "height": "36px" } }).form; //創建窗體
  3121. _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); } }
  3122. break;
  3123. case "my":
  3124. _formdiv = new U.UF.UI.form(
  3125. "我的資料",
  3126. $$("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 }), {
  3127. "id": "my",
  3128. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3129. "onresize": function () { }
  3130. }, {
  3131. closecallback: function () { }
  3132. }, { "style": { "height": "36px" } }).form; //創建窗體
  3133. _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); } }
  3134. break;
  3135. case "program":
  3136. _formdiv = new U.UF.UI.form(
  3137. "編程平臺",
  3138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3139. "id": "program",
  3140. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3141. "onresize": function () { }
  3142. }, {
  3143. closecallback: function () { }
  3144. }, { "style": { "height": "36px" } }).form; //創建窗體
  3145. _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); } }
  3146. break;
  3147. case "library":
  3148. _formdiv = new U.UF.UI.form(
  3149. "素材庫",
  3150. $$("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 }), {
  3151. "id": "library",
  3152. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3153. "onresize": function () { }
  3154. }, {
  3155. closecallback: function () { }
  3156. }, { "style": { "height": "36px" } }).form; //創建窗體
  3157. _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); } }
  3158. break;
  3159. case "whiteboard":
  3160. _formdiv = new U.UF.UI.form(
  3161. "電子白板",
  3162. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3163. "id": "whiteboard",
  3164. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3165. "onresize": function () { }
  3166. }, {
  3167. closecallback: function () { }
  3168. }, { "style": { "height": "36px" } }).form; //創建窗體
  3169. _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); } }
  3170. break;
  3171. case "investigation":
  3172. _formdiv = new U.UF.UI.form(
  3173. "問卷調查",
  3174. $$("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 }), {
  3175. "id": "investigation",
  3176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3177. "onresize": function () { }
  3178. }, {
  3179. closecallback: function () { }
  3180. }, { "style": { "height": "36px" } }).form; //創建窗體
  3181. _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); } }
  3182. break;
  3183. case "note":
  3184. _formdiv = new U.UF.UI.form(
  3185. "便簽分類",
  3186. $$("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 }), {
  3187. "id": "note",
  3188. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3189. "onresize": function () { }
  3190. }, {
  3191. closecallback: function () { }
  3192. }, { "style": { "height": "36px" } }).form; //創建窗體
  3193. _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); } }
  3194. break;
  3195. // case "score":
  3196. // _formdiv = new U.UF.UI.form(
  3197. // "量規評分",
  3198. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3199. // "id": "score",
  3200. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3201. // "onresize": function() {}
  3202. // }, {
  3203. // closecallback: function() {}
  3204. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3205. // _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); } }
  3206. // break;
  3207. case "mind":
  3208. _formdiv = new U.UF.UI.form(
  3209. "思維導圖",
  3210. $$("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"
  3211. "id": "mind",
  3212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3213. "onresize": function () { }
  3214. }, {
  3215. closecallback: function () { }
  3216. }, { "style": { "height": "36px" } }).form; //創建窗體
  3217. _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); } }
  3218. break;
  3219. case "doc":
  3220. // U.MD.D.I.isRoom();
  3221. _formdiv = new U.UF.UI.form(
  3222. "協同文檔",
  3223. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3224. "id": "doc",
  3225. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3226. "onresize": function () { }
  3227. }, {
  3228. closecallback: function () { }
  3229. }, { "style": { "height": "36px" } }).form; //創建窗體
  3230. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3231. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3232. // })
  3233. _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); } }
  3234. break;
  3235. case "studentStudy":
  3236. _formdiv = new U.UF.UI.form(
  3237. "課程中心",
  3238. $$("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
  3239. "id": "studentStudy",
  3240. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3241. "onresize": function () { }
  3242. }, {
  3243. closecallback: function () { }
  3244. }, { "style": { "height": "36px" } }).form; //創建窗體
  3245. _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); } }
  3246. break;
  3247. case "train": //好友打開
  3248. _formdiv = new U.UF.UI.form(
  3249. "訓練平臺",
  3250. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3251. "id": "train",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //創建窗體
  3257. _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); } }
  3258. break;
  3259. case "mindNetwork": //好友打開
  3260. _formdiv = new U.UF.UI.form(
  3261. "思維網格",
  3262. $$("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 }), {
  3263. "id": "mindNetwork",
  3264. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //創建窗體
  3269. _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); } }
  3270. break;
  3271. case "studentClassRoom": //好友打開
  3272. _formdiv = new U.UF.UI.form(
  3273. "實時課堂",
  3274. $$("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 }), {
  3275. "id": "studentClassRoom",
  3276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3277. "onresize": function () { }
  3278. }, {
  3279. closecallback: function () { }
  3280. }, { "style": { "height": "36px" } }).form; //創建窗體
  3281. _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); } }
  3282. setTimeout(() => {
  3283. U.UF.F.windowZooming(_formdiv)
  3284. }, 0);
  3285. break;
  3286. }
  3287. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3288. switch (str) {
  3289. case "studnetProject": //好友打開
  3290. _formdiv = new U.UF.UI.form(
  3291. "我的項目",
  3292. $$("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 }), {
  3293. "id": "studnetProject",
  3294. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3295. "onresize": function () { }
  3296. }, {
  3297. closecallback: function () { }
  3298. }, { "style": { "height": "36px" } }).form; //創建窗體
  3299. _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); } }
  3300. break;
  3301. case "studentEvaluate": //好友打開
  3302. _formdiv = new U.UF.UI.form(
  3303. "我的評價",
  3304. $$("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 }), {
  3305. "id": "studentEvaluate",
  3306. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3307. "onresize": function () { }
  3308. }, {
  3309. closecallback: function () { }
  3310. }, { "style": { "height": "36px" } }).form; //創建窗體
  3311. _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); } }
  3312. break;
  3313. case "my":
  3314. _formdiv = new U.UF.UI.form(
  3315. "我的資料",
  3316. $$("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 }), {
  3317. "id": "my",
  3318. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3319. "onresize": function () { }
  3320. }, {
  3321. closecallback: function () { }
  3322. }, { "style": { "height": "36px" } }).form; //創建窗體
  3323. _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); } }
  3324. break;
  3325. case "program":
  3326. _formdiv = new U.UF.UI.form(
  3327. "編程平臺",
  3328. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3329. "id": "program",
  3330. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3331. "onresize": function () { }
  3332. }, {
  3333. closecallback: function () { }
  3334. }, { "style": { "height": "36px" } }).form; //創建窗體
  3335. _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); } }
  3336. break;
  3337. case "library":
  3338. _formdiv = new U.UF.UI.form(
  3339. "素材庫",
  3340. $$("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 }), {
  3341. "id": "library",
  3342. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3343. "onresize": function () { }
  3344. }, {
  3345. closecallback: function () { }
  3346. }, { "style": { "height": "36px" } }).form; //創建窗體
  3347. _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); } }
  3348. break;
  3349. case "whiteboard":
  3350. _formdiv = new U.UF.UI.form(
  3351. "電子白板",
  3352. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3353. "id": "whiteboard",
  3354. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3355. "onresize": function () { }
  3356. }, {
  3357. closecallback: function () { }
  3358. }, { "style": { "height": "36px" } }).form; //創建窗體
  3359. _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); } }
  3360. break;
  3361. case "investigation":
  3362. _formdiv = new U.UF.UI.form(
  3363. "問卷調查",
  3364. $$("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 }), {
  3365. "id": "investigation",
  3366. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3367. "onresize": function () { }
  3368. }, {
  3369. closecallback: function () { }
  3370. }, { "style": { "height": "36px" } }).form; //創建窗體
  3371. _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); } }
  3372. break;
  3373. case "note":
  3374. _formdiv = new U.UF.UI.form(
  3375. "便簽分類",
  3376. $$("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 }), {
  3377. "id": "note",
  3378. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3379. "onresize": function () { }
  3380. }, {
  3381. closecallback: function () { }
  3382. }, { "style": { "height": "36px" } }).form; //創建窗體
  3383. _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); } }
  3384. break;
  3385. // case "score":
  3386. // _formdiv = new U.UF.UI.form(
  3387. // "量規評分",
  3388. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3389. // "id": "score",
  3390. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3391. // "onresize": function() {}
  3392. // }, {
  3393. // closecallback: function() {}
  3394. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3395. // _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); } }
  3396. // break;
  3397. case "mind":
  3398. _formdiv = new U.UF.UI.form(
  3399. "思維導圖",
  3400. $$("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"
  3401. "id": "mind",
  3402. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3403. "onresize": function () { }
  3404. }, {
  3405. closecallback: function () { }
  3406. }, { "style": { "height": "36px" } }).form; //創建窗體
  3407. _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); } }
  3408. break;
  3409. case "doc":
  3410. // U.MD.D.I.isRoom();
  3411. _formdiv = new U.UF.UI.form(
  3412. "協同文檔",
  3413. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3414. "id": "doc",
  3415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3416. "onresize": function () { }
  3417. }, {
  3418. closecallback: function () { }
  3419. }, { "style": { "height": "36px" } }).form; //創建窗體
  3420. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3421. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3422. })
  3423. _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); } }
  3424. break;
  3425. case "train": //好友打開
  3426. _formdiv = new U.UF.UI.form(
  3427. "訓練平臺",
  3428. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3429. "id": "train",
  3430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function () { }
  3432. }, {
  3433. closecallback: function () { }
  3434. }, { "style": { "height": "36px" } }).form; //創建窗體
  3435. _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); } }
  3436. break;
  3437. case "studentStudy":
  3438. _formdiv = new U.UF.UI.form(
  3439. "課程中心",
  3440. $$("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
  3441. "id": "studentStudy",
  3442. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3443. "onresize": function () { }
  3444. }, {
  3445. closecallback: function () { }
  3446. }, { "style": { "height": "36px" } }).form; //創建窗體
  3447. _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); } }
  3448. break;
  3449. case "mindNetwork": //好友打開
  3450. _formdiv = new U.UF.UI.form(
  3451. "思維網格",
  3452. $$("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 }), {
  3453. "id": "mindNetwork",
  3454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function () { }
  3456. }, {
  3457. closecallback: function () { }
  3458. }, { "style": { "height": "36px" } }).form; //創建窗體
  3459. _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); } }
  3460. break;
  3461. case "studentClassRoom": //好友打開
  3462. _formdiv = new U.UF.UI.form(
  3463. "實時課堂",
  3464. $$("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 }), {
  3465. "id": "studentClassRoom",
  3466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function () { }
  3468. }, {
  3469. closecallback: function () { }
  3470. }, { "style": { "height": "36px" } }).form; //創建窗體
  3471. _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); } }
  3472. setTimeout(() => {
  3473. U.UF.F.windowZooming(_formdiv)
  3474. }, 0);
  3475. break;
  3476. }
  3477. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3478. //選擇應用處理
  3479. switch (str) {
  3480. case "project": //好友打開
  3481. _formdiv = new U.UF.UI.form(
  3482. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  3483. $$("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 }), {
  3484. "id": "project",
  3485. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3486. "onresize": function () { }
  3487. }, {
  3488. closecallback: function () { }
  3489. }, { "style": { "height": "36px" } }).form; //創建窗體
  3490. _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); } }
  3491. break;
  3492. case "student":
  3493. _formdiv = new U.UF.UI.form(
  3494. "學生管理",
  3495. $$("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 }), {
  3496. "id": "student",
  3497. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3498. "onresize": function () { }
  3499. }, {
  3500. closecallback: function () { }
  3501. }, { "style": { "height": "36px" } }).form; //創建窗體
  3502. _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); } }
  3503. break;
  3504. case "evaluate":
  3505. _formdiv = new U.UF.UI.form(
  3506. "學生評價",
  3507. $$("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 }), {
  3508. "id": "evaluate",
  3509. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3510. "onresize": function () { }
  3511. }, {
  3512. closecallback: function () { }
  3513. }, { "style": { "height": "36px" } }).form; //創建窗體
  3514. _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); } }
  3515. break;
  3516. case "sys":
  3517. _formdiv = new U.UF.UI.form(
  3518. "目標管理",
  3519. $$("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 }), {
  3520. "id": "sys",
  3521. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3522. "onresize": function () { }
  3523. }, {
  3524. closecallback: function () { }
  3525. }, { "style": { "height": "36px" } }).form; //創建窗體
  3526. _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); } }
  3527. break;
  3528. case "courseDesign":
  3529. _formdiv = new U.UF.UI.form(
  3530. "項目設計",
  3531. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3532. "id": "courseDesign",
  3533. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3534. "onresize": function () { }
  3535. }, {
  3536. closecallback: function () { }
  3537. }, { "style": { "height": "36px" } }).form; //創建窗體
  3538. _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); } }
  3539. break;
  3540. case "program":
  3541. _formdiv = new U.UF.UI.form(
  3542. "編程平臺",
  3543. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3544. "id": "program",
  3545. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3546. "onresize": function () { }
  3547. }, {
  3548. closecallback: function () { }
  3549. }, { "style": { "height": "36px" } }).form; //創建窗體
  3550. _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); } }
  3551. break;
  3552. case "class":
  3553. _formdiv = new U.UF.UI.form(
  3554. "班級管理",
  3555. $$("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 }), {
  3556. "id": "class",
  3557. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3558. "onresize": function () { }
  3559. }, {
  3560. closecallback: function () { }
  3561. }, { "style": { "height": "36px" } }).form; //創建窗體
  3562. _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); } }
  3563. break;
  3564. case "Grade":
  3565. _formdiv = new U.UF.UI.form(
  3566. "年級管理",
  3567. $$("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 }), {
  3568. "id": "Grade",
  3569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function () { }
  3571. }, {
  3572. closecallback: function () { }
  3573. }, { "style": { "height": "36px" } }).form; //創建窗體
  3574. _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); } }
  3575. break;
  3576. case "teacherOffice":
  3577. _formdiv = new U.UF.UI.form(
  3578. "教研室",
  3579. $$("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 }), {
  3580. "id": "teacherOffice",
  3581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3582. "onresize": function () { }
  3583. }, {
  3584. closecallback: function () { }
  3585. }, { "style": { "height": "36px" } }).form; //創建窗體
  3586. _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); } }
  3587. break;
  3588. case "my":
  3589. _formdiv = new U.UF.UI.form(
  3590. "我的資料",
  3591. $$("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 }), {
  3592. "id": "my",
  3593. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3594. "onresize": function () { }
  3595. }, {
  3596. closecallback: function () { }
  3597. }, { "style": { "height": "36px" } }).form; //創建窗體
  3598. _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); } }
  3599. break;
  3600. case "notice":
  3601. _formdiv = new U.UF.UI.form(
  3602. "通知公告",
  3603. $$("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 }), {
  3604. "id": "notice",
  3605. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3606. "onresize": function () { }
  3607. }, {
  3608. closecallback: function () { }
  3609. }, { "style": { "height": "36px" } }).form; //創建窗體
  3610. _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); } }
  3611. break;
  3612. case "library":
  3613. _formdiv = new U.UF.UI.form(
  3614. "素材庫",
  3615. $$("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 }), {
  3616. "id": "library",
  3617. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3618. "onresize": function () { }
  3619. }, {
  3620. closecallback: function () { }
  3621. }, { "style": { "height": "36px" } }).form; //創建窗體
  3622. _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); } }
  3623. break;
  3624. case "whiteboard":
  3625. _formdiv = new U.UF.UI.form(
  3626. "電子白板",
  3627. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3628. "id": "whiteboard",
  3629. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3630. "onresize": function () { }
  3631. }, {
  3632. closecallback: function () { }
  3633. }, { "style": { "height": "36px" } }).form; //創建窗體
  3634. _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); } }
  3635. break;
  3636. case "investigation":
  3637. _formdiv = new U.UF.UI.form(
  3638. "問卷調查",
  3639. $$("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 }), {
  3640. "id": "investigation",
  3641. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3642. "onresize": function () { }
  3643. }, {
  3644. closecallback: function () { }
  3645. }, { "style": { "height": "36px" } }).form; //創建窗體
  3646. _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); } }
  3647. break;
  3648. case "note":
  3649. _formdiv = new U.UF.UI.form(
  3650. "便簽分類",
  3651. $$("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 }), {
  3652. "id": "note",
  3653. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3654. "onresize": function () { }
  3655. }, {
  3656. closecallback: function () { }
  3657. }, { "style": { "height": "36px" } }).form; //創建窗體
  3658. _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); } }
  3659. break;
  3660. // case "score":
  3661. // _formdiv = new U.UF.UI.form(
  3662. // "量規評分",
  3663. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3664. // "id": "score",
  3665. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3666. // "onresize": function() {}
  3667. // }, {
  3668. // closecallback: function() {}
  3669. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3670. // _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); } }
  3671. // break;
  3672. case "mind":
  3673. _formdiv = new U.UF.UI.form(
  3674. "思維導圖",
  3675. $$("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"
  3676. "id": "mind",
  3677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3678. "onresize": function () { }
  3679. }, {
  3680. closecallback: function () { }
  3681. }, { "style": { "height": "36px" } }).form; //創建窗體
  3682. _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); } }
  3683. break;
  3684. case "doc":
  3685. // U.MD.D.I.isRoom();
  3686. _formdiv = new U.UF.UI.form(
  3687. "協同文檔",
  3688. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3689. "id": "doc",
  3690. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3691. "onresize": function () { }
  3692. }, {
  3693. closecallback: function () { }
  3694. }, { "style": { "height": "36px" } }).form; //創建窗體
  3695. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3696. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3697. })
  3698. _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); } }
  3699. break;
  3700. case "study":
  3701. _formdiv = new U.UF.UI.form(
  3702. "課程中心",
  3703. $$("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
  3704. "id": "study",
  3705. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3706. "onresize": function () { }
  3707. }, {
  3708. closecallback: function () { }
  3709. }, { "style": { "height": "36px" } }).form; //創建窗體
  3710. _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); } }
  3711. break;
  3712. case "mindNetwork": //好友打開
  3713. _formdiv = new U.UF.UI.form(
  3714. "思維網格",
  3715. $$("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 }), {
  3716. "id": "mindNetwork",
  3717. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3718. "onresize": function () { }
  3719. }, {
  3720. closecallback: function () { }
  3721. }, { "style": { "height": "36px" } }).form; //創建窗體
  3722. _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); } }
  3723. break;
  3724. case "train": //好友打開
  3725. _formdiv = new U.UF.UI.form(
  3726. "訓練平臺",
  3727. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3728. "id": "mindNetwork",
  3729. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3730. "onresize": function () { }
  3731. }, {
  3732. closecallback: function () { }
  3733. }, { "style": { "height": "36px" } }).form; //創建窗體
  3734. _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); } }
  3735. break;
  3736. case "teacherClassRoom": //好友打開
  3737. _formdiv = new U.UF.UI.form(
  3738. "實時課堂",
  3739. $$("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 }), {
  3740. "id": "teacherClassRoom",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function () { }
  3743. }, {
  3744. closecallback: function () { }
  3745. }, { "style": { "height": "36px" } }).form; //創建窗體
  3746. _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); } }
  3747. setTimeout(() => {
  3748. U.UF.F.windowZooming(_formdiv)
  3749. }, 0);
  3750. break;
  3751. }
  3752. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3753. switch (str) {
  3754. case "project": //好友打開
  3755. _formdiv = new U.UF.UI.form(
  3756. "課程管理",
  3757. $$("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 }), {
  3758. "id": "project",
  3759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3760. "onresize": function () { }
  3761. }, {
  3762. closecallback: function () { }
  3763. }, { "style": { "height": "36px" } }).form; //創建窗體
  3764. _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); } }
  3765. break;
  3766. case "evaluate":
  3767. _formdiv = new U.UF.UI.form(
  3768. "學生評價",
  3769. $$("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 }), {
  3770. "id": "evaluate",
  3771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3772. "onresize": function () { }
  3773. }, {
  3774. closecallback: function () { }
  3775. }, { "style": { "height": "36px" } }).form; //創建窗體
  3776. _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); } }
  3777. break;
  3778. case "notice":
  3779. _formdiv = new U.UF.UI.form(
  3780. "通知公告",
  3781. $$("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 }), {
  3782. "id": "notice",
  3783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3784. "onresize": function () { }
  3785. }, {
  3786. closecallback: function () { }
  3787. }, { "style": { "height": "36px" } }).form; //創建窗體
  3788. _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); } }
  3789. break;
  3790. case "stuLibrary":
  3791. _formdiv = new U.UF.UI.form(
  3792. "學習資料",
  3793. $$("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 }), {
  3794. "id": "stuLibrary",
  3795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3796. "onresize": function () { }
  3797. }, {
  3798. closecallback: function () { }
  3799. }, { "style": { "height": "36px" } }).form; //創建窗體
  3800. _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); } }
  3801. break;
  3802. case "program":
  3803. _formdiv = new U.UF.UI.form(
  3804. "編程平臺",
  3805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3806. "id": "program",
  3807. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3808. "onresize": function () { }
  3809. }, {
  3810. closecallback: function () { }
  3811. }, { "style": { "height": "36px" } }).form; //創建窗體
  3812. _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); } }
  3813. break;
  3814. case "whiteboard":
  3815. _formdiv = new U.UF.UI.form(
  3816. "電子白板",
  3817. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3818. "id": "whiteboard",
  3819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3820. "onresize": function () { }
  3821. }, {
  3822. closecallback: function () { }
  3823. }, { "style": { "height": "36px" } }).form; //創建窗體
  3824. _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); } }
  3825. break;
  3826. case "investigation":
  3827. _formdiv = new U.UF.UI.form(
  3828. "問卷調查",
  3829. $$("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 }), {
  3830. "id": "investigation",
  3831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3832. "onresize": function () { }
  3833. }, {
  3834. closecallback: function () { }
  3835. }, { "style": { "height": "36px" } }).form; //創建窗體
  3836. _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); } }
  3837. break;
  3838. case "mind":
  3839. _formdiv = new U.UF.UI.form(
  3840. "思維導圖",
  3841. $$("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"
  3842. "id": "mind",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function () { }
  3845. }, {
  3846. closecallback: function () { }
  3847. }, { "style": { "height": "36px" } }).form; //創建窗體
  3848. _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); } }
  3849. break;
  3850. case "doc":
  3851. // U.MD.D.I.isRoom();
  3852. _formdiv = new U.UF.UI.form(
  3853. "協同文檔",
  3854. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3855. "id": "doc",
  3856. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3857. "onresize": function () { }
  3858. }, {
  3859. closecallback: function () { }
  3860. }, { "style": { "height": "36px" } }).form; //創建窗體
  3861. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3862. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3863. })
  3864. _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); } }
  3865. break;
  3866. case "study":
  3867. _formdiv = new U.UF.UI.form(
  3868. "課程中心",
  3869. $$("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
  3870. "id": "study",
  3871. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3872. "onresize": function () { }
  3873. }, {
  3874. closecallback: function () { }
  3875. }, { "style": { "height": "36px" } }).form; //創建窗體
  3876. _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); } }
  3877. break;
  3878. case "mindNetwork": //好友打開
  3879. _formdiv = new U.UF.UI.form(
  3880. "思維網格",
  3881. $$("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 }), {
  3882. "id": "mindNetwork",
  3883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3884. "onresize": function () { }
  3885. }, {
  3886. closecallback: function () { }
  3887. }, { "style": { "height": "36px" } }).form; //創建窗體
  3888. _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); } }
  3889. break;
  3890. case "train": //好友打開
  3891. _formdiv = new U.UF.UI.form(
  3892. "訓練平臺",
  3893. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3894. "id": "train",
  3895. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3896. "onresize": function () { }
  3897. }, {
  3898. closecallback: function () { }
  3899. }, { "style": { "height": "36px" } }).form; //創建窗體
  3900. _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); } }
  3901. break;
  3902. case "sys":
  3903. _formdiv = new U.UF.UI.form(
  3904. "目標管理",
  3905. $$("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 }), {
  3906. "id": "sys",
  3907. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3908. "onresize": function () { }
  3909. }, {
  3910. closecallback: function () { }
  3911. }, { "style": { "height": "36px" } }).form; //創建窗體
  3912. _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); } }
  3913. break;
  3914. case "courseDesign":
  3915. _formdiv = new U.UF.UI.form(
  3916. "項目設計",
  3917. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3918. "id": "courseDesign",
  3919. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3920. "onresize": function () { }
  3921. }, {
  3922. closecallback: function () { }
  3923. }, { "style": { "height": "36px" } }).form; //創建窗體
  3924. _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); } }
  3925. break;
  3926. }
  3927. } else if (!_type) {
  3928. switch (str) {
  3929. case "my":
  3930. _formdiv = new U.UF.UI.form(
  3931. "我的資料",
  3932. $$("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 }), {
  3933. "id": "my",
  3934. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3935. "onresize": function () { }
  3936. }, {
  3937. closecallback: function () { }
  3938. }, { "style": { "height": "36px" } }).form; //創建窗體
  3939. _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); } }
  3940. break;
  3941. }
  3942. }
  3943. switch (str) {
  3944. // AIprogram2 AI體驗 aihub.cocorobo.cn
  3945. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  3946. // AIprogram AI編程 ai-blockly.cocorobo.cn
  3947. case "formulaEdi": //公式編輯
  3948. _formdiv = new U.UF.UI.form(
  3949. "公式編輯",
  3950. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3951. "id": "formulaEdi",
  3952. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3953. "onresize": function () { }
  3954. }, {
  3955. closecallback: function () { }
  3956. }, { "style": { "height": "36px" } }).form; //創建窗體
  3957. _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); } }
  3958. break;
  3959. case "molStr": //分子結構
  3960. _formdiv = new U.UF.UI.form(
  3961. "分子結構",
  3962. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3963. "id": "molStr",
  3964. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3965. "onresize": function () { }
  3966. }, {
  3967. closecallback: function () { }
  3968. }, { "style": { "height": "36px" } }).form; //創建窗體
  3969. _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); } }
  3970. break;
  3971. case "timeAxis": //時間軸
  3972. _formdiv = new U.UF.UI.form(
  3973. "時間軸",
  3974. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3975. "id": "timeAxis",
  3976. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3977. "onresize": function () { }
  3978. }, {
  3979. closecallback: function () { }
  3980. }, { "style": { "height": "36px" } }).form; //創建窗體
  3981. _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); } }
  3982. break;
  3983. case "AIprogram2": //AI體驗
  3984. _formdiv = new U.UF.UI.form(
  3985. "AI體驗",
  3986. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3987. "id": "AIprogram2",
  3988. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3989. "onresize": function () { }
  3990. }, {
  3991. closecallback: function () { }
  3992. }, { "style": { "height": "36px" } }).form; //創建窗體
  3993. _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); } }
  3994. break;
  3995. case "Pythonprogram": //python編程
  3996. _formdiv = new U.UF.UI.form(
  3997. "Python編程",
  3998. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3999. "id": "Pythonprogram",
  4000. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4001. "onresize": function () { }
  4002. }, {
  4003. closecallback: function () { }
  4004. }, { "style": { "height": "36px" } }).form; //創建窗體
  4005. _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); } }
  4006. break;
  4007. case "AIprogram": //ai編程
  4008. _formdiv = new U.UF.UI.form(
  4009. "AI編程平臺",
  4010. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4011. "id": "AIprogram",
  4012. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4013. "onresize": function () { }
  4014. }, {
  4015. closecallback: function () { }
  4016. }, { "style": { "height": "36px" } }).form; //創建窗體
  4017. _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); } }
  4018. break;
  4019. case "CocoPi": //CocoPi
  4020. _formdiv = new U.UF.UI.form(
  4021. "CocoPi",
  4022. $$("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" }), {
  4023. "id": "CocoPi",
  4024. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4025. "onresize": function () { }
  4026. }, {
  4027. closecallback: function () { }
  4028. }, { "style": { "height": "36px" } }).form; //創建窗體
  4029. _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); } }
  4030. break;
  4031. case "Wood": //Wood
  4032. _formdiv = new U.UF.UI.form(
  4033. "海龜編程",
  4034. $$("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/" }), {
  4035. "id": "Wood",
  4036. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4037. "onresize": function () { }
  4038. }, {
  4039. closecallback: function () { }
  4040. }, { "style": { "height": "36px" } }).form; //創建窗體
  4041. _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); } }
  4042. break;
  4043. case "car": //模擬駕駛
  4044. _formdiv = new U.UF.UI.form(
  4045. "模擬駕駛",
  4046. $$("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/" }), {
  4047. "id": "car",
  4048. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4049. "onresize": function () { }
  4050. }, {
  4051. closecallback: function () { }
  4052. }, { "style": { "height": "36px" } }).form; //創建窗體
  4053. _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); } }
  4054. break;
  4055. case "lineSearch": //路徑搜索
  4056. _formdiv = new U.UF.UI.form(
  4057. "路徑搜索",
  4058. $$("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/" }), {
  4059. "id": "lineSearch",
  4060. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4061. "onresize": function () { }
  4062. }, {
  4063. closecallback: function () { }
  4064. }, { "style": { "height": "36px" } }).form; //創建窗體
  4065. _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); } }
  4066. break;
  4067. case "deepLearning": //深度學習
  4068. _formdiv = new U.UF.UI.form(
  4069. "深度學習",
  4070. $$("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/#" }), {
  4071. "id": "deepLearning",
  4072. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4073. "onresize": function () { }
  4074. }, {
  4075. closecallback: function () { }
  4076. }, { "style": { "height": "36px" } }).form; //創建窗體
  4077. _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); } }
  4078. break;
  4079. case "allHistory": //深度學習
  4080. _formdiv = new U.UF.UI.form(
  4081. "全歷史",
  4082. $$("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/" }), {
  4083. "id": "allHistory",
  4084. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4085. "onresize": function () { }
  4086. }, {
  4087. closecallback: function () { }
  4088. }, { "style": { "height": "36px" } }).form; //創建窗體
  4089. _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); } }
  4090. break;
  4091. case "chatPDF": //ai編程
  4092. _formdiv = new U.UF.UI.form(
  4093. "chatPDF",
  4094. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4095. "id": "chatPDF",
  4096. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4097. "onresize": function () { }
  4098. }, {
  4099. closecallback: function () { }
  4100. }, { "style": { "height": "36px" } }).form; //創建窗體
  4101. _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); } }
  4102. break;
  4103. case "resources": //國家教育
  4104. _formdiv = new U.UF.UI.form(
  4105. "國家教育",
  4106. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4107. "id": "resources",
  4108. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4109. "onresize": function () { }
  4110. }, {
  4111. closecallback: function () { }
  4112. }, { "style": { "height": "36px" } }).form; //創建窗體
  4113. _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); } }
  4114. break;
  4115. case "codeEdit": //源碼編輯
  4116. _formdiv = new U.UF.UI.form(
  4117. "源碼編輯",
  4118. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4119. "id": "codeEdit",
  4120. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4121. "onresize": function () { }
  4122. }, {
  4123. closecallback: function () { }
  4124. }, { "style": { "height": "36px" } }).form; //創建窗體
  4125. _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); } }
  4126. break; //
  4127. case "MindMap": //MindMap
  4128. _formdiv = new U.UF.UI.form(
  4129. "MindMap",
  4130. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4131. "id": "MindMap",
  4132. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4133. "onresize": function () { }
  4134. }, {
  4135. closecallback: function () { }
  4136. }, { "style": { "height": "36px" } }).form; //創建窗體
  4137. _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); } }
  4138. break;
  4139. case "netWorkPanel": //netWorkPanel
  4140. _formdiv = new U.UF.UI.form(
  4141. "netWorkPanel",
  4142. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4143. "id": "netWorkPanel",
  4144. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4145. "onresize": function () { }
  4146. }, {
  4147. closecallback: function () { }
  4148. }, { "style": { "height": "36px" } }).form; //創建窗體
  4149. _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); } }
  4150. break;
  4151. case "GeoGebra": //GeoGebra
  4152. _formdiv = new U.UF.UI.form(
  4153. "GeoGebra",
  4154. $$("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" }), {
  4155. "id": "GeoGebra",
  4156. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4157. "onresize": function () { }
  4158. }, {
  4159. closecallback: function () { }
  4160. }, { "style": { "height": "36px" } }).form; //創建窗體
  4161. _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); } }
  4162. break;
  4163. case "translation": //翻譯
  4164. _formdiv = new U.UF.UI.form(
  4165. "翻譯",
  4166. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4167. "id": "translation",
  4168. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4169. "onresize": function () { }
  4170. }, {
  4171. closecallback: function () { }
  4172. }, { "style": { "height": "36px" } }).form; //創建窗體
  4173. _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); } }
  4174. break;
  4175. case "mohe": //魔盒
  4176. _formdiv = new U.UF.UI.form(
  4177. "魔盒識字",
  4178. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4179. "id": "mohe",
  4180. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4181. "onresize": function () { }
  4182. }, {
  4183. closecallback: function () { }
  4184. }, { "style": { "height": "36px" } }).form; //創建窗體
  4185. _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); } }
  4186. break;
  4187. case "24game": //24點
  4188. _formdiv = new U.UF.UI.form(
  4189. "24點",
  4190. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4191. "id": "24game",
  4192. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4193. "onresize": function () { }
  4194. }, {
  4195. closecallback: function () { }
  4196. }, { "style": { "height": "36px" } }).form; //創建窗體
  4197. _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); } }
  4198. break;
  4199. case "case":
  4200. _formdiv = new U.UF.UI.form(
  4201. "課程進展",
  4202. $$("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 }), {
  4203. "id": "case",
  4204. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4205. "onresize": function () { }
  4206. }, {
  4207. closecallback: function () { }
  4208. }, { "style": { "height": "36px" } }).form; //創建窗體
  4209. _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); } }
  4210. break;
  4211. case "snf":
  4212. _formdiv = new U.UF.UI.form(
  4213. "賽諾梵",
  4214. $$("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" }), {
  4215. "id": "snf",
  4216. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4217. "onresize": function () { }
  4218. }, {
  4219. closecallback: function () { }
  4220. }, { "style": { "height": "36px" } }).form; //創建窗體
  4221. _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); } }
  4222. break;
  4223. case "hanFamily":
  4224. _formdiv = new U.UF.UI.form(
  4225. "漢字家族",
  4226. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4227. "id": "hanFamily",
  4228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4229. "onresize": function () { }
  4230. }, {
  4231. closecallback: function () { }
  4232. }, { "style": { "height": "36px" } }).form; //創建窗體
  4233. _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); } }
  4234. break;
  4235. case "hanClassics":
  4236. _formdiv = new U.UF.UI.form(
  4237. "國學經典",
  4238. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4239. "id": "hanClassics",
  4240. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4241. "onresize": function () { }
  4242. }, {
  4243. closecallback: function () { }
  4244. }, { "style": { "height": "36px" } }).form; //創建窗體
  4245. _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); } }
  4246. break;
  4247. case "hanTraining":
  4248. _formdiv = new U.UF.UI.form(
  4249. "筆畫訓練",
  4250. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4251. "id": "hanTraining",
  4252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4253. "onresize": function () { }
  4254. }, {
  4255. closecallback: function () { }
  4256. }, { "style": { "height": "36px" } }).form; //創建窗體
  4257. _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); } }
  4258. break;
  4259. case "hanClass":
  4260. _formdiv = new U.UF.UI.form(
  4261. "書法課堂",
  4262. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4263. "id": "hanClass",
  4264. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4265. "onresize": function () { }
  4266. }, {
  4267. closecallback: function () { }
  4268. }, { "style": { "height": "36px" } }).form; //創建窗體
  4269. _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); } }
  4270. break;
  4271. case "han":
  4272. _formdiv = new U.UF.UI.form(
  4273. "漢字宮",
  4274. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4275. "id": "han",
  4276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4277. "onresize": function () { }
  4278. }, {
  4279. closecallback: function () { }
  4280. }, { "style": { "height": "36px" } }).form; //創建窗體
  4281. _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); } }
  4282. break;
  4283. case "projectGM": //課程管理
  4284. _formdiv = new U.UF.UI.form(
  4285. "課程管理",
  4286. $$("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 }), {
  4287. "id": "projectGM",
  4288. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4289. "onresize": function () { }
  4290. }, {
  4291. closecallback: function () { }
  4292. }, { "style": { "height": "36px" } }).form; //創建窗體
  4293. _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); } }
  4294. break;
  4295. case "studyGM": //課程中心
  4296. _formdiv = new U.UF.UI.form(
  4297. "課程中心",
  4298. $$("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
  4299. "id": "study",
  4300. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4301. "onresize": function () { }
  4302. }, {
  4303. closecallback: function () { }
  4304. }, { "style": { "height": "36px" } }).form; //創建窗體
  4305. _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); } }
  4306. break;
  4307. // studentGM
  4308. case "studentGM": //學生管理
  4309. _formdiv = new U.UF.UI.form(
  4310. "學生管理",
  4311. $$("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 }), {
  4312. "id": "studentGM",
  4313. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4314. "onresize": function () { }
  4315. }, {
  4316. closecallback: function () { }
  4317. }, { "style": { "height": "36px" } }).form; //創建窗體
  4318. _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); } }
  4319. break;
  4320. case "evaluateGM": //學生評價
  4321. _formdiv = new U.UF.UI.form(
  4322. "學生評價",
  4323. $$("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 }), {
  4324. "id": "evaluateGM",
  4325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4326. "onresize": function () { }
  4327. }, {
  4328. closecallback: function () { }
  4329. }, { "style": { "height": "36px" } }).form; //創建窗體
  4330. _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); } }
  4331. break;
  4332. // classGM
  4333. case "classGM": //班級管理
  4334. _formdiv = new U.UF.UI.form(
  4335. "班級管理",
  4336. $$("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 }), {
  4337. "id": "classGM",
  4338. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4339. "onresize": function () { }
  4340. }, {
  4341. closecallback: function () { }
  4342. }, { "style": { "height": "36px" } }).form; //創建窗體
  4343. _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); } }
  4344. break;
  4345. // dataGM
  4346. case "dataGM":
  4347. _formdiv = new U.UF.UI.form(
  4348. "我的資料",
  4349. $$("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 }), {
  4350. "id": "dataGM",
  4351. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4352. "onresize": function () { }
  4353. }, {
  4354. closecallback: function () { }
  4355. }, { "style": { "height": "36px" } }).form; //創建窗體
  4356. _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); } }
  4357. break;
  4358. // caseGM
  4359. case "caseGM": //課程進展
  4360. _formdiv = new U.UF.UI.form(
  4361. "課程進展",
  4362. $$("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 }), {
  4363. "id": "caseGM",
  4364. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4365. "onresize": function () { }
  4366. }, {
  4367. closecallback: function () { }
  4368. }, { "style": { "height": "36px" } }).form; //創建窗體
  4369. _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); } }
  4370. break;
  4371. // meterialGM
  4372. case "meterialGM": //素材庫
  4373. _formdiv = new U.UF.UI.form(
  4374. "素材庫",
  4375. $$("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 }), {
  4376. "id": "meterialGM",
  4377. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4378. "onresize": function () { }
  4379. }, {
  4380. closecallback: function () { }
  4381. }, { "style": { "height": "36px" } }).form; //創建窗體
  4382. _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); } }
  4383. break;
  4384. // evaluateSGM
  4385. case "evaluateSGM": //我的評價
  4386. _formdiv = new U.UF.UI.form(
  4387. "我的評價",
  4388. $$("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 }), {
  4389. "id": "evaluateSGM",
  4390. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4391. "onresize": function () { }
  4392. }, {
  4393. closecallback: function () { }
  4394. }, { "style": { "height": "36px" } }).form; //創建窗體
  4395. _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); } }
  4396. break;
  4397. case "jupyter": //jupyter
  4398. _formdiv = new U.UF.UI.form(
  4399. "jupyter",
  4400. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4401. "id": "jupyter",
  4402. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4403. "onresize": function () { }
  4404. }, {
  4405. closecallback: function () { }
  4406. }, { "style": { "height": "36px" } }).form; //創建窗體
  4407. _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); } }
  4408. break;
  4409. case "number": //數字實驗室
  4410. _formdiv = new U.UF.UI.form(
  4411. "數字實驗室",
  4412. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4413. "id": "number",
  4414. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4415. "onresize": function () { }
  4416. }, {
  4417. closecallback: function () { }
  4418. }, { "style": { "height": "36px" } }).form; //創建窗體
  4419. _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); } }
  4420. break;
  4421. case "studentCourse": //項目管理 學生
  4422. _formdiv = new U.UF.UI.form(
  4423. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4424. $$("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 }), {
  4425. "id": "studentCourse",
  4426. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4427. "onresize": function () { }
  4428. }, {
  4429. closecallback: function () { }
  4430. }, { "style": { "height": "36px" } }).form; //創建窗體
  4431. _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); } }
  4432. break;
  4433. case "studentCourseS": //項目管理 老師
  4434. _formdiv = new U.UF.UI.form(
  4435. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4436. $$("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 }), {
  4437. "id": "studentCourseS",
  4438. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4439. "onresize": function () { }
  4440. }, {
  4441. closecallback: function () { }
  4442. }, { "style": { "height": "36px" } }).form; //創建窗體
  4443. _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); } }
  4444. break;
  4445. case "studentIndex": //項目中心
  4446. _formdiv = new U.UF.UI.form(
  4447. "項目中心",
  4448. $$("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 }), {
  4449. "id": "studentIndex",
  4450. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4451. "onresize": function () { }
  4452. }, {
  4453. closecallback: function () { }
  4454. }, { "style": { "height": "36px" } }).form; //創建窗體
  4455. _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); } }
  4456. break;
  4457. case "CaseDesignS":
  4458. _formdiv = new U.UF.UI.form(
  4459. "項目進展",
  4460. $$("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 }), {
  4461. "id": "case",
  4462. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4463. "onresize": function () { }
  4464. }, {
  4465. closecallback: function () { }
  4466. }, { "style": { "height": "36px" } }).form; //創建窗體
  4467. _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); } }
  4468. break;
  4469. case "tcStudent": //騰訊學生管理
  4470. _formdiv = new U.UF.UI.form(
  4471. "學生管理",
  4472. $$("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 }), {
  4473. "id": "tcStudent",
  4474. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4475. "onresize": function () { }
  4476. }, {
  4477. closecallback: function () { }
  4478. }, { "style": { "height": "36px" } }).form; //創建窗體
  4479. _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); } }
  4480. break;
  4481. case "tcSchool": //騰訊學校管理
  4482. _formdiv = new U.UF.UI.form(
  4483. "學校管理",
  4484. $$("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 }), {
  4485. "id": "tcSchool",
  4486. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4487. "onresize": function () { }
  4488. }, {
  4489. closecallback: function () { }
  4490. }, { "style": { "height": "36px" } }).form; //創建窗體
  4491. _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); } }
  4492. break;
  4493. case "tcTeacher": //騰訊學校管理
  4494. _formdiv = new U.UF.UI.form(
  4495. "教師管理",
  4496. $$("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 }), {
  4497. "id": "tcTeacher",
  4498. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4499. "onresize": function () { }
  4500. }, {
  4501. closecallback: function () { }
  4502. }, { "style": { "height": "36px" } }).form; //創建窗體
  4503. _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); } }
  4504. break;
  4505. case "tcData": //騰訊我的資料
  4506. _formdiv = new U.UF.UI.form(
  4507. "我的資料",
  4508. $$("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 }), {
  4509. "id": "tcData",
  4510. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4511. "onresize": function () { }
  4512. }, {
  4513. closecallback: function () { }
  4514. }, { "style": { "height": "36px" } }).form; //創建窗體
  4515. _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); } }
  4516. break;
  4517. case "tcNotice": //騰訊消息通知
  4518. _formdiv = new U.UF.UI.form(
  4519. "消息通知",
  4520. $$("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 }), {
  4521. "id": "tcNotice",
  4522. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4523. "onresize": function () { }
  4524. }, {
  4525. closecallback: function () { }
  4526. }, { "style": { "height": "36px" } }).form; //創建窗體
  4527. _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); } }
  4528. break;
  4529. case "myReport": //好友打開
  4530. _formdiv = new U.UF.UI.form(
  4531. "我的評價",
  4532. $$("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 }), {
  4533. "id": "myReport",
  4534. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4535. "onresize": function () { }
  4536. }, {
  4537. closecallback: function () { }
  4538. }, { "style": { "height": "36px" } }).form; //創建窗體
  4539. _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); } }
  4540. break;
  4541. case "learnAna": //好友打開
  4542. _formdiv = new U.UF.UI.form(
  4543. "學習分析",
  4544. $$("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 }), {
  4545. "id": "learnAna",
  4546. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4547. "onresize": function () { }
  4548. }, {
  4549. closecallback: function () { }
  4550. }, { "style": { "height": "36px" } }).form; //創建窗體
  4551. _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); } }
  4552. break;
  4553. case "AIChat": //AI共創
  4554. _formdiv = new U.UF.UI.form(
  4555. "AI共創",
  4556. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  4557. "id": "AIChat",
  4558. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4559. "onresize": function () { }
  4560. }, {
  4561. istop: true,
  4562. closecallback: function () { $("#aichat_icon").remove(); },
  4563. narrowcallback: function () {
  4564. if (!$("#aichat_icon")[0]) {
  4565. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4566. }
  4567. },
  4568. }, { "style": { "height": "36px" } }).form; //創建窗體
  4569. _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); } }
  4570. break;
  4571. case "ainew": //AI共創
  4572. _formdiv = new U.UF.UI.form(
  4573. "AI協同",
  4574. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  4575. "id": "ainew",
  4576. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4577. "onresize": function () { }
  4578. }, {
  4579. closecallback: function () { }
  4580. }, { "style": { "height": "36px" } }).form; //創建窗體
  4581. _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); } }
  4582. break;
  4583. case "gpt4": //gpt4
  4584. _formdiv = new U.UF.UI.form(
  4585. "AI助手",
  4586. $$("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 }), {
  4587. "id": "gpt4",
  4588. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4589. "onresize": function () { }
  4590. }, {
  4591. closecallback: function () { }
  4592. }, { "style": { "height": "36px" } }).form; //創建窗體
  4593. _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); } }
  4594. break;
  4595. case "aigpt": //gpt4
  4596. _formdiv = new U.UF.UI.form(
  4597. "AI助手+",
  4598. $$("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/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4599. "id": "aigpt",
  4600. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4601. "onresize": function () { }
  4602. }, {
  4603. closecallback: function () { }
  4604. }, { "style": { "height": "36px" } }).form; //創建窗體
  4605. _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); } }
  4606. break;
  4607. case "futureClass": //AI共創
  4608. _formdiv = new U.UF.UI.form(
  4609. "協同建構",
  4610. $$("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
  4611. "id": "synergyCourse",
  4612. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4613. "onresize": function () { }
  4614. }, {
  4615. closecallback: function () {
  4616. $("iframe", _formdiv)[0].contentWindow.loginout();
  4617. }
  4618. }, { "style": { "height": "36px" } }).form; //創建窗體
  4619. _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); } }
  4620. break;
  4621. case "aiagent": //ai agent
  4622. _formdiv = new U.UF.UI.form(
  4623. "AI Agent",
  4624. $$("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" }), {
  4625. "id": "AIAgent",
  4626. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4627. "onresize": function () { }
  4628. }, {
  4629. closecallback: function () { }
  4630. }, { "style": { "height": "36px" } }).form; //創建窗體
  4631. _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); } }
  4632. break;
  4633. case "dataBoard": //數據看板
  4634. _formdiv = new U.UF.UI.form(
  4635. "數據看板",
  4636. $$("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 }), {
  4637. "id": "dataBoard",
  4638. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4639. "onresize": function () { }
  4640. }, {
  4641. closecallback: function () { }
  4642. }, { "style": { "height": "36px" } }).form; //創建窗體
  4643. _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); } }
  4644. break;
  4645. case "dataBoardSies": //數據融合
  4646. _formdiv = new U.UF.UI.form(
  4647. "數據融合",
  4648. $$("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 }), {
  4649. "id": "dataBoardSies",
  4650. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4651. "onresize": function () { }
  4652. }, {
  4653. closecallback: function () { }
  4654. }, { "style": { "height": "36px" } }).form; //創建窗體
  4655. _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); } }
  4656. break;
  4657. case "dataBoardNew": //數據看板
  4658. _formdiv = new U.UF.UI.form(
  4659. "綜合看板",
  4660. $$("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 }), {
  4661. "id": "dataBoardNew",
  4662. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4663. "onresize": function () { }
  4664. }, {
  4665. closecallback: function () { }
  4666. }, { "style": { "height": "36px" } }).form; //創建窗體
  4667. _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); } }
  4668. break;
  4669. case "dataBoardTest": //數據看板
  4670. _formdiv = new U.UF.UI.form(
  4671. "評測看板",
  4672. $$("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 }), {
  4673. "id": "dataBoardTest",
  4674. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4675. "onresize": function () { }
  4676. }, {
  4677. closecallback: function () { }
  4678. }, { "style": { "height": "36px" } }).form; //創建窗體
  4679. _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); } }
  4680. break;
  4681. case "AIAnalyse": //AI共創
  4682. _formdiv = new U.UF.UI.form(
  4683. "AI分析",
  4684. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  4685. "id": "AIAnalyse",
  4686. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4687. "onresize": function () { }
  4688. }, {
  4689. closecallback: function () { }
  4690. }, { "style": { "height": "36px" } }).form; //創建窗體
  4691. _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); } }
  4692. break;
  4693. case "studioCourse": //AI共創
  4694. _formdiv = new U.UF.UI.form(
  4695. "工作管理",
  4696. $$("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 }), {
  4697. "id": "studioCourse",
  4698. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4699. "onresize": function () { }
  4700. }, {
  4701. closecallback: function () { }
  4702. }, { "style": { "height": "36px" } }).form; //創建窗體
  4703. _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); } }
  4704. break;
  4705. case "studioIndex": //AI共創
  4706. _formdiv = new U.UF.UI.form(
  4707. "工作中心",
  4708. $$("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 }), {
  4709. "id": "studioIndex",
  4710. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4711. "onresize": function () { }
  4712. }, {
  4713. closecallback: function () { }
  4714. }, { "style": { "height": "36px" } }).form; //創建窗體
  4715. _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); } }
  4716. break;
  4717. case "source":
  4718. _formdiv = new U.UF.UI.form(
  4719. "教學資源",
  4720. $$("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 }), {
  4721. "id": "source",
  4722. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4723. "onresize": function () { }
  4724. }, {
  4725. closecallback: function () { }
  4726. }, { "style": { "height": "36px" } }).form; //創建窗體
  4727. _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); } }
  4728. break;
  4729. case "testTeacher":
  4730. _formdiv = new U.UF.UI.form(
  4731. "評測管理",
  4732. $$("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 }), {
  4733. "id": "testTeacher",
  4734. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4735. "onresize": function () { }
  4736. }, {
  4737. closecallback: function () { }
  4738. }, { "style": { "height": "36px" } }).form; //創建窗體
  4739. _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); } }
  4740. break;
  4741. case "testStudent":
  4742. _formdiv = new U.UF.UI.form(
  4743. "評測中心",
  4744. $$("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 }), {
  4745. "id": "testStudent",
  4746. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4747. "onresize": function () { }
  4748. }, {
  4749. closecallback: function () { }
  4750. }, { "style": { "height": "36px" } }).form; //創建窗體
  4751. _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); } }
  4752. break;
  4753. case "testTeacherSies":
  4754. _formdiv = new U.UF.UI.form(
  4755. "教師管理",
  4756. $$("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 }), {
  4757. "id": "testTeacherSies",
  4758. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4759. "onresize": function () { }
  4760. }, {
  4761. closecallback: function () { }
  4762. }, { "style": { "height": "36px" } }).form; //創建窗體
  4763. _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); } }
  4764. break;
  4765. case "testStudentSies":
  4766. _formdiv = new U.UF.UI.form(
  4767. "教師中心",
  4768. $$("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 }), {
  4769. "id": "testStudentSies",
  4770. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4771. "onresize": function () { }
  4772. }, {
  4773. closecallback: function () { }
  4774. }, { "style": { "height": "36px" } }).form; //創建窗體
  4775. _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); } }
  4776. break;
  4777. case "ytpbl": //消息通知
  4778. _formdiv = new U.UF.UI.form(
  4779. "案例征集",
  4780. $$("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 }), {
  4781. "id": "ytpbl",
  4782. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4783. "onresize": function () { }
  4784. }, {
  4785. closecallback: function () { }
  4786. }, { "style": { "height": "36px" } }).form; //創建窗體
  4787. _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); } }
  4788. // 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");
  4789. break;
  4790. }
  4791. //U.MD.D.I.openClick(str);
  4792. //如果有任務欄信息
  4793. if (_taskbar) {
  4794. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  4795. }
  4796. }
  4797. // U.MD.D.I.openClick = function(str){
  4798. // var click = '';
  4799. // switch(str){
  4800. // case 'friend':
  4801. // click = '我的好友';
  4802. // break;
  4803. // case 'domain':
  4804. // click = '域名管理';
  4805. // break;
  4806. // case 'disk':
  4807. // click = '我的雲盤';
  4808. // break;
  4809. // case 'word':
  4810. // click = 'Word';
  4811. // break;
  4812. // case 'excel':
  4813. // click = 'Execl';
  4814. // break;
  4815. // case 'txt':
  4816. // click = '文本文件';
  4817. // break;
  4818. // case 'lookupFriend':
  4819. // click = '查找好友';
  4820. // break;
  4821. // case 'ftp':
  4822. // click = 'FTP';
  4823. // break;
  4824. // case 'group':
  4825. // click = '群組';
  4826. // break;
  4827. // case 'set':
  4828. // click = '我的設置';
  4829. // break;
  4830. // case 'systemSet':
  4831. // click = '系統設置';
  4832. // break;
  4833. // case 'boomYun':
  4834. // click = '互聯辦公';
  4835. // break;
  4836. // case 'xz':
  4837. // click = '雲端下載';
  4838. // break;
  4839. // case 'client':
  4840. // click = '有思瀏覽器';
  4841. // break;
  4842. // case 'backEndProgramming':
  4843. // click = '在線後臺編程';
  4844. // break;
  4845. // case 'frontEndProgramming':
  4846. // click = '在線前端編程';
  4847. // break;
  4848. // default: break;
  4849. // }
  4850. // if(U.MD.D.I.Ip && click){
  4851. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4852. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4853. // })
  4854. // }
  4855. // }
  4856. /**
  4857. *函數作用:ajax簡易函數,使用post格式
  4858. *@param url {data} 後臺地址
  4859. *@param data {data} 參數json
  4860. *@param fn {data} 回調函數
  4861. *
  4862. */
  4863. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4864. // var xhr = new XMLHttpRequest();
  4865. // xhr.open("GET",url,true);
  4866. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4867. // xhr.onreadystatechange = function(){
  4868. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4869. // fn.call(this,xhr.responseText);
  4870. // }
  4871. // };
  4872. // xhr.send();
  4873. // }
  4874. /*判斷是否是內網IP*/
  4875. // U.MD.D.I.isInnerIPFn = function(str){
  4876. // var curPageUrl = str;
  4877. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  4878. // curPageUrl =curPageUrl.replace(reg1,'');
  4879. // // console.log('curPageUrl-1 '+curPageUrl);
  4880. // var reg2 = /\:+/g;//替換冒號為一點
  4881. // curPageUrl =curPageUrl.replace(reg2,'.');
  4882. // // console.log('curPageUrl-2 '+curPageUrl);
  4883. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  4884. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4885. // if(curPageUrl[2] != '16'){
  4886. // return ipAddress;
  4887. // }else{
  4888. // return false;
  4889. // }
  4890. // }
  4891. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4892. // //compatibility for firefox and chrome
  4893. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4894. // var pc = new myPeerConnection({
  4895. // iceServers: []
  4896. // }),
  4897. // noop = function() {},
  4898. // localIPs = {},
  4899. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4900. // key;
  4901. // function iterateIP(ip) {
  4902. // if (!localIPs[ip]) onNewIP(ip);
  4903. // localIPs[ip] = true;
  4904. // }
  4905. // //create a bogus data channel
  4906. // pc.createDataChannel("");
  4907. // // create offer and set local description
  4908. // pc.createOffer().then(function(sdp) {
  4909. // sdp.sdp.split('\n').forEach(function(line) {
  4910. // if (line.indexOf('candidate') < 0) return;
  4911. // line.match(ipRegex).forEach(iterateIP);
  4912. // });
  4913. // pc.setLocalDescription(sdp, noop, noop);
  4914. // }).catch(function(reason) {
  4915. // // An error occurred, so handle the failure to connect
  4916. // });
  4917. // //sten for candidate events
  4918. // pc.onicecandidate = function(ice) {
  4919. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4920. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4921. // };
  4922. // }
  4923. // U.MD.D.I.getUserIpBool = function(callback){
  4924. // U.MD.D.I.getUserIP(function(ip){
  4925. // alert("Got IP! :" + ip);
  4926. // });
  4927. //}
  4928. //#endregion
  4929. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4930. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  4931. _formdiv, //創建任務欄時同時彈出的窗體元素。
  4932. _userinfo = US.userInfo, //登錄用戶信息
  4933. _userid = US.userInfo.userid //登錄用戶id
  4934. let _iframe;
  4935. let _cid = cid,
  4936. _stage = stage,
  4937. _task = task,
  4938. _tool = tool;
  4939. var _jie = $$("div", {
  4940. "style": {
  4941. "position": "absolute",
  4942. "bottom": "50px",
  4943. "right": "50px",
  4944. "zIndex": "9999",
  4945. "backgroundColor": "#2268bc",
  4946. "color": "#fff",
  4947. "padding": "12px 20px",
  4948. "cursor": "pointer",
  4949. "borderRadius": "4px",
  4950. },
  4951. "innerHTML": "提交作業"
  4952. })
  4953. let aTool = ''
  4954. let _loading = document.createElement('div')
  4955. _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;"
  4956. // _loading.id = "";
  4957. let _lchild = document.createElement('div')
  4958. let _limg = document.createElement('img')
  4959. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4960. _limg.style = "width: 26px;margin-right: 10px;"
  4961. _lchild.appendChild(_limg)
  4962. let _lspan = document.createElement('span')
  4963. _lspan.innerHTML = "上傳中..."
  4964. _lchild.appendChild(_lspan)
  4965. _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%);"
  4966. _loading.appendChild(_lchild)
  4967. var _box = $$('div', {
  4968. "style": {
  4969. "position": "relative",
  4970. "width": "100%",
  4971. "height": "100%",
  4972. },
  4973. })
  4974. _box.appendChild(_loading)
  4975. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4976. switch (str) {
  4977. case "whiteboard":
  4978. aTool = 1;
  4979. _iframe = $$("iframe", {
  4980. "frameborder": "no",
  4981. "border": "0",
  4982. "scrolling ": "no",
  4983. "style": {
  4984. "cssText": "border:0;width:100%;height:100%"
  4985. },
  4986. "src": "https://iwb.cocorobo.hk/"
  4987. })
  4988. _box.appendChild(_iframe);
  4989. _box.appendChild(_jie);
  4990. _formdiv = new U.UF.UI.form(
  4991. "電子白板",
  4992. _box, {
  4993. "id": "whiteboard" + cid + stage + task + tool,
  4994. "style": {
  4995. "width": "90%",
  4996. "height": "90%",
  4997. "overflow": 'hidden'
  4998. },
  4999. "onresize": function () { }
  5000. }, {
  5001. closecallback: function () { }
  5002. }, {
  5003. "style": {
  5004. "height": "36px"
  5005. }
  5006. }).form; //創建窗體
  5007. _taskbar = {
  5008. "id": str + _formdiv.id,
  5009. "style": {
  5010. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5011. },
  5012. "name": "電子白板",
  5013. "forms": _formdiv,
  5014. "click": function () {
  5015. U.MD.D.I.openApplication(str, obj, info);
  5016. }
  5017. }
  5018. break;
  5019. case "mind":
  5020. aTool = 3;
  5021. _iframe = $$("iframe", {
  5022. "frameborder": "no",
  5023. "border": "0",
  5024. "scrolling ": "no",
  5025. "style": {
  5026. "cssText": "border:0;width:100%;height:100%"
  5027. },
  5028. "src": "/kityminder-editor/dist/index.html"
  5029. })
  5030. _box.appendChild(_iframe);
  5031. _box.appendChild(_jie);
  5032. _formdiv = new U.UF.UI.form(
  5033. "思維導圖",
  5034. _box, { //"/jsmind/example/demo.html"
  5035. "id": "mind" + cid + stage + task + tool,
  5036. "style": {
  5037. "width": "90%",
  5038. "height": "90%",
  5039. "overflow": 'hidden'
  5040. },
  5041. "onresize": function () { }
  5042. }, {
  5043. closecallback: function () { }
  5044. }, {
  5045. "style": {
  5046. "height": "36px"
  5047. }
  5048. }).form; //創建窗體
  5049. _taskbar = {
  5050. "id": str + _formdiv.id,
  5051. "style": {
  5052. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5053. },
  5054. "name": "思維導圖",
  5055. "forms": _formdiv,
  5056. "click": function () {
  5057. U.MD.D.I.openApplication(str, obj, info);
  5058. }
  5059. }
  5060. break;
  5061. case "MindMap":
  5062. aTool = 3;
  5063. _iframe = $$("iframe", {
  5064. "frameborder": "no",
  5065. "border": "0",
  5066. "scrolling ": "no",
  5067. "style": {
  5068. "cssText": "border:0;width:100%;height:100%"
  5069. },
  5070. "src": "//cloud.cocorobo.hk/mind/"
  5071. })
  5072. _box.appendChild(_iframe);
  5073. _box.appendChild(_jie);
  5074. _formdiv = new U.UF.UI.form(
  5075. "思維導圖",
  5076. _box, { //"/jsmind/example/demo.html"
  5077. "id": "mind" + cid + stage + task + tool,
  5078. "style": {
  5079. "width": "90%",
  5080. "height": "90%",
  5081. "overflow": 'hidden'
  5082. },
  5083. "onresize": function () { }
  5084. }, {
  5085. closecallback: function () { }
  5086. }, {
  5087. "style": {
  5088. "height": "36px"
  5089. }
  5090. }).form; //創建窗體
  5091. _taskbar = {
  5092. "id": str + _formdiv.id,
  5093. "style": {
  5094. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5095. },
  5096. "name": "思維導圖",
  5097. "forms": _formdiv,
  5098. "click": function () {
  5099. U.MD.D.I.openApplication(str, obj, info);
  5100. }
  5101. }
  5102. break;
  5103. case "doc":
  5104. aTool = 6;
  5105. _iframe = $$("iframe", {
  5106. "frameborder": "no",
  5107. "border": "0",
  5108. "scrolling ": "no",
  5109. "style": {
  5110. "cssText": "border:0;width:100%;height:100%"
  5111. },
  5112. "src": "/Office/Word/WordEditArea.htm"
  5113. })
  5114. _box.appendChild(_iframe);
  5115. _box.appendChild(_jie);
  5116. _formdiv = new U.UF.UI.form(
  5117. "協同文檔",
  5118. _box, {
  5119. "id": "doc" + cid + stage + task + tool,
  5120. "style": {
  5121. "width": "90%",
  5122. "height": "90%",
  5123. "overflow": 'hidden'
  5124. },
  5125. "onresize": function () { }
  5126. }, {
  5127. closecallback: function () { }
  5128. }, {
  5129. "style": {
  5130. "height": "36px"
  5131. }
  5132. }).form; //創建窗體
  5133. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5134. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5135. })
  5136. _taskbar = {
  5137. "id": str + _formdiv.id,
  5138. "style": {
  5139. "backgroundImage": "url(/img/icon/doc.png)"
  5140. },
  5141. "name": "協同文檔",
  5142. "forms": _formdiv,
  5143. "click": function () {
  5144. U.MD.D.I.openApplication(str, obj, info);
  5145. }
  5146. }
  5147. break;
  5148. case "mindNetwork": //好友打開
  5149. aTool = 7;
  5150. _iframe = $$("iframe", {
  5151. "webkitallowfullscreen": "",
  5152. "mozallowfullscreen": "",
  5153. "allowfullscreen": "",
  5154. "frameborder": "no",
  5155. "border": "0",
  5156. "scrolling ": "no",
  5157. "style": {
  5158. "cssText": "border:0; width:100%; height:100%;"
  5159. },
  5160. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5161. })
  5162. _box.appendChild(_iframe);
  5163. _box.appendChild(_jie);
  5164. _formdiv = new U.UF.UI.form(
  5165. "思維網格",
  5166. _box, {
  5167. "id": "mindNetwork" + cid + stage + task + tool,
  5168. "style": {
  5169. "width": "90%",
  5170. "height": "90%",
  5171. "overflow": 'hidden'
  5172. },
  5173. "onresize": function () { }
  5174. }, {
  5175. closecallback: function () { }
  5176. }, {
  5177. "style": {
  5178. "height": "36px"
  5179. }
  5180. }).form; //創建窗體
  5181. _taskbar = {
  5182. "id": str + _formdiv.id,
  5183. "style": {
  5184. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5185. },
  5186. "name": "思維網格",
  5187. "forms": _formdiv,
  5188. "click": function () {
  5189. U.MD.D.I.openApplication(str, obj, info);
  5190. }
  5191. }
  5192. break;
  5193. case "courseDesign":
  5194. _iframe = $$("iframe", {
  5195. "webkitallowfullscreen": "",
  5196. "mozallowfullscreen": "",
  5197. "allowfullscreen": "",
  5198. "frameborder": "no",
  5199. "border": "0",
  5200. "scrolling ": "no",
  5201. "style": {
  5202. "cssText": "border:0; width:100%; height:100%;"
  5203. },
  5204. "src": "/course-design-vue"
  5205. })
  5206. _box.appendChild(_iframe);
  5207. _box.appendChild(_jie);
  5208. _formdiv = new U.UF.UI.form(
  5209. "項目設計",
  5210. _box, {
  5211. "id": "courseDesign" + cid + stage + task + tool,
  5212. "style": {
  5213. "width": "90%",
  5214. "height": "90%",
  5215. "overflow": 'hidden'
  5216. },
  5217. "onresize": function () { }
  5218. }, {
  5219. closecallback: function () { }
  5220. }, {
  5221. "style": {
  5222. "height": "36px"
  5223. }
  5224. }).form; //創建窗體
  5225. _taskbar = {
  5226. "id": str + _formdiv.id,
  5227. "style": {
  5228. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5229. },
  5230. "name": "項目設計",
  5231. "forms": _formdiv,
  5232. "click": function () {
  5233. U.MD.D.I.openApplication(str, obj, info);
  5234. }
  5235. }
  5236. break;
  5237. }
  5238. const script1 = document.createElement("script");
  5239. script1.type = "text/javascript";
  5240. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5241. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5242. const script2 = document.createElement("script");
  5243. script2.type = "text/javascript";
  5244. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5245. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5246. const script3 = document.createElement("script");
  5247. script3.type = "text/javascript";
  5248. script3.charset = "UTF-8";
  5249. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5250. const script4 = document.createElement("script");
  5251. script4.type = "text/javascript";
  5252. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5253. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  5254. if (_iframe) {
  5255. if (str == 'doc') {
  5256. _iframe = _formdiv.querySelector('iframe')
  5257. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5258. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5259. _iframe.contentWindow.document.body.appendChild(script1);
  5260. _iframe.contentWindow.document.body.appendChild(script2);
  5261. // _iframe.contentWindow.document.body.appendChild(script3);
  5262. _iframe.contentWindow.document.body.appendChild(script4);
  5263. })
  5264. if (onloadListener) {
  5265. _iframe.contentDocument.location.reload()
  5266. } else {
  5267. _iframe.contentDocument.location.reload()
  5268. }
  5269. } else if (str == 'courseDesign') {
  5270. U.UF.DL.iframeLoad(_iframe, function () {
  5271. // _iframe.contentWindow.U.MD.O.W.load();
  5272. // _iframe.contentWindow.document.body.appendChild(script1);
  5273. _iframe.contentWindow.document.body.appendChild(script2);
  5274. _iframe.contentWindow.document.body.appendChild(script4);
  5275. })
  5276. } else if (str == 'mind') {
  5277. _iframe = _formdiv.querySelector('iframe')
  5278. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5279. //
  5280. _iframe.contentWindow.document.body.appendChild(script1);
  5281. _iframe.contentWindow.document.body.appendChild(script2);
  5282. _iframe.contentWindow.document.body.appendChild(script4);
  5283. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5284. })
  5285. if (onloadListener) {
  5286. _iframe.contentDocument.location.reload()
  5287. } else {
  5288. _iframe.contentDocument.location.reload()
  5289. }
  5290. } else if (str == 'whiteboard') {
  5291. _iframe = _formdiv.querySelector('iframe')
  5292. let onloadListener = _iframe.onload = () => {
  5293. _iframe.contentWindow.document.body.appendChild(script1);
  5294. _iframe.contentWindow.document.body.appendChild(script2);
  5295. _iframe.contentWindow.document.body.appendChild(script4);
  5296. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5297. };
  5298. if (onloadListener) {
  5299. _iframe.contentDocument.location.reload()
  5300. } else {
  5301. _iframe.contentDocument.location.reload()
  5302. }
  5303. } else {
  5304. _iframe.onload = () => {
  5305. _iframe.contentWindow.document.body.appendChild(script1);
  5306. _iframe.contentWindow.document.body.appendChild(script2);
  5307. // _iframe.contentWindow.document.body.appendChild(script3);
  5308. _iframe.contentWindow.document.body.appendChild(script4);
  5309. };
  5310. }
  5311. _jie.onclick = async () => {
  5312. let text = ''
  5313. if (aTool == 1) {
  5314. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5315. } else if (aTool == 6) {
  5316. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5317. } else if (aTool == 3) {
  5318. text = await U.MD.D.I.getEditorContent(_iframe);
  5319. }
  5320. _loading.style.display = 'flex'
  5321. console.log(_loading);
  5322. var _ajs = _iframe.contentWindow.document.createElement("script");
  5323. _ajs.type = "text/javascript";
  5324. _ajs.innerHTML =
  5325. // 'console.log(' + _loading + ');\n' +
  5326. 'var _js = document.createElement("script");\n' +
  5327. '_js.type="text/javascript";\n' +
  5328. '_js.charset="UTF-8";\n' +
  5329. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5330. "_js.onload = function(){\n" +
  5331. ' var a = document.getElementsByTagName("img")\n' +
  5332. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5333. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5334. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5335. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5336. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5337. "beforeUpload_shishi(file," +
  5338. "'" +
  5339. _userid +
  5340. "'" +
  5341. ", " +
  5342. "'" +
  5343. _cid +
  5344. "'" +
  5345. ", " +
  5346. "'" +
  5347. _stage +
  5348. "'" +
  5349. ", " +
  5350. "'" +
  5351. _task +
  5352. "'" +
  5353. ", " +
  5354. "'" +
  5355. _tool +
  5356. "'" +
  5357. ", " +
  5358. "'" +
  5359. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5360. "'" +
  5361. ", " +
  5362. "'" +
  5363. aTool +
  5364. "'" +
  5365. ", " +
  5366. "`" +
  5367. text +
  5368. "`" +
  5369. ")\n" +
  5370. " });\n" +
  5371. "}\n" +
  5372. "document.head.appendChild(_js);\n";
  5373. _iframe.contentWindow.document.head.appendChild(_ajs);
  5374. }
  5375. }
  5376. //U.MD.D.I.openClick(str);
  5377. //如果有任務欄信息
  5378. // if (_taskbar) {
  5379. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5380. // }
  5381. }
  5382. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5383. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5384. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5385. _userinfo = US.userInfo, //登錄用戶信息
  5386. _userid = US.userInfo.userid //登錄用戶id
  5387. let _iframe;
  5388. let _cid = cid,
  5389. _stage = stage,
  5390. _task = task,
  5391. _tool = tool;
  5392. var _jie = $$("div", {
  5393. "style": {
  5394. "position": "absolute",
  5395. "bottom": "50px",
  5396. "right": "50px",
  5397. "zIndex": "9999",
  5398. "backgroundColor": "#2268bc",
  5399. "color": "#fff",
  5400. "padding": "12px 20px",
  5401. "cursor": "pointer",
  5402. "borderRadius": "4px",
  5403. },
  5404. "innerHTML": "提交作業"
  5405. })
  5406. let aTool = ''
  5407. let _loading = document.createElement('div')
  5408. _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;"
  5409. // _loading.id = "";
  5410. let _lchild = document.createElement('div')
  5411. let _limg = document.createElement('img')
  5412. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5413. _limg.style = "width: 26px;margin-right: 10px;"
  5414. _lchild.appendChild(_limg)
  5415. let _lspan = document.createElement('span')
  5416. _lspan.innerHTML = "上傳中..."
  5417. _lchild.appendChild(_lspan)
  5418. _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%);"
  5419. _loading.appendChild(_lchild)
  5420. var _box = $$('div', {
  5421. "style": {
  5422. "position": "relative",
  5423. "width": "100%",
  5424. "height": "100%",
  5425. },
  5426. })
  5427. _box.appendChild(_loading)
  5428. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5429. switch (str) {
  5430. case "whiteboard":
  5431. aTool = 1;
  5432. _iframe = $$("iframe", {
  5433. "frameborder": "no",
  5434. "border": "0",
  5435. "scrolling ": "no",
  5436. "style": {
  5437. "cssText": "border:0;width:100%;height:100%"
  5438. },
  5439. "src": "https://iwb.cocorobo.hk/"
  5440. })
  5441. _box.appendChild(_iframe);
  5442. _box.appendChild(_jie);
  5443. _formdiv = new U.UF.UI.form(
  5444. "電子白板",
  5445. _box, {
  5446. "id": "whiteboard" + cid + stage + task + tool,
  5447. "style": {
  5448. "width": "90%",
  5449. "height": "90%",
  5450. "overflow": 'hidden'
  5451. },
  5452. "onresize": function () { }
  5453. }, {
  5454. closecallback: function () { }
  5455. }, {
  5456. "style": {
  5457. "height": "36px"
  5458. }
  5459. }).form; //創建窗體
  5460. _taskbar = {
  5461. "id": str + _formdiv.id,
  5462. "style": {
  5463. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5464. },
  5465. "name": "電子白板",
  5466. "forms": _formdiv,
  5467. "click": function () {
  5468. U.MD.D.I.openApplication(str, obj, info);
  5469. }
  5470. }
  5471. break;
  5472. case "mind":
  5473. aTool = 3;
  5474. _iframe = $$("iframe", {
  5475. "frameborder": "no",
  5476. "border": "0",
  5477. "scrolling ": "no",
  5478. "style": {
  5479. "cssText": "border:0;width:100%;height:100%"
  5480. },
  5481. "src": "/kityminder-editor/dist/index.html"
  5482. })
  5483. _box.appendChild(_iframe);
  5484. _box.appendChild(_jie);
  5485. _formdiv = new U.UF.UI.form(
  5486. "思維導圖",
  5487. _box, { //"/jsmind/example/demo.html"
  5488. "id": "mind" + cid + stage + task + tool,
  5489. "style": {
  5490. "width": "90%",
  5491. "height": "90%",
  5492. "overflow": 'hidden'
  5493. },
  5494. "onresize": function () { }
  5495. }, {
  5496. closecallback: function () { }
  5497. }, {
  5498. "style": {
  5499. "height": "36px"
  5500. }
  5501. }).form; //創建窗體
  5502. _taskbar = {
  5503. "id": str + _formdiv.id,
  5504. "style": {
  5505. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5506. },
  5507. "name": "思維導圖",
  5508. "forms": _formdiv,
  5509. "click": function () {
  5510. U.MD.D.I.openApplication(str, obj, info);
  5511. }
  5512. }
  5513. break;
  5514. case "MindMap":
  5515. aTool = 3;
  5516. _iframe = $$("iframe", {
  5517. "frameborder": "no",
  5518. "border": "0",
  5519. "scrolling ": "no",
  5520. "style": {
  5521. "cssText": "border:0;width:100%;height:100%"
  5522. },
  5523. "src": "//cloud.cocorobo.hk/mind/"
  5524. })
  5525. _box.appendChild(_iframe);
  5526. _box.appendChild(_jie);
  5527. _formdiv = new U.UF.UI.form(
  5528. "思維導圖",
  5529. _box, { //"/jsmind/example/demo.html"
  5530. "id": "mind" + cid + stage + task + tool,
  5531. "style": {
  5532. "width": "90%",
  5533. "height": "90%",
  5534. "overflow": 'hidden'
  5535. },
  5536. "onresize": function () { }
  5537. }, {
  5538. closecallback: function () { }
  5539. }, {
  5540. "style": {
  5541. "height": "36px"
  5542. }
  5543. }).form; //創建窗體
  5544. _taskbar = {
  5545. "id": str + _formdiv.id,
  5546. "style": {
  5547. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5548. },
  5549. "name": "思維導圖",
  5550. "forms": _formdiv,
  5551. "click": function () {
  5552. U.MD.D.I.openApplication(str, obj, info);
  5553. }
  5554. }
  5555. break;
  5556. case "doc":
  5557. aTool = 6;
  5558. _iframe = $$("iframe", {
  5559. "frameborder": "no",
  5560. "border": "0",
  5561. "scrolling ": "no",
  5562. "style": {
  5563. "cssText": "border:0;width:100%;height:100%"
  5564. },
  5565. "src": "/Office/Word/WordEditArea.htm"
  5566. })
  5567. _box.appendChild(_iframe);
  5568. _box.appendChild(_jie);
  5569. _formdiv = new U.UF.UI.form(
  5570. "協同文檔",
  5571. _box, {
  5572. "id": "doc" + cid + stage + task + tool,
  5573. "style": {
  5574. "width": "90%",
  5575. "height": "90%",
  5576. "overflow": 'hidden'
  5577. },
  5578. "onresize": function () { }
  5579. }, {
  5580. closecallback: function () { }
  5581. }, {
  5582. "style": {
  5583. "height": "36px"
  5584. }
  5585. }).form; //創建窗體
  5586. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5587. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5588. })
  5589. _taskbar = {
  5590. "id": str + _formdiv.id,
  5591. "style": {
  5592. "backgroundImage": "url(/img/icon/doc.png)"
  5593. },
  5594. "name": "協同文檔",
  5595. "forms": _formdiv,
  5596. "click": function () {
  5597. U.MD.D.I.openApplication(str, obj, info);
  5598. }
  5599. }
  5600. break;
  5601. case "mindNetwork": //好友打開
  5602. aTool = 7;
  5603. _iframe = $$("iframe", {
  5604. "webkitallowfullscreen": "",
  5605. "mozallowfullscreen": "",
  5606. "allowfullscreen": "",
  5607. "frameborder": "no",
  5608. "border": "0",
  5609. "scrolling ": "no",
  5610. "style": {
  5611. "cssText": "border:0; width:100%; height:100%;"
  5612. },
  5613. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5614. })
  5615. _box.appendChild(_iframe);
  5616. _box.appendChild(_jie);
  5617. _formdiv = new U.UF.UI.form(
  5618. "思維網格",
  5619. _box, {
  5620. "id": "mindNetwork" + cid + stage + task + tool,
  5621. "style": {
  5622. "width": "90%",
  5623. "height": "90%",
  5624. "overflow": 'hidden'
  5625. },
  5626. "onresize": function () { }
  5627. }, {
  5628. closecallback: function () { }
  5629. }, {
  5630. "style": {
  5631. "height": "36px"
  5632. }
  5633. }).form; //創建窗體
  5634. _taskbar = {
  5635. "id": str + _formdiv.id,
  5636. "style": {
  5637. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5638. },
  5639. "name": "思維網格",
  5640. "forms": _formdiv,
  5641. "click": function () {
  5642. U.MD.D.I.openApplication(str, obj, info);
  5643. }
  5644. }
  5645. break;
  5646. case "courseDesign":
  5647. _iframe = $$("iframe", {
  5648. "webkitallowfullscreen": "",
  5649. "mozallowfullscreen": "",
  5650. "allowfullscreen": "",
  5651. "frameborder": "no",
  5652. "border": "0",
  5653. "scrolling ": "no",
  5654. "style": {
  5655. "cssText": "border:0; width:100%; height:100%;"
  5656. },
  5657. "src": "/course-design-vue"
  5658. })
  5659. _box.appendChild(_iframe);
  5660. _box.appendChild(_jie);
  5661. _formdiv = new U.UF.UI.form(
  5662. "項目設計",
  5663. _box, {
  5664. "id": "courseDesign" + cid + stage + task + tool,
  5665. "style": {
  5666. "width": "90%",
  5667. "height": "90%",
  5668. "overflow": 'hidden'
  5669. },
  5670. "onresize": function () { }
  5671. }, {
  5672. closecallback: function () { }
  5673. }, {
  5674. "style": {
  5675. "height": "36px"
  5676. }
  5677. }).form; //創建窗體
  5678. _taskbar = {
  5679. "id": str + _formdiv.id,
  5680. "style": {
  5681. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5682. },
  5683. "name": "項目設計",
  5684. "forms": _formdiv,
  5685. "click": function () {
  5686. U.MD.D.I.openApplication(str, obj, info);
  5687. }
  5688. }
  5689. break;
  5690. }
  5691. const script1 = document.createElement("script");
  5692. script1.type = "text/javascript";
  5693. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5694. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5695. const script2 = document.createElement("script");
  5696. script2.type = "text/javascript";
  5697. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5698. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5699. const script3 = document.createElement("script");
  5700. script3.type = "text/javascript";
  5701. script3.charset = "UTF-8";
  5702. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5703. const script4 = document.createElement("script");
  5704. script4.type = "text/javascript";
  5705. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5706. script4.src = window.origin + "/js/Common/jietu2E.js";
  5707. if (_iframe) {
  5708. if (str == 'doc') {
  5709. _iframe = _formdiv.querySelector('iframe')
  5710. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5711. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5712. _iframe.contentWindow.document.body.appendChild(script1);
  5713. _iframe.contentWindow.document.body.appendChild(script2);
  5714. // _iframe.contentWindow.document.body.appendChild(script3);
  5715. _iframe.contentWindow.document.body.appendChild(script4);
  5716. })
  5717. if (onloadListener) {
  5718. _iframe.contentDocument.location.reload()
  5719. } else {
  5720. _iframe.contentDocument.location.reload()
  5721. }
  5722. } else if (str == 'courseDesign') {
  5723. U.UF.DL.iframeLoad(_iframe, function () {
  5724. // _iframe.contentWindow.U.MD.O.W.load();
  5725. // _iframe.contentWindow.document.body.appendChild(script1);
  5726. _iframe.contentWindow.document.body.appendChild(script2);
  5727. _iframe.contentWindow.document.body.appendChild(script4);
  5728. })
  5729. } else if (str == 'mind') {
  5730. _iframe = _formdiv.querySelector('iframe')
  5731. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5732. //
  5733. _iframe.contentWindow.document.body.appendChild(script1);
  5734. _iframe.contentWindow.document.body.appendChild(script2);
  5735. _iframe.contentWindow.document.body.appendChild(script4);
  5736. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5737. })
  5738. if (onloadListener) {
  5739. _iframe.contentDocument.location.reload()
  5740. } else {
  5741. _iframe.contentDocument.location.reload()
  5742. }
  5743. } else if (str == 'whiteboard') {
  5744. _iframe = _formdiv.querySelector('iframe')
  5745. let onloadListener = _iframe.onload = () => {
  5746. _iframe.contentWindow.document.body.appendChild(script1);
  5747. _iframe.contentWindow.document.body.appendChild(script2);
  5748. _iframe.contentWindow.document.body.appendChild(script4);
  5749. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5750. };
  5751. if (onloadListener) {
  5752. _iframe.contentDocument.location.reload()
  5753. } else {
  5754. _iframe.contentDocument.location.reload()
  5755. }
  5756. } else {
  5757. _iframe.onload = () => {
  5758. _iframe.contentWindow.document.body.appendChild(script1);
  5759. _iframe.contentWindow.document.body.appendChild(script2);
  5760. // _iframe.contentWindow.document.body.appendChild(script3);
  5761. _iframe.contentWindow.document.body.appendChild(script4);
  5762. };
  5763. }
  5764. _jie.onclick = async () => {
  5765. let text = ''
  5766. if (aTool == 1) {
  5767. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5768. } else if (aTool == 6) {
  5769. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5770. } else if (aTool == 3) {
  5771. text = await U.MD.D.I.getEditorContent(_iframe);
  5772. }
  5773. _loading.style.display = 'flex'
  5774. console.log(_loading);
  5775. var _ajs = _iframe.contentWindow.document.createElement("script");
  5776. _ajs.type = "text/javascript";
  5777. _ajs.innerHTML =
  5778. // 'console.log(' + _loading + ');\n' +
  5779. 'var _js = document.createElement("script");\n' +
  5780. '_js.type="text/javascript";\n' +
  5781. '_js.charset="UTF-8";\n' +
  5782. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5783. "_js.onload = function(){\n" +
  5784. ' var a = document.getElementsByTagName("img")\n' +
  5785. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5786. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5787. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5788. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5789. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5790. "beforeUpload_shishi(file," +
  5791. "'" +
  5792. _userid +
  5793. "'" +
  5794. ", " +
  5795. "'" +
  5796. _cid +
  5797. "'" +
  5798. ", " +
  5799. "'" +
  5800. _stage +
  5801. "'" +
  5802. ", " +
  5803. "'" +
  5804. _task +
  5805. "'" +
  5806. ", " +
  5807. "'" +
  5808. _tool +
  5809. "'" +
  5810. ", " +
  5811. "'" +
  5812. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5813. "'" +
  5814. ", " +
  5815. "'" +
  5816. aTool +
  5817. "'" +
  5818. ", " +
  5819. "`" +
  5820. text +
  5821. "`" +
  5822. ")\n" +
  5823. " });\n" +
  5824. "}\n" +
  5825. "document.head.appendChild(_js);\n";
  5826. _iframe.contentWindow.document.head.appendChild(_ajs);
  5827. }
  5828. }
  5829. //U.MD.D.I.openClick(str);
  5830. //如果有任務欄信息
  5831. // if (_taskbar) {
  5832. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5833. // }
  5834. }
  5835. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5836. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5837. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5838. _userid = student.userid, //登錄用戶id
  5839. _username = student.student //用戶名字
  5840. let _iframe;
  5841. let _cid = cid,
  5842. _stage = stage,
  5843. _task = task,
  5844. _tool = tool;
  5845. var _jie = $$("div", {
  5846. "style": {
  5847. "position": "absolute",
  5848. "bottom": "50px",
  5849. "right": "50px",
  5850. "zIndex": "9999",
  5851. "backgroundColor": "#2268bc",
  5852. "color": "#fff",
  5853. "padding": "12px 20px",
  5854. "cursor": "pointer",
  5855. "borderRadius": "4px",
  5856. },
  5857. "innerHTML": "提交作業"
  5858. })
  5859. let aTool = ''
  5860. let _loading = document.createElement('div')
  5861. _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;"
  5862. // _loading.id = "";
  5863. let _lchild = document.createElement('div')
  5864. let _limg = document.createElement('img')
  5865. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5866. _limg.style = "width: 26px;margin-right: 10px;"
  5867. _lchild.appendChild(_limg)
  5868. let _lspan = document.createElement('span')
  5869. _lspan.innerHTML = "上傳中..."
  5870. _lchild.appendChild(_lspan)
  5871. _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%);"
  5872. _loading.appendChild(_lchild)
  5873. var _box = $$('div', {
  5874. "style": {
  5875. "position": "relative",
  5876. "width": "100%",
  5877. "height": "100%",
  5878. },
  5879. })
  5880. _box.appendChild(_loading)
  5881. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5882. switch (str) {
  5883. case "whiteboard":
  5884. aTool = 1;
  5885. _iframe = $$("iframe", {
  5886. "frameborder": "no",
  5887. "border": "0",
  5888. "scrolling ": "no",
  5889. "style": {
  5890. "cssText": "border:0;width:100%;height:100%"
  5891. },
  5892. "src": "https://iwb.cocorobo.hk/"
  5893. })
  5894. _box.appendChild(_iframe);
  5895. _box.appendChild(_jie);
  5896. _formdiv = new U.UF.UI.form(
  5897. "電子白板-" + _username,
  5898. _box, {
  5899. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5900. "style": {
  5901. "width": "90%",
  5902. "height": "90%",
  5903. "overflow": 'hidden'
  5904. },
  5905. "onresize": function () { }
  5906. }, {
  5907. closecallback: function () { }
  5908. }, {
  5909. "style": {
  5910. "height": "36px"
  5911. }
  5912. }).form; //創建窗體
  5913. _taskbar = {
  5914. "id": str + _formdiv.id,
  5915. "style": {
  5916. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5917. },
  5918. "name": "電子白板",
  5919. "forms": _formdiv,
  5920. "click": function () {
  5921. U.MD.D.I.openApplication(str, obj, info);
  5922. }
  5923. }
  5924. break;
  5925. case "mind":
  5926. aTool = 3;
  5927. _iframe = $$("iframe", {
  5928. "frameborder": "no",
  5929. "border": "0",
  5930. "scrolling ": "no",
  5931. "style": {
  5932. "cssText": "border:0;width:100%;height:100%"
  5933. },
  5934. "src": "/kityminder-editor/dist/index.html"
  5935. })
  5936. _box.appendChild(_iframe);
  5937. _box.appendChild(_jie);
  5938. _formdiv = new U.UF.UI.form(
  5939. "思維導圖-" + _username,
  5940. _box, { //"/jsmind/example/demo.html"
  5941. "id": "mind" + cid + stage + task + tool + _userid,
  5942. "style": {
  5943. "width": "90%",
  5944. "height": "90%",
  5945. "overflow": 'hidden'
  5946. },
  5947. "onresize": function () { }
  5948. }, {
  5949. closecallback: function () { }
  5950. }, {
  5951. "style": {
  5952. "height": "36px"
  5953. }
  5954. }).form; //創建窗體
  5955. _taskbar = {
  5956. "id": str + _formdiv.id,
  5957. "style": {
  5958. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5959. },
  5960. "name": "思維導圖",
  5961. "forms": _formdiv,
  5962. "click": function () {
  5963. U.MD.D.I.openApplication(str, obj, info);
  5964. }
  5965. }
  5966. break;
  5967. case "MindMap":
  5968. aTool = 3;
  5969. _iframe = $$("iframe", {
  5970. "frameborder": "no",
  5971. "border": "0",
  5972. "scrolling ": "no",
  5973. "style": {
  5974. "cssText": "border:0;width:100%;height:100%"
  5975. },
  5976. "src": "//cloud.cocorobo.hk/mind/"
  5977. })
  5978. _box.appendChild(_iframe);
  5979. _box.appendChild(_jie);
  5980. _formdiv = new U.UF.UI.form(
  5981. "思維導圖-" + _username,
  5982. _box, { //"/jsmind/example/demo.html"
  5983. "id": "mind" + cid + stage + task + tool + _userid,
  5984. "style": {
  5985. "width": "90%",
  5986. "height": "90%",
  5987. "overflow": 'hidden'
  5988. },
  5989. "onresize": function () { }
  5990. }, {
  5991. closecallback: function () { }
  5992. }, {
  5993. "style": {
  5994. "height": "36px"
  5995. }
  5996. }).form; //創建窗體
  5997. _taskbar = {
  5998. "id": str + _formdiv.id,
  5999. "style": {
  6000. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6001. },
  6002. "name": "思維導圖",
  6003. "forms": _formdiv,
  6004. "click": function () {
  6005. U.MD.D.I.openApplication(str, obj, info);
  6006. }
  6007. }
  6008. break;
  6009. case "doc":
  6010. aTool = 6;
  6011. _iframe = $$("iframe", {
  6012. "frameborder": "no",
  6013. "border": "0",
  6014. "scrolling ": "no",
  6015. "style": {
  6016. "cssText": "border:0;width:100%;height:100%"
  6017. },
  6018. "src": "/Office/Word/WordEditArea.htm"
  6019. })
  6020. _box.appendChild(_iframe);
  6021. _box.appendChild(_jie);
  6022. _formdiv = new U.UF.UI.form(
  6023. "協同文檔-" + _username,
  6024. _box, {
  6025. "id": "doc" + cid + stage + task + tool + _userid,
  6026. "style": {
  6027. "width": "90%",
  6028. "height": "90%",
  6029. "overflow": 'hidden'
  6030. },
  6031. "onresize": function () { }
  6032. }, {
  6033. closecallback: function () { }
  6034. }, {
  6035. "style": {
  6036. "height": "36px"
  6037. }
  6038. }).form; //創建窗體
  6039. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6040. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6041. })
  6042. _taskbar = {
  6043. "id": str + _formdiv.id,
  6044. "style": {
  6045. "backgroundImage": "url(/img/icon/doc.png)"
  6046. },
  6047. "name": "協同文檔",
  6048. "forms": _formdiv,
  6049. "click": function () {
  6050. U.MD.D.I.openApplication(str, obj, info);
  6051. }
  6052. }
  6053. break;
  6054. case "mindNetwork": //好友打開
  6055. aTool = 7;
  6056. _iframe = $$("iframe", {
  6057. "webkitallowfullscreen": "",
  6058. "mozallowfullscreen": "",
  6059. "allowfullscreen": "",
  6060. "frameborder": "no",
  6061. "border": "0",
  6062. "scrolling ": "no",
  6063. "style": {
  6064. "cssText": "border:0; width:100%; height:100%;"
  6065. },
  6066. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6067. })
  6068. _box.appendChild(_iframe);
  6069. _box.appendChild(_jie);
  6070. _formdiv = new U.UF.UI.form(
  6071. "思維網格-" + _username,
  6072. _box, {
  6073. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6074. "style": {
  6075. "width": "90%",
  6076. "height": "90%",
  6077. "overflow": 'hidden'
  6078. },
  6079. "onresize": function () { }
  6080. }, {
  6081. closecallback: function () { }
  6082. }, {
  6083. "style": {
  6084. "height": "36px"
  6085. }
  6086. }).form; //創建窗體
  6087. _taskbar = {
  6088. "id": str + _formdiv.id,
  6089. "style": {
  6090. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6091. },
  6092. "name": "思維網格",
  6093. "forms": _formdiv,
  6094. "click": function () {
  6095. U.MD.D.I.openApplication(str, obj, info);
  6096. }
  6097. }
  6098. break;
  6099. case "courseDesign":
  6100. _iframe = $$("iframe", {
  6101. "webkitallowfullscreen": "",
  6102. "mozallowfullscreen": "",
  6103. "allowfullscreen": "",
  6104. "frameborder": "no",
  6105. "border": "0",
  6106. "scrolling ": "no",
  6107. "style": {
  6108. "cssText": "border:0; width:100%; height:100%;"
  6109. },
  6110. "src": "/course-design-vue"
  6111. })
  6112. _box.appendChild(_iframe);
  6113. _box.appendChild(_jie);
  6114. _formdiv = new U.UF.UI.form(
  6115. "項目設計-" + _username,
  6116. _box, {
  6117. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6118. "style": {
  6119. "width": "90%",
  6120. "height": "90%",
  6121. "overflow": 'hidden'
  6122. },
  6123. "onresize": function () { }
  6124. }, {
  6125. closecallback: function () { }
  6126. }, {
  6127. "style": {
  6128. "height": "36px"
  6129. }
  6130. }).form; //創建窗體
  6131. _taskbar = {
  6132. "id": str + _formdiv.id,
  6133. "style": {
  6134. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6135. },
  6136. "name": "項目設計",
  6137. "forms": _formdiv,
  6138. "click": function () {
  6139. U.MD.D.I.openApplication(str, obj, info);
  6140. }
  6141. }
  6142. break;
  6143. }
  6144. const script1 = document.createElement("script");
  6145. script1.type = "text/javascript";
  6146. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6147. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6148. const script2 = document.createElement("script");
  6149. script2.type = "text/javascript";
  6150. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6151. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6152. const script3 = document.createElement("script");
  6153. script3.type = "text/javascript";
  6154. script3.charset = "UTF-8";
  6155. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6156. const script4 = document.createElement("script");
  6157. script4.type = "text/javascript";
  6158. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6159. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6160. if (_iframe) {
  6161. if (str == 'doc') {
  6162. _iframe = _formdiv.querySelector('iframe')
  6163. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6164. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6165. _iframe.contentWindow.document.body.appendChild(script1);
  6166. _iframe.contentWindow.document.body.appendChild(script2);
  6167. // _iframe.contentWindow.document.body.appendChild(script3);
  6168. _iframe.contentWindow.document.body.appendChild(script4);
  6169. })
  6170. if (onloadListener) {
  6171. _iframe.contentDocument.location.reload()
  6172. } else {
  6173. _iframe.contentDocument.location.reload()
  6174. }
  6175. } else if (str == 'courseDesign') {
  6176. U.UF.DL.iframeLoad(_iframe, function () {
  6177. // _iframe.contentWindow.U.MD.O.W.load();
  6178. // _iframe.contentWindow.document.body.appendChild(script1);
  6179. _iframe.contentWindow.document.body.appendChild(script2);
  6180. _iframe.contentWindow.document.body.appendChild(script4);
  6181. })
  6182. } else if (str == 'mind') {
  6183. _iframe = _formdiv.querySelector('iframe')
  6184. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6185. //
  6186. _iframe.contentWindow.document.body.appendChild(script1);
  6187. _iframe.contentWindow.document.body.appendChild(script2);
  6188. _iframe.contentWindow.document.body.appendChild(script4);
  6189. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6190. })
  6191. if (onloadListener) {
  6192. _iframe.contentDocument.location.reload()
  6193. } else {
  6194. _iframe.contentDocument.location.reload()
  6195. }
  6196. } else if (str == 'whiteboard') {
  6197. _iframe = _formdiv.querySelector('iframe')
  6198. let onloadListener = _iframe.onload = () => {
  6199. _iframe.contentWindow.document.body.appendChild(script1);
  6200. _iframe.contentWindow.document.body.appendChild(script2);
  6201. _iframe.contentWindow.document.body.appendChild(script4);
  6202. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6203. };
  6204. if (onloadListener) {
  6205. _iframe.contentDocument.location.reload()
  6206. } else {
  6207. _iframe.contentDocument.location.reload()
  6208. }
  6209. } else {
  6210. _iframe.onload = () => {
  6211. _iframe.contentWindow.document.body.appendChild(script1);
  6212. _iframe.contentWindow.document.body.appendChild(script2);
  6213. // _iframe.contentWindow.document.body.appendChild(script3);
  6214. _iframe.contentWindow.document.body.appendChild(script4);
  6215. };
  6216. }
  6217. _jie.onclick = async () => {
  6218. let text = ''
  6219. if (aTool == 1) {
  6220. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6221. } else if (aTool == 6) {
  6222. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6223. } else if (aTool == 3) {
  6224. text = await U.MD.D.I.getEditorContent(_iframe);
  6225. }
  6226. _loading.style.display = 'flex'
  6227. console.log(_loading);
  6228. var _ajs = _iframe.contentWindow.document.createElement("script");
  6229. _ajs.type = "text/javascript";
  6230. _ajs.innerHTML =
  6231. // 'console.log(' + _loading + ');\n' +
  6232. 'var _js = document.createElement("script");\n' +
  6233. '_js.type="text/javascript";\n' +
  6234. '_js.charset="UTF-8";\n' +
  6235. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6236. "_js.onload = function(){\n" +
  6237. ' var a = document.getElementsByTagName("img")\n' +
  6238. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6239. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6240. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6241. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6242. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6243. "beforeUpload_shishi(file," +
  6244. "'" +
  6245. _userid +
  6246. "'" +
  6247. ", " +
  6248. "'" +
  6249. _cid +
  6250. "'" +
  6251. ", " +
  6252. "'" +
  6253. _stage +
  6254. "'" +
  6255. ", " +
  6256. "'" +
  6257. _task +
  6258. "'" +
  6259. ", " +
  6260. "'" +
  6261. _tool +
  6262. "'" +
  6263. ", " +
  6264. "'" +
  6265. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6266. "'" +
  6267. ", " +
  6268. "'" +
  6269. aTool +
  6270. "'" +
  6271. ", " +
  6272. "`" +
  6273. text +
  6274. "`" +
  6275. ")\n" +
  6276. " });\n" +
  6277. "}\n" +
  6278. "document.head.appendChild(_js);\n";
  6279. _iframe.contentWindow.document.head.appendChild(_ajs);
  6280. }
  6281. }
  6282. }
  6283. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6284. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6285. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6286. _userid = student.userid, //登錄用戶id
  6287. _username = student.student //用戶名字
  6288. let _iframe;
  6289. let _cid = cid,
  6290. _stage = stage,
  6291. _task = task,
  6292. _tool = tool;
  6293. var _jie = $$("div", {
  6294. "style": {
  6295. "position": "absolute",
  6296. "bottom": "50px",
  6297. "right": "50px",
  6298. "zIndex": "9999",
  6299. "backgroundColor": "#2268bc",
  6300. "color": "#fff",
  6301. "padding": "12px 20px",
  6302. "cursor": "pointer",
  6303. "borderRadius": "4px",
  6304. },
  6305. "innerHTML": "提交作業"
  6306. })
  6307. let aTool = ''
  6308. let _loading = document.createElement('div')
  6309. _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;"
  6310. // _loading.id = "";
  6311. let _lchild = document.createElement('div')
  6312. let _limg = document.createElement('img')
  6313. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6314. _limg.style = "width: 26px;margin-right: 10px;"
  6315. _lchild.appendChild(_limg)
  6316. let _lspan = document.createElement('span')
  6317. _lspan.innerHTML = "上傳中..."
  6318. _lchild.appendChild(_lspan)
  6319. _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%);"
  6320. _loading.appendChild(_lchild)
  6321. var _box = $$('div', {
  6322. "style": {
  6323. "position": "relative",
  6324. "width": "100%",
  6325. "height": "100%",
  6326. },
  6327. })
  6328. _box.appendChild(_loading)
  6329. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6330. switch (str) {
  6331. case "whiteboard":
  6332. aTool = 1;
  6333. _iframe = $$("iframe", {
  6334. "frameborder": "no",
  6335. "border": "0",
  6336. "scrolling ": "no",
  6337. "style": {
  6338. "cssText": "border:0;width:100%;height:100%"
  6339. },
  6340. "src": "https://iwb.cocorobo.hk/"
  6341. })
  6342. _box.appendChild(_iframe);
  6343. _box.appendChild(_jie);
  6344. _formdiv = new U.UF.UI.form(
  6345. "電子白板-" + _username,
  6346. _box, {
  6347. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6348. "style": {
  6349. "width": "90%",
  6350. "height": "90%",
  6351. "overflow": 'hidden'
  6352. },
  6353. "onresize": function () { }
  6354. }, {
  6355. closecallback: function () { }
  6356. }, {
  6357. "style": {
  6358. "height": "36px"
  6359. }
  6360. }).form; //創建窗體
  6361. _taskbar = {
  6362. "id": str + _formdiv.id,
  6363. "style": {
  6364. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6365. },
  6366. "name": "電子白板",
  6367. "forms": _formdiv,
  6368. "click": function () {
  6369. U.MD.D.I.openApplication(str, obj, info);
  6370. }
  6371. }
  6372. break;
  6373. case "mind":
  6374. aTool = 3;
  6375. _iframe = $$("iframe", {
  6376. "frameborder": "no",
  6377. "border": "0",
  6378. "scrolling ": "no",
  6379. "style": {
  6380. "cssText": "border:0;width:100%;height:100%"
  6381. },
  6382. "src": "/kityminder-editor/dist/index.html"
  6383. })
  6384. _box.appendChild(_iframe);
  6385. _box.appendChild(_jie);
  6386. _formdiv = new U.UF.UI.form(
  6387. "思維導圖-" + _username,
  6388. _box, { //"/jsmind/example/demo.html"
  6389. "id": "mind" + cid + stage + task + tool + _userid,
  6390. "style": {
  6391. "width": "90%",
  6392. "height": "90%",
  6393. "overflow": 'hidden'
  6394. },
  6395. "onresize": function () { }
  6396. }, {
  6397. closecallback: function () { }
  6398. }, {
  6399. "style": {
  6400. "height": "36px"
  6401. }
  6402. }).form; //創建窗體
  6403. _taskbar = {
  6404. "id": str + _formdiv.id,
  6405. "style": {
  6406. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6407. },
  6408. "name": "思維導圖",
  6409. "forms": _formdiv,
  6410. "click": function () {
  6411. U.MD.D.I.openApplication(str, obj, info);
  6412. }
  6413. }
  6414. break;
  6415. case "MindMap":
  6416. aTool = 3;
  6417. _iframe = $$("iframe", {
  6418. "frameborder": "no",
  6419. "border": "0",
  6420. "scrolling ": "no",
  6421. "style": {
  6422. "cssText": "border:0;width:100%;height:100%"
  6423. },
  6424. "src": "//cloud.cocorobo.hk/mind/"
  6425. })
  6426. _box.appendChild(_iframe);
  6427. _box.appendChild(_jie);
  6428. _formdiv = new U.UF.UI.form(
  6429. "思維導圖-" + _username,
  6430. _box, { //"/jsmind/example/demo.html"
  6431. "id": "mind" + cid + stage + task + tool + _userid,
  6432. "style": {
  6433. "width": "90%",
  6434. "height": "90%",
  6435. "overflow": 'hidden'
  6436. },
  6437. "onresize": function () { }
  6438. }, {
  6439. closecallback: function () { }
  6440. }, {
  6441. "style": {
  6442. "height": "36px"
  6443. }
  6444. }).form; //創建窗體
  6445. _taskbar = {
  6446. "id": str + _formdiv.id,
  6447. "style": {
  6448. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6449. },
  6450. "name": "思維導圖",
  6451. "forms": _formdiv,
  6452. "click": function () {
  6453. U.MD.D.I.openApplication(str, obj, info);
  6454. }
  6455. }
  6456. break;
  6457. case "doc":
  6458. aTool = 6;
  6459. _iframe = $$("iframe", {
  6460. "frameborder": "no",
  6461. "border": "0",
  6462. "scrolling ": "no",
  6463. "style": {
  6464. "cssText": "border:0;width:100%;height:100%"
  6465. },
  6466. "src": "/Office/Word/WordEditArea.htm"
  6467. })
  6468. _box.appendChild(_iframe);
  6469. _box.appendChild(_jie);
  6470. _formdiv = new U.UF.UI.form(
  6471. "協同文檔-" + _username,
  6472. _box, {
  6473. "id": "doc" + cid + stage + task + tool + _userid,
  6474. "style": {
  6475. "width": "90%",
  6476. "height": "90%",
  6477. "overflow": 'hidden'
  6478. },
  6479. "onresize": function () { }
  6480. }, {
  6481. closecallback: function () { }
  6482. }, {
  6483. "style": {
  6484. "height": "36px"
  6485. }
  6486. }).form; //創建窗體
  6487. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6488. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6489. })
  6490. _taskbar = {
  6491. "id": str + _formdiv.id,
  6492. "style": {
  6493. "backgroundImage": "url(/img/icon/doc.png)"
  6494. },
  6495. "name": "協同文檔",
  6496. "forms": _formdiv,
  6497. "click": function () {
  6498. U.MD.D.I.openApplication(str, obj, info);
  6499. }
  6500. }
  6501. break;
  6502. case "mindNetwork": //好友打開
  6503. aTool = 7;
  6504. _iframe = $$("iframe", {
  6505. "webkitallowfullscreen": "",
  6506. "mozallowfullscreen": "",
  6507. "allowfullscreen": "",
  6508. "frameborder": "no",
  6509. "border": "0",
  6510. "scrolling ": "no",
  6511. "style": {
  6512. "cssText": "border:0; width:100%; height:100%;"
  6513. },
  6514. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6515. })
  6516. _box.appendChild(_iframe);
  6517. _box.appendChild(_jie);
  6518. _formdiv = new U.UF.UI.form(
  6519. "思維網格-" + _username,
  6520. _box, {
  6521. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6522. "style": {
  6523. "width": "90%",
  6524. "height": "90%",
  6525. "overflow": 'hidden'
  6526. },
  6527. "onresize": function () { }
  6528. }, {
  6529. closecallback: function () { }
  6530. }, {
  6531. "style": {
  6532. "height": "36px"
  6533. }
  6534. }).form; //創建窗體
  6535. _taskbar = {
  6536. "id": str + _formdiv.id,
  6537. "style": {
  6538. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6539. },
  6540. "name": "思維網格",
  6541. "forms": _formdiv,
  6542. "click": function () {
  6543. U.MD.D.I.openApplication(str, obj, info);
  6544. }
  6545. }
  6546. break;
  6547. case "courseDesign":
  6548. _iframe = $$("iframe", {
  6549. "webkitallowfullscreen": "",
  6550. "mozallowfullscreen": "",
  6551. "allowfullscreen": "",
  6552. "frameborder": "no",
  6553. "border": "0",
  6554. "scrolling ": "no",
  6555. "style": {
  6556. "cssText": "border:0; width:100%; height:100%;"
  6557. },
  6558. "src": "/course-design-vue"
  6559. })
  6560. _box.appendChild(_iframe);
  6561. _box.appendChild(_jie);
  6562. _formdiv = new U.UF.UI.form(
  6563. "項目設計-" + _username,
  6564. _box, {
  6565. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6566. "style": {
  6567. "width": "90%",
  6568. "height": "90%",
  6569. "overflow": 'hidden'
  6570. },
  6571. "onresize": function () { }
  6572. }, {
  6573. closecallback: function () { }
  6574. }, {
  6575. "style": {
  6576. "height": "36px"
  6577. }
  6578. }).form; //創建窗體
  6579. _taskbar = {
  6580. "id": str + _formdiv.id,
  6581. "style": {
  6582. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6583. },
  6584. "name": "項目設計",
  6585. "forms": _formdiv,
  6586. "click": function () {
  6587. U.MD.D.I.openApplication(str, obj, info);
  6588. }
  6589. }
  6590. break;
  6591. }
  6592. const script1 = document.createElement("script");
  6593. script1.type = "text/javascript";
  6594. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6595. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6596. const script2 = document.createElement("script");
  6597. script2.type = "text/javascript";
  6598. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6599. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6600. const script3 = document.createElement("script");
  6601. script3.type = "text/javascript";
  6602. script3.charset = "UTF-8";
  6603. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6604. const script4 = document.createElement("script");
  6605. script4.type = "text/javascript";
  6606. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6607. script4.src = window.origin + "/js/Common/jietu2E.js";
  6608. if (_iframe) {
  6609. if (str == 'doc') {
  6610. _iframe = _formdiv.querySelector('iframe')
  6611. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6612. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6613. _iframe.contentWindow.document.body.appendChild(script1);
  6614. _iframe.contentWindow.document.body.appendChild(script2);
  6615. // _iframe.contentWindow.document.body.appendChild(script3);
  6616. _iframe.contentWindow.document.body.appendChild(script4);
  6617. })
  6618. if (onloadListener) {
  6619. _iframe.contentDocument.location.reload()
  6620. } else {
  6621. _iframe.contentDocument.location.reload()
  6622. }
  6623. } else if (str == 'courseDesign') {
  6624. U.UF.DL.iframeLoad(_iframe, function () {
  6625. // _iframe.contentWindow.U.MD.O.W.load();
  6626. // _iframe.contentWindow.document.body.appendChild(script1);
  6627. _iframe.contentWindow.document.body.appendChild(script2);
  6628. _iframe.contentWindow.document.body.appendChild(script4);
  6629. })
  6630. } else if (str == 'mind') {
  6631. _iframe = _formdiv.querySelector('iframe')
  6632. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6633. //
  6634. _iframe.contentWindow.document.body.appendChild(script1);
  6635. _iframe.contentWindow.document.body.appendChild(script2);
  6636. _iframe.contentWindow.document.body.appendChild(script4);
  6637. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6638. })
  6639. if (onloadListener) {
  6640. _iframe.contentDocument.location.reload()
  6641. } else {
  6642. _iframe.contentDocument.location.reload()
  6643. }
  6644. } else if (str == 'whiteboard') {
  6645. _iframe = _formdiv.querySelector('iframe')
  6646. let onloadListener = _iframe.onload = () => {
  6647. _iframe.contentWindow.document.body.appendChild(script1);
  6648. _iframe.contentWindow.document.body.appendChild(script2);
  6649. _iframe.contentWindow.document.body.appendChild(script4);
  6650. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6651. };
  6652. if (onloadListener) {
  6653. _iframe.contentDocument.location.reload()
  6654. } else {
  6655. _iframe.contentDocument.location.reload()
  6656. }
  6657. } else {
  6658. _iframe.onload = () => {
  6659. _iframe.contentWindow.document.body.appendChild(script1);
  6660. _iframe.contentWindow.document.body.appendChild(script2);
  6661. // _iframe.contentWindow.document.body.appendChild(script3);
  6662. _iframe.contentWindow.document.body.appendChild(script4);
  6663. };
  6664. }
  6665. _jie.onclick = async () => {
  6666. let text = ''
  6667. if (aTool == 1) {
  6668. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6669. } else if (aTool == 6) {
  6670. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6671. } else if (aTool == 3) {
  6672. text = await U.MD.D.I.getEditorContent(_iframe);
  6673. }
  6674. _loading.style.display = 'flex'
  6675. console.log(_loading);
  6676. var _ajs = _iframe.contentWindow.document.createElement("script");
  6677. _ajs.type = "text/javascript";
  6678. _ajs.innerHTML =
  6679. // 'console.log(' + _loading + ');\n' +
  6680. 'var _js = document.createElement("script");\n' +
  6681. '_js.type="text/javascript";\n' +
  6682. '_js.charset="UTF-8";\n' +
  6683. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6684. "_js.onload = function(){\n" +
  6685. ' var a = document.getElementsByTagName("img")\n' +
  6686. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6687. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6688. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6689. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6690. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6691. "beforeUpload_shishi(file," +
  6692. "'" +
  6693. _userid +
  6694. "'" +
  6695. ", " +
  6696. "'" +
  6697. _cid +
  6698. "'" +
  6699. ", " +
  6700. "'" +
  6701. _stage +
  6702. "'" +
  6703. ", " +
  6704. "'" +
  6705. _task +
  6706. "'" +
  6707. ", " +
  6708. "'" +
  6709. _tool +
  6710. "'" +
  6711. ", " +
  6712. "'" +
  6713. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6714. "'" +
  6715. ", " +
  6716. "'" +
  6717. aTool +
  6718. "'" +
  6719. ", " +
  6720. "`" +
  6721. text +
  6722. "`" +
  6723. ")\n" +
  6724. " });\n" +
  6725. "}\n" +
  6726. "document.head.appendChild(_js);\n";
  6727. _iframe.contentWindow.document.head.appendChild(_ajs);
  6728. }
  6729. }
  6730. }
  6731. U.MD.D.I.getEditorContent = function (iframe) {
  6732. return new Promise((resolve, reject) => {
  6733. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6734. console.log(content);
  6735. resolve(content)
  6736. });
  6737. });
  6738. }
  6739. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6740. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6741. // if (res.value[0].length > 0) {
  6742. // // resolve(res.value[0][0].text);
  6743. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6744. // $(fileInput).val('');
  6745. // });
  6746. // }
  6747. // }, [], { "type": "GET", "withCredentials": true });
  6748. var xmlhttp;
  6749. var Mac, Sn, DeviceId
  6750. if (window.XMLHttpRequest) {
  6751. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  6752. xmlhttp = new XMLHttpRequest();
  6753. }
  6754. else {
  6755. // IE6, IE5 瀏覽器執行代碼
  6756. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6757. }
  6758. xmlhttp.onreadystatechange = function () {
  6759. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6760. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6761. // resolve(res.value[0][0].text);
  6762. if (type == '2') {
  6763. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6764. } else if (type == '3') {
  6765. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6766. }
  6767. } else {
  6768. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6769. }
  6770. }
  6771. }
  6772. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6773. xmlhttp.send();
  6774. }
  6775. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6776. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6777. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6778. _userinfo = US.userInfo, //登錄用戶信息
  6779. _userid = US.userInfo.userid //登錄用戶id
  6780. let _iframe;
  6781. let _cid = cid,
  6782. _stage = stage,
  6783. _task = task,
  6784. _tool = tool;
  6785. var _jie = $$("div", {
  6786. "style": {
  6787. "position": "absolute",
  6788. "bottom": "50px",
  6789. "right": "50px",
  6790. "zIndex": "9999",
  6791. "backgroundColor": "#2268bc",
  6792. "color": "#fff",
  6793. "padding": "12px 20px",
  6794. "cursor": "pointer",
  6795. "borderRadius": "4px",
  6796. },
  6797. "innerHTML": "確認並提交"
  6798. })
  6799. let aTool = ''
  6800. let _loading = document.createElement('div')
  6801. _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;"
  6802. // _loading.id = "";
  6803. let _lchild = document.createElement('div')
  6804. let _limg = document.createElement('img')
  6805. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6806. _limg.style = "width: 26px;margin-right: 10px;"
  6807. _lchild.appendChild(_limg)
  6808. let _lspan = document.createElement('span')
  6809. _lspan.innerHTML = "上傳中..."
  6810. _lchild.appendChild(_lspan)
  6811. _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%);"
  6812. _loading.appendChild(_lchild)
  6813. var _box = $$('div', {
  6814. "style": {
  6815. "position": "relative",
  6816. "width": "100%",
  6817. "height": "100%",
  6818. },
  6819. })
  6820. _box.appendChild(_loading)
  6821. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6822. switch (str) {
  6823. case "whiteboard":
  6824. aTool = 1;
  6825. _iframe = $$("iframe", {
  6826. "frameborder": "no",
  6827. "border": "0",
  6828. "scrolling ": "no",
  6829. "style": {
  6830. "cssText": "border:0;width:100%;height:100%"
  6831. },
  6832. "src": "https://iwb.cocorobo.hk/"
  6833. })
  6834. _box.appendChild(_iframe);
  6835. _box.appendChild(_jie);
  6836. _formdiv = new U.UF.UI.form(
  6837. "電子白板",
  6838. _box, {
  6839. "id": "whiteboards" + cid + stage + task + tool,
  6840. "style": {
  6841. "width": "90%",
  6842. "height": "90%",
  6843. "overflow": 'hidden'
  6844. },
  6845. "onresize": function () { }
  6846. }, {
  6847. closecallback: function () { }
  6848. }, {
  6849. "style": {
  6850. "height": "36px"
  6851. }
  6852. }).form; //創建窗體
  6853. _taskbar = {
  6854. "id": str + _formdiv.id,
  6855. "style": {
  6856. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6857. },
  6858. "name": "電子白板",
  6859. "forms": _formdiv,
  6860. "click": function () {
  6861. U.MD.D.I.openApplication(str, obj, info);
  6862. }
  6863. }
  6864. break;
  6865. case "mind":
  6866. aTool = 3;
  6867. _iframe = $$("iframe", {
  6868. "frameborder": "no",
  6869. "border": "0",
  6870. "scrolling ": "no",
  6871. "style": {
  6872. "cssText": "border:0;width:100%;height:100%"
  6873. },
  6874. "src": "/kityminder-editor/dist/index.html"
  6875. });
  6876. _box.appendChild(_iframe);
  6877. _box.appendChild(_jie);
  6878. _formdiv = new U.UF.UI.form(
  6879. "思維導圖",
  6880. _box, { //"/jsmind/example/demo.html"
  6881. "id": "minds" + cid + stage + task + tool,
  6882. "style": {
  6883. "width": "90%",
  6884. "height": "90%",
  6885. "overflow": 'hidden'
  6886. },
  6887. "onresize": function () { }
  6888. }, {
  6889. closecallback: function () { }
  6890. }, {
  6891. "style": {
  6892. "height": "36px"
  6893. }
  6894. }).form; //創建窗體
  6895. _taskbar = {
  6896. "id": str + _formdiv.id,
  6897. "style": {
  6898. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6899. },
  6900. "name": "思維導圖",
  6901. "forms": _formdiv,
  6902. "click": function () {
  6903. U.MD.D.I.openApplication(str, obj, info);
  6904. }
  6905. }
  6906. break;
  6907. case "doc":
  6908. aTool = 6;
  6909. _iframe = $$("iframe", {
  6910. "frameborder": "no",
  6911. "border": "0",
  6912. "scrolling ": "no",
  6913. "style": {
  6914. "cssText": "border:0;width:100%;height:100%"
  6915. },
  6916. "src": "/Office/Word/WordEditArea.htm"
  6917. })
  6918. _box.appendChild(_iframe);
  6919. _box.appendChild(_jie);
  6920. _formdiv = new U.UF.UI.form(
  6921. "協同文檔",
  6922. _box, {
  6923. "id": "docs" + cid + stage + task + tool,
  6924. "style": {
  6925. "width": "90%",
  6926. "height": "90%",
  6927. "overflow": 'hidden'
  6928. },
  6929. "onresize": function () { }
  6930. }, {
  6931. closecallback: function () { }
  6932. }, {
  6933. "style": {
  6934. "height": "36px"
  6935. }
  6936. }).form; //創建窗體
  6937. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6938. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6939. })
  6940. _taskbar = {
  6941. "id": str + _formdiv.id,
  6942. "style": {
  6943. "backgroundImage": "url(/img/icon/doc.png)"
  6944. },
  6945. "name": "協同文檔",
  6946. "forms": _formdiv,
  6947. "click": function () {
  6948. U.MD.D.I.openApplication(str, obj, info);
  6949. }
  6950. }
  6951. break;
  6952. }
  6953. const script1 = document.createElement("script");
  6954. script1.type = "text/javascript";
  6955. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6956. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6957. const script2 = document.createElement("script");
  6958. script2.type = "text/javascript";
  6959. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6960. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6961. const script3 = document.createElement("script");
  6962. script3.type = "text/javascript";
  6963. script3.charset = "UTF-8";
  6964. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6965. const script4 = document.createElement("script");
  6966. script4.type = "text/javascript";
  6967. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6968. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  6969. if (_iframe) {
  6970. if (str == 'doc') {
  6971. _iframe = _formdiv.querySelector('iframe')
  6972. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6973. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6974. _iframe.contentWindow.document.body.appendChild(script1);
  6975. _iframe.contentWindow.document.body.appendChild(script2);
  6976. // _iframe.contentWindow.document.body.appendChild(script3);
  6977. _iframe.contentWindow.document.body.appendChild(script4);
  6978. })
  6979. if (onloadListener) {
  6980. _iframe.contentDocument.location.reload()
  6981. } else {
  6982. _iframe.contentDocument.location.reload()
  6983. }
  6984. } else if (str == 'mind') {
  6985. _iframe = _formdiv.querySelector('iframe')
  6986. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6987. _iframe.contentWindow.document.body.appendChild(script1);
  6988. _iframe.contentWindow.document.body.appendChild(script2);
  6989. _iframe.contentWindow.document.body.appendChild(script4);
  6990. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6991. })
  6992. if (onloadListener) {
  6993. _iframe.contentDocument.location.reload()
  6994. } else {
  6995. _iframe.contentDocument.location.reload()
  6996. }
  6997. } else {
  6998. _iframe.onload = () => {
  6999. _iframe.contentWindow.document.body.appendChild(script1);
  7000. _iframe.contentWindow.document.body.appendChild(script2);
  7001. // _iframe.contentWindow.document.body.appendChild(script3);
  7002. _iframe.contentWindow.document.body.appendChild(script4);
  7003. };
  7004. }
  7005. _jie.onclick = async () => {
  7006. let text = ''
  7007. if (aTool == 6) {
  7008. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7009. } else if (aTool == 3) {
  7010. text = await U.MD.D.I.getEditorContent(_iframe);
  7011. }
  7012. _loading.style.display = 'flex'
  7013. console.log(_loading);
  7014. var _ajs = _iframe.contentWindow.document.createElement("script");
  7015. _ajs.type = "text/javascript";
  7016. _ajs.innerHTML =
  7017. // 'console.log(' + _loading + ');\n' +
  7018. 'var _js = document.createElement("script");\n' +
  7019. '_js.type="text/javascript";\n' +
  7020. '_js.charset="UTF-8";\n' +
  7021. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7022. "_js.onload = function(){\n" +
  7023. ' var a = document.getElementsByTagName("img")\n' +
  7024. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7025. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7026. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7027. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7028. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7029. "beforeUpload_shishi(file," +
  7030. "'" +
  7031. _userid +
  7032. "'" +
  7033. ", " +
  7034. "'" +
  7035. _cid +
  7036. "'" +
  7037. ", " +
  7038. "'" +
  7039. _stage +
  7040. "'" +
  7041. ", " +
  7042. "'" +
  7043. _task +
  7044. "'" +
  7045. ", " +
  7046. "'" +
  7047. _tool +
  7048. "'" +
  7049. ", " +
  7050. "'" +
  7051. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7052. "'" +
  7053. ", " +
  7054. "'" +
  7055. aTool +
  7056. "'" +
  7057. ", " +
  7058. "`" +
  7059. text +
  7060. "`" +
  7061. ")\n" +
  7062. " });\n" +
  7063. "}\n" +
  7064. "document.head.appendChild(_js);\n";
  7065. _iframe.contentWindow.document.head.appendChild(_ajs);
  7066. }
  7067. }
  7068. //U.MD.D.I.openClick(str);
  7069. //如果有任務欄信息
  7070. // if (_taskbar) {
  7071. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7072. // }
  7073. }
  7074. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7075. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7076. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7077. _userinfo = US.userInfo, //登錄用戶信息
  7078. _userid = US.userInfo.userid //登錄用戶id
  7079. let _iframe;
  7080. let _cid = cid,
  7081. _stage = stage,
  7082. _task = task,
  7083. _tool = tool;
  7084. var _jie = $$("div", {
  7085. "style": {
  7086. "position": "absolute",
  7087. "bottom": "50px",
  7088. "right": "50px",
  7089. "zIndex": "9999",
  7090. "backgroundColor": "#2268bc",
  7091. "color": "#fff",
  7092. "padding": "12px 20px",
  7093. "cursor": "pointer",
  7094. "borderRadius": "4px",
  7095. },
  7096. "innerHTML": "確認並提交"
  7097. })
  7098. let aTool = ''
  7099. let _loading = document.createElement('div')
  7100. _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;"
  7101. // _loading.id = "";
  7102. let _lchild = document.createElement('div')
  7103. let _limg = document.createElement('img')
  7104. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7105. _limg.style = "width: 26px;margin-right: 10px;"
  7106. _lchild.appendChild(_limg)
  7107. let _lspan = document.createElement('span')
  7108. _lspan.innerHTML = "上傳中..."
  7109. _lchild.appendChild(_lspan)
  7110. _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%);"
  7111. _loading.appendChild(_lchild)
  7112. var _box = $$('div', {
  7113. "style": {
  7114. "position": "relative",
  7115. "width": "100%",
  7116. "height": "100%",
  7117. },
  7118. })
  7119. _box.appendChild(_loading)
  7120. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7121. switch (str) {
  7122. case "whiteboard":
  7123. aTool = 1;
  7124. _iframe = $$("iframe", {
  7125. "frameborder": "no",
  7126. "border": "0",
  7127. "scrolling ": "no",
  7128. "style": {
  7129. "cssText": "border:0;width:100%;height:100%"
  7130. },
  7131. "src": "https://iwb.cocorobo.hk/"
  7132. })
  7133. _box.appendChild(_iframe);
  7134. _box.appendChild(_jie);
  7135. _formdiv = new U.UF.UI.form(
  7136. "電子白板",
  7137. _box, {
  7138. "id": "whiteboards" + cid + stage + task + tool,
  7139. "style": {
  7140. "width": "90%",
  7141. "height": "90%",
  7142. "overflow": 'hidden'
  7143. },
  7144. "onresize": function () { }
  7145. }, {
  7146. closecallback: function () { }
  7147. }, {
  7148. "style": {
  7149. "height": "36px"
  7150. }
  7151. }).form; //創建窗體
  7152. _taskbar = {
  7153. "id": str + _formdiv.id,
  7154. "style": {
  7155. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7156. },
  7157. "name": "電子白板",
  7158. "forms": _formdiv,
  7159. "click": function () {
  7160. U.MD.D.I.openApplication(str, obj, info);
  7161. }
  7162. }
  7163. break;
  7164. case "mind":
  7165. aTool = 3;
  7166. _iframe = $$("iframe", {
  7167. "frameborder": "no",
  7168. "border": "0",
  7169. "scrolling ": "no",
  7170. "style": {
  7171. "cssText": "border:0;width:100%;height:100%"
  7172. },
  7173. "src": "/kityminder-editor/dist/index.html"
  7174. });
  7175. _box.appendChild(_iframe);
  7176. _box.appendChild(_jie);
  7177. _formdiv = new U.UF.UI.form(
  7178. "思維導圖",
  7179. _box, { //"/jsmind/example/demo.html"
  7180. "id": "minds" + cid + stage + task + tool,
  7181. "style": {
  7182. "width": "90%",
  7183. "height": "90%",
  7184. "overflow": 'hidden'
  7185. },
  7186. "onresize": function () { }
  7187. }, {
  7188. closecallback: function () { }
  7189. }, {
  7190. "style": {
  7191. "height": "36px"
  7192. }
  7193. }).form; //創建窗體
  7194. _taskbar = {
  7195. "id": str + _formdiv.id,
  7196. "style": {
  7197. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7198. },
  7199. "name": "思維導圖",
  7200. "forms": _formdiv,
  7201. "click": function () {
  7202. U.MD.D.I.openApplication(str, obj, info);
  7203. }
  7204. }
  7205. break;
  7206. case "doc":
  7207. aTool = 6;
  7208. _iframe = $$("iframe", {
  7209. "frameborder": "no",
  7210. "border": "0",
  7211. "scrolling ": "no",
  7212. "style": {
  7213. "cssText": "border:0;width:100%;height:100%"
  7214. },
  7215. "src": "/Office/Word/WordEditArea.htm"
  7216. })
  7217. _box.appendChild(_iframe);
  7218. _box.appendChild(_jie);
  7219. _formdiv = new U.UF.UI.form(
  7220. "協同文檔",
  7221. _box, {
  7222. "id": "docs" + cid + stage + task + tool,
  7223. "style": {
  7224. "width": "90%",
  7225. "height": "90%",
  7226. "overflow": 'hidden'
  7227. },
  7228. "onresize": function () { }
  7229. }, {
  7230. closecallback: function () { }
  7231. }, {
  7232. "style": {
  7233. "height": "36px"
  7234. }
  7235. }).form; //創建窗體
  7236. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7237. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7238. })
  7239. _taskbar = {
  7240. "id": str + _formdiv.id,
  7241. "style": {
  7242. "backgroundImage": "url(/img/icon/doc.png)"
  7243. },
  7244. "name": "協同文檔",
  7245. "forms": _formdiv,
  7246. "click": function () {
  7247. U.MD.D.I.openApplication(str, obj, info);
  7248. }
  7249. }
  7250. break;
  7251. }
  7252. const script1 = document.createElement("script");
  7253. script1.type = "text/javascript";
  7254. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7255. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7256. const script2 = document.createElement("script");
  7257. script2.type = "text/javascript";
  7258. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7259. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7260. const script3 = document.createElement("script");
  7261. script3.type = "text/javascript";
  7262. script3.charset = "UTF-8";
  7263. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7264. const script4 = document.createElement("script");
  7265. script4.type = "text/javascript";
  7266. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7267. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  7268. if (_iframe) {
  7269. if (str == 'doc') {
  7270. _iframe = _formdiv.querySelector('iframe')
  7271. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7272. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7273. _iframe.contentWindow.document.body.appendChild(script1);
  7274. _iframe.contentWindow.document.body.appendChild(script2);
  7275. // _iframe.contentWindow.document.body.appendChild(script3);
  7276. _iframe.contentWindow.document.body.appendChild(script4);
  7277. })
  7278. if (onloadListener) {
  7279. _iframe.contentDocument.location.reload()
  7280. } else {
  7281. _iframe.contentDocument.location.reload()
  7282. }
  7283. } else if (str == 'mind') {
  7284. _iframe = _formdiv.querySelector('iframe')
  7285. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7286. _iframe.contentWindow.document.body.appendChild(script1);
  7287. _iframe.contentWindow.document.body.appendChild(script2);
  7288. _iframe.contentWindow.document.body.appendChild(script4);
  7289. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7290. })
  7291. if (onloadListener) {
  7292. _iframe.contentDocument.location.reload()
  7293. } else {
  7294. _iframe.contentDocument.location.reload()
  7295. }
  7296. } else {
  7297. _iframe.onload = () => {
  7298. _iframe.contentWindow.document.body.appendChild(script1);
  7299. _iframe.contentWindow.document.body.appendChild(script2);
  7300. // _iframe.contentWindow.document.body.appendChild(script3);
  7301. _iframe.contentWindow.document.body.appendChild(script4);
  7302. };
  7303. }
  7304. _jie.onclick = async () => {
  7305. let text = ''
  7306. if (aTool == 6) {
  7307. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7308. } else if (aTool == 3) {
  7309. text = await U.MD.D.I.getEditorContent(_iframe);
  7310. }
  7311. _loading.style.display = 'flex'
  7312. console.log(_loading);
  7313. var _ajs = _iframe.contentWindow.document.createElement("script");
  7314. _ajs.type = "text/javascript";
  7315. _ajs.innerHTML =
  7316. // 'console.log(' + _loading + ');\n' +
  7317. 'var _js = document.createElement("script");\n' +
  7318. '_js.type="text/javascript";\n' +
  7319. '_js.charset="UTF-8";\n' +
  7320. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7321. "_js.onload = function(){\n" +
  7322. ' var a = document.getElementsByTagName("img")\n' +
  7323. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7324. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7325. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7326. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7327. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7328. "beforeUpload_shishi(file," +
  7329. "'" +
  7330. _userid +
  7331. "'" +
  7332. ", " +
  7333. "'" +
  7334. _cid +
  7335. "'" +
  7336. ", " +
  7337. "'" +
  7338. _stage +
  7339. "'" +
  7340. ", " +
  7341. "'" +
  7342. _task +
  7343. "'" +
  7344. ", " +
  7345. "'" +
  7346. _tool +
  7347. "'" +
  7348. ", " +
  7349. "'" +
  7350. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7351. "'" +
  7352. ", " +
  7353. "'" +
  7354. aTool +
  7355. "'" +
  7356. ", " +
  7357. "`" +
  7358. text +
  7359. "`" +
  7360. ")\n" +
  7361. " });\n" +
  7362. "}\n" +
  7363. "document.head.appendChild(_js);\n";
  7364. _iframe.contentWindow.document.head.appendChild(_ajs);
  7365. }
  7366. }
  7367. //U.MD.D.I.openClick(str);
  7368. //如果有任務欄信息
  7369. // if (_taskbar) {
  7370. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7371. // }
  7372. }
  7373. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7374. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7375. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7376. _userinfo = US.userInfo, //登錄用戶信息
  7377. _userid = US.userInfo.userid //登錄用戶id
  7378. let _iframe;
  7379. let _cid = cid,
  7380. _stage = stage,
  7381. _task = task,
  7382. _tool = tool;
  7383. var _jie = $$("div", {
  7384. "style": {
  7385. "position": "absolute",
  7386. "bottom": "50px",
  7387. "right": "50px",
  7388. "zIndex": "9999",
  7389. "backgroundColor": "#2268bc",
  7390. "color": "#fff",
  7391. "padding": "12px 20px",
  7392. "cursor": "pointer",
  7393. "borderRadius": "4px",
  7394. },
  7395. "innerHTML": "上傳模板"
  7396. })
  7397. let aTool = ''
  7398. let _loading = document.createElement('div')
  7399. _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;"
  7400. // _loading.id = "";
  7401. let _lchild = document.createElement('div')
  7402. let _limg = document.createElement('img')
  7403. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7404. _limg.style = "width: 26px;margin-right: 10px;"
  7405. _lchild.appendChild(_limg)
  7406. let _lspan = document.createElement('span')
  7407. _lspan.innerHTML = "上傳中..."
  7408. _lchild.appendChild(_lspan)
  7409. _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%);"
  7410. _loading.appendChild(_lchild)
  7411. var _box = $$('div', {
  7412. "style": {
  7413. "position": "relative",
  7414. "width": "100%",
  7415. "height": "100%",
  7416. },
  7417. })
  7418. _box.appendChild(_loading)
  7419. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7420. switch (str) {
  7421. case "whiteboard":
  7422. aTool = 1;
  7423. _iframe = $$("iframe", {
  7424. "frameborder": "no",
  7425. "border": "0",
  7426. "scrolling ": "no",
  7427. "style": {
  7428. "cssText": "border:0;width:100%;height:100%"
  7429. },
  7430. "src": "https://iwb.cocorobo.hk/"
  7431. })
  7432. _box.appendChild(_iframe);
  7433. _box.appendChild(_jie);
  7434. _formdiv = new U.UF.UI.form(
  7435. "電子白板",
  7436. _box, {
  7437. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7438. "style": {
  7439. "width": "90%",
  7440. "height": "90%",
  7441. "overflow": 'hidden'
  7442. },
  7443. "onresize": function () { }
  7444. }, {
  7445. closecallback: function () { }
  7446. }, {
  7447. "style": {
  7448. "height": "36px"
  7449. }
  7450. }).form; //創建窗體
  7451. _taskbar = {
  7452. "id": str + _formdiv.id,
  7453. "style": {
  7454. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7455. },
  7456. "name": "電子白板",
  7457. "forms": _formdiv,
  7458. "click": function () {
  7459. U.MD.D.I.openApplication(str, obj, info);
  7460. }
  7461. }
  7462. break;
  7463. case "mind":
  7464. aTool = 3;
  7465. _iframe = $$("iframe", {
  7466. "frameborder": "no",
  7467. "border": "0",
  7468. "scrolling ": "no",
  7469. "style": {
  7470. "cssText": "border:0;width:100%;height:100%"
  7471. },
  7472. "src": "/kityminder-editor/dist/index.html"
  7473. });
  7474. _box.appendChild(_iframe);
  7475. _box.appendChild(_jie);
  7476. _formdiv = new U.UF.UI.form(
  7477. "思維導圖",
  7478. _box, { //"/jsmind/example/demo.html"
  7479. "id": "minds_Yu" + cid + stage + task + tool,
  7480. "style": {
  7481. "width": "90%",
  7482. "height": "90%",
  7483. "overflow": 'hidden'
  7484. },
  7485. "onresize": function () { }
  7486. }, {
  7487. closecallback: function () { }
  7488. }, {
  7489. "style": {
  7490. "height": "36px"
  7491. }
  7492. }).form; //創建窗體
  7493. _taskbar = {
  7494. "id": str + _formdiv.id,
  7495. "style": {
  7496. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7497. },
  7498. "name": "思維導圖",
  7499. "forms": _formdiv,
  7500. "click": function () {
  7501. U.MD.D.I.openApplication(str, obj, info);
  7502. }
  7503. }
  7504. break;
  7505. case "doc":
  7506. aTool = 6;
  7507. _iframe = $$("iframe", {
  7508. "frameborder": "no",
  7509. "border": "0",
  7510. "scrolling ": "no",
  7511. "style": {
  7512. "cssText": "border:0;width:100%;height:100%"
  7513. },
  7514. "src": "/Office/Word/WordEditArea.htm"
  7515. })
  7516. _box.appendChild(_iframe);
  7517. _box.appendChild(_jie);
  7518. _formdiv = new U.UF.UI.form(
  7519. "協同文檔",
  7520. _box, {
  7521. "id": "docs_Yu" + cid + stage + task + tool,
  7522. "style": {
  7523. "width": "90%",
  7524. "height": "90%",
  7525. "overflow": 'hidden'
  7526. },
  7527. "onresize": function () { }
  7528. }, {
  7529. closecallback: function () { }
  7530. }, {
  7531. "style": {
  7532. "height": "36px"
  7533. }
  7534. }).form; //創建窗體
  7535. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7536. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7537. })
  7538. _taskbar = {
  7539. "id": str + _formdiv.id,
  7540. "style": {
  7541. "backgroundImage": "url(/img/icon/doc.png)"
  7542. },
  7543. "name": "協同文檔",
  7544. "forms": _formdiv,
  7545. "click": function () {
  7546. U.MD.D.I.openApplication(str, obj, info);
  7547. }
  7548. }
  7549. break;
  7550. case "CocoPi":
  7551. aTool = 57;
  7552. _iframe = $$("iframe", {
  7553. "allowpaymentrequest": "allowpaymentrequest",
  7554. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7555. "webkitallowfullscreen": "",
  7556. "mozallowfullscreen": "",
  7557. "frameborder": "no",
  7558. "border": "0",
  7559. "scrolling ": "no",
  7560. "style": {
  7561. "cssText": "border:0;width:100%;height:100%"
  7562. },
  7563. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7564. })
  7565. _box.appendChild(_iframe);
  7566. _box.appendChild(_jie);
  7567. _formdiv = new U.UF.UI.form(
  7568. "CocoPi",
  7569. _box, {
  7570. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7571. "style": {
  7572. "width": "90%",
  7573. "height": "90%",
  7574. "overflow": 'hidden'
  7575. },
  7576. "onresize": function () { }
  7577. }, {
  7578. closecallback: function () { }
  7579. }, {
  7580. "style": {
  7581. "height": "36px"
  7582. }
  7583. }).form; //創建窗體
  7584. _taskbar = {
  7585. "id": str + _formdiv.id,
  7586. "style": {
  7587. "backgroundImage": "url(/img/icon/cocopi.png)"
  7588. },
  7589. "name": "CocoPi",
  7590. "forms": _formdiv,
  7591. "click": function () {
  7592. U.MD.D.I.openApplication(str, obj, info);
  7593. }
  7594. }
  7595. break;
  7596. }
  7597. if (_iframe) {
  7598. if (str == 'doc') {
  7599. _iframe = _formdiv.querySelector('iframe')
  7600. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7601. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7602. })
  7603. if (onloadListener) {
  7604. _iframe.contentDocument.location.reload()
  7605. } else {
  7606. _iframe.contentDocument.location.reload()
  7607. }
  7608. } else if (str == 'mind') {
  7609. _iframe = _formdiv.querySelector('iframe')
  7610. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7611. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7612. })
  7613. if (onloadListener) {
  7614. _iframe.contentDocument.location.reload()
  7615. } else {
  7616. _iframe.contentDocument.location.reload()
  7617. }
  7618. } else if (str == 'whiteboard') {
  7619. _iframe = _formdiv.querySelector('iframe')
  7620. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7621. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7622. })
  7623. if (onloadListener) {
  7624. _iframe.contentDocument.location.reload()
  7625. } else {
  7626. _iframe.contentDocument.location.reload()
  7627. }
  7628. } else if (str == 'CocoPi') {
  7629. _iframe = _formdiv.querySelector('iframe')
  7630. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7631. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7632. })
  7633. if (onloadListener) {
  7634. _iframe.contentDocument.location.reload()
  7635. } else {
  7636. _iframe.contentDocument.location.reload()
  7637. }
  7638. } else {
  7639. _iframe.onload = () => { };
  7640. }
  7641. _jie.onclick = async () => {
  7642. let text = ''
  7643. let type = '2'
  7644. if (aTool == 1) {
  7645. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7646. type = '3'
  7647. } else if (aTool == 6) {
  7648. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7649. type = '1'
  7650. } else if (aTool == 3) {
  7651. text = await U.MD.D.I.getEditorContent(_iframe);
  7652. type = '2'
  7653. } else if (aTool == 57) {
  7654. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7655. type = '4'
  7656. }
  7657. _loading.style.display = 'flex'
  7658. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7659. }
  7660. }
  7661. //U.MD.D.I.openClick(str);
  7662. //如果有任務欄信息
  7663. // if (_taskbar) {
  7664. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7665. // }
  7666. }
  7667. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7668. var xmlhttp;
  7669. var Mac, Sn, DeviceId
  7670. if (window.XMLHttpRequest) {
  7671. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7672. xmlhttp = new XMLHttpRequest();
  7673. }
  7674. else {
  7675. // IE6, IE5 瀏覽器執行代碼
  7676. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7677. }
  7678. xmlhttp.onreadystatechange = function () {
  7679. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7680. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7681. // resolve(res.value[0][0].text);
  7682. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7683. }
  7684. }
  7685. }
  7686. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7687. xmlhttp.send();
  7688. }
  7689. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7690. var xmlhttp;
  7691. var Mac, Sn, DeviceId
  7692. if (window.XMLHttpRequest) {
  7693. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7694. xmlhttp = new XMLHttpRequest();
  7695. }
  7696. else {
  7697. // IE6, IE5 瀏覽器執行代碼
  7698. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7699. }
  7700. xmlhttp.onreadystatechange = function () {
  7701. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7702. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7703. // resolve(res.value[0][0].text);
  7704. if (type == '2') {
  7705. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7706. } else if (type == '3') {
  7707. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7708. } else if (type == '4') {
  7709. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7710. }
  7711. } else {
  7712. if (type == '2') {
  7713. iframe.contentWindow.editor.minder.importData('json', '')
  7714. } else if (type == '3') {
  7715. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7716. } else if (type == '4') {
  7717. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7718. }
  7719. }
  7720. }
  7721. }
  7722. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7723. xmlhttp.send();
  7724. }
  7725. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7726. var xmlhttp;
  7727. var Mac, Sn, DeviceId
  7728. if (window.XMLHttpRequest) {
  7729. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7730. xmlhttp = new XMLHttpRequest();
  7731. }
  7732. else {
  7733. // IE6, IE5 瀏覽器執行代碼
  7734. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7735. }
  7736. xmlhttp.onreadystatechange = function () {
  7737. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7738. if (xmlhttp.response) {
  7739. // resolve(res.value[0][0].text);
  7740. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7741. // $(fileInput).val('');
  7742. // });
  7743. span.innerHTML = '上傳成功'
  7744. setTimeout(() => {
  7745. loading.style.display = 'none'
  7746. }, 1000);
  7747. }
  7748. }
  7749. }
  7750. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7751. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7752. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7753. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7754. // 設置請求頭,表示請求體的編碼格式
  7755. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7756. // 設置請求體,使用url-encoded格式的數據
  7757. }
  7758. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7759. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7760. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7761. _userinfo = US.userInfo, //登錄用戶信息
  7762. _userid = US.userInfo.userid //登錄用戶id
  7763. let _iframe;
  7764. let _cid = cid,
  7765. _stage = stage,
  7766. _task = task,
  7767. _tool = tool;
  7768. var _jie = $$("div", {
  7769. "style": {
  7770. "position": "absolute",
  7771. "bottom": "50px",
  7772. "right": "50px",
  7773. "zIndex": "9999",
  7774. "backgroundColor": "#2268bc",
  7775. "color": "#fff",
  7776. "padding": "12px 20px",
  7777. "cursor": "pointer",
  7778. "borderRadius": "4px",
  7779. },
  7780. "innerHTML": "提交作業"
  7781. })
  7782. let aTool = ''
  7783. let _loading = document.createElement('div')
  7784. _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;"
  7785. // _loading.id = "";
  7786. let _lchild = document.createElement('div')
  7787. let _limg = document.createElement('img')
  7788. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7789. _limg.style = "width: 26px;margin-right: 10px;"
  7790. _lchild.appendChild(_limg)
  7791. let _lspan = document.createElement('span')
  7792. _lspan.innerHTML = "上傳中..."
  7793. _lchild.appendChild(_lspan)
  7794. _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%);"
  7795. _loading.appendChild(_lchild)
  7796. var _box = $$('div', {
  7797. "style": {
  7798. "position": "relative",
  7799. "width": "100%",
  7800. "height": "100%",
  7801. },
  7802. })
  7803. _box.appendChild(_loading)
  7804. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7805. switch (str) {
  7806. case "CocoPi":
  7807. aTool = 57;
  7808. _iframe = $$("iframe", {
  7809. "allowpaymentrequest": "allowpaymentrequest",
  7810. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7811. "webkitallowfullscreen": "",
  7812. "mozallowfullscreen": "",
  7813. "frameborder": "no",
  7814. "border": "0",
  7815. "scrolling ": "no",
  7816. "style": {
  7817. "cssText": "border:0;width:100%;height:100%"
  7818. },
  7819. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7820. })
  7821. _box.appendChild(_iframe);
  7822. _box.appendChild(_jie);
  7823. _formdiv = new U.UF.UI.form(
  7824. "CocoPi",
  7825. _box, {
  7826. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7827. "style": {
  7828. "width": "90%",
  7829. "height": "90%",
  7830. "overflow": 'hidden'
  7831. },
  7832. "onresize": function () { }
  7833. }, {
  7834. closecallback: function () { }
  7835. }, {
  7836. "style": {
  7837. "height": "36px"
  7838. }
  7839. }).form; //創建窗體
  7840. _taskbar = {
  7841. "id": str + _formdiv.id,
  7842. "style": {
  7843. "backgroundImage": "url(/img/icon/cocopi.png)"
  7844. },
  7845. "name": "CocoPi",
  7846. "forms": _formdiv,
  7847. "click": function () {
  7848. U.MD.D.I.openApplication(str, obj, info);
  7849. }
  7850. }
  7851. break;
  7852. }
  7853. if (_iframe) {
  7854. if (str == 'CocoPi') {
  7855. _iframe = _formdiv.querySelector('iframe')
  7856. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7857. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7858. })
  7859. if (onloadListener) {
  7860. _iframe.contentDocument.location.reload()
  7861. } else {
  7862. _iframe.contentDocument.location.reload()
  7863. }
  7864. }
  7865. _jie.onclick = async () => {
  7866. let text = ''
  7867. if (aTool == 57) {
  7868. text = _iframe.contentWindow.getLoadXmlStr()
  7869. }
  7870. _loading.style.display = 'flex'
  7871. console.log(_loading);
  7872. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7873. _loading.style.display = 'none'
  7874. let _div = document.createElement('div')
  7875. _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;"
  7876. let _inner = document.createElement('div')
  7877. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7878. _inner.innerHTML = "上傳成功"
  7879. _div.appendChild(_inner)
  7880. _iframe.contentWindow.window.document.body.appendChild(_div)
  7881. _div.onclick = () => {
  7882. _iframe.contentWindow.window.document.body.removeChild(_div)
  7883. }
  7884. setTimeout(() => {
  7885. _iframe.contentWindow.window.document.body.removeChild(_div)
  7886. }, 1000);
  7887. }, [], { "type": "POST", "withCredentials": true });
  7888. }
  7889. }
  7890. }
  7891. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7892. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7893. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7894. _userid = student.userid, //登錄用戶id
  7895. _username = student.student //用戶名字
  7896. let _iframe;
  7897. let _cid = cid,
  7898. _stage = stage,
  7899. _task = task,
  7900. _tool = tool;
  7901. var _jie = $$("div", {
  7902. "style": {
  7903. "position": "absolute",
  7904. "bottom": "50px",
  7905. "right": "50px",
  7906. "zIndex": "9999",
  7907. "backgroundColor": "#2268bc",
  7908. "color": "#fff",
  7909. "padding": "12px 20px",
  7910. "cursor": "pointer",
  7911. "borderRadius": "4px",
  7912. },
  7913. "innerHTML": "提交作業"
  7914. })
  7915. let aTool = ''
  7916. let _loading = document.createElement('div')
  7917. _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;"
  7918. // _loading.id = "";
  7919. let _lchild = document.createElement('div')
  7920. let _limg = document.createElement('img')
  7921. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7922. _limg.style = "width: 26px;margin-right: 10px;"
  7923. _lchild.appendChild(_limg)
  7924. let _lspan = document.createElement('span')
  7925. _lspan.innerHTML = "上傳中..."
  7926. _lchild.appendChild(_lspan)
  7927. _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%);"
  7928. _loading.appendChild(_lchild)
  7929. var _box = $$('div', {
  7930. "style": {
  7931. "position": "relative",
  7932. "width": "100%",
  7933. "height": "100%",
  7934. },
  7935. })
  7936. _box.appendChild(_loading)
  7937. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7938. switch (str) {
  7939. case "CocoPi":
  7940. aTool = 57;
  7941. _iframe = $$("iframe", {
  7942. "allowpaymentrequest": "allowpaymentrequest",
  7943. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7944. "webkitallowfullscreen": "",
  7945. "mozallowfullscreen": "",
  7946. "frameborder": "no",
  7947. "border": "0",
  7948. "scrolling ": "no",
  7949. "style": {
  7950. "cssText": "border:0;width:100%;height:100%"
  7951. },
  7952. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7953. })
  7954. _box.appendChild(_iframe);
  7955. _box.appendChild(_jie);
  7956. _formdiv = new U.UF.UI.form(
  7957. "CocoPi-" + _username,
  7958. _box, {
  7959. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7960. "style": {
  7961. "width": "90%",
  7962. "height": "90%",
  7963. "overflow": 'hidden'
  7964. },
  7965. "onresize": function () { }
  7966. }, {
  7967. closecallback: function () { }
  7968. }, {
  7969. "style": {
  7970. "height": "36px"
  7971. }
  7972. }).form; //創建窗體
  7973. _taskbar = {
  7974. "id": str + _formdiv.id,
  7975. "style": {
  7976. "backgroundImage": "url(/img/icon/cocopi.png)"
  7977. },
  7978. "name": "CocoPi",
  7979. "forms": _formdiv,
  7980. "click": function () {
  7981. U.MD.D.I.openApplication(str, obj, info);
  7982. }
  7983. }
  7984. break;
  7985. }
  7986. if (_iframe) {
  7987. if (str == 'CocoPi') {
  7988. _iframe = _formdiv.querySelector('iframe')
  7989. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7990. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7991. })
  7992. if (onloadListener) {
  7993. _iframe.contentDocument.location.reload()
  7994. } else {
  7995. _iframe.contentDocument.location.reload()
  7996. }
  7997. }
  7998. _jie.onclick = async () => {
  7999. let text = ''
  8000. if (aTool == 57) {
  8001. text = _iframe.contentWindow.getLoadXmlStr()
  8002. }
  8003. _loading.style.display = 'flex'
  8004. console.log(_loading);
  8005. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8006. _loading.style.display = 'none'
  8007. let _div = document.createElement('div')
  8008. _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;"
  8009. let _inner = document.createElement('div')
  8010. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8011. _inner.innerHTML = "上傳成功"
  8012. _div.appendChild(_inner)
  8013. _iframe.contentWindow.window.document.body.appendChild(_div)
  8014. _div.onclick = () => {
  8015. _iframe.contentWindow.window.document.body.removeChild(_div)
  8016. }
  8017. setTimeout(() => {
  8018. _iframe.contentWindow.window.document.body.removeChild(_div)
  8019. }, 1000);
  8020. }, [], { "type": "POST", "withCredentials": true });
  8021. }
  8022. }
  8023. }
  8024. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8025. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8026. if (res.value[0].length > 0) {
  8027. if (atool == 57) {
  8028. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8029. }
  8030. } else {
  8031. if (atool == 57) {
  8032. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8033. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8034. }
  8035. }
  8036. }, [], { "type": "POST", "withCredentials": true });
  8037. }