DeskTop.js 534 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819
  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. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "漢字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "國學經典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "筆畫訓練", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "書法課堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "課程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "學生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "學生評價", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班級管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "課程進展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的評價", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北師大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "數字實驗室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  458. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  475. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教師桌面圖標的全局變量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教師桌面圖標的全局變量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龍華中心小學教師桌面圖標的全局變量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院實小教師桌面圖標的全局變量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "數據融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "評測看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "教師管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  633. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  634. ];
  635. //教科院實小教師桌面圖標的全局變量
  636. U.MD.D.I.siesStudentDeskIcon = [
  637. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  641. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  642. ];
  643. //福田
  644. U.MD.D.I.gdjgTeacherDeskIcon = [
  645. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  650. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  651. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  652. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  653. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  654. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  656. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  657. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  658. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //gdjg
  661. U.MD.D.I.gdjgAdminDeskIcon = [
  662. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  673. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  674. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  675. ];
  676. //hk
  677. U.MD.D.I.hkteacherDeskIcon = [
  678. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  681. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  682. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  685. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  686. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  687. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  688. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  689. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  691. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  694. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  695. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  696. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkStudentDeskIcon = [
  700. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  702. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  703. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  706. ];
  707. //hk
  708. U.MD.D.I.hkaceteacherDeskIcon = [
  709. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  710. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  711. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  712. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  713. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  718. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  719. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  720. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  721. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  722. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  726. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  728. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  729. ];
  730. //hk
  731. U.MD.D.I.hkaceStudentDeskIcon = [
  732. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  733. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  734. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  735. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  736. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  737. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  738. ];
  739. //香海正覺蓮社佛教正覺中學
  740. U.MD.D.I.hkZJLSteacherDeskIcon = [
  741. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  742. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  743. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  744. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  745. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  746. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  747. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  748. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  749. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  750. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  751. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  752. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  753. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  754. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  755. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  756. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  757. ];
  758. //香海正覺蓮社佛教正覺中學
  759. U.MD.D.I.hkZJLSStudentDeskIcon = [
  760. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  761. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  762. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  763. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  764. ];
  765. //雲海
  766. U.MD.D.I.yunhaiTeacherDeskIcon = [
  767. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  768. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  769. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  770. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  771. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  772. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  773. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  774. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  775. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  776. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  777. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  778. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  779. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  780. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  781. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  782. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  783. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  784. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  785. ];
  786. //福田
  787. U.MD.D.I.heyuanTeacherDeskIcon = [
  788. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  789. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  790. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  791. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  792. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  793. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  794. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  795. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  796. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  797. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  798. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  799. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  800. ];
  801. //福田
  802. U.MD.D.I.heyuanAdminDeskIcon = [
  803. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  804. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  805. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  806. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  807. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  808. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  809. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  810. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  811. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  812. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  813. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  814. ];
  815. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  816. U.MD.D.I.szherTeacherDeskIcon = [
  817. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  818. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  819. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  820. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  821. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  822. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  823. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  824. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  826. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  827. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  828. ];
  829. //dsei
  830. U.MD.D.I.dseiTeacherDeskIcon = [
  831. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  832. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  833. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  834. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  835. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  836. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  837. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  838. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  839. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  840. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  841. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  842. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  843. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  844. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  845. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  846. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  847. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  848. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  849. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  850. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  851. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  852. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  853. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  854. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  855. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  856. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  857. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  858. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  859. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  860. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  861. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  862. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  863. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  864. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  865. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  866. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  867. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  868. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  869. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  870. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  871. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  872. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  873. ];
  874. //dsei
  875. U.MD.D.I.dseiAdminDeskIcon = [
  876. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  877. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  878. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  879. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  880. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  881. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  882. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  883. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  884. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  885. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  886. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  887. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  888. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  889. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  890. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  891. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  892. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  893. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  894. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  895. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  896. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  897. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  898. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  899. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  900. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  901. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  902. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  903. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  904. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  905. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  906. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  907. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  908. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  909. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  910. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  911. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  912. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  913. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  915. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  916. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  917. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  918. ];
  919. //dsei
  920. U.MD.D.I.dseiStudentDeskIcon = [
  921. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  922. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  923. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  924. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  925. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  926. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  927. ];
  928. //未來教育基地
  929. U.MD.D.I.szjkyTeacherDeskIcon = [
  930. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  931. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  932. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  933. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  934. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  935. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  936. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  937. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  938. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  939. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  940. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  941. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  942. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  943. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  944. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  945. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  946. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  947. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  948. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  949. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  950. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  951. ];
  952. //未來教育基地
  953. U.MD.D.I.szjkyAdminDeskIcon = [
  954. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  955. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  956. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  957. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  958. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  959. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  960. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  961. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  962. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  963. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  964. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  965. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  966. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  967. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  968. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  969. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  970. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  971. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  972. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  973. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  974. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  975. ];
  976. //未來教育基地
  977. U.MD.D.I.szjkyStudentDeskIcon = [
  978. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  979. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  980. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  981. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  982. ];
  983. //成華教育局
  984. U.MD.D.I.chjyjTeacherDeskIcon = [
  985. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  986. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  987. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  988. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  989. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  990. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  991. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  992. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  993. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  994. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  995. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  997. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  998. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  999. ];
  1000. //成華教育局chjyj
  1001. U.MD.D.I.chjyjAdminDeskIcon = [
  1002. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1003. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1004. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1005. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1006. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1007. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1008. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1009. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1010. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1011. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1012. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1013. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1014. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1015. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1016. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1017. ];
  1018. //成華教育局chjyj
  1019. U.MD.D.I.chjyjStudentDeskIcon = [
  1020. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1021. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1022. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1023. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1024. ];
  1025. //tpc
  1026. U.MD.D.I.tpcStudentDeskIcon = [
  1027. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1028. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1029. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1030. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1031. ];
  1032. //tpc
  1033. U.MD.D.I.tpcTeacherDeskIcon = [
  1034. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1035. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1036. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1037. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1038. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1039. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1040. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1041. ];
  1042. //tpc
  1043. U.MD.D.I.tpcAdminDeskIcon = [
  1044. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1045. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1046. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1047. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1048. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1049. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1050. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1051. ];
  1052. //THU-IOE
  1053. U.MD.D.I.thuioeTeacherDeskIcon = [
  1054. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1055. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1056. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1057. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1058. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1059. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1060. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1061. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1062. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1063. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1064. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1065. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1066. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1067. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1068. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1069. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1070. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1071. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1072. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1073. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1074. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1075. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1076. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1077. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1078. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1079. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1080. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1081. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1082. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1083. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1084. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1085. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1086. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1087. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1088. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1089. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1090. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1091. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1092. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1093. ];
  1094. //THU-IOE
  1095. U.MD.D.I.thuioeStudentDeskIcon = [
  1096. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1097. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1098. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1099. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1100. ];
  1101. //jccssyl
  1102. U.MD.D.I.jccssylTeacherDeskIcon = [
  1103. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1104. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1105. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1106. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1107. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1108. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1109. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1110. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1111. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1112. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1113. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1114. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1115. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1116. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1117. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1118. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1119. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1120. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1121. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1122. ];
  1123. //jccssyl
  1124. U.MD.D.I.jccssylStudentDeskIcon = [
  1125. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1126. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1127. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1128. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1129. ];
  1130. //cale
  1131. U.MD.D.I.caleTeacherDeskIcon = [
  1132. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1133. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1134. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1135. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1136. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1137. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1138. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1139. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1140. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1141. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1142. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1143. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1144. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1145. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1146. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1147. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1148. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1149. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1150. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1151. ];
  1152. //cale
  1153. U.MD.D.I.caleStudentDeskIcon = [
  1154. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1155. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1156. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1157. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1158. ];
  1159. //lqwmsgzs
  1160. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1161. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1162. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1163. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1164. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1165. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1166. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1167. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1168. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1169. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1170. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1171. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1172. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1173. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1174. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1175. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1176. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1177. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1178. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1179. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1180. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1181. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1182. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1183. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1184. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1185. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1186. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1187. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1188. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1189. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1190. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1191. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1192. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1193. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1194. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1195. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1196. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1197. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1198. ];
  1199. //lqwmsgzs
  1200. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1201. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1202. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1203. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1204. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1205. ];
  1206. //鹽田區幼兒園
  1207. U.MD.D.I.ytyTeacherDeskIcon = [
  1208. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1209. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1210. { "Name": "課程評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1211. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1212. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1213. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1214. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1215. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1216. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1217. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1218. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1219. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1220. ];
  1221. //鹽田區幼兒園
  1222. U.MD.D.I.ytyStudentDeskIcon = [
  1223. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1224. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1225. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1226. ];
  1227. //#region 桌面初始化a
  1228. /**
  1229. * 初始化桌面的起始函數
  1230. *
  1231. */
  1232. U.MD.D.I.init = function () {
  1233. if ($("#U_MD_D_K")[0]) {
  1234. //初始化桌面圖標
  1235. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1236. // var clickUrl = ':12588/requestIp.php';
  1237. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1238. // U.MD.D.I.Ip = data;
  1239. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1240. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1241. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1242. // })
  1243. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1244. // })
  1245. }
  1246. }
  1247. /**
  1248. * 模式切換
  1249. *
  1250. */
  1251. U.MD.D.I.ModeCheck = function (type) {
  1252. if (US.Config.type == type) {
  1253. return
  1254. }
  1255. US.Config.type = type
  1256. $('.U_PBL_Check .active')[0].className = ''
  1257. if (type == 1) {
  1258. $('.U_PBL_Check div')[0].className = 'active'
  1259. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1260. } else {
  1261. $('.U_PBL_Check div')[1].className = 'active'
  1262. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1263. }
  1264. //初始化桌面圖標
  1265. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1266. if (type == 2) {
  1267. U.MD.D.I.openApplication("project")
  1268. }
  1269. }
  1270. /**
  1271. * 隱藏任務欄
  1272. *
  1273. * @param {element} 桌面元素
  1274. */
  1275. U.MD.D.I.hiddenTaskbar = function (el) {
  1276. //任務欄位置變小
  1277. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1278. //桌面的位置變大
  1279. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1280. }
  1281. /**
  1282. * 隱藏任務欄
  1283. *
  1284. * @param {element} 桌面元素
  1285. */
  1286. U.MD.D.I.hiddenTaskbarout = function (el) {
  1287. //任務欄位置變小
  1288. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1289. //任務欄位置變化
  1290. U.selectEl(el).css({ "bottom": "-60px" });
  1291. //桌面的位置變大
  1292. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1293. }
  1294. }
  1295. /**
  1296. * 初始化打印桌面圖標
  1297. *
  1298. * @param {element} 桌面元素
  1299. */
  1300. U.MD.D.I.initDesktopIcons = function (el, type) {
  1301. var i, //用於循環
  1302. _content, //桌面圖標元素
  1303. _iconcontent, //桌面圖標元素
  1304. _frag = $$("frag"), //定義一個碎片元素
  1305. _type = US.userInfo.type,
  1306. _org = US.userInfo.org,
  1307. _oid = US.userInfo.organizeid,
  1308. _role = US.userInfo.role,
  1309. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1310. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1311. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1312. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1313. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1314. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1315. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1316. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1317. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1318. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1319. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1320. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大
  1321. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1322. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1323. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1324. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1325. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1326. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1327. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1328. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1329. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1330. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1331. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1332. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1333. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1334. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1335. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1336. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1337. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1338. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1339. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1340. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1341. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1342. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1343. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1344. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1345. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1346. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1347. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1348. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1349. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1350. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1351. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1352. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1353. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1354. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1355. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1356. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1357. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1358. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1359. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1360. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1361. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1362. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1363. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1364. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1365. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1366. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1367. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1368. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1369. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1370. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1371. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 鹽田幼兒園
  1372. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 鹽田幼兒園
  1373. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
  1374. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
  1375. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //網絡夏令營
  1376. 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', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
  1377. 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', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
  1378. //清楚桌面圖標
  1379. el.innerHTML = "";
  1380. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1381. _teacherDesktopIconInfo.push(
  1382. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1383. { "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)" } },
  1384. )
  1385. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1386. }
  1387. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1388. _teacherDesktopIconInfo.push(
  1389. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1390. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1391. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1392. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1393. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1394. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1395. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1396. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1397. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1398. { "Name": "教師中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1399. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1400. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1401. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1402. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1403. )
  1404. }
  1405. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1406. // _teacherDesktopIconInfo.push(
  1407. // )
  1408. // }
  1409. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1410. _teacherDesktopIconInfo.push(
  1411. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1412. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1413. )
  1414. }
  1415. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1416. _teacherDesktopIconInfo.push(
  1417. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1418. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1419. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1420. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1421. )
  1422. _studentDesktopIconInfo.push(
  1423. )
  1424. }
  1425. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1426. _teacherDesktopIconInfo.push(
  1427. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1428. )
  1429. _studentDesktopIconInfo.push(
  1430. )
  1431. }
  1432. //麒麟二中 和 民新小學
  1433. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1434. _teacherDesktopIconInfo.push(
  1435. )
  1436. }
  1437. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1438. _teacherDesktopIconInfo.push(
  1439. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1440. { "Name": "教師中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1441. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1442. )
  1443. }
  1444. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1445. _teacherDesktopIconInfo.push(
  1446. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1447. )
  1448. }
  1449. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1450. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1451. _teacherDesktopIconInfo.push(
  1452. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1453. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1454. )
  1455. }
  1456. //麒麟二中
  1457. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1458. _studentDesktopIconInfo.push(
  1459. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1460. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1461. )
  1462. }
  1463. //萬科雙語
  1464. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1465. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1466. if (el.Name == '項目管理') {
  1467. el.Name = 'PBL項目'
  1468. }
  1469. return el
  1470. })
  1471. _studentDesktopIconInfo3.push(
  1472. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1473. )
  1474. }
  1475. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1476. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1477. return el.Name != '魔盒識字' && el.Name != '24點'
  1478. })
  1479. }
  1480. 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) {
  1481. _studentDesktopIconInfo.push(
  1482. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1483. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1484. )
  1485. }
  1486. //循環創建桌面圖標
  1487. if (type == 1) {
  1488. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1489. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1490. _content = $$("div", {
  1491. className: "U_MD_D_KO",
  1492. "onmousedown": U.UF.C.closure(function (obj) {
  1493. //防止拖動圖標即打開了桌面應用
  1494. U.MD.D.click(this, obj);
  1495. }, [_studentDesktopIconInfo[i]]),
  1496. "onclick": U.UF.C.closure(function (obj) {
  1497. //防止拖動圖標即打開了桌面應用
  1498. U.MD.D.click(this, obj);
  1499. }, [_studentDesktopIconInfo[i]])
  1500. }, _frag); //
  1501. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1502. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1503. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1504. }
  1505. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1506. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1507. _content = $$("div", {
  1508. className: "U_MD_D_KO",
  1509. "onmousedown": U.UF.C.closure(function (obj) {
  1510. //防止拖動圖標即打開了桌面應用
  1511. U.MD.D.click(this, obj);
  1512. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1513. "onclick": U.UF.C.closure(function (obj) {
  1514. //防止拖動圖標即打開了桌面應用
  1515. U.MD.D.click(this, obj);
  1516. }, [_hkZJLSStudentDeskIconInfo[i]])
  1517. }, _frag); //
  1518. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1519. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1520. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1521. } //
  1522. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1523. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1524. _content = $$("div", {
  1525. className: "U_MD_D_KO",
  1526. "onmousedown": U.UF.C.closure(function (obj) {
  1527. //防止拖動圖標即打開了桌面應用
  1528. U.MD.D.click(this, obj);
  1529. }, [_ytyStudentDeskIconInfo[i]]),
  1530. "onclick": U.UF.C.closure(function (obj) {
  1531. //防止拖動圖標即打開了桌面應用
  1532. U.MD.D.click(this, obj);
  1533. }, [_ytyStudentDeskIconInfo[i]])
  1534. }, _frag); //
  1535. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1536. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1537. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1538. } //
  1539. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1540. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1541. _content = $$("div", {
  1542. className: "U_MD_D_KO",
  1543. "onmousedown": U.UF.C.closure(function (obj) {
  1544. //防止拖動圖標即打開了桌面應用
  1545. U.MD.D.click(this, obj);
  1546. }, [_jccssylStudentDeskIconInfo[i]]),
  1547. "onclick": U.UF.C.closure(function (obj) {
  1548. //防止拖動圖標即打開了桌面應用
  1549. U.MD.D.click(this, obj);
  1550. }, [_jccssylStudentDeskIconInfo[i]])
  1551. }, _frag); //
  1552. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1553. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1554. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1555. }
  1556. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1557. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1558. _content = $$("div", {
  1559. className: "U_MD_D_KO",
  1560. "onmousedown": U.UF.C.closure(function (obj) {
  1561. //防止拖動圖標即打開了桌面應用
  1562. U.MD.D.click(this, obj);
  1563. }, [_caleStudentDeskIconInfo[i]]),
  1564. "onclick": U.UF.C.closure(function (obj) {
  1565. //防止拖動圖標即打開了桌面應用
  1566. U.MD.D.click(this, obj);
  1567. }, [_caleStudentDeskIconInfo[i]])
  1568. }, _frag); //
  1569. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1570. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1571. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1572. }
  1573. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1574. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1575. _content = $$("div", {
  1576. className: "U_MD_D_KO",
  1577. "onmousedown": U.UF.C.closure(function (obj) {
  1578. //防止拖動圖標即打開了桌面應用
  1579. U.MD.D.click(this, obj);
  1580. }, [_thuioeStudentDeskIconInfo[i]]),
  1581. "onclick": U.UF.C.closure(function (obj) {
  1582. //防止拖動圖標即打開了桌面應用
  1583. U.MD.D.click(this, obj);
  1584. }, [_thuioeStudentDeskIconInfo[i]])
  1585. }, _frag); //
  1586. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1587. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1588. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1589. }
  1590. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1591. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1592. _content = $$("div", {
  1593. className: "U_MD_D_KO",
  1594. "onmousedown": U.UF.C.closure(function (obj) {
  1595. //防止拖動圖標即打開了桌面應用
  1596. U.MD.D.click(this, obj);
  1597. }, [_tpcStudentDeskIconInfo[i]]),
  1598. "onclick": U.UF.C.closure(function (obj) {
  1599. //防止拖動圖標即打開了桌面應用
  1600. U.MD.D.click(this, obj);
  1601. }, [_tpcStudentDeskIconInfo[i]])
  1602. }, _frag); //
  1603. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1604. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1605. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1606. } //
  1607. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1608. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1609. _content = $$("div", {
  1610. className: "U_MD_D_KO",
  1611. "onmousedown": U.UF.C.closure(function (obj) {
  1612. //防止拖動圖標即打開了桌面應用
  1613. U.MD.D.click(this, obj);
  1614. }, [_chjyjStudentDeskIconInfo[i]]),
  1615. "onclick": U.UF.C.closure(function (obj) {
  1616. //防止拖動圖標即打開了桌面應用
  1617. U.MD.D.click(this, obj);
  1618. }, [_chjyjStudentDeskIconInfo[i]])
  1619. }, _frag); //
  1620. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1621. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1622. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1623. }
  1624. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1625. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1626. _content = $$("div", {
  1627. className: "U_MD_D_KO",
  1628. "onmousedown": U.UF.C.closure(function (obj) {
  1629. //防止拖動圖標即打開了桌面應用
  1630. U.MD.D.click(this, obj);
  1631. }, [_szjkyStudentDeskIconInfo[i]]),
  1632. "onclick": U.UF.C.closure(function (obj) {
  1633. //防止拖動圖標即打開了桌面應用
  1634. U.MD.D.click(this, obj);
  1635. }, [_szjkyStudentDeskIconInfo[i]])
  1636. }, _frag); //
  1637. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1638. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1639. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1640. }
  1641. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1642. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1643. _content = $$("div", {
  1644. className: "U_MD_D_KO",
  1645. "onmousedown": U.UF.C.closure(function (obj) {
  1646. //防止拖動圖標即打開了桌面應用
  1647. U.MD.D.click(this, obj);
  1648. }, [_dseiStudentDeskIconInfo[i]]),
  1649. "onclick": U.UF.C.closure(function (obj) {
  1650. //防止拖動圖標即打開了桌面應用
  1651. U.MD.D.click(this, obj);
  1652. }, [_dseiStudentDeskIconInfo[i]])
  1653. }, _frag); //
  1654. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1655. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1656. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1657. }
  1658. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1659. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1660. _content = $$("div", {
  1661. className: "U_MD_D_KO",
  1662. "onmousedown": U.UF.C.closure(function (obj) {
  1663. //防止拖動圖標即打開了桌面應用
  1664. U.MD.D.click(this, obj);
  1665. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1666. "onclick": U.UF.C.closure(function (obj) {
  1667. //防止拖動圖標即打開了桌面應用
  1668. U.MD.D.click(this, obj);
  1669. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1670. }, _frag); //
  1671. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1672. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1673. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1674. }
  1675. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1676. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1677. _content = $$("div", {
  1678. className: "U_MD_D_KO",
  1679. "onmousedown": U.UF.C.closure(function (obj) {
  1680. //防止拖動圖標即打開了桌面應用
  1681. U.MD.D.click(this, obj);
  1682. }, [_siesStudentDeskIconInfo[i]]),
  1683. "onclick": U.UF.C.closure(function (obj) {
  1684. //防止拖動圖標即打開了桌面應用
  1685. U.MD.D.click(this, obj);
  1686. }, [_siesStudentDeskIconInfo[i]])
  1687. }, _frag); //
  1688. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1689. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1690. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1691. }
  1692. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1693. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1694. _content = $$("div", {
  1695. className: "U_MD_D_KO",
  1696. "onmousedown": U.UF.C.closure(function (obj) {
  1697. //防止拖動圖標即打開了桌面應用
  1698. U.MD.D.click(this, obj);
  1699. }, [_hkStudentDeskIconInfo[i]]),
  1700. "onclick": U.UF.C.closure(function (obj) {
  1701. //防止拖動圖標即打開了桌面應用
  1702. U.MD.D.click(this, obj);
  1703. }, [_hkStudentDeskIconInfo[i]])
  1704. }, _frag); //
  1705. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1706. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1707. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1708. }
  1709. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1710. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1711. _content = $$("div", {
  1712. className: "U_MD_D_KO",
  1713. "onmousedown": U.UF.C.closure(function (obj) {
  1714. //防止拖動圖標即打開了桌面應用
  1715. U.MD.D.click(this, obj);
  1716. }, [_hkaceStudentDeskIconInfo[i]]),
  1717. "onclick": U.UF.C.closure(function (obj) {
  1718. //防止拖動圖標即打開了桌面應用
  1719. U.MD.D.click(this, obj);
  1720. }, [_hkaceStudentDeskIconInfo[i]])
  1721. }, _frag); //
  1722. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1723. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1724. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1725. }
  1726. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1727. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1728. _content = $$("div", {
  1729. className: "U_MD_D_KO",
  1730. "onmousedown": U.UF.C.closure(function (obj) {
  1731. //防止拖動圖標即打開了桌面應用
  1732. U.MD.D.click(this, obj);
  1733. }, [_studentDesktopIconInfo[i]]),
  1734. "onclick": U.UF.C.closure(function (obj) {
  1735. //防止拖動圖標即打開了桌面應用
  1736. U.MD.D.click(this, obj);
  1737. }, [_studentDesktopIconInfo[i]])
  1738. }, _frag); //
  1739. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1740. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1741. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1742. }
  1743. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1744. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1745. _content = $$("div", {
  1746. className: "U_MD_D_KO",
  1747. "onmousedown": U.UF.C.closure(function (obj) {
  1748. //防止拖動圖標即打開了桌面應用
  1749. U.MD.D.click(this, obj);
  1750. }, [_tcStudentDeskIconInfo[i]]),
  1751. "onclick": U.UF.C.closure(function (obj) {
  1752. //防止拖動圖標即打開了桌面應用
  1753. U.MD.D.click(this, obj);
  1754. }, [_tcStudentDeskIconInfo[i]])
  1755. }, _frag); //
  1756. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1757. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1758. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1759. }
  1760. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1761. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1762. _content = $$("div", {
  1763. className: "U_MD_D_KO",
  1764. "onmousedown": U.UF.C.closure(function (obj) {
  1765. //防止拖動圖標即打開了桌面應用
  1766. U.MD.D.click(this, obj);
  1767. }, [_szscStudentDeskIconInfo[i]]),
  1768. "onclick": U.UF.C.closure(function (obj) {
  1769. //防止拖動圖標即打開了桌面應用
  1770. U.MD.D.click(this, obj);
  1771. }, [_szscStudentDeskIconInfo[i]])
  1772. }, _frag); //
  1773. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1774. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1775. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1776. }
  1777. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1778. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1779. _content = $$("div", {
  1780. className: "U_MD_D_KO",
  1781. "onmousedown": U.UF.C.closure(function (obj) {
  1782. //防止拖動圖標即打開了桌面應用
  1783. U.MD.D.click(this, obj);
  1784. }, [_studentDesktopIconInfo3[i]]),
  1785. "onclick": U.UF.C.closure(function (obj) {
  1786. //防止拖動圖標即打開了桌面應用
  1787. U.MD.D.click(this, obj);
  1788. }, [_studentDesktopIconInfo3[i]])
  1789. }, _frag); //
  1790. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1791. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1792. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1793. }
  1794. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1795. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1796. _content = $$("div", {
  1797. className: "U_MD_D_KO",
  1798. "onmousedown": U.UF.C.closure(function (obj) {
  1799. //防止拖動圖標即打開了桌面應用
  1800. U.MD.D.click(this, obj);
  1801. }, [_studentDesktopIconInfo2[i]]),
  1802. "onclick": U.UF.C.closure(function (obj) {
  1803. //防止拖動圖標即打開了桌面應用
  1804. U.MD.D.click(this, obj);
  1805. }, [_studentDesktopIconInfo2[i]])
  1806. }, _frag); //
  1807. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1808. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1809. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1810. }
  1811. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1812. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1813. _content = $$("div", {
  1814. className: "U_MD_D_KO",
  1815. "onmousedown": U.UF.C.closure(function (obj) {
  1816. //防止拖動圖標即打開了桌面應用
  1817. U.MD.D.click(this, obj);
  1818. }, [_wanketeacherDesktopIconInfo[i]]),
  1819. "onclick": U.UF.C.closure(function (obj) {
  1820. //防止拖動圖標即打開了桌面應用
  1821. U.MD.D.click(this, obj);
  1822. }, [_wanketeacherDesktopIconInfo[i]])
  1823. }, _frag); //
  1824. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1825. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1826. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1827. }
  1828. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1829. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1830. _content = $$("div", {
  1831. className: "U_MD_D_KO",
  1832. "onmousedown": U.UF.C.closure(function (obj) {
  1833. //防止拖動圖標即打開了桌面應用
  1834. U.MD.D.click(this, obj);
  1835. }, [_wankeAdminDesktopIconInfo[i]]),
  1836. "onclick": U.UF.C.closure(function (obj) {
  1837. //防止拖動圖標即打開了桌面應用
  1838. U.MD.D.click(this, obj);
  1839. }, [_wankeAdminDesktopIconInfo[i]])
  1840. }, _frag); //
  1841. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1842. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1843. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1844. }
  1845. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1846. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1847. _content = $$("div", {
  1848. className: "U_MD_D_KO",
  1849. "onmousedown": U.UF.C.closure(function (obj) {
  1850. //防止拖動圖標即打開了桌面應用
  1851. U.MD.D.click(this, obj);
  1852. }, [_jccssylTeacherDeskIconInfo[i]]),
  1853. "onclick": U.UF.C.closure(function (obj) {
  1854. //防止拖動圖標即打開了桌面應用
  1855. U.MD.D.click(this, obj);
  1856. }, [_jccssylTeacherDeskIconInfo[i]])
  1857. }, _frag); //
  1858. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1859. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1860. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1861. }
  1862. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1863. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1864. _content = $$("div", {
  1865. className: "U_MD_D_KO",
  1866. "onmousedown": U.UF.C.closure(function (obj) {
  1867. //防止拖動圖標即打開了桌面應用
  1868. U.MD.D.click(this, obj);
  1869. }, [_caleTeacherDeskIconInfo[i]]),
  1870. "onclick": U.UF.C.closure(function (obj) {
  1871. //防止拖動圖標即打開了桌面應用
  1872. U.MD.D.click(this, obj);
  1873. }, [_caleTeacherDeskIconInfo[i]])
  1874. }, _frag); //
  1875. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1876. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1877. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1878. }
  1879. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1880. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1881. _content = $$("div", {
  1882. className: "U_MD_D_KO",
  1883. "onmousedown": U.UF.C.closure(function (obj) {
  1884. //防止拖動圖標即打開了桌面應用
  1885. U.MD.D.click(this, obj);
  1886. }, [_tpcOrganizerDeskIconInfo[i]]),
  1887. "onclick": U.UF.C.closure(function (obj) {
  1888. //防止拖動圖標即打開了桌面應用
  1889. U.MD.D.click(this, obj);
  1890. }, [_tpcOrganizerDeskIconInfo[i]])
  1891. }, _frag); //
  1892. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1893. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1894. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1895. }
  1896. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1897. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1898. _content = $$("div", {
  1899. className: "U_MD_D_KO",
  1900. "onmousedown": U.UF.C.closure(function (obj) {
  1901. //防止拖動圖標即打開了桌面應用
  1902. U.MD.D.click(this, obj);
  1903. }, [_tpcTeacherDeskIconInfo[i]]),
  1904. "onclick": U.UF.C.closure(function (obj) {
  1905. //防止拖動圖標即打開了桌面應用
  1906. U.MD.D.click(this, obj);
  1907. }, [_tpcTeacherDeskIconInfo[i]])
  1908. }, _frag); //
  1909. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1910. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1911. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1912. }
  1913. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1914. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1915. _content = $$("div", {
  1916. className: "U_MD_D_KO",
  1917. "onmousedown": U.UF.C.closure(function (obj) {
  1918. //防止拖動圖標即打開了桌面應用
  1919. U.MD.D.click(this, obj);
  1920. }, [_teacherDesktopIconInfo2[i]]),
  1921. "onclick": U.UF.C.closure(function (obj) {
  1922. //防止拖動圖標即打開了桌面應用
  1923. U.MD.D.click(this, obj);
  1924. }, [_teacherDesktopIconInfo2[i]])
  1925. }, _frag); //
  1926. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1927. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1928. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1929. }
  1930. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1931. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1932. _content = $$("div", {
  1933. className: "U_MD_D_KO",
  1934. "onmousedown": U.UF.C.closure(function (obj) {
  1935. //防止拖動圖標即打開了桌面應用
  1936. U.MD.D.click(this, obj);
  1937. }, [_thuioeTeacherDeskIconInfo[i]]),
  1938. "onclick": U.UF.C.closure(function (obj) {
  1939. //防止拖動圖標即打開了桌面應用
  1940. U.MD.D.click(this, obj);
  1941. }, [_thuioeTeacherDeskIconInfo[i]])
  1942. }, _frag); //
  1943. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1944. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1945. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1946. }
  1947. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1948. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1949. _content = $$("div", {
  1950. className: "U_MD_D_KO",
  1951. "onmousedown": U.UF.C.closure(function (obj) {
  1952. //防止拖動圖標即打開了桌面應用
  1953. U.MD.D.click(this, obj);
  1954. }, [_lotechTeacherDeskIconInfo[i]]),
  1955. "onclick": U.UF.C.closure(function (obj) {
  1956. //防止拖動圖標即打開了桌面應用
  1957. U.MD.D.click(this, obj);
  1958. }, [_lotechTeacherDeskIconInfo[i]])
  1959. }, _frag); //
  1960. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1961. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1962. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1963. }//
  1964. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1965. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1966. _content = $$("div", {
  1967. className: "U_MD_D_KO",
  1968. "onmousedown": U.UF.C.closure(function (obj) {
  1969. //防止拖動圖標即打開了桌面應用
  1970. U.MD.D.click(this, obj);
  1971. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1972. "onclick": U.UF.C.closure(function (obj) {
  1973. //防止拖動圖標即打開了桌面應用
  1974. U.MD.D.click(this, obj);
  1975. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1976. }, _frag); //
  1977. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1978. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1979. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1980. }
  1981. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1982. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1983. _content = $$("div", {
  1984. className: "U_MD_D_KO",
  1985. "onmousedown": U.UF.C.closure(function (obj) {
  1986. //防止拖動圖標即打開了桌面應用
  1987. U.MD.D.click(this, obj);
  1988. }, [_siesTeacherDeskIconInfo[i]]),
  1989. "onclick": U.UF.C.closure(function (obj) {
  1990. //防止拖動圖標即打開了桌面應用
  1991. U.MD.D.click(this, obj);
  1992. }, [_siesTeacherDeskIconInfo[i]])
  1993. }, _frag); //
  1994. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1995. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1996. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1997. }
  1998. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1999. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2000. _content = $$("div", {
  2001. className: "U_MD_D_KO",
  2002. "onmousedown": U.UF.C.closure(function (obj) {
  2003. //防止拖動圖標即打開了桌面應用
  2004. U.MD.D.click(this, obj);
  2005. }, [_longhuaTeacherDeskIconInfo[i]]),
  2006. "onclick": U.UF.C.closure(function (obj) {
  2007. //防止拖動圖標即打開了桌面應用
  2008. U.MD.D.click(this, obj);
  2009. }, [_longhuaTeacherDeskIconInfo[i]])
  2010. }, _frag); //
  2011. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2012. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2013. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2014. }
  2015. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2016. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2017. _content = $$("div", {
  2018. className: "U_MD_D_KO",
  2019. "onmousedown": U.UF.C.closure(function (obj) {
  2020. //防止拖動圖標即打開了桌面應用
  2021. U.MD.D.click(this, obj);
  2022. }, [_ytyTeacherDeskIconInfo[i]]),
  2023. "onclick": U.UF.C.closure(function (obj) {
  2024. //防止拖動圖標即打開了桌面應用
  2025. U.MD.D.click(this, obj);
  2026. }, [_ytyTeacherDeskIconInfo[i]])
  2027. }, _frag); //
  2028. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2029. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2030. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2031. }
  2032. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2033. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2034. _content = $$("div", {
  2035. className: "U_MD_D_KO",
  2036. "onmousedown": U.UF.C.closure(function (obj) {
  2037. //防止拖動圖標即打開了桌面應用
  2038. U.MD.D.click(this, obj);
  2039. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2040. "onclick": U.UF.C.closure(function (obj) {
  2041. //防止拖動圖標即打開了桌面應用
  2042. U.MD.D.click(this, obj);
  2043. }, [_yunhaiTeacherDeskIconInfo[i]])
  2044. }, _frag); //
  2045. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2046. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2047. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2048. } //_hkStudentDeskIconInfo
  2049. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2050. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2051. _content = $$("div", {
  2052. className: "U_MD_D_KO",
  2053. "onmousedown": U.UF.C.closure(function (obj) {
  2054. //防止拖動圖標即打開了桌面應用
  2055. U.MD.D.click(this, obj);
  2056. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2057. "onclick": U.UF.C.closure(function (obj) {
  2058. //防止拖動圖標即打開了桌面應用
  2059. U.MD.D.click(this, obj);
  2060. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2061. }, _frag); //
  2062. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2063. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2064. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2065. }
  2066. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2067. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2068. _content = $$("div", {
  2069. className: "U_MD_D_KO",
  2070. "onmousedown": U.UF.C.closure(function (obj) {
  2071. //防止拖動圖標即打開了桌面應用
  2072. U.MD.D.click(this, obj);
  2073. }, [_hkTeacherDeskIconInfo[i]]),
  2074. "onclick": U.UF.C.closure(function (obj) {
  2075. //防止拖動圖標即打開了桌面應用
  2076. U.MD.D.click(this, obj);
  2077. }, [_hkTeacherDeskIconInfo[i]])
  2078. }, _frag); //
  2079. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2080. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2081. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2082. }
  2083. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2084. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2085. _content = $$("div", {
  2086. className: "U_MD_D_KO",
  2087. "onmousedown": U.UF.C.closure(function (obj) {
  2088. //防止拖動圖標即打開了桌面應用
  2089. U.MD.D.click(this, obj);
  2090. }, [_hkaceTeacherDeskIconInfo[i]]),
  2091. "onclick": U.UF.C.closure(function (obj) {
  2092. //防止拖動圖標即打開了桌面應用
  2093. U.MD.D.click(this, obj);
  2094. }, [_hkaceTeacherDeskIconInfo[i]])
  2095. }, _frag); //
  2096. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2097. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2098. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2099. }
  2100. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2101. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2102. _content = $$("div", {
  2103. className: "U_MD_D_KO",
  2104. "onmousedown": U.UF.C.closure(function (obj) {
  2105. //防止拖動圖標即打開了桌面應用
  2106. U.MD.D.click(this, obj);
  2107. }, [_gdjgAdminDeskIconInfo[i]]),
  2108. "onclick": U.UF.C.closure(function (obj) {
  2109. //防止拖動圖標即打開了桌面應用
  2110. U.MD.D.click(this, obj);
  2111. }, [_gdjgAdminDeskIconInfo[i]])
  2112. }, _frag); //
  2113. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2114. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2115. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2116. }
  2117. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2118. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2119. _content = $$("div", {
  2120. className: "U_MD_D_KO",
  2121. "onmousedown": U.UF.C.closure(function (obj) {
  2122. //防止拖動圖標即打開了桌面應用
  2123. U.MD.D.click(this, obj);
  2124. }, [_gdjgTeacherDeskIconInfo[i]]),
  2125. "onclick": U.UF.C.closure(function (obj) {
  2126. //防止拖動圖標即打開了桌面應用
  2127. U.MD.D.click(this, obj);
  2128. }, [_gdjgTeacherDeskIconInfo[i]])
  2129. }, _frag); //
  2130. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2131. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2132. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2133. }
  2134. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2135. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2136. _content = $$("div", {
  2137. className: "U_MD_D_KO",
  2138. "onmousedown": U.UF.C.closure(function (obj) {
  2139. //防止拖動圖標即打開了桌面應用
  2140. U.MD.D.click(this, obj);
  2141. }, [_szherTeacherDeskIconInfo[i]]),
  2142. "onclick": U.UF.C.closure(function (obj) {
  2143. //防止拖動圖標即打開了桌面應用
  2144. U.MD.D.click(this, obj);
  2145. }, [_szherTeacherDeskIconInfo[i]])
  2146. }, _frag); //
  2147. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2148. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2149. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2150. }
  2151. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2152. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2153. _content = $$("div", {
  2154. className: "U_MD_D_KO",
  2155. "onmousedown": U.UF.C.closure(function (obj) {
  2156. //防止拖動圖標即打開了桌面應用
  2157. U.MD.D.click(this, obj);
  2158. }, [_heyuannAdminDeskIconInfo[i]]),
  2159. "onclick": U.UF.C.closure(function (obj) {
  2160. //防止拖動圖標即打開了桌面應用
  2161. U.MD.D.click(this, obj);
  2162. }, [_heyuannAdminDeskIconInfo[i]])
  2163. }, _frag); //
  2164. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2165. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2166. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2167. }
  2168. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2169. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2170. _content = $$("div", {
  2171. className: "U_MD_D_KO",
  2172. "onmousedown": U.UF.C.closure(function (obj) {
  2173. //防止拖動圖標即打開了桌面應用
  2174. U.MD.D.click(this, obj);
  2175. }, [_heyuanTeacherDeskIconInfo[i]]),
  2176. "onclick": U.UF.C.closure(function (obj) {
  2177. //防止拖動圖標即打開了桌面應用
  2178. U.MD.D.click(this, obj);
  2179. }, [_heyuanTeacherDeskIconInfo[i]])
  2180. }, _frag); //
  2181. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2182. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2183. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2184. } //
  2185. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2186. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2187. _content = $$("div", {
  2188. className: "U_MD_D_KO",
  2189. "onmousedown": U.UF.C.closure(function (obj) {
  2190. //防止拖動圖標即打開了桌面應用
  2191. U.MD.D.click(this, obj);
  2192. }, [_dseiAdminDeskIconInfo[i]]),
  2193. "onclick": U.UF.C.closure(function (obj) {
  2194. //防止拖動圖標即打開了桌面應用
  2195. U.MD.D.click(this, obj);
  2196. }, [_dseiAdminDeskIconInfo[i]])
  2197. }, _frag); //
  2198. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2199. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2200. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2201. }
  2202. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2203. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2204. _content = $$("div", {
  2205. className: "U_MD_D_KO",
  2206. "onmousedown": U.UF.C.closure(function (obj) {
  2207. //防止拖動圖標即打開了桌面應用
  2208. U.MD.D.click(this, obj);
  2209. }, [_dseiTeacherDeskIconInfo[i]]),
  2210. "onclick": U.UF.C.closure(function (obj) {
  2211. //防止拖動圖標即打開了桌面應用
  2212. U.MD.D.click(this, obj);
  2213. }, [_dseiTeacherDeskIconInfo[i]])
  2214. }, _frag); //
  2215. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2216. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2217. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2218. } //
  2219. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2220. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2221. _content = $$("div", {
  2222. className: "U_MD_D_KO",
  2223. "onmousedown": U.UF.C.closure(function (obj) {
  2224. //防止拖動圖標即打開了桌面應用
  2225. U.MD.D.click(this, obj);
  2226. }, [_chjyjAdminDeskIconInfo[i]]),
  2227. "onclick": U.UF.C.closure(function (obj) {
  2228. //防止拖動圖標即打開了桌面應用
  2229. U.MD.D.click(this, obj);
  2230. }, [_chjyjAdminDeskIconInfo[i]])
  2231. }, _frag); //
  2232. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2233. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2234. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2235. }//
  2236. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2237. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2238. _content = $$("div", {
  2239. className: "U_MD_D_KO",
  2240. "onmousedown": U.UF.C.closure(function (obj) {
  2241. //防止拖動圖標即打開了桌面應用
  2242. U.MD.D.click(this, obj);
  2243. }, [_chjyjTeacherDeskIconInfo[i]]),
  2244. "onclick": U.UF.C.closure(function (obj) {
  2245. //防止拖動圖標即打開了桌面應用
  2246. U.MD.D.click(this, obj);
  2247. }, [_chjyjTeacherDeskIconInfo[i]])
  2248. }, _frag); //
  2249. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2250. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2251. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2252. }
  2253. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2254. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2255. _content = $$("div", {
  2256. className: "U_MD_D_KO",
  2257. "onmousedown": U.UF.C.closure(function (obj) {
  2258. //防止拖動圖標即打開了桌面應用
  2259. U.MD.D.click(this, obj);
  2260. }, [_szjkyAdminDeskIconInfo[i]]),
  2261. "onclick": U.UF.C.closure(function (obj) {
  2262. //防止拖動圖標即打開了桌面應用
  2263. U.MD.D.click(this, obj);
  2264. }, [_szjkyAdminDeskIconInfo[i]])
  2265. }, _frag); //
  2266. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2267. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2268. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2269. }//
  2270. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2271. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2272. _content = $$("div", {
  2273. className: "U_MD_D_KO",
  2274. "onmousedown": U.UF.C.closure(function (obj) {
  2275. //防止拖動圖標即打開了桌面應用
  2276. U.MD.D.click(this, obj);
  2277. }, [_szjkyTeacherDeskIconInfo[i]]),
  2278. "onclick": U.UF.C.closure(function (obj) {
  2279. //防止拖動圖標即打開了桌面應用
  2280. U.MD.D.click(this, obj);
  2281. }, [_szjkyTeacherDeskIconInfo[i]])
  2282. }, _frag); //
  2283. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2284. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2285. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2286. }
  2287. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2288. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2289. _content = $$("div", {
  2290. className: "U_MD_D_KO",
  2291. "onmousedown": U.UF.C.closure(function (obj) {
  2292. //防止拖動圖標即打開了桌面應用
  2293. U.MD.D.click(this, obj);
  2294. }, [_futianAdminDeskIconInfo[i]]),
  2295. "onclick": U.UF.C.closure(function (obj) {
  2296. //防止拖動圖標即打開了桌面應用
  2297. U.MD.D.click(this, obj);
  2298. }, [_futianAdminDeskIconInfo[i]])
  2299. }, _frag); //
  2300. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2301. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2302. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2303. }
  2304. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2305. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2306. _content = $$("div", {
  2307. className: "U_MD_D_KO",
  2308. "onmousedown": U.UF.C.closure(function (obj) {
  2309. //防止拖動圖標即打開了桌面應用
  2310. U.MD.D.click(this, obj);
  2311. }, [_futianTeacherDeskIconInfo[i]]),
  2312. "onclick": U.UF.C.closure(function (obj) {
  2313. //防止拖動圖標即打開了桌面應用
  2314. U.MD.D.click(this, obj);
  2315. }, [_futianTeacherDeskIconInfo[i]])
  2316. }, _frag); //
  2317. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2318. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2319. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2320. }
  2321. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2322. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2323. _content = $$("div", {
  2324. className: "U_MD_D_KO",
  2325. "onmousedown": U.UF.C.closure(function (obj) {
  2326. //防止拖動圖標即打開了桌面應用
  2327. U.MD.D.click(this, obj);
  2328. }, [_MingdeTeacherDeskIcon[i]]),
  2329. "onclick": U.UF.C.closure(function (obj) {
  2330. //防止拖動圖標即打開了桌面應用
  2331. U.MD.D.click(this, obj);
  2332. }, [_MingdeTeacherDeskIcon[i]])
  2333. }, _frag); //
  2334. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2335. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2336. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2337. }
  2338. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2339. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2340. _content = $$("div", {
  2341. className: "U_MD_D_KO",
  2342. "onmousedown": U.UF.C.closure(function (obj) {
  2343. //防止拖動圖標即打開了桌面應用
  2344. U.MD.D.click(this, obj);
  2345. }, [_lhsAdminDesktopIconInfo[i]]),
  2346. "onclick": U.UF.C.closure(function (obj) {
  2347. //防止拖動圖標即打開了桌面應用
  2348. U.MD.D.click(this, obj);
  2349. }, [_lhsAdminDesktopIconInfo[i]])
  2350. }, _frag); //
  2351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2354. }
  2355. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2356. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2357. _content = $$("div", {
  2358. className: "U_MD_D_KO",
  2359. "onmousedown": U.UF.C.closure(function (obj) {
  2360. //防止拖動圖標即打開了桌面應用
  2361. U.MD.D.click(this, obj);
  2362. }, [_lhsteacherDesktopIconInfo[i]]),
  2363. "onclick": U.UF.C.closure(function (obj) {
  2364. //防止拖動圖標即打開了桌面應用
  2365. U.MD.D.click(this, obj);
  2366. }, [_lhsteacherDesktopIconInfo[i]])
  2367. }, _frag); //
  2368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2371. }
  2372. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2373. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2374. _content = $$("div", {
  2375. className: "U_MD_D_KO",
  2376. "onmousedown": U.UF.C.closure(function (obj) {
  2377. //防止拖動圖標即打開了桌面應用
  2378. U.MD.D.click(this, obj);
  2379. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2380. "onclick": U.UF.C.closure(function (obj) {
  2381. //防止拖動圖標即打開了桌面應用
  2382. U.MD.D.click(this, obj);
  2383. }, [_zhoujiateacherDesktopIconInfo[i]])
  2384. }, _frag); //
  2385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2388. }
  2389. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2390. for (i = 0; i < _hanDeskIcon.length; i++) {
  2391. _content = $$("div", {
  2392. className: "U_MD_D_KO",
  2393. "onmousedown": U.UF.C.closure(function (obj) {
  2394. //防止拖動圖標即打開了桌面應用
  2395. U.MD.D.click(this, obj);
  2396. }, [_hanDeskIcon[i]]),
  2397. "onclick": U.UF.C.closure(function (obj) {
  2398. //防止拖動圖標即打開了桌面應用
  2399. U.MD.D.click(this, obj);
  2400. }, [_hanDeskIcon[i]])
  2401. }, _frag); //
  2402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2405. }
  2406. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2407. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2408. _content = $$("div", {
  2409. className: "U_MD_D_KO",
  2410. "onmousedown": U.UF.C.closure(function (obj) {
  2411. //防止拖動圖標即打開了桌面應用
  2412. U.MD.D.click(this, obj);
  2413. }, [_orgStemDeskIcon[i]]),
  2414. "onclick": U.UF.C.closure(function (obj) {
  2415. //防止拖動圖標即打開了桌面應用
  2416. U.MD.D.click(this, obj);
  2417. }, [_orgStemDeskIcon[i]])
  2418. }, _frag); //
  2419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2422. }
  2423. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2424. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2425. _content = $$("div", {
  2426. className: "U_MD_D_KO",
  2427. "onmousedown": U.UF.C.closure(function (obj) {
  2428. //防止拖動圖標即打開了桌面應用
  2429. U.MD.D.click(this, obj);
  2430. }, [_szulsDeskIcon[i]]),
  2431. "onclick": U.UF.C.closure(function (obj) {
  2432. //防止拖動圖標即打開了桌面應用
  2433. U.MD.D.click(this, obj);
  2434. }, [_szulsDeskIcon[i]])
  2435. }, _frag); //
  2436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2439. }
  2440. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2441. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2442. _content = $$("div", {
  2443. className: "U_MD_D_KO",
  2444. "onmousedown": U.UF.C.closure(function (obj) {
  2445. //防止拖動圖標即打開了桌面應用
  2446. U.MD.D.click(this, obj);
  2447. }, [_orgDesktopIconInfo[i]]),
  2448. "onclick": U.UF.C.closure(function (obj) {
  2449. //防止拖動圖標即打開了桌面應用
  2450. U.MD.D.click(this, obj);
  2451. }, [_orgDesktopIconInfo[i]])
  2452. }, _frag); //
  2453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2456. }
  2457. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2458. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2459. _content = $$("div", {
  2460. className: "U_MD_D_KO",
  2461. "onmousedown": U.UF.C.closure(function (obj) {
  2462. //防止拖動圖標即打開了桌面應用
  2463. U.MD.D.click(this, obj);
  2464. }, [_schoolDesktopIconInfo[i]]),
  2465. "onclick": U.UF.C.closure(function (obj) {
  2466. //防止拖動圖標即打開了桌面應用
  2467. U.MD.D.click(this, obj);
  2468. }, [_schoolDesktopIconInfo[i]])
  2469. }, _frag); //
  2470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2473. }
  2474. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2475. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2476. _content = $$("div", {
  2477. className: "U_MD_D_KO",
  2478. "onmousedown": U.UF.C.closure(function (obj) {
  2479. //防止拖動圖標即打開了桌面應用
  2480. U.MD.D.click(this, obj);
  2481. }, [_GMteacherDesktopIconInfo[i]]),
  2482. "onclick": U.UF.C.closure(function (obj) {
  2483. //防止拖動圖標即打開了桌面應用
  2484. U.MD.D.click(this, obj);
  2485. }, [_GMteacherDesktopIconInfo[i]])
  2486. }, _frag); //
  2487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2490. }
  2491. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2492. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2493. _content = $$("div", {
  2494. className: "U_MD_D_KO",
  2495. "onmousedown": U.UF.C.closure(function (obj) {
  2496. //防止拖動圖標即打開了桌面應用
  2497. U.MD.D.click(this, obj);
  2498. }, [_SONGteacherDesktopIconInfo[i]]),
  2499. "onclick": U.UF.C.closure(function (obj) {
  2500. //防止拖動圖標即打開了桌面應用
  2501. U.MD.D.click(this, obj);
  2502. }, [_SONGteacherDesktopIconInfo[i]])
  2503. }, _frag); //
  2504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2507. }
  2508. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2509. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2510. _content = $$("div", {
  2511. className: "U_MD_D_KO",
  2512. "onmousedown": U.UF.C.closure(function (obj) {
  2513. //防止拖動圖標即打開了桌面應用
  2514. U.MD.D.click(this, obj);
  2515. }, [_GMstudentDesktopIconInfo[i]]),
  2516. "onclick": U.UF.C.closure(function (obj) {
  2517. //防止拖動圖標即打開了桌面應用
  2518. U.MD.D.click(this, obj);
  2519. }, [_GMstudentDesktopIconInfo[i]])
  2520. }, _frag); //
  2521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2524. }
  2525. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2526. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2527. _content = $$("div", {
  2528. className: "U_MD_D_KO",
  2529. "onmousedown": U.UF.C.closure(function (obj) {
  2530. //防止拖動圖標即打開了桌面應用
  2531. U.MD.D.click(this, obj);
  2532. }, [_tcTeacherDeskIconInfo[i]]),
  2533. "onclick": U.UF.C.closure(function (obj) {
  2534. //防止拖動圖標即打開了桌面應用
  2535. U.MD.D.click(this, obj);
  2536. }, [_tcTeacherDeskIconInfo[i]])
  2537. }, _frag); //
  2538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2541. }
  2542. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2543. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2544. _content = $$("div", {
  2545. className: "U_MD_D_KO",
  2546. "onmousedown": U.UF.C.closure(function (obj) {
  2547. //防止拖動圖標即打開了桌面應用
  2548. U.MD.D.click(this, obj);
  2549. }, [_tcOrganizerDeskIconInfo[i]]),
  2550. "onclick": U.UF.C.closure(function (obj) {
  2551. //防止拖動圖標即打開了桌面應用
  2552. U.MD.D.click(this, obj);
  2553. }, [_tcOrganizerDeskIconInfo[i]])
  2554. }, _frag); //
  2555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2558. }
  2559. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2560. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2561. _content = $$("div", {
  2562. className: "U_MD_D_KO",
  2563. "onmousedown": U.UF.C.closure(function (obj) {
  2564. //防止拖動圖標即打開了桌面應用
  2565. U.MD.D.click(this, obj);
  2566. }, [_szscTeacherDeskIconInfo[i]]),
  2567. "onclick": U.UF.C.closure(function (obj) {
  2568. //防止拖動圖標即打開了桌面應用
  2569. U.MD.D.click(this, obj);
  2570. }, [_szscTeacherDeskIconInfo[i]])
  2571. }, _frag); //
  2572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2575. }
  2576. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2577. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2578. _content = $$("div", {
  2579. className: "U_MD_D_KO",
  2580. "onmousedown": U.UF.C.closure(function (obj) {
  2581. //防止拖動圖標即打開了桌面應用
  2582. U.MD.D.click(this, obj);
  2583. }, [_szscOrganizerDeskIconInfo[i]]),
  2584. "onclick": U.UF.C.closure(function (obj) {
  2585. //防止拖動圖標即打開了桌面應用
  2586. U.MD.D.click(this, obj);
  2587. }, [_szscOrganizerDeskIconInfo[i]])
  2588. }, _frag); //
  2589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2592. }
  2593. } else {
  2594. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2595. _content = $$("div", {
  2596. className: "U_MD_D_KO",
  2597. "onmousedown": U.UF.C.closure(function (obj) {
  2598. //防止拖動圖標即打開了桌面應用
  2599. U.MD.D.click(this, obj);
  2600. }, [_teacherDesktopIconInfo[i]]),
  2601. "onclick": U.UF.C.closure(function (obj) {
  2602. //防止拖動圖標即打開了桌面應用
  2603. U.MD.D.click(this, obj);
  2604. }, [_teacherDesktopIconInfo[i]])
  2605. }, _frag); //
  2606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2609. }
  2610. }
  2611. } else {
  2612. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2613. _content = $$("div", {
  2614. className: "U_MD_D_KO",
  2615. style: { 'width': '124px', 'height': '145px' },
  2616. "onmousedown": U.UF.C.closure(function (obj) {
  2617. //防止拖動圖標即打開了桌面應用
  2618. U.MD.D.click(this, obj);
  2619. }, [_easyDesktopIconInfo[i]]),
  2620. "onclick": U.UF.C.closure(function (obj) {
  2621. //防止拖動圖標即打開了桌面應用
  2622. U.MD.D.click(this, obj);
  2623. }, [_easyDesktopIconInfo[i]])
  2624. }, _frag); //
  2625. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2626. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2627. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2628. }
  2629. }
  2630. if (type == 1) {
  2631. //加載好後給圖標定位
  2632. U.MD.D.iconPostion($(_frag).Child());
  2633. } else {
  2634. //加載好後給圖標定位
  2635. U.MD.D.iconPostion2($(_frag).Child());
  2636. }
  2637. //把圖標加載到頁面
  2638. el.appendChild(_frag);
  2639. }
  2640. /**
  2641. * 顯示任務欄
  2642. *
  2643. * @param {element} 桌面元素
  2644. */
  2645. U.MD.D.I.displayTaskbar = function (el) {
  2646. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  2647. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2648. //任務欄位置變化
  2649. U.selectEl(el).css({ "bottom": "0px" });
  2650. //桌面位置變話
  2651. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2652. }
  2653. }
  2654. //#region 桌面圖標拖動邏輯
  2655. /**
  2656. * 桌面排列圖標
  2657. *
  2658. * @param {element} 桌面元素
  2659. * @param {object} 上下相距的距離
  2660. * @param {object} 左右相距的距離
  2661. * @return {object} 命名空間
  2662. */
  2663. U.MD.D.iconPostion = function (childs, top, left) {
  2664. var i; //用於循環處理
  2665. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  2666. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2667. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2668. for (i = 0; i < childs.length; i++) {
  2669. //如果豎排top超過了範圍處理
  2670. if (top + 95 > US.height - 10) {
  2671. //left超過了頁面範圍處理,則向上重疊打印處理
  2672. if ((left + 180) > US.width) {
  2673. top -= 110;
  2674. left -= 90;
  2675. }
  2676. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2677. else {
  2678. left += 90;
  2679. top = 15;
  2680. };
  2681. }
  2682. //給圖標的位置賦值
  2683. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2684. if (i < childs.length - 1) {
  2685. //頁面圖標每次向下加95
  2686. top += 95;
  2687. }
  2688. }
  2689. //返回最後調用的圖標的位置
  2690. return [top, left];
  2691. }
  2692. /**
  2693. * 桌面排列圖標
  2694. *
  2695. * @param {element} 桌面元素
  2696. * @param {object} 上下相距的距離
  2697. * @param {object} 左右相距的距離
  2698. * @return {object} 命名空間
  2699. */
  2700. U.MD.D.iconPostion2 = function (childs, top, left) {
  2701. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  2702. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  2703. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2704. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2705. for (i = 0; i < childs.length; i++) {
  2706. //如果豎排top超過了範圍處理
  2707. if (left + 150 > US.width - 10) {
  2708. //left超過了頁面範圍處理,則向上重疊打印處理
  2709. if ((top + 180) > US.Height) {
  2710. top -= 150;
  2711. left -= 150;
  2712. }
  2713. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2714. else {
  2715. top += 150;
  2716. left = ol;
  2717. };
  2718. }
  2719. //給圖標的位置賦值
  2720. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2721. if (i < childs.length - 1) {
  2722. //頁面圖標每次向下加95
  2723. left += 150;
  2724. }
  2725. }
  2726. //返回最後調用的圖標的位置
  2727. return [top, left];
  2728. }
  2729. /**
  2730. * 桌面點擊事件邏輯
  2731. *
  2732. * @param {element} 桌面元素
  2733. * @param {object} 上下相距的距離
  2734. * @param {object} 左右相距的距離
  2735. * @return {object} 命名空間
  2736. */
  2737. U.MD.D.click = function (el, obj) {
  2738. var _buttonnumber = event.button; //點擊的按鈕的事件值
  2739. var _userinfo = US.userInfo;
  2740. U.UF.EV.stopBubble(); //阻止向上冒泡
  2741. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  2742. if (_buttonnumber < 2) {
  2743. //如果是click事件的處理
  2744. if (event.type == "click") {
  2745. //如果元素在mousemove事件中沒有移動則出發click事件
  2746. if (!U.MD.D.I.IsDrag) {
  2747. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2748. U.alert("請先登錄您的賬號!");
  2749. setTimeout(() => {
  2750. U.MD.U.L.login();
  2751. }, 2000);
  2752. } else {
  2753. //打開應用處理
  2754. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2755. }
  2756. }
  2757. }
  2758. //如果是mouse事件的處理
  2759. else {
  2760. if (US.Config.type == '1') {
  2761. //拖動處理,添加拖動和拖動結束事件
  2762. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2763. }
  2764. }
  2765. U.MD.D.I.IsDrag = false;
  2766. }
  2767. }
  2768. /**
  2769. * 拖動的處理
  2770. *
  2771. */
  2772. U.MD.D.iconMove = function () {
  2773. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  2774. U.MD.D.I.IsDrag = true;
  2775. }
  2776. /**
  2777. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  2778. *
  2779. * @param {element} 拖動的元素
  2780. * @return {object} 命名空間
  2781. */
  2782. U.MD.D.iconUp = function (el) {
  2783. var _top = 15,
  2784. _left = 20,
  2785. _margin,
  2786. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  2787. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  2788. if (_positioninfo["OT"] > 15) {
  2789. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  2790. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2791. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2792. }
  2793. if (_positioninfo["OL"] > 20) {
  2794. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  2795. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2796. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2797. }
  2798. //while循環判斷麼一個重疊的元素
  2799. do {
  2800. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  2801. _top = _positioninfo[0] + 95; //得到定位後的top
  2802. _left = _positioninfo[1]; //得到定位後的left
  2803. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2804. }
  2805. /**
  2806. * 判斷拖動後圖標是否重疊
  2807. *
  2808. * @param {element} 拖動的元素
  2809. * @param {element} 桌面所有的元素
  2810. * @param {array} 拖動元素的位置
  2811. ----------[0] 上 top
  2812. ----------[1] 左 left
  2813. * @return {object} 命名空間
  2814. */
  2815. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2816. //循環所有的圖標
  2817. for (var i = 0; i < childs.length; i++) {
  2818. //判斷有沒有和該圖標誒子重疊的元素
  2819. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2820. return childs[i]; //如果有返回
  2821. }
  2822. }
  2823. }
  2824. //#endregion
  2825. //#endregion
  2826. //#region 桌面應用
  2827. /**
  2828. * 打開應用
  2829. *
  2830. * @param {string} 類型
  2831. -----------------Disk 網盤系統
  2832. -----------------PDisk 學習系統網盤
  2833. -----------------Poto 圖片
  2834. -----------------Video 視頻
  2835. -----------------Music 音樂
  2836. -----------------Word word
  2837. -----------------Excel excel
  2838. -----------------Txt 記事本
  2839. -----------------PB 學習系統
  2840. -----------------Blog 朋友圈系統
  2841. -----------------FTP ftp系統
  2842. -----------------Group 好友群
  2843. -----------------SY 首頁系統
  2844. -----------------Set 個人設置
  2845. -----------------XSet 系統設置
  2846. -----------------App 我們所有的app
  2847. -----------------BC c.1473.cn 平臺
  2848. -----------------CWeb d.1473.cn 變成平臺
  2849. -----------------其他的外聯系統 我們統一用iframe打開
  2850. * @param {array} 類型
  2851. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  2852. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  2853. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  2854. 如果第一個參數為其他,則無第二個參數
  2855. * @returns {array}
  2856. */
  2857. window.addEventListener('message', function (e) { // 監聽 message 事件
  2858. // alert(e.data.type);
  2859. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  2860. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2861. //3是展示全部階段 2學生 1老師 4專家
  2862. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  2863. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2864. //3是展示全部階段 2學生 1老師 4專家
  2865. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  2866. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2867. //3是展示全部階段 2學生 1老師 4專家
  2868. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  2869. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2870. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  2871. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2872. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  2873. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2874. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  2875. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2876. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  2877. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2878. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  2879. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2880. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  2881. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2882. //3是展示全部階段 2學生 1老師 4專家
  2883. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  2884. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2885. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  2886. U.MD.D.I.selectUser();
  2887. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2888. var _formel = document.getElementById("study");
  2889. U.UF.F.windowZooming(_formel);
  2890. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2891. var _formel = document.getElementById("studyDetail");
  2892. U.UF.F.windowZooming(_formel);
  2893. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2894. var _formel = document.getElementById("studyDetail");
  2895. U.UF.F.windowZooming(_formel);
  2896. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2897. var _formel = document.getElementById("studentStudy");
  2898. U.UF.F.windowZooming(_formel);
  2899. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2900. // var _formel = document.getElementById("study");
  2901. //如果最大化了,那麼就把他縮小
  2902. // if (_formel.ismaximize) {
  2903. // return;
  2904. // }
  2905. // U.UF.F.windowZooming(_formel);
  2906. // U.UF.F.topWindow(_formel);
  2907. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2908. // var _formel = document.getElementById("studyDetail");
  2909. //如果最大化了,那麼就把他縮小
  2910. // if (_formel.ismaximize) {
  2911. // return;
  2912. // }
  2913. // U.UF.F.windowZooming(_formel);
  2914. // U.UF.F.topWindow(_formel);
  2915. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2916. // var _formel = document.getElementById("studentStudy");
  2917. // if (_formel.ismaximize) {
  2918. // return;
  2919. // }
  2920. // U.UF.F.windowZooming(_formel);
  2921. // U.UF.F.topWindow(_formel);
  2922. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2923. var _formel = document.getElementById("study");
  2924. // if (_formel.ismaximize) {
  2925. // return;
  2926. // }
  2927. // U.UF.F.windowZooming(_formel);
  2928. U.UF.F.topWindow(_formel);
  2929. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2930. var _formel = document.getElementById("studentIndex");
  2931. U.UF.F.windowZooming(_formel);
  2932. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2933. var _formel = document.getElementById("studyDetailS");
  2934. U.UF.F.windowZooming(_formel);
  2935. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2936. var _formel = document.getElementById("studioIndex");
  2937. U.UF.F.windowZooming(_formel);
  2938. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2939. var _formel = document.getElementById("studyDetailStudio");
  2940. U.UF.F.windowZooming(_formel);
  2941. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2942. var _formel = document.getElementById("studyDetailStudio");
  2943. U.UF.F.windowZooming(_formel);
  2944. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2945. var _formel = document.getElementById("studyDetailNT");
  2946. U.UF.F.windowZooming(_formel);
  2947. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2948. var _formel = document.getElementById("studyDetailS");
  2949. U.UF.F.windowZooming(_formel);
  2950. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2951. var _formel = document.getElementById("studyDetailS");
  2952. U.UF.F.topWindow(_formel);
  2953. } else if (e.data.tools && e.data.tools == "1") {
  2954. // U.MD.D.I.openApplication("whiteboard")
  2955. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2956. } else if (e.data.tools && e.data.tools == "2") {
  2957. U.MD.D.I.openApplication("note")
  2958. } else if (e.data.tools && e.data.tools == "3") {
  2959. // U.MD.D.I.openApplication("mind")
  2960. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2961. } else if (e.data.tools && e.data.tools == "4") {
  2962. U.MD.D.I.openApplication("investigation")
  2963. } else if (e.data.tools && e.data.tools == "6") {
  2964. // U.MD.D.I.openApplication("doc")
  2965. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2966. } else if (e.data.tools && e.data.tools == "7") {
  2967. // U.MD.D.I.openApplication("mindNetwork")
  2968. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2969. } else if (e.data.tools && e.data.tools == "8") {
  2970. U.MD.D.I.openApplication("library")
  2971. } else if (e.data.tools && e.data.tools == "17") {
  2972. U.MD.D.I.openApplication("stuLibrary")
  2973. } else if (e.data.tools && e.data.tools == "18") {
  2974. U.MD.D.I.openApplication("train")
  2975. } else if (e.data.tools && e.data.tools == "21") {
  2976. U.MD.D.I.openApplication("program")
  2977. } else if (e.data.tools && e.data.tools == "22") {
  2978. U.MD.D.I.openApplication("AIprogram2")
  2979. } else if (e.data.tools && e.data.tools == "23") {
  2980. U.MD.D.I.openApplication("Pythonprogram")
  2981. } else if (e.data.tools && e.data.tools == "24") {
  2982. U.MD.D.I.openApplication("AIprogram")
  2983. } else if (e.data.tools && e.data.tools == "25") {
  2984. U.MD.D.I.openApplication("sys")
  2985. } else if (e.data.tools && e.data.tools == "26") {
  2986. // U.MD.D.I.openApplication("courseDesign")
  2987. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2988. } else if (e.data.tools && e.data.tools == "31") {
  2989. U.MD.D.I.openApplication("netWorkPanel")
  2990. } else if (e.data.tools && e.data.tools == "32") {
  2991. U.MD.D.I.openApplication("codeEdit")
  2992. } else if (e.data.tools && e.data.tools == "57") {
  2993. U.MD.D.I.openApplication("CocoPi")
  2994. } else if (e.data.tools && e.data.tools == "63") {
  2995. U.MD.D.I.openApplication("Wood")
  2996. } else if (e.data.tools && e.data.tools == "58") {
  2997. U.MD.D.I.openApplication("car")
  2998. } else if (e.data.tools && e.data.tools == "59") {
  2999. U.MD.D.I.openApplication("lineSearch")
  3000. } else if (e.data.tools && e.data.tools == "60") {
  3001. U.MD.D.I.openApplication("deepLearning")
  3002. } else if (e.data.tools && e.data.tools == "61") {
  3003. U.MD.D.I.openApplication("allHistory")
  3004. } else if (e.data.tools && e.data.tools == "28") {
  3005. U.MD.D.I.openApplication("translation")
  3006. } else if (e.data.tools && e.data.tools == "37") {
  3007. U.MD.D.I.openApplication("mohe")
  3008. } else if (e.data.tools && e.data.tools == "38") {
  3009. U.MD.D.I.openApplication("24game")
  3010. } else if (e.data.tools && e.data.tools == "39") {
  3011. U.MD.D.I.openApplication("GeoGebra")
  3012. } else if (e.data.tools && e.data.tools == "43") {
  3013. U.MD.D.I.openApplication("studentEvaluate")
  3014. } else if (e.data.tools && e.data.tools == "44") {
  3015. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3016. } else if (e.data.tools && e.data.tools == "46") {
  3017. U.MD.D.I.openApplication("project")
  3018. } else if (e.data.tools && e.data.tools == "71") {
  3019. U.MD.D.I.openApplication("aigptCourse")
  3020. } else if (e.data.tools && e.data.tools == "1s") {
  3021. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3022. } else if (e.data.tools && e.data.tools == "3s") {
  3023. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3024. } else if (e.data.tools && e.data.tools == "6s") {
  3025. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3026. } else if (e.data.tools && e.data.tools == "1studio") {
  3027. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3028. } else if (e.data.tools && e.data.tools == "3studio") {
  3029. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3030. } else if (e.data.tools && e.data.tools == "6studio") {
  3031. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3032. } else if (e.data.tools && e.data.tools == "3y") {
  3033. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3034. } else if (e.data.tools && e.data.tools == "1y") {
  3035. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3036. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3037. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3038. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3039. U.MD.D.I.openApplication("AIAnalyse")
  3040. } else if (e.data.tools && e.data.tools == "1teacher") {
  3041. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3042. } else if (e.data.tools && e.data.tools == "3teacher") {
  3043. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3044. } else if (e.data.tools && e.data.tools == "7teacher") {
  3045. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3046. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3047. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3048. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3049. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3050. } else if (e.data.tools && e.data.tools == "1E") {
  3051. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3052. } else if (e.data.tools && e.data.tools == "3E") {
  3053. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3054. } else if (e.data.tools && e.data.tools == "57y") {
  3055. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3056. } else if (e.data.tools && e.data.tools == "57u") {
  3057. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3058. } else if (e.data.tools && e.data.tools == "57teacher") {
  3059. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3060. } else if (e.data.tools && e.data.tools == "64") {
  3061. U.MD.D.I.openApplication("AIChat")
  3062. } else if (e.data.tools && e.data.tools == "66") {
  3063. U.MD.D.I.openApplication("formulaEdi")
  3064. } else if (e.data.tools && e.data.tools == "67") {
  3065. U.MD.D.I.openApplication("molStr")
  3066. } else if (e.data.tools && e.data.tools == "68") {
  3067. U.MD.D.I.openApplication("timeAxis")
  3068. } else if (e.data.tools && e.data.tools == "openCourse") {
  3069. let _data = {
  3070. typea: e.data.typea || '',
  3071. typeb: e.data.typeb || '',
  3072. typed: e.data.typed || '',
  3073. }
  3074. U.MD.D.I.openInApplication("index", _data)
  3075. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3076. let _data = {
  3077. classid: e.data.classid || '',
  3078. }
  3079. U.MD.D.I.openInApplication("dataClass", _data)
  3080. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3081. let _data = {
  3082. cid: e.data.cid || '',
  3083. gid: e.data.gid || '',
  3084. }
  3085. U.MD.D.I.openInApplication("opencCscl", _data)
  3086. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3087. U.MD.D.I.openApplication("dataBoardTest")
  3088. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3089. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3090. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3091. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3092. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3093. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3094. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3095. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3096. }else if (e.data.tools && e.data.tools == "loginSz") {
  3097. U.MD.D.I.openInApplication("loginSz")
  3098. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3099. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  3100. }
  3101. });
  3102. U.MD.D.I.selectUser = function () {
  3103. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3104. if (res.value[0].length > 0) {
  3105. US.userInfo = res.value[0][0];
  3106. $(".userName")[0].innerHTML = US.userInfo.username;
  3107. }
  3108. }, [], { "type": "GET", "withCredentials": true });
  3109. }
  3110. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3111. var _userinfo = US.userInfo, //登錄用戶信息
  3112. _userid = US.userInfo.userid, //登錄用戶id
  3113. _oid = _userinfo.organizeid,
  3114. _type = US.userInfo.type,
  3115. _org = US.userInfo.org,
  3116. _role = US.userInfo.role,
  3117. _classId = US.userInfo.classid;
  3118. if (_type == 4) {
  3119. tType = 4
  3120. }
  3121. switch (str) {
  3122. case "studyDetailNT": //無終端模式
  3123. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3124. setTimeout(() => {
  3125. U.MD.U.L.login();
  3126. }, 2000);
  3127. } else {
  3128. _formdiv = new U.UF.UI.form(
  3129. "課程詳情",
  3130. $$("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 }), {
  3131. "id": "studyDetailNT",
  3132. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3133. "onresize": function () { }
  3134. }, {
  3135. closecallback: function () { }
  3136. }, { "style": { "height": "36px" } }).form; //創建窗體
  3137. _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); } }
  3138. break;
  3139. }
  3140. case "studyDetail":
  3141. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3142. setTimeout(() => {
  3143. U.MD.U.L.login();
  3144. }, 2000);
  3145. } else {
  3146. _formdiv = new U.UF.UI.form(
  3147. "課程詳情",
  3148. $$("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 }), {
  3149. "id": "studyDetail",
  3150. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3151. "onresize": function () { }
  3152. }, {
  3153. closecallback: function () { }
  3154. }, { "style": { "height": "36px" } }).form; //創建窗體
  3155. _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); } }
  3156. break;
  3157. }
  3158. case "studyDetailTrain":
  3159. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3160. setTimeout(() => {
  3161. U.MD.U.L.login();
  3162. }, 2000);
  3163. } else {
  3164. _formdiv = new U.UF.UI.form(
  3165. "培訓詳情",
  3166. $$("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 }), {
  3167. "id": "studyDetailTrain",
  3168. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3169. "onresize": function () { }
  3170. }, {
  3171. closecallback: function () { }
  3172. }, { "style": { "height": "36px" } }).form; //創建窗體
  3173. _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); } }
  3174. break;
  3175. }
  3176. case "studyDetailS":
  3177. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3178. setTimeout(() => {
  3179. U.MD.U.L.login();
  3180. }, 2000);
  3181. } else {
  3182. _formdiv = new U.UF.UI.form(
  3183. "項目詳情",
  3184. $$("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 }), {
  3185. "id": "studyDetailS",
  3186. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3187. "onresize": function () { }
  3188. }, {
  3189. closecallback: function () { }
  3190. }, { "style": { "height": "36px" } }).form; //創建窗體
  3191. _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); } }
  3192. break;
  3193. }
  3194. case "studyDetailStudio":
  3195. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3196. setTimeout(() => {
  3197. U.MD.U.L.login();
  3198. }, 2000);
  3199. } else {
  3200. _formdiv = new U.UF.UI.form(
  3201. "工作詳情",
  3202. $$("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 }), {
  3203. "id": "studyDetailStudio",
  3204. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3205. "onresize": function () { }
  3206. }, {
  3207. closecallback: function () { }
  3208. }, { "style": { "height": "36px" } }).form; //創建窗體
  3209. _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); } }
  3210. break;
  3211. }
  3212. case "studyDetailS5":
  3213. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3214. setTimeout(() => {
  3215. U.MD.U.L.login();
  3216. }, 2000);
  3217. } else {
  3218. _formdiv = new U.UF.UI.form(
  3219. "項目詳情",
  3220. $$("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 }), {
  3221. "id": "studyDetailS",
  3222. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3223. "onresize": function () { }
  3224. }, {
  3225. closecallback: function () { }
  3226. }, { "style": { "height": "36px" } }).form; //創建窗體
  3227. _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); } }
  3228. break;
  3229. }
  3230. case "studyDetailGM":
  3231. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3232. setTimeout(() => {
  3233. U.MD.U.L.login();
  3234. }, 2000);
  3235. } else {
  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/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3239. "id": "studyDetail",
  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/gm/learning.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3246. break;
  3247. }
  3248. case "hanUrl":
  3249. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3250. setTimeout(() => {
  3251. U.MD.U.L.login();
  3252. }, 2000);
  3253. } else {
  3254. _formdiv = new U.UF.UI.form(
  3255. "漢字宮",
  3256. $$("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" }), {
  3257. "id": "hanUrl",
  3258. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3259. "onresize": function () { }
  3260. }, {
  3261. closecallback: function () { }
  3262. }, { "style": { "height": "36px" } }).form; //創建窗體
  3263. _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); } }
  3264. break;
  3265. }
  3266. case "index":
  3267. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3268. setTimeout(() => {
  3269. U.MD.U.L.login();
  3270. }, 2000);
  3271. } else {
  3272. _formdiv = new U.UF.UI.form(
  3273. "課程中心",
  3274. $$("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 }), {
  3275. "id": "study",
  3276. "style": { "width": "100%", "height": "100%", "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/studentCourse.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3282. break;
  3283. }
  3284. case "dataClass":
  3285. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3286. setTimeout(() => {
  3287. U.MD.U.L.login();
  3288. }, 2000);
  3289. } else {
  3290. _formdiv = new U.UF.UI.form(
  3291. "數據報告",
  3292. $$("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 }), {
  3293. "id": "dataClass",
  3294. "style": { "width": "90%", "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/evaluation.png)" }, "name": "數據報告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3300. break;
  3301. }
  3302. case "opencCscl":
  3303. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3304. setTimeout(() => {
  3305. U.MD.U.L.login();
  3306. }, 2000);
  3307. } else {
  3308. _formdiv = new U.UF.UI.form(
  3309. "協同建構",
  3310. $$("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 }), {
  3311. "id": "futureClass",
  3312. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3313. "onresize": function () { }
  3314. }, {
  3315. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3316. }, { "style": { "height": "36px" } }).form; //創建窗體
  3317. _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); } }
  3318. break;
  3319. }
  3320. case "openCourseUpdate":
  3321. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3322. setTimeout(() => {
  3323. U.MD.U.L.login();
  3324. }, 2000);
  3325. } else {
  3326. _formdiv = new U.UF.UI.form(
  3327. "課程管理",
  3328. $$("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/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3329. "id": "openCourseUpdate",
  3330. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3331. "onresize": function () { }
  3332. }, {
  3333. closecallback: function () { }
  3334. }, { "style": { "height": "36px" } }).form; //創建窗體
  3335. break;
  3336. }
  3337. case "openNewCourseUpdate":
  3338. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3339. setTimeout(() => {
  3340. U.MD.U.L.login();
  3341. }, 2000);
  3342. } else {
  3343. _formdiv = new U.UF.UI.form(
  3344. "课程管理",
  3345. $$("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/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3346. "id": "openCourseNewUpdate",
  3347. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3348. "onresize": function () { }
  3349. }, {
  3350. closecallback: function () { }
  3351. }, { "style": { "height": "36px" } }).form; //创建窗体
  3352. break;
  3353. }
  3354. case "openCourseEUpdate":
  3355. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3356. setTimeout(() => {
  3357. U.MD.U.L.login();
  3358. }, 2000);
  3359. } else {
  3360. _formdiv = new U.UF.UI.form(
  3361. "課程管理",
  3362. $$("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/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3363. "id": "openCourseUpdate",
  3364. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3365. "onresize": function () { }
  3366. }, {
  3367. closecallback: function () { }
  3368. }, { "style": { "height": "36px" } }).form; //創建窗體
  3369. break;
  3370. }
  3371. case "openCourseNewUpdate":
  3372. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3373. setTimeout(() => {
  3374. U.MD.U.L.login();
  3375. }, 2000);
  3376. } else {
  3377. _formdiv = new U.UF.UI.form(
  3378. "课程管理",
  3379. $$("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/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3380. "id": "openCourseUpdate",
  3381. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3382. "onresize": function () { }
  3383. }, {
  3384. closecallback: function () { }
  3385. }, { "style": { "height": "36px" } }).form; //创建窗体
  3386. break;
  3387. }
  3388. case "inviteLoginSz":
  3389. _formdiv = new U.UF.UI.form(
  3390. "隨機碼登錄",
  3391. $$("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/#/inviteLoginSZ?code=" + data }), {
  3392. "id": "loginSz",
  3393. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3394. "onresize": function () { }
  3395. }, {
  3396. closecallback: function () { }
  3397. }, { "style": { "height": "36px" } }).form; //创建窗体
  3398. break;
  3399. case "loginSz":
  3400. _formdiv = new U.UF.UI.form(
  3401. "教师登录",
  3402. $$("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://edu.cocorobo.cn/ResourcesLogin" }), {
  3403. "id": "loginSz",
  3404. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3405. "onresize": function () { }
  3406. }, {
  3407. closecallback: function () { }
  3408. }, { "style": { "height": "36px" } }).form; //創建窗體
  3409. break;
  3410. case "teacher":
  3411. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3412. setTimeout(() => {
  3413. U.MD.U.L.login();
  3414. }, 2000);
  3415. } else {
  3416. _formdiv = new U.UF.UI.form(
  3417. "教師管理",
  3418. $$("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/#/teacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3419. "id": "teacher",
  3420. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3421. "onresize": function () { }
  3422. }, {
  3423. closecallback: function () { }
  3424. }, { "style": { "height": "36px" } }).form; //創建窗體
  3425. break;
  3426. }
  3427. case "dataBoardSZArea":
  3428. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3429. setTimeout(() => {
  3430. U.MD.U.L.login();
  3431. }, 2000);
  3432. } else {
  3433. _formdiv = new U.UF.UI.form(
  3434. "綜合數據看板",
  3435. $$("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/#/sz/dataBoardArea?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3436. "id": "dataBoardSZArea",
  3437. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3438. "onresize": function () { }
  3439. }, {
  3440. closecallback: function () { }
  3441. }, { "style": { "height": "36px" } }).form; //創建窗體
  3442. break;
  3443. }
  3444. case "dataBoardSZCity":
  3445. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3446. setTimeout(() => {
  3447. U.MD.U.L.login();
  3448. }, 2000);
  3449. } else {
  3450. _formdiv = new U.UF.UI.form(
  3451. "綜合數據看板",
  3452. $$("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/#/sz/dataBoardCity?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3453. "id": "dataBoardSZCity",
  3454. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3455. "onresize": function () { }
  3456. }, {
  3457. closecallback: function () { }
  3458. }, { "style": { "height": "36px" } }).form; //創建窗體
  3459. break;
  3460. }
  3461. case "classroom_observation_board":
  3462. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3463. setTimeout(() => {
  3464. U.MD.U.L.login();
  3465. }, 2000);
  3466. } else {
  3467. _formdiv = new U.UF.UI.form(
  3468. "课堂观察",
  3469. $$("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://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_board?tid="+data }), {
  3470. "id": "classroom_observation_board",
  3471. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3472. "onresize": function () { }
  3473. }, {
  3474. closecallback: function () { }
  3475. }, { "style": { "height": "36px" } }).form; //创建窗体
  3476. break;
  3477. }
  3478. }
  3479. }
  3480. U.MD.D.I.openApplication = function (str, obj, info) {
  3481. obj = obj || {};
  3482. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  3483. _formdiv, //創建任務欄時同時彈出的窗體元素。
  3484. _userinfo = US.userInfo, //登錄用戶信息
  3485. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  3486. _oid = obj.organizeid || _userinfo.organizeid,
  3487. _type = US.userInfo.type,
  3488. _org = US.userInfo.org,
  3489. _role = US.userInfo.role,
  3490. _classId = US.userInfo.classid,
  3491. _TscreenType = 1
  3492. _screenType = 2,
  3493. _SscreenType = 3;
  3494. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3495. return;
  3496. }
  3497. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3498. switch (str) {
  3499. case "studnetProject": //好友打開
  3500. _formdiv = new U.UF.UI.form(
  3501. "我的項目",
  3502. $$("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 }), {
  3503. "id": "studnetProject",
  3504. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3505. "onresize": function () { }
  3506. }, {
  3507. closecallback: function () { }
  3508. }, { "style": { "height": "36px" } }).form; //創建窗體
  3509. _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); } }
  3510. break;
  3511. case "studentEvaluate": //好友打開
  3512. _formdiv = new U.UF.UI.form(
  3513. "我的評價",
  3514. $$("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 }), {
  3515. "id": "studentEvaluate",
  3516. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3517. "onresize": function () { }
  3518. }, {
  3519. closecallback: function () { }
  3520. }, { "style": { "height": "36px" } }).form; //創建窗體
  3521. _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); } }
  3522. break;
  3523. case "my":
  3524. _formdiv = new U.UF.UI.form(
  3525. "我的資料",
  3526. $$("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 }), {
  3527. "id": "my",
  3528. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3529. "onresize": function () { }
  3530. }, {
  3531. closecallback: function () { }
  3532. }, { "style": { "height": "36px" } }).form; //創建窗體
  3533. _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); } }
  3534. break;
  3535. case "program":
  3536. _formdiv = new U.UF.UI.form(
  3537. "編程平臺",
  3538. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3539. "id": "program",
  3540. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3541. "onresize": function () { }
  3542. }, {
  3543. closecallback: function () { }
  3544. }, { "style": { "height": "36px" } }).form; //創建窗體
  3545. _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); } }
  3546. break;
  3547. case "library":
  3548. _formdiv = new U.UF.UI.form(
  3549. "素材庫",
  3550. $$("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 }), {
  3551. "id": "library",
  3552. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3553. "onresize": function () { }
  3554. }, {
  3555. closecallback: function () { }
  3556. }, { "style": { "height": "36px" } }).form; //創建窗體
  3557. _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); } }
  3558. break;
  3559. case "whiteboard":
  3560. _formdiv = new U.UF.UI.form(
  3561. "電子白板",
  3562. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3563. "id": "whiteboard",
  3564. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3565. "onresize": function () { }
  3566. }, {
  3567. closecallback: function () { }
  3568. }, { "style": { "height": "36px" } }).form; //創建窗體
  3569. _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); } }
  3570. break;
  3571. case "investigation":
  3572. _formdiv = new U.UF.UI.form(
  3573. "問卷調查",
  3574. $$("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 }), {
  3575. "id": "investigation",
  3576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3577. "onresize": function () { }
  3578. }, {
  3579. closecallback: function () { }
  3580. }, { "style": { "height": "36px" } }).form; //創建窗體
  3581. _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); } }
  3582. break;
  3583. case "note":
  3584. _formdiv = new U.UF.UI.form(
  3585. "便簽分類",
  3586. $$("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 }), {
  3587. "id": "note",
  3588. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3589. "onresize": function () { }
  3590. }, {
  3591. closecallback: function () { }
  3592. }, { "style": { "height": "36px" } }).form; //創建窗體
  3593. _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); } }
  3594. break;
  3595. // case "score":
  3596. // _formdiv = new U.UF.UI.form(
  3597. // "量規評分",
  3598. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3599. // "id": "score",
  3600. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3601. // "onresize": function() {}
  3602. // }, {
  3603. // closecallback: function() {}
  3604. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3605. // _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); } }
  3606. // break;
  3607. case "mind":
  3608. _formdiv = new U.UF.UI.form(
  3609. "思維導圖",
  3610. $$("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"
  3611. "id": "mind",
  3612. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3613. "onresize": function () { }
  3614. }, {
  3615. closecallback: function () { }
  3616. }, { "style": { "height": "36px" } }).form; //創建窗體
  3617. _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); } }
  3618. break;
  3619. case "doc":
  3620. // U.MD.D.I.isRoom();
  3621. _formdiv = new U.UF.UI.form(
  3622. "協同文檔",
  3623. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3624. "id": "doc",
  3625. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3626. "onresize": function () { }
  3627. }, {
  3628. closecallback: function () { }
  3629. }, { "style": { "height": "36px" } }).form; //創建窗體
  3630. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3631. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3632. // })
  3633. _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); } }
  3634. break;
  3635. case "studentStudy":
  3636. _formdiv = new U.UF.UI.form(
  3637. "課程中心",
  3638. $$("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
  3639. "id": "studentStudy",
  3640. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3641. "onresize": function () { }
  3642. }, {
  3643. closecallback: function () { }
  3644. }, { "style": { "height": "36px" } }).form; //創建窗體
  3645. _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); } }
  3646. break;
  3647. case "train": //好友打開
  3648. _formdiv = new U.UF.UI.form(
  3649. "訓練平臺",
  3650. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3651. "id": "train",
  3652. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3653. "onresize": function () { }
  3654. }, {
  3655. closecallback: function () { }
  3656. }, { "style": { "height": "36px" } }).form; //創建窗體
  3657. _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); } }
  3658. break;
  3659. case "mindNetwork": //好友打開
  3660. _formdiv = new U.UF.UI.form(
  3661. "思維網格",
  3662. $$("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 }), {
  3663. "id": "mindNetwork",
  3664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3665. "onresize": function () { }
  3666. }, {
  3667. closecallback: function () { }
  3668. }, { "style": { "height": "36px" } }).form; //創建窗體
  3669. _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); } }
  3670. break;
  3671. case "studentClassRoom": //好友打開
  3672. _formdiv = new U.UF.UI.form(
  3673. "實時課堂",
  3674. $$("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 }), {
  3675. "id": "studentClassRoom",
  3676. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3677. "onresize": function () { }
  3678. }, {
  3679. closecallback: function () { }
  3680. }, { "style": { "height": "36px" } }).form; //創建窗體
  3681. _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); } }
  3682. setTimeout(() => {
  3683. U.UF.F.windowZooming(_formdiv)
  3684. }, 0);
  3685. break;
  3686. }
  3687. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3688. switch (str) {
  3689. case "studnetProject": //好友打開
  3690. _formdiv = new U.UF.UI.form(
  3691. "我的項目",
  3692. $$("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 }), {
  3693. "id": "studnetProject",
  3694. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3695. "onresize": function () { }
  3696. }, {
  3697. closecallback: function () { }
  3698. }, { "style": { "height": "36px" } }).form; //創建窗體
  3699. _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); } }
  3700. break;
  3701. case "studentEvaluate": //好友打開
  3702. _formdiv = new U.UF.UI.form(
  3703. "我的評價",
  3704. $$("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 }), {
  3705. "id": "studentEvaluate",
  3706. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3707. "onresize": function () { }
  3708. }, {
  3709. closecallback: function () { }
  3710. }, { "style": { "height": "36px" } }).form; //創建窗體
  3711. _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); } }
  3712. break;
  3713. case "my":
  3714. _formdiv = new U.UF.UI.form(
  3715. "我的資料",
  3716. $$("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 }), {
  3717. "id": "my",
  3718. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3719. "onresize": function () { }
  3720. }, {
  3721. closecallback: function () { }
  3722. }, { "style": { "height": "36px" } }).form; //創建窗體
  3723. _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); } }
  3724. break;
  3725. case "program":
  3726. _formdiv = new U.UF.UI.form(
  3727. "編程平臺",
  3728. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3729. "id": "program",
  3730. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3731. "onresize": function () { }
  3732. }, {
  3733. closecallback: function () { }
  3734. }, { "style": { "height": "36px" } }).form; //創建窗體
  3735. _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); } }
  3736. break;
  3737. case "library":
  3738. _formdiv = new U.UF.UI.form(
  3739. "素材庫",
  3740. $$("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 }), {
  3741. "id": "library",
  3742. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3743. "onresize": function () { }
  3744. }, {
  3745. closecallback: function () { }
  3746. }, { "style": { "height": "36px" } }).form; //創建窗體
  3747. _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); } }
  3748. break;
  3749. case "whiteboard":
  3750. _formdiv = new U.UF.UI.form(
  3751. "電子白板",
  3752. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3753. "id": "whiteboard",
  3754. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3755. "onresize": function () { }
  3756. }, {
  3757. closecallback: function () { }
  3758. }, { "style": { "height": "36px" } }).form; //創建窗體
  3759. _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); } }
  3760. break;
  3761. case "investigation":
  3762. _formdiv = new U.UF.UI.form(
  3763. "問卷調查",
  3764. $$("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 }), {
  3765. "id": "investigation",
  3766. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3767. "onresize": function () { }
  3768. }, {
  3769. closecallback: function () { }
  3770. }, { "style": { "height": "36px" } }).form; //創建窗體
  3771. _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); } }
  3772. break;
  3773. case "note":
  3774. _formdiv = new U.UF.UI.form(
  3775. "便簽分類",
  3776. $$("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 }), {
  3777. "id": "note",
  3778. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3779. "onresize": function () { }
  3780. }, {
  3781. closecallback: function () { }
  3782. }, { "style": { "height": "36px" } }).form; //創建窗體
  3783. _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); } }
  3784. break;
  3785. // case "score":
  3786. // _formdiv = new U.UF.UI.form(
  3787. // "量規評分",
  3788. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3789. // "id": "score",
  3790. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3791. // "onresize": function() {}
  3792. // }, {
  3793. // closecallback: function() {}
  3794. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3795. // _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); } }
  3796. // break;
  3797. case "mind":
  3798. _formdiv = new U.UF.UI.form(
  3799. "思維導圖",
  3800. $$("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"
  3801. "id": "mind",
  3802. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3803. "onresize": function () { }
  3804. }, {
  3805. closecallback: function () { }
  3806. }, { "style": { "height": "36px" } }).form; //創建窗體
  3807. _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); } }
  3808. break;
  3809. case "doc":
  3810. // U.MD.D.I.isRoom();
  3811. _formdiv = new U.UF.UI.form(
  3812. "協同文檔",
  3813. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3814. "id": "doc",
  3815. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3816. "onresize": function () { }
  3817. }, {
  3818. closecallback: function () { }
  3819. }, { "style": { "height": "36px" } }).form; //創建窗體
  3820. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3821. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3822. })
  3823. _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); } }
  3824. break;
  3825. case "train": //好友打開
  3826. _formdiv = new U.UF.UI.form(
  3827. "訓練平臺",
  3828. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3829. "id": "train",
  3830. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3831. "onresize": function () { }
  3832. }, {
  3833. closecallback: function () { }
  3834. }, { "style": { "height": "36px" } }).form; //創建窗體
  3835. _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); } }
  3836. break;
  3837. case "studentStudy":
  3838. _formdiv = new U.UF.UI.form(
  3839. "課程中心",
  3840. $$("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
  3841. "id": "studentStudy",
  3842. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3843. "onresize": function () { }
  3844. }, {
  3845. closecallback: function () { }
  3846. }, { "style": { "height": "36px" } }).form; //創建窗體
  3847. _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); } }
  3848. break;
  3849. case "mindNetwork": //好友打開
  3850. _formdiv = new U.UF.UI.form(
  3851. "思維網格",
  3852. $$("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 }), {
  3853. "id": "mindNetwork",
  3854. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3855. "onresize": function () { }
  3856. }, {
  3857. closecallback: function () { }
  3858. }, { "style": { "height": "36px" } }).form; //創建窗體
  3859. _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); } }
  3860. break;
  3861. case "studentClassRoom": //好友打開
  3862. _formdiv = new U.UF.UI.form(
  3863. "實時課堂",
  3864. $$("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 }), {
  3865. "id": "studentClassRoom",
  3866. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3867. "onresize": function () { }
  3868. }, {
  3869. closecallback: function () { }
  3870. }, { "style": { "height": "36px" } }).form; //創建窗體
  3871. _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); } }
  3872. setTimeout(() => {
  3873. U.UF.F.windowZooming(_formdiv)
  3874. }, 0);
  3875. break;
  3876. }
  3877. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3878. //選擇應用處理
  3879. switch (str) {
  3880. case "project": //好友打開
  3881. _formdiv = new U.UF.UI.form(
  3882. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  3883. $$("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 }), {
  3884. "id": "project",
  3885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3886. "onresize": function () { }
  3887. }, {
  3888. closecallback: function () { }
  3889. }, { "style": { "height": "36px" } }).form; //創建窗體
  3890. _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); } }
  3891. break;
  3892. case "student":
  3893. _formdiv = new U.UF.UI.form(
  3894. "學生管理",
  3895. $$("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 }), {
  3896. "id": "student",
  3897. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3898. "onresize": function () { }
  3899. }, {
  3900. closecallback: function () { }
  3901. }, { "style": { "height": "36px" } }).form; //創建窗體
  3902. _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); } }
  3903. break;
  3904. case "evaluate":
  3905. _formdiv = new U.UF.UI.form(
  3906. "學生評價",
  3907. $$("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 }), {
  3908. "id": "evaluate",
  3909. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3910. "onresize": function () { }
  3911. }, {
  3912. closecallback: function () { }
  3913. }, { "style": { "height": "36px" } }).form; //創建窗體
  3914. _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); } }
  3915. break;
  3916. case "sys":
  3917. _formdiv = new U.UF.UI.form(
  3918. "目標管理",
  3919. $$("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 }), {
  3920. "id": "sys",
  3921. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3922. "onresize": function () { }
  3923. }, {
  3924. closecallback: function () { }
  3925. }, { "style": { "height": "36px" } }).form; //創建窗體
  3926. _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); } }
  3927. break;
  3928. case "courseDesign":
  3929. _formdiv = new U.UF.UI.form(
  3930. "項目設計",
  3931. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3932. "id": "courseDesign",
  3933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3934. "onresize": function () { }
  3935. }, {
  3936. closecallback: function () { }
  3937. }, { "style": { "height": "36px" } }).form; //創建窗體
  3938. _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); } }
  3939. break;
  3940. case "program":
  3941. _formdiv = new U.UF.UI.form(
  3942. "編程平臺",
  3943. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3944. "id": "program",
  3945. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3946. "onresize": function () { }
  3947. }, {
  3948. closecallback: function () { }
  3949. }, { "style": { "height": "36px" } }).form; //創建窗體
  3950. _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); } }
  3951. break;
  3952. case "class":
  3953. _formdiv = new U.UF.UI.form(
  3954. "班級管理",
  3955. $$("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 }), {
  3956. "id": "class",
  3957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3958. "onresize": function () { }
  3959. }, {
  3960. closecallback: function () { }
  3961. }, { "style": { "height": "36px" } }).form; //創建窗體
  3962. _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); } }
  3963. break;
  3964. case "Grade":
  3965. _formdiv = new U.UF.UI.form(
  3966. "年級管理",
  3967. $$("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 }), {
  3968. "id": "Grade",
  3969. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function () { }
  3971. }, {
  3972. closecallback: function () { }
  3973. }, { "style": { "height": "36px" } }).form; //創建窗體
  3974. _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); } }
  3975. break;
  3976. case "teacherOffice":
  3977. _formdiv = new U.UF.UI.form(
  3978. "教研室",
  3979. $$("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 }), {
  3980. "id": "teacherOffice",
  3981. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3982. "onresize": function () { }
  3983. }, {
  3984. closecallback: function () { }
  3985. }, { "style": { "height": "36px" } }).form; //創建窗體
  3986. _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); } }
  3987. break;
  3988. case "my":
  3989. _formdiv = new U.UF.UI.form(
  3990. "我的資料",
  3991. $$("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 }), {
  3992. "id": "my",
  3993. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3994. "onresize": function () { }
  3995. }, {
  3996. closecallback: function () { }
  3997. }, { "style": { "height": "36px" } }).form; //創建窗體
  3998. _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); } }
  3999. break;
  4000. case "notice":
  4001. _formdiv = new U.UF.UI.form(
  4002. "通知公告",
  4003. $$("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 }), {
  4004. "id": "notice",
  4005. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4006. "onresize": function () { }
  4007. }, {
  4008. closecallback: function () { }
  4009. }, { "style": { "height": "36px" } }).form; //創建窗體
  4010. _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); } }
  4011. break;
  4012. case "library":
  4013. _formdiv = new U.UF.UI.form(
  4014. "素材庫",
  4015. $$("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 }), {
  4016. "id": "library",
  4017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4018. "onresize": function () { }
  4019. }, {
  4020. closecallback: function () { }
  4021. }, { "style": { "height": "36px" } }).form; //創建窗體
  4022. _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); } }
  4023. break;
  4024. case "whiteboard":
  4025. _formdiv = new U.UF.UI.form(
  4026. "電子白板",
  4027. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4028. "id": "whiteboard",
  4029. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4030. "onresize": function () { }
  4031. }, {
  4032. closecallback: function () { }
  4033. }, { "style": { "height": "36px" } }).form; //創建窗體
  4034. _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); } }
  4035. break;
  4036. case "investigation":
  4037. _formdiv = new U.UF.UI.form(
  4038. "問卷調查",
  4039. $$("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 }), {
  4040. "id": "investigation",
  4041. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4042. "onresize": function () { }
  4043. }, {
  4044. closecallback: function () { }
  4045. }, { "style": { "height": "36px" } }).form; //創建窗體
  4046. _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); } }
  4047. break;
  4048. case "note":
  4049. _formdiv = new U.UF.UI.form(
  4050. "便簽分類",
  4051. $$("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 }), {
  4052. "id": "note",
  4053. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4054. "onresize": function () { }
  4055. }, {
  4056. closecallback: function () { }
  4057. }, { "style": { "height": "36px" } }).form; //創建窗體
  4058. _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); } }
  4059. break;
  4060. // case "score":
  4061. // _formdiv = new U.UF.UI.form(
  4062. // "量規評分",
  4063. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4064. // "id": "score",
  4065. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4066. // "onresize": function() {}
  4067. // }, {
  4068. // closecallback: function() {}
  4069. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4070. // _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); } }
  4071. // break;
  4072. case "mind":
  4073. _formdiv = new U.UF.UI.form(
  4074. "思維導圖",
  4075. $$("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"
  4076. "id": "mind",
  4077. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4078. "onresize": function () { }
  4079. }, {
  4080. closecallback: function () { }
  4081. }, { "style": { "height": "36px" } }).form; //創建窗體
  4082. _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); } }
  4083. break;
  4084. case "doc":
  4085. // U.MD.D.I.isRoom();
  4086. _formdiv = new U.UF.UI.form(
  4087. "協同文檔",
  4088. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4089. "id": "doc",
  4090. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4091. "onresize": function () { }
  4092. }, {
  4093. closecallback: function () { }
  4094. }, { "style": { "height": "36px" } }).form; //創建窗體
  4095. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4096. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4097. })
  4098. _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); } }
  4099. break;
  4100. case "study":
  4101. _formdiv = new U.UF.UI.form(
  4102. "課程中心",
  4103. $$("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
  4104. "id": "study",
  4105. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4106. "onresize": function () { }
  4107. }, {
  4108. closecallback: function () { }
  4109. }, { "style": { "height": "36px" } }).form; //創建窗體
  4110. _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); } }
  4111. break;
  4112. case "mindNetwork": //好友打開
  4113. _formdiv = new U.UF.UI.form(
  4114. "思維網格",
  4115. $$("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 }), {
  4116. "id": "mindNetwork",
  4117. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4118. "onresize": function () { }
  4119. }, {
  4120. closecallback: function () { }
  4121. }, { "style": { "height": "36px" } }).form; //創建窗體
  4122. _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); } }
  4123. break;
  4124. case "train": //好友打開
  4125. _formdiv = new U.UF.UI.form(
  4126. "訓練平臺",
  4127. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4128. "id": "mindNetwork",
  4129. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4130. "onresize": function () { }
  4131. }, {
  4132. closecallback: function () { }
  4133. }, { "style": { "height": "36px" } }).form; //創建窗體
  4134. _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); } }
  4135. break;
  4136. case "teacherClassRoom": //好友打開
  4137. _formdiv = new U.UF.UI.form(
  4138. "實時課堂",
  4139. $$("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 }), {
  4140. "id": "teacherClassRoom",
  4141. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4142. "onresize": function () { }
  4143. }, {
  4144. closecallback: function () { }
  4145. }, { "style": { "height": "36px" } }).form; //創建窗體
  4146. _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); } }
  4147. setTimeout(() => {
  4148. U.UF.F.windowZooming(_formdiv)
  4149. }, 0);
  4150. break;
  4151. }
  4152. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4153. switch (str) {
  4154. case "project": //好友打開
  4155. _formdiv = new U.UF.UI.form(
  4156. "課程管理",
  4157. $$("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 }), {
  4158. "id": "project",
  4159. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4160. "onresize": function () { }
  4161. }, {
  4162. closecallback: function () { }
  4163. }, { "style": { "height": "36px" } }).form; //創建窗體
  4164. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "課程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4165. break;
  4166. case "evaluate":
  4167. _formdiv = new U.UF.UI.form(
  4168. "學生評價",
  4169. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4170. "id": "evaluate",
  4171. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4172. "onresize": function () { }
  4173. }, {
  4174. closecallback: function () { }
  4175. }, { "style": { "height": "36px" } }).form; //創建窗體
  4176. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "學生評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4177. break;
  4178. case "notice":
  4179. _formdiv = new U.UF.UI.form(
  4180. "通知公告",
  4181. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  4182. "id": "notice",
  4183. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4184. "onresize": function () { }
  4185. }, {
  4186. closecallback: function () { }
  4187. }, { "style": { "height": "36px" } }).form; //創建窗體
  4188. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4189. break;
  4190. case "stuLibrary":
  4191. _formdiv = new U.UF.UI.form(
  4192. "學習資料",
  4193. $$("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 }), {
  4194. "id": "stuLibrary",
  4195. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4196. "onresize": function () { }
  4197. }, {
  4198. closecallback: function () { }
  4199. }, { "style": { "height": "36px" } }).form; //創建窗體
  4200. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/stuLibrary.png)" }, "name": "學習資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4201. break;
  4202. case "program":
  4203. _formdiv = new U.UF.UI.form(
  4204. "編程平臺",
  4205. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4206. "id": "program",
  4207. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4208. "onresize": function () { }
  4209. }, {
  4210. closecallback: function () { }
  4211. }, { "style": { "height": "36px" } }).form; //創建窗體
  4212. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4213. break;
  4214. case "whiteboard":
  4215. _formdiv = new U.UF.UI.form(
  4216. "電子白板",
  4217. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4218. "id": "whiteboard",
  4219. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4220. "onresize": function () { }
  4221. }, {
  4222. closecallback: function () { }
  4223. }, { "style": { "height": "36px" } }).form; //創建窗體
  4224. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "電子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4225. break;
  4226. case "investigation":
  4227. _formdiv = new U.UF.UI.form(
  4228. "問卷調查",
  4229. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  4230. "id": "investigation",
  4231. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4232. "onresize": function () { }
  4233. }, {
  4234. closecallback: function () { }
  4235. }, { "style": { "height": "36px" } }).form; //創建窗體
  4236. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "問卷調查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4237. break;
  4238. case "mind":
  4239. _formdiv = new U.UF.UI.form(
  4240. "思維導圖",
  4241. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  4242. "id": "mind",
  4243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4244. "onresize": function () { }
  4245. }, {
  4246. closecallback: function () { }
  4247. }, { "style": { "height": "36px" } }).form; //創建窗體
  4248. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4249. break;
  4250. case "doc":
  4251. // U.MD.D.I.isRoom();
  4252. _formdiv = new U.UF.UI.form(
  4253. "協同文檔",
  4254. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4255. "id": "doc",
  4256. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4257. "onresize": function () { }
  4258. }, {
  4259. closecallback: function () { }
  4260. }, { "style": { "height": "36px" } }).form; //創建窗體
  4261. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4262. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4263. })
  4264. _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); } }
  4265. break;
  4266. case "study":
  4267. _formdiv = new U.UF.UI.form(
  4268. "課程中心",
  4269. $$("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
  4270. "id": "study",
  4271. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4272. "onresize": function () { }
  4273. }, {
  4274. closecallback: function () { }
  4275. }, { "style": { "height": "36px" } }).form; //創建窗體
  4276. _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); } }
  4277. break;
  4278. case "mindNetwork": //好友打開
  4279. _formdiv = new U.UF.UI.form(
  4280. "思維網格",
  4281. $$("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 }), {
  4282. "id": "mindNetwork",
  4283. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4284. "onresize": function () { }
  4285. }, {
  4286. closecallback: function () { }
  4287. }, { "style": { "height": "36px" } }).form; //創建窗體
  4288. _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); } }
  4289. break;
  4290. case "train": //好友打開
  4291. _formdiv = new U.UF.UI.form(
  4292. "訓練平臺",
  4293. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4294. "id": "train",
  4295. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4296. "onresize": function () { }
  4297. }, {
  4298. closecallback: function () { }
  4299. }, { "style": { "height": "36px" } }).form; //創建窗體
  4300. _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); } }
  4301. break;
  4302. case "sys":
  4303. _formdiv = new U.UF.UI.form(
  4304. "目標管理",
  4305. $$("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 }), {
  4306. "id": "sys",
  4307. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4308. "onresize": function () { }
  4309. }, {
  4310. closecallback: function () { }
  4311. }, { "style": { "height": "36px" } }).form; //創建窗體
  4312. _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); } }
  4313. break;
  4314. case "courseDesign":
  4315. _formdiv = new U.UF.UI.form(
  4316. "項目設計",
  4317. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4318. "id": "courseDesign",
  4319. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4320. "onresize": function () { }
  4321. }, {
  4322. closecallback: function () { }
  4323. }, { "style": { "height": "36px" } }).form; //創建窗體
  4324. _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); } }
  4325. break;
  4326. }
  4327. } else if (!_type) {
  4328. switch (str) {
  4329. case "my":
  4330. _formdiv = new U.UF.UI.form(
  4331. "我的資料",
  4332. $$("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 }), {
  4333. "id": "my",
  4334. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4335. "onresize": function () { }
  4336. }, {
  4337. closecallback: function () { }
  4338. }, { "style": { "height": "36px" } }).form; //創建窗體
  4339. _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); } }
  4340. break;
  4341. }
  4342. }
  4343. switch (str) {
  4344. // AIprogram2 AI體驗 aihub.cocorobo.cn
  4345. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  4346. // AIprogram AI編程 ai-blockly.cocorobo.cn
  4347. case "formulaEdi": //公式編輯
  4348. _formdiv = new U.UF.UI.form(
  4349. "公式編輯",
  4350. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4351. "id": "formulaEdi",
  4352. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4353. "onresize": function () { }
  4354. }, {
  4355. closecallback: function () { }
  4356. }, { "style": { "height": "36px" } }).form; //創建窗體
  4357. _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); } }
  4358. break;
  4359. case "molStr": //分子結構
  4360. _formdiv = new U.UF.UI.form(
  4361. "分子結構",
  4362. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4363. "id": "molStr",
  4364. "style": { "width": "70%", "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/molStr.png)" }, "name": "分子結構", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4370. break;
  4371. case "timeAxis": //時間軸
  4372. _formdiv = new U.UF.UI.form(
  4373. "時間軸",
  4374. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4375. "id": "timeAxis",
  4376. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4377. "onresize": function () { }
  4378. }, {
  4379. closecallback: function () { }
  4380. }, { "style": { "height": "36px" } }).form; //創建窗體
  4381. _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); } }
  4382. break;
  4383. case "AIprogram2": //AI體驗
  4384. _formdiv = new U.UF.UI.form(
  4385. "AI體驗",
  4386. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4387. "id": "AIprogram2",
  4388. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4389. "onresize": function () { }
  4390. }, {
  4391. closecallback: function () { }
  4392. }, { "style": { "height": "36px" } }).form; //創建窗體
  4393. _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); } }
  4394. break;
  4395. case "Pythonprogram": //python編程
  4396. _formdiv = new U.UF.UI.form(
  4397. "Python編程",
  4398. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4399. "id": "Pythonprogram",
  4400. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4401. "onresize": function () { }
  4402. }, {
  4403. closecallback: function () { }
  4404. }, { "style": { "height": "36px" } }).form; //創建窗體
  4405. _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); } }
  4406. break;
  4407. case "AIprogram": //ai編程
  4408. _formdiv = new U.UF.UI.form(
  4409. "AI編程平臺",
  4410. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4411. "id": "AIprogram",
  4412. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4413. "onresize": function () { }
  4414. }, {
  4415. closecallback: function () { }
  4416. }, { "style": { "height": "36px" } }).form; //創建窗體
  4417. _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); } }
  4418. break;
  4419. case "CocoPi": //CocoPi
  4420. _formdiv = new U.UF.UI.form(
  4421. "CocoPi",
  4422. $$("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" }), {
  4423. "id": "CocoPi",
  4424. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4425. "onresize": function () { }
  4426. }, {
  4427. closecallback: function () { }
  4428. }, { "style": { "height": "36px" } }).form; //創建窗體
  4429. _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); } }
  4430. break;
  4431. case "Wood": //Wood
  4432. _formdiv = new U.UF.UI.form(
  4433. "海龜編程",
  4434. $$("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/" }), {
  4435. "id": "Wood",
  4436. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4437. "onresize": function () { }
  4438. }, {
  4439. closecallback: function () { }
  4440. }, { "style": { "height": "36px" } }).form; //創建窗體
  4441. _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); } }
  4442. break;
  4443. case "car": //模擬駕駛
  4444. _formdiv = new U.UF.UI.form(
  4445. "模擬駕駛",
  4446. $$("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/" }), {
  4447. "id": "car",
  4448. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4449. "onresize": function () { }
  4450. }, {
  4451. closecallback: function () { }
  4452. }, { "style": { "height": "36px" } }).form; //創建窗體
  4453. _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); } }
  4454. break;
  4455. case "lineSearch": //路徑搜索
  4456. _formdiv = new U.UF.UI.form(
  4457. "路徑搜索",
  4458. $$("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/" }), {
  4459. "id": "lineSearch",
  4460. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4461. "onresize": function () { }
  4462. }, {
  4463. closecallback: function () { }
  4464. }, { "style": { "height": "36px" } }).form; //創建窗體
  4465. _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); } }
  4466. break;
  4467. case "deepLearning": //深度學習
  4468. _formdiv = new U.UF.UI.form(
  4469. "深度學習",
  4470. $$("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/#" }), {
  4471. "id": "deepLearning",
  4472. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4473. "onresize": function () { }
  4474. }, {
  4475. closecallback: function () { }
  4476. }, { "style": { "height": "36px" } }).form; //創建窗體
  4477. _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); } }
  4478. break;
  4479. case "allHistory": //深度學習
  4480. _formdiv = new U.UF.UI.form(
  4481. "全歷史",
  4482. $$("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/" }), {
  4483. "id": "allHistory",
  4484. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4485. "onresize": function () { }
  4486. }, {
  4487. closecallback: function () { }
  4488. }, { "style": { "height": "36px" } }).form; //創建窗體
  4489. _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); } }
  4490. break;
  4491. case "chatPDF": //ai編程
  4492. _formdiv = new U.UF.UI.form(
  4493. "chatPDF",
  4494. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4495. "id": "chatPDF",
  4496. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4497. "onresize": function () { }
  4498. }, {
  4499. closecallback: function () { }
  4500. }, { "style": { "height": "36px" } }).form; //創建窗體
  4501. _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); } }
  4502. break;
  4503. case "resources": //國家教育
  4504. _formdiv = new U.UF.UI.form(
  4505. "國家教育",
  4506. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4507. "id": "resources",
  4508. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4509. "onresize": function () { }
  4510. }, {
  4511. closecallback: function () { }
  4512. }, { "style": { "height": "36px" } }).form; //創建窗體
  4513. _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); } }
  4514. break;
  4515. case "codeEdit": //源碼編輯
  4516. _formdiv = new U.UF.UI.form(
  4517. "源碼編輯",
  4518. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4519. "id": "codeEdit",
  4520. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4521. "onresize": function () { }
  4522. }, {
  4523. closecallback: function () { }
  4524. }, { "style": { "height": "36px" } }).form; //創建窗體
  4525. _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); } }
  4526. break; //
  4527. case "MindMap": //MindMap
  4528. _formdiv = new U.UF.UI.form(
  4529. "MindMap",
  4530. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4531. "id": "MindMap",
  4532. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4533. "onresize": function () { }
  4534. }, {
  4535. closecallback: function () { }
  4536. }, { "style": { "height": "36px" } }).form; //創建窗體
  4537. _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); } }
  4538. break;
  4539. case "netWorkPanel": //netWorkPanel
  4540. _formdiv = new U.UF.UI.form(
  4541. "netWorkPanel",
  4542. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4543. "id": "netWorkPanel",
  4544. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4545. "onresize": function () { }
  4546. }, {
  4547. closecallback: function () { }
  4548. }, { "style": { "height": "36px" } }).form; //創建窗體
  4549. _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); } }
  4550. break;
  4551. case "GeoGebra": //GeoGebra
  4552. _formdiv = new U.UF.UI.form(
  4553. "GeoGebra",
  4554. $$("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" }), {
  4555. "id": "GeoGebra",
  4556. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4557. "onresize": function () { }
  4558. }, {
  4559. closecallback: function () { }
  4560. }, { "style": { "height": "36px" } }).form; //創建窗體
  4561. _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); } }
  4562. break;
  4563. case "translation": //翻譯
  4564. _formdiv = new U.UF.UI.form(
  4565. "翻譯",
  4566. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4567. "id": "translation",
  4568. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4569. "onresize": function () { }
  4570. }, {
  4571. closecallback: function () { }
  4572. }, { "style": { "height": "36px" } }).form; //創建窗體
  4573. _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); } }
  4574. break;
  4575. case "mohe": //魔盒
  4576. _formdiv = new U.UF.UI.form(
  4577. "魔盒識字",
  4578. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4579. "id": "mohe",
  4580. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4581. "onresize": function () { }
  4582. }, {
  4583. closecallback: function () { }
  4584. }, { "style": { "height": "36px" } }).form; //創建窗體
  4585. _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); } }
  4586. break;
  4587. case "24game": //24點
  4588. _formdiv = new U.UF.UI.form(
  4589. "24點",
  4590. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4591. "id": "24game",
  4592. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4593. "onresize": function () { }
  4594. }, {
  4595. closecallback: function () { }
  4596. }, { "style": { "height": "36px" } }).form; //創建窗體
  4597. _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); } }
  4598. break;
  4599. case "case":
  4600. _formdiv = new U.UF.UI.form(
  4601. "課程進展",
  4602. $$("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 }), {
  4603. "id": "case",
  4604. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4605. "onresize": function () { }
  4606. }, {
  4607. closecallback: function () { }
  4608. }, { "style": { "height": "36px" } }).form; //創建窗體
  4609. _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); } }
  4610. break;
  4611. case "snf":
  4612. _formdiv = new U.UF.UI.form(
  4613. "賽諾梵",
  4614. $$("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" }), {
  4615. "id": "snf",
  4616. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4617. "onresize": function () { }
  4618. }, {
  4619. closecallback: function () { }
  4620. }, { "style": { "height": "36px" } }).form; //創建窗體
  4621. _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); } }
  4622. break;
  4623. case "hanFamily":
  4624. _formdiv = new U.UF.UI.form(
  4625. "漢字家族",
  4626. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4627. "id": "hanFamily",
  4628. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4629. "onresize": function () { }
  4630. }, {
  4631. closecallback: function () { }
  4632. }, { "style": { "height": "36px" } }).form; //創建窗體
  4633. _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); } }
  4634. break;
  4635. case "hanClassics":
  4636. _formdiv = new U.UF.UI.form(
  4637. "國學經典",
  4638. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4639. "id": "hanClassics",
  4640. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4641. "onresize": function () { }
  4642. }, {
  4643. closecallback: function () { }
  4644. }, { "style": { "height": "36px" } }).form; //創建窗體
  4645. _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); } }
  4646. break;
  4647. case "hanTraining":
  4648. _formdiv = new U.UF.UI.form(
  4649. "筆畫訓練",
  4650. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4651. "id": "hanTraining",
  4652. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4653. "onresize": function () { }
  4654. }, {
  4655. closecallback: function () { }
  4656. }, { "style": { "height": "36px" } }).form; //創建窗體
  4657. _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); } }
  4658. break;
  4659. case "hanClass":
  4660. _formdiv = new U.UF.UI.form(
  4661. "書法課堂",
  4662. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4663. "id": "hanClass",
  4664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4665. "onresize": function () { }
  4666. }, {
  4667. closecallback: function () { }
  4668. }, { "style": { "height": "36px" } }).form; //創建窗體
  4669. _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); } }
  4670. break;
  4671. case "han":
  4672. _formdiv = new U.UF.UI.form(
  4673. "漢字宮",
  4674. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4675. "id": "han",
  4676. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4677. "onresize": function () { }
  4678. }, {
  4679. closecallback: function () { }
  4680. }, { "style": { "height": "36px" } }).form; //創建窗體
  4681. _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); } }
  4682. break;
  4683. case "projectGM": //課程管理
  4684. _formdiv = new U.UF.UI.form(
  4685. "課程管理",
  4686. $$("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 }), {
  4687. "id": "projectGM",
  4688. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4689. "onresize": function () { }
  4690. }, {
  4691. closecallback: function () { }
  4692. }, { "style": { "height": "36px" } }).form; //創建窗體
  4693. _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); } }
  4694. break;
  4695. case "studyGM": //課程中心
  4696. _formdiv = new U.UF.UI.form(
  4697. "課程中心",
  4698. $$("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
  4699. "id": "study",
  4700. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4701. "onresize": function () { }
  4702. }, {
  4703. closecallback: function () { }
  4704. }, { "style": { "height": "36px" } }).form; //創建窗體
  4705. _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); } }
  4706. break;
  4707. // studentGM
  4708. case "studentGM": //學生管理
  4709. _formdiv = new U.UF.UI.form(
  4710. "學生管理",
  4711. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/studentGM?userid=" + _userid + "&oid=" + _oid + "&cid=" + _classId + "&org=" + _org }), {
  4712. "id": "studentGM",
  4713. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4714. "onresize": function () { }
  4715. }, {
  4716. closecallback: function () { }
  4717. }, { "style": { "height": "36px" } }).form; //創建窗體
  4718. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/student.png)" }, "name": "學生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4719. break;
  4720. case "evaluateGM": //學生評價
  4721. _formdiv = new U.UF.UI.form(
  4722. "學生評價",
  4723. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4724. "id": "evaluateGM",
  4725. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4726. "onresize": function () { }
  4727. }, {
  4728. closecallback: function () { }
  4729. }, { "style": { "height": "36px" } }).form; //創建窗體
  4730. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "學生評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4731. break;
  4732. // classGM
  4733. case "classGM": //班級管理
  4734. _formdiv = new U.UF.UI.form(
  4735. "班級管理",
  4736. $$("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 }), {
  4737. "id": "classGM",
  4738. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4739. "onresize": function () { }
  4740. }, {
  4741. closecallback: function () { }
  4742. }, { "style": { "height": "36px" } }).form; //創建窗體
  4743. _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); } }
  4744. break;
  4745. // dataGM
  4746. case "dataGM":
  4747. _formdiv = new U.UF.UI.form(
  4748. "我的資料",
  4749. $$("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 }), {
  4750. "id": "dataGM",
  4751. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4752. "onresize": function () { }
  4753. }, {
  4754. closecallback: function () { }
  4755. }, { "style": { "height": "36px" } }).form; //創建窗體
  4756. _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); } }
  4757. break;
  4758. // caseGM
  4759. case "caseGM": //課程進展
  4760. _formdiv = new U.UF.UI.form(
  4761. "課程進展",
  4762. $$("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 }), {
  4763. "id": "caseGM",
  4764. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4765. "onresize": function () { }
  4766. }, {
  4767. closecallback: function () { }
  4768. }, { "style": { "height": "36px" } }).form; //創建窗體
  4769. _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); } }
  4770. break;
  4771. // meterialGM
  4772. case "meterialGM": //素材庫
  4773. _formdiv = new U.UF.UI.form(
  4774. "素材庫",
  4775. $$("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 }), {
  4776. "id": "meterialGM",
  4777. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4778. "onresize": function () { }
  4779. }, {
  4780. closecallback: function () { }
  4781. }, { "style": { "height": "36px" } }).form; //創建窗體
  4782. _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); } }
  4783. break;
  4784. // evaluateSGM
  4785. case "evaluateSGM": //我的評價
  4786. _formdiv = new U.UF.UI.form(
  4787. "我的評價",
  4788. $$("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 }), {
  4789. "id": "evaluateSGM",
  4790. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4791. "onresize": function () { }
  4792. }, {
  4793. closecallback: function () { }
  4794. }, { "style": { "height": "36px" } }).form; //創建窗體
  4795. _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); } }
  4796. break;
  4797. case "jupyter": //jupyter
  4798. _formdiv = new U.UF.UI.form(
  4799. "jupyter",
  4800. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4801. "id": "jupyter",
  4802. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4803. "onresize": function () { }
  4804. }, {
  4805. closecallback: function () { }
  4806. }, { "style": { "height": "36px" } }).form; //創建窗體
  4807. _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); } }
  4808. break;
  4809. case "number": //數字實驗室
  4810. _formdiv = new U.UF.UI.form(
  4811. "數字實驗室",
  4812. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4813. "id": "number",
  4814. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4815. "onresize": function () { }
  4816. }, {
  4817. closecallback: function () { }
  4818. }, { "style": { "height": "36px" } }).form; //創建窗體
  4819. _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); } }
  4820. break;
  4821. case "studentCourse": //項目管理 學生
  4822. _formdiv = new U.UF.UI.form(
  4823. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4824. $$("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 }), {
  4825. "id": "studentCourse",
  4826. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4827. "onresize": function () { }
  4828. }, {
  4829. closecallback: function () { }
  4830. }, { "style": { "height": "36px" } }).form; //創建窗體
  4831. _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); } }
  4832. break;
  4833. case "studentCourseS": //項目管理 老師
  4834. _formdiv = new U.UF.UI.form(
  4835. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4836. $$("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 }), {
  4837. "id": "studentCourseS",
  4838. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4839. "onresize": function () { }
  4840. }, {
  4841. closecallback: function () { }
  4842. }, { "style": { "height": "36px" } }).form; //創建窗體
  4843. _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); } }
  4844. break;
  4845. case "studentIndex": //項目中心
  4846. _formdiv = new U.UF.UI.form(
  4847. "項目中心",
  4848. $$("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 }), {
  4849. "id": "studentIndex",
  4850. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4851. "onresize": function () { }
  4852. }, {
  4853. closecallback: function () { }
  4854. }, { "style": { "height": "36px" } }).form; //創建窗體
  4855. _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); } }
  4856. break;
  4857. case "CaseDesignS":
  4858. _formdiv = new U.UF.UI.form(
  4859. "項目進展",
  4860. $$("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 }), {
  4861. "id": "case",
  4862. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4863. "onresize": function () { }
  4864. }, {
  4865. closecallback: function () { }
  4866. }, { "style": { "height": "36px" } }).form; //創建窗體
  4867. _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); } }
  4868. break;
  4869. case "tcStudent": //騰訊學生管理
  4870. _formdiv = new U.UF.UI.form(
  4871. "學生管理",
  4872. $$("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 }), {
  4873. "id": "tcStudent",
  4874. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4875. "onresize": function () { }
  4876. }, {
  4877. closecallback: function () { }
  4878. }, { "style": { "height": "36px" } }).form; //創建窗體
  4879. _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); } }
  4880. break;
  4881. case "tcSchool": //騰訊學校管理
  4882. _formdiv = new U.UF.UI.form(
  4883. "學校管理",
  4884. $$("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 }), {
  4885. "id": "tcSchool",
  4886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4887. "onresize": function () { }
  4888. }, {
  4889. closecallback: function () { }
  4890. }, { "style": { "height": "36px" } }).form; //創建窗體
  4891. _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); } }
  4892. break;
  4893. case "tcTeacher": //騰訊學校管理
  4894. _formdiv = new U.UF.UI.form(
  4895. "教師管理",
  4896. $$("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 }), {
  4897. "id": "tcTeacher",
  4898. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4899. "onresize": function () { }
  4900. }, {
  4901. closecallback: function () { }
  4902. }, { "style": { "height": "36px" } }).form; //創建窗體
  4903. _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); } }
  4904. break;
  4905. case "tcData": //騰訊我的資料
  4906. _formdiv = new U.UF.UI.form(
  4907. "我的資料",
  4908. $$("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 }), {
  4909. "id": "tcData",
  4910. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4911. "onresize": function () { }
  4912. }, {
  4913. closecallback: function () { }
  4914. }, { "style": { "height": "36px" } }).form; //創建窗體
  4915. _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); } }
  4916. break;
  4917. case "tcNotice": //騰訊消息通知
  4918. _formdiv = new U.UF.UI.form(
  4919. "消息通知",
  4920. $$("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 }), {
  4921. "id": "tcNotice",
  4922. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4923. "onresize": function () { }
  4924. }, {
  4925. closecallback: function () { }
  4926. }, { "style": { "height": "36px" } }).form; //創建窗體
  4927. _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); } }
  4928. break;
  4929. case "myReport": //好友打開
  4930. _formdiv = new U.UF.UI.form(
  4931. "我的評價",
  4932. $$("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 }), {
  4933. "id": "myReport",
  4934. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4935. "onresize": function () { }
  4936. }, {
  4937. closecallback: function () { }
  4938. }, { "style": { "height": "36px" } }).form; //創建窗體
  4939. _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); } }
  4940. break;
  4941. case "learnAna": //好友打開
  4942. _formdiv = new U.UF.UI.form(
  4943. "學習分析",
  4944. $$("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 }), {
  4945. "id": "learnAna",
  4946. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4947. "onresize": function () { }
  4948. }, {
  4949. closecallback: function () { }
  4950. }, { "style": { "height": "36px" } }).form; //創建窗體
  4951. _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); } }
  4952. break;
  4953. case "AIChat": //AI共創
  4954. _formdiv = new U.UF.UI.form(
  4955. "AI共創",
  4956. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  4957. "id": "AIChat",
  4958. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4959. "onresize": function () { }
  4960. }, {
  4961. istop: true,
  4962. closecallback: function () { $("#aichat_icon").remove(); },
  4963. narrowcallback: function () {
  4964. if (!$("#aichat_icon")[0]) {
  4965. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4966. }
  4967. },
  4968. }, { "style": { "height": "36px" } }).form; //創建窗體
  4969. _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); } }
  4970. break;
  4971. case "ainew": //AI共創
  4972. _formdiv = new U.UF.UI.form(
  4973. "AI協同",
  4974. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  4975. "id": "ainew",
  4976. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4977. "onresize": function () { }
  4978. }, {
  4979. closecallback: function () { }
  4980. }, { "style": { "height": "36px" } }).form; //創建窗體
  4981. _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); } }
  4982. break;
  4983. case "gpt4": //gpt4
  4984. _formdiv = new U.UF.UI.form(
  4985. "AI助手",
  4986. $$("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 }), {
  4987. "id": "gpt4",
  4988. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4989. "onresize": function () { }
  4990. }, {
  4991. closecallback: function () { }
  4992. }, { "style": { "height": "36px" } }).form; //創建窗體
  4993. _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); } }
  4994. break;
  4995. case "aigpt": //gpt4
  4996. _formdiv = new U.UF.UI.form(
  4997. "AI助手+",
  4998. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4999. "id": "aigpt",
  5000. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5001. "onresize": function () { }
  5002. }, {
  5003. closecallback: function () { }
  5004. }, { "style": { "height": "36px" } }).form; //創建窗體
  5005. _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); } }
  5006. break;
  5007. case "futureClass": //AI共創
  5008. _formdiv = new U.UF.UI.form(
  5009. "協同建構",
  5010. $$("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
  5011. "id": "synergyCourse",
  5012. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5013. "onresize": function () { }
  5014. }, {
  5015. closecallback: function () {
  5016. $("iframe", _formdiv)[0].contentWindow.loginout();
  5017. }
  5018. }, { "style": { "height": "36px" } }).form; //創建窗體
  5019. _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); } }
  5020. break;
  5021. case "aiagent": //ai agent
  5022. _formdiv = new U.UF.UI.form(
  5023. "AI Agent",
  5024. $$("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" }), {
  5025. "id": "AIAgent",
  5026. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5027. "onresize": function () { }
  5028. }, {
  5029. closecallback: function () { }
  5030. }, { "style": { "height": "36px" } }).form; //創建窗體
  5031. _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); } }
  5032. break;
  5033. case "dataBoard": //數據看板
  5034. _formdiv = new U.UF.UI.form(
  5035. "數據看板",
  5036. $$("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 }), {
  5037. "id": "dataBoard",
  5038. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5039. "onresize": function () { }
  5040. }, {
  5041. closecallback: function () { }
  5042. }, { "style": { "height": "36px" } }).form; //創建窗體
  5043. _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); } }
  5044. break;
  5045. case "dataBoardSies": //數據融合
  5046. _formdiv = new U.UF.UI.form(
  5047. "數據融合",
  5048. $$("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 }), {
  5049. "id": "dataBoardSies",
  5050. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5051. "onresize": function () { }
  5052. }, {
  5053. closecallback: function () { }
  5054. }, { "style": { "height": "36px" } }).form; //創建窗體
  5055. _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); } }
  5056. break;
  5057. case "dataBoardNew": //數據看板
  5058. _formdiv = new U.UF.UI.form(
  5059. "綜合看板",
  5060. $$("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 }), {
  5061. "id": "dataBoardNew",
  5062. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5063. "onresize": function () { }
  5064. }, {
  5065. closecallback: function () { }
  5066. }, { "style": { "height": "36px" } }).form; //創建窗體
  5067. _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); } }
  5068. break;
  5069. case "dataBoardTest": //數據看板
  5070. _formdiv = new U.UF.UI.form(
  5071. "評測看板",
  5072. $$("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 }), {
  5073. "id": "dataBoardTest",
  5074. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5075. "onresize": function () { }
  5076. }, {
  5077. closecallback: function () { }
  5078. }, { "style": { "height": "36px" } }).form; //創建窗體
  5079. _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); } }
  5080. break;
  5081. case "AIAnalyse": //AI共創
  5082. _formdiv = new U.UF.UI.form(
  5083. "AI分析",
  5084. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  5085. "id": "AIAnalyse",
  5086. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5087. "onresize": function () { }
  5088. }, {
  5089. closecallback: function () { }
  5090. }, { "style": { "height": "36px" } }).form; //創建窗體
  5091. _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); } }
  5092. break;
  5093. case "studioCourse": //AI共創
  5094. _formdiv = new U.UF.UI.form(
  5095. "工作管理",
  5096. $$("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 }), {
  5097. "id": "studioCourse",
  5098. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5099. "onresize": function () { }
  5100. }, {
  5101. closecallback: function () { }
  5102. }, { "style": { "height": "36px" } }).form; //創建窗體
  5103. _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); } }
  5104. break;
  5105. case "studioIndex": //AI共創
  5106. _formdiv = new U.UF.UI.form(
  5107. "工作中心",
  5108. $$("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 }), {
  5109. "id": "studioIndex",
  5110. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5111. "onresize": function () { }
  5112. }, {
  5113. closecallback: function () { }
  5114. }, { "style": { "height": "36px" } }).form; //創建窗體
  5115. _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); } }
  5116. break;
  5117. case "source":
  5118. _formdiv = new U.UF.UI.form(
  5119. "教學資源",
  5120. $$("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 }), {
  5121. "id": "source",
  5122. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5123. "onresize": function () { }
  5124. }, {
  5125. closecallback: function () { }
  5126. }, { "style": { "height": "36px" } }).form; //創建窗體
  5127. _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); } }
  5128. break;
  5129. case "testTeacher":
  5130. _formdiv = new U.UF.UI.form(
  5131. "教師管理",
  5132. $$("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 }), {
  5133. "id": "testTeacher",
  5134. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5135. "onresize": function () { }
  5136. }, {
  5137. closecallback: function () { }
  5138. }, { "style": { "height": "36px" } }).form; //創建窗體
  5139. _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); } }
  5140. break;
  5141. case "testStudent":
  5142. _formdiv = new U.UF.UI.form(
  5143. "教師中心",
  5144. $$("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 }), {
  5145. "id": "testStudent",
  5146. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5147. "onresize": function () { }
  5148. }, {
  5149. closecallback: function () { }
  5150. }, { "style": { "height": "36px" } }).form; //創建窗體
  5151. _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); } }
  5152. break;
  5153. case "testTeacherSies":
  5154. _formdiv = new U.UF.UI.form(
  5155. "教師管理",
  5156. $$("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 }), {
  5157. "id": "testTeacherSies",
  5158. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5159. "onresize": function () { }
  5160. }, {
  5161. closecallback: function () { }
  5162. }, { "style": { "height": "36px" } }).form; //創建窗體
  5163. _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); } }
  5164. break;
  5165. case "testStudentSies":
  5166. _formdiv = new U.UF.UI.form(
  5167. "教師中心",
  5168. $$("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 }), {
  5169. "id": "testStudentSies",
  5170. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5171. "onresize": function () { }
  5172. }, {
  5173. closecallback: function () { }
  5174. }, { "style": { "height": "36px" } }).form; //創建窗體
  5175. _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); } }
  5176. break;
  5177. case "ytpbl": //消息通知
  5178. _formdiv = new U.UF.UI.form(
  5179. "案例征集",
  5180. $$("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 }), {
  5181. "id": "ytpbl",
  5182. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5183. "onresize": function () { }
  5184. }, {
  5185. closecallback: function () { }
  5186. }, { "style": { "height": "36px" } }).form; //創建窗體
  5187. _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); } }
  5188. // 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");
  5189. break;
  5190. case "aiCourseResource": //人工智能窗體
  5191. _formdiv = new U.UF.UI.form(
  5192. false,
  5193. $$("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/course_resource/index.html" + window.location.search }), {
  5194. "id": "aiCourseResource",
  5195. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5196. "onresize": function () { },
  5197. "isdrag": false,
  5198. }, {
  5199. closecallback: function () { }
  5200. }, { "style": { "height": "36px" } }).form; //創建窗體
  5201. _taskbar = ''
  5202. break;
  5203. case "szdjgCocooroboX": //圖形化編程
  5204. _formdiv = new U.UF.UI.form(
  5205. "圖形化編程",
  5206. $$("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/course_resource/cocoblockly-x/index.html" }), {
  5207. "id": "szdjgCocooroboX",
  5208. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5209. "onresize": function () { }
  5210. }, {
  5211. closecallback: function () { }
  5212. }, { "style": { "height": "36px" } }).form; //創建窗體
  5213. _taskbar = ''
  5214. break;
  5215. case "szdjgPython": //python編程
  5216. _formdiv = new U.UF.UI.form(
  5217. "Python编程",
  5218. $$("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/course_resource/cocoblockly-x/python/index.html" }), {
  5219. "id": "szdjgPython",
  5220. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5221. "onresize": function () { }
  5222. }, {
  5223. closecallback: function () { }
  5224. }, { "style": { "height": "36px" } }).form; //創建窗體
  5225. _taskbar = ''
  5226. break;
  5227. case "Record":
  5228. _formdiv = new U.UF.UI.form(
  5229. "觀察記錄",
  5230. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5231. "id": "Record",
  5232. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5233. "onresize": function () { }
  5234. }, {
  5235. closecallback: function () { }
  5236. }, { "style": { "height": "36px" } }).form; //创建窗体
  5237. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "观察记录", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5238. break;
  5239. case "aigptCourse":
  5240. _formdiv = new U.UF.UI.form(
  5241. "AI智能体",
  5242. $$("iframe", { "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 + '#/AgentVue' }), {
  5243. "id": "aigptCourse",
  5244. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5245. "onresize": function () { }
  5246. }, {
  5247. closecallback: function () { }
  5248. }, { "style": { "height": "36px" } }).form; //创建窗体
  5249. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigptCourse.png)" }, "name": "AI智能体", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5250. break;
  5251. case "classroomObservation":
  5252. _formdiv = new U.UF.UI.form(
  5253. "课堂观察",
  5254. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classroomObservation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5255. "id": "classroomObservation",
  5256. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5257. "onresize": function () { }
  5258. }, {
  5259. closecallback: function () { }
  5260. }, { "style": { "height": "36px" } }).form; //创建窗体
  5261. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigptCourse.png)" }, "name": "课堂观察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5262. break;
  5263. }
  5264. //U.MD.D.I.openClick(str);
  5265. //如果有任務欄信息
  5266. if (_taskbar) {
  5267. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5268. }
  5269. }
  5270. // U.MD.D.I.openClick = function(str){
  5271. // var click = '';
  5272. // switch(str){
  5273. // case 'friend':
  5274. // click = '我的好友';
  5275. // break;
  5276. // case 'domain':
  5277. // click = '域名管理';
  5278. // break;
  5279. // case 'disk':
  5280. // click = '我的雲盤';
  5281. // break;
  5282. // case 'word':
  5283. // click = 'Word';
  5284. // break;
  5285. // case 'excel':
  5286. // click = 'Execl';
  5287. // break;
  5288. // case 'txt':
  5289. // click = '文本文件';
  5290. // break;
  5291. // case 'lookupFriend':
  5292. // click = '查找好友';
  5293. // break;
  5294. // case 'ftp':
  5295. // click = 'FTP';
  5296. // break;
  5297. // case 'group':
  5298. // click = '群組';
  5299. // break;
  5300. // case 'set':
  5301. // click = '我的設置';
  5302. // break;
  5303. // case 'systemSet':
  5304. // click = '系統設置';
  5305. // break;
  5306. // case 'boomYun':
  5307. // click = '互聯辦公';
  5308. // break;
  5309. // case 'xz':
  5310. // click = '雲端下載';
  5311. // break;
  5312. // case 'client':
  5313. // click = '有思瀏覽器';
  5314. // break;
  5315. // case 'backEndProgramming':
  5316. // click = '在線後臺編程';
  5317. // break;
  5318. // case 'frontEndProgramming':
  5319. // click = '在線前端編程';
  5320. // break;
  5321. // default: break;
  5322. // }
  5323. // if(U.MD.D.I.Ip && click){
  5324. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5325. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5326. // })
  5327. // }
  5328. // }
  5329. /**
  5330. *函數作用:ajax簡易函數,使用post格式
  5331. *@param url {data} 後臺地址
  5332. *@param data {data} 參數json
  5333. *@param fn {data} 回調函數
  5334. *
  5335. */
  5336. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5337. // var xhr = new XMLHttpRequest();
  5338. // xhr.open("GET",url,true);
  5339. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5340. // xhr.onreadystatechange = function(){
  5341. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5342. // fn.call(this,xhr.responseText);
  5343. // }
  5344. // };
  5345. // xhr.send();
  5346. // }
  5347. /*判斷是否是內網IP*/
  5348. // U.MD.D.I.isInnerIPFn = function(str){
  5349. // var curPageUrl = str;
  5350. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  5351. // curPageUrl =curPageUrl.replace(reg1,'');
  5352. // // console.log('curPageUrl-1 '+curPageUrl);
  5353. // var reg2 = /\:+/g;//替換冒號為一點
  5354. // curPageUrl =curPageUrl.replace(reg2,'.');
  5355. // // console.log('curPageUrl-2 '+curPageUrl);
  5356. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  5357. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5358. // if(curPageUrl[2] != '16'){
  5359. // return ipAddress;
  5360. // }else{
  5361. // return false;
  5362. // }
  5363. // }
  5364. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5365. // //compatibility for firefox and chrome
  5366. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5367. // var pc = new myPeerConnection({
  5368. // iceServers: []
  5369. // }),
  5370. // noop = function() {},
  5371. // localIPs = {},
  5372. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5373. // key;
  5374. // function iterateIP(ip) {
  5375. // if (!localIPs[ip]) onNewIP(ip);
  5376. // localIPs[ip] = true;
  5377. // }
  5378. // //create a bogus data channel
  5379. // pc.createDataChannel("");
  5380. // // create offer and set local description
  5381. // pc.createOffer().then(function(sdp) {
  5382. // sdp.sdp.split('\n').forEach(function(line) {
  5383. // if (line.indexOf('candidate') < 0) return;
  5384. // line.match(ipRegex).forEach(iterateIP);
  5385. // });
  5386. // pc.setLocalDescription(sdp, noop, noop);
  5387. // }).catch(function(reason) {
  5388. // // An error occurred, so handle the failure to connect
  5389. // });
  5390. // //sten for candidate events
  5391. // pc.onicecandidate = function(ice) {
  5392. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5393. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5394. // };
  5395. // }
  5396. // U.MD.D.I.getUserIpBool = function(callback){
  5397. // U.MD.D.I.getUserIP(function(ip){
  5398. // alert("Got IP! :" + ip);
  5399. // });
  5400. //}
  5401. //#endregion
  5402. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5403. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5404. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5405. _userinfo = US.userInfo, //登錄用戶信息
  5406. _userid = US.userInfo.userid //登錄用戶id
  5407. let _iframe;
  5408. let _cid = cid,
  5409. _stage = stage,
  5410. _task = task,
  5411. _tool = tool;
  5412. var _jie = $$("div", {
  5413. "style": {
  5414. "position": "absolute",
  5415. "bottom": "50px",
  5416. "right": "50px",
  5417. "zIndex": "9999",
  5418. "backgroundColor": "#2268bc",
  5419. "color": "#fff",
  5420. "padding": "12px 20px",
  5421. "cursor": "pointer",
  5422. "borderRadius": "4px",
  5423. },
  5424. "innerHTML": "提交作業"
  5425. })
  5426. let aTool = ''
  5427. let _loading = document.createElement('div')
  5428. _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;"
  5429. // _loading.id = "";
  5430. let _lchild = document.createElement('div')
  5431. let _limg = document.createElement('img')
  5432. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5433. _limg.style = "width: 26px;margin-right: 10px;"
  5434. _lchild.appendChild(_limg)
  5435. let _lspan = document.createElement('span')
  5436. _lspan.innerHTML = "上傳中..."
  5437. _lchild.appendChild(_lspan)
  5438. _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%);"
  5439. _loading.appendChild(_lchild)
  5440. var _box = $$('div', {
  5441. "style": {
  5442. "position": "relative",
  5443. "width": "100%",
  5444. "height": "100%",
  5445. },
  5446. })
  5447. _box.appendChild(_loading)
  5448. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5449. switch (str) {
  5450. case "whiteboard":
  5451. aTool = 1;
  5452. _iframe = $$("iframe", {
  5453. "frameborder": "no",
  5454. "border": "0",
  5455. "scrolling ": "no",
  5456. "style": {
  5457. "cssText": "border:0;width:100%;height:100%"
  5458. },
  5459. "src": "https://iwb.cocorobo.hk/"
  5460. })
  5461. _box.appendChild(_iframe);
  5462. _box.appendChild(_jie);
  5463. _formdiv = new U.UF.UI.form(
  5464. "電子白板",
  5465. _box, {
  5466. "id": "whiteboard" + cid + stage + task + tool,
  5467. "style": {
  5468. "width": "90%",
  5469. "height": "90%",
  5470. "overflow": 'hidden'
  5471. },
  5472. "onresize": function () { }
  5473. }, {
  5474. closecallback: function () { }
  5475. }, {
  5476. "style": {
  5477. "height": "36px"
  5478. }
  5479. }).form; //創建窗體
  5480. _taskbar = {
  5481. "id": str + _formdiv.id,
  5482. "style": {
  5483. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5484. },
  5485. "name": "電子白板",
  5486. "forms": _formdiv,
  5487. "click": function () {
  5488. U.MD.D.I.openApplication(str, obj, info);
  5489. }
  5490. }
  5491. break;
  5492. case "mind":
  5493. aTool = 3;
  5494. _iframe = $$("iframe", {
  5495. "frameborder": "no",
  5496. "border": "0",
  5497. "scrolling ": "no",
  5498. "style": {
  5499. "cssText": "border:0;width:100%;height:100%"
  5500. },
  5501. "src": "/kityminder-editor/dist/index.html"
  5502. })
  5503. _box.appendChild(_iframe);
  5504. _box.appendChild(_jie);
  5505. _formdiv = new U.UF.UI.form(
  5506. "思維導圖",
  5507. _box, { //"/jsmind/example/demo.html"
  5508. "id": "mind" + cid + stage + task + tool,
  5509. "style": {
  5510. "width": "90%",
  5511. "height": "90%",
  5512. "overflow": 'hidden'
  5513. },
  5514. "onresize": function () { }
  5515. }, {
  5516. closecallback: function () { }
  5517. }, {
  5518. "style": {
  5519. "height": "36px"
  5520. }
  5521. }).form; //創建窗體
  5522. _taskbar = {
  5523. "id": str + _formdiv.id,
  5524. "style": {
  5525. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5526. },
  5527. "name": "思維導圖",
  5528. "forms": _formdiv,
  5529. "click": function () {
  5530. U.MD.D.I.openApplication(str, obj, info);
  5531. }
  5532. }
  5533. break;
  5534. case "MindMap":
  5535. aTool = 3;
  5536. _iframe = $$("iframe", {
  5537. "frameborder": "no",
  5538. "border": "0",
  5539. "scrolling ": "no",
  5540. "style": {
  5541. "cssText": "border:0;width:100%;height:100%"
  5542. },
  5543. "src": "//cloud.cocorobo.hk/mind/"
  5544. })
  5545. _box.appendChild(_iframe);
  5546. _box.appendChild(_jie);
  5547. _formdiv = new U.UF.UI.form(
  5548. "思維導圖",
  5549. _box, { //"/jsmind/example/demo.html"
  5550. "id": "mind" + cid + stage + task + tool,
  5551. "style": {
  5552. "width": "90%",
  5553. "height": "90%",
  5554. "overflow": 'hidden'
  5555. },
  5556. "onresize": function () { }
  5557. }, {
  5558. closecallback: function () { }
  5559. }, {
  5560. "style": {
  5561. "height": "36px"
  5562. }
  5563. }).form; //創建窗體
  5564. _taskbar = {
  5565. "id": str + _formdiv.id,
  5566. "style": {
  5567. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5568. },
  5569. "name": "思維導圖",
  5570. "forms": _formdiv,
  5571. "click": function () {
  5572. U.MD.D.I.openApplication(str, obj, info);
  5573. }
  5574. }
  5575. break;
  5576. case "doc":
  5577. aTool = 6;
  5578. _iframe = $$("iframe", {
  5579. "frameborder": "no",
  5580. "border": "0",
  5581. "scrolling ": "no",
  5582. "style": {
  5583. "cssText": "border:0;width:100%;height:100%"
  5584. },
  5585. "src": "/Office/Word/WordEditArea.htm"
  5586. })
  5587. _box.appendChild(_iframe);
  5588. _box.appendChild(_jie);
  5589. _formdiv = new U.UF.UI.form(
  5590. "協同文檔",
  5591. _box, {
  5592. "id": "doc" + cid + stage + task + tool,
  5593. "style": {
  5594. "width": "90%",
  5595. "height": "90%",
  5596. "overflow": 'hidden'
  5597. },
  5598. "onresize": function () { }
  5599. }, {
  5600. closecallback: function () { }
  5601. }, {
  5602. "style": {
  5603. "height": "36px"
  5604. }
  5605. }).form; //創建窗體
  5606. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5607. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5608. })
  5609. _taskbar = {
  5610. "id": str + _formdiv.id,
  5611. "style": {
  5612. "backgroundImage": "url(/img/icon/doc.png)"
  5613. },
  5614. "name": "協同文檔",
  5615. "forms": _formdiv,
  5616. "click": function () {
  5617. U.MD.D.I.openApplication(str, obj, info);
  5618. }
  5619. }
  5620. break;
  5621. case "mindNetwork": //好友打開
  5622. aTool = 7;
  5623. _iframe = $$("iframe", {
  5624. "webkitallowfullscreen": "",
  5625. "mozallowfullscreen": "",
  5626. "allowfullscreen": "",
  5627. "frameborder": "no",
  5628. "border": "0",
  5629. "scrolling ": "no",
  5630. "style": {
  5631. "cssText": "border:0; width:100%; height:100%;"
  5632. },
  5633. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5634. })
  5635. _box.appendChild(_iframe);
  5636. _box.appendChild(_jie);
  5637. _formdiv = new U.UF.UI.form(
  5638. "思維網格",
  5639. _box, {
  5640. "id": "mindNetwork" + cid + stage + task + tool,
  5641. "style": {
  5642. "width": "90%",
  5643. "height": "90%",
  5644. "overflow": 'hidden'
  5645. },
  5646. "onresize": function () { }
  5647. }, {
  5648. closecallback: function () { }
  5649. }, {
  5650. "style": {
  5651. "height": "36px"
  5652. }
  5653. }).form; //創建窗體
  5654. _taskbar = {
  5655. "id": str + _formdiv.id,
  5656. "style": {
  5657. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5658. },
  5659. "name": "思維網格",
  5660. "forms": _formdiv,
  5661. "click": function () {
  5662. U.MD.D.I.openApplication(str, obj, info);
  5663. }
  5664. }
  5665. break;
  5666. case "courseDesign":
  5667. _iframe = $$("iframe", {
  5668. "webkitallowfullscreen": "",
  5669. "mozallowfullscreen": "",
  5670. "allowfullscreen": "",
  5671. "frameborder": "no",
  5672. "border": "0",
  5673. "scrolling ": "no",
  5674. "style": {
  5675. "cssText": "border:0; width:100%; height:100%;"
  5676. },
  5677. "src": "/course-design-vue"
  5678. })
  5679. _box.appendChild(_iframe);
  5680. _box.appendChild(_jie);
  5681. _formdiv = new U.UF.UI.form(
  5682. "項目設計",
  5683. _box, {
  5684. "id": "courseDesign" + cid + stage + task + tool,
  5685. "style": {
  5686. "width": "90%",
  5687. "height": "90%",
  5688. "overflow": 'hidden'
  5689. },
  5690. "onresize": function () { }
  5691. }, {
  5692. closecallback: function () { }
  5693. }, {
  5694. "style": {
  5695. "height": "36px"
  5696. }
  5697. }).form; //創建窗體
  5698. _taskbar = {
  5699. "id": str + _formdiv.id,
  5700. "style": {
  5701. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5702. },
  5703. "name": "項目設計",
  5704. "forms": _formdiv,
  5705. "click": function () {
  5706. U.MD.D.I.openApplication(str, obj, info);
  5707. }
  5708. }
  5709. break;
  5710. }
  5711. const script1 = document.createElement("script");
  5712. script1.type = "text/javascript";
  5713. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5714. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5715. const script2 = document.createElement("script");
  5716. script2.type = "text/javascript";
  5717. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5718. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5719. const script3 = document.createElement("script");
  5720. script3.type = "text/javascript";
  5721. script3.charset = "UTF-8";
  5722. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5723. const script4 = document.createElement("script");
  5724. script4.type = "text/javascript";
  5725. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5726. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  5727. if (_iframe) {
  5728. if (str == 'doc') {
  5729. _iframe = _formdiv.querySelector('iframe')
  5730. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5731. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5732. _iframe.contentWindow.document.body.appendChild(script1);
  5733. _iframe.contentWindow.document.body.appendChild(script2);
  5734. // _iframe.contentWindow.document.body.appendChild(script3);
  5735. _iframe.contentWindow.document.body.appendChild(script4);
  5736. })
  5737. if (onloadListener) {
  5738. _iframe.contentDocument.location.reload()
  5739. } else {
  5740. _iframe.contentDocument.location.reload()
  5741. }
  5742. } else if (str == 'courseDesign') {
  5743. U.UF.DL.iframeLoad(_iframe, function () {
  5744. // _iframe.contentWindow.U.MD.O.W.load();
  5745. // _iframe.contentWindow.document.body.appendChild(script1);
  5746. _iframe.contentWindow.document.body.appendChild(script2);
  5747. _iframe.contentWindow.document.body.appendChild(script4);
  5748. })
  5749. } else if (str == 'mind') {
  5750. _iframe = _formdiv.querySelector('iframe')
  5751. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5752. //
  5753. _iframe.contentWindow.document.body.appendChild(script1);
  5754. _iframe.contentWindow.document.body.appendChild(script2);
  5755. _iframe.contentWindow.document.body.appendChild(script4);
  5756. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5757. })
  5758. if (onloadListener) {
  5759. _iframe.contentDocument.location.reload()
  5760. } else {
  5761. _iframe.contentDocument.location.reload()
  5762. }
  5763. } else if (str == 'whiteboard') {
  5764. _iframe = _formdiv.querySelector('iframe')
  5765. let onloadListener = _iframe.onload = () => {
  5766. _iframe.contentWindow.document.body.appendChild(script1);
  5767. _iframe.contentWindow.document.body.appendChild(script2);
  5768. _iframe.contentWindow.document.body.appendChild(script4);
  5769. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5770. };
  5771. if (onloadListener) {
  5772. _iframe.contentDocument.location.reload()
  5773. } else {
  5774. _iframe.contentDocument.location.reload()
  5775. }
  5776. } else {
  5777. _iframe.onload = () => {
  5778. _iframe.contentWindow.document.body.appendChild(script1);
  5779. _iframe.contentWindow.document.body.appendChild(script2);
  5780. // _iframe.contentWindow.document.body.appendChild(script3);
  5781. _iframe.contentWindow.document.body.appendChild(script4);
  5782. };
  5783. }
  5784. _jie.onclick = async () => {
  5785. let text = ''
  5786. if (aTool == 1) {
  5787. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5788. } else if (aTool == 6) {
  5789. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5790. } else if (aTool == 3) {
  5791. text = await U.MD.D.I.getEditorContent(_iframe);
  5792. }
  5793. _loading.style.display = 'flex'
  5794. console.log(_loading);
  5795. var _ajs = _iframe.contentWindow.document.createElement("script");
  5796. _ajs.type = "text/javascript";
  5797. _ajs.innerHTML =
  5798. // 'console.log(' + _loading + ');\n' +
  5799. 'var _js = document.createElement("script");\n' +
  5800. '_js.type="text/javascript";\n' +
  5801. '_js.charset="UTF-8";\n' +
  5802. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5803. "_js.onload = function(){\n" +
  5804. ' var a = document.getElementsByTagName("img")\n' +
  5805. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5806. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5807. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5808. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5809. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5810. "beforeUpload_shishi(file," +
  5811. "'" +
  5812. _userid +
  5813. "'" +
  5814. ", " +
  5815. "'" +
  5816. _cid +
  5817. "'" +
  5818. ", " +
  5819. "'" +
  5820. _stage +
  5821. "'" +
  5822. ", " +
  5823. "'" +
  5824. _task +
  5825. "'" +
  5826. ", " +
  5827. "'" +
  5828. _tool +
  5829. "'" +
  5830. ", " +
  5831. "'" +
  5832. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5833. "'" +
  5834. ", " +
  5835. "'" +
  5836. aTool +
  5837. "'" +
  5838. ", " +
  5839. "`" +
  5840. text +
  5841. "`" +
  5842. ")\n" +
  5843. " });\n" +
  5844. "}\n" +
  5845. "document.head.appendChild(_js);\n";
  5846. _iframe.contentWindow.document.head.appendChild(_ajs);
  5847. }
  5848. }
  5849. //U.MD.D.I.openClick(str);
  5850. //如果有任務欄信息
  5851. // if (_taskbar) {
  5852. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5853. // }
  5854. }
  5855. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5856. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5857. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5858. _userinfo = US.userInfo, //登錄用戶信息
  5859. _userid = US.userInfo.userid //登錄用戶id
  5860. let _iframe;
  5861. let _cid = cid,
  5862. _stage = stage,
  5863. _task = task,
  5864. _tool = tool;
  5865. var _jie = $$("div", {
  5866. "style": {
  5867. "position": "absolute",
  5868. "bottom": "50px",
  5869. "right": "50px",
  5870. "zIndex": "9999",
  5871. "backgroundColor": "#2268bc",
  5872. "color": "#fff",
  5873. "padding": "12px 20px",
  5874. "cursor": "pointer",
  5875. "borderRadius": "4px",
  5876. },
  5877. "innerHTML": "提交作業"
  5878. })
  5879. let aTool = ''
  5880. let _loading = document.createElement('div')
  5881. _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;"
  5882. // _loading.id = "";
  5883. let _lchild = document.createElement('div')
  5884. let _limg = document.createElement('img')
  5885. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5886. _limg.style = "width: 26px;margin-right: 10px;"
  5887. _lchild.appendChild(_limg)
  5888. let _lspan = document.createElement('span')
  5889. _lspan.innerHTML = "上傳中..."
  5890. _lchild.appendChild(_lspan)
  5891. _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%);"
  5892. _loading.appendChild(_lchild)
  5893. var _box = $$('div', {
  5894. "style": {
  5895. "position": "relative",
  5896. "width": "100%",
  5897. "height": "100%",
  5898. },
  5899. })
  5900. _box.appendChild(_loading)
  5901. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5902. switch (str) {
  5903. case "whiteboard":
  5904. aTool = 1;
  5905. _iframe = $$("iframe", {
  5906. "frameborder": "no",
  5907. "border": "0",
  5908. "scrolling ": "no",
  5909. "style": {
  5910. "cssText": "border:0;width:100%;height:100%"
  5911. },
  5912. "src": "https://iwb.cocorobo.hk/"
  5913. })
  5914. _box.appendChild(_iframe);
  5915. _box.appendChild(_jie);
  5916. _formdiv = new U.UF.UI.form(
  5917. "電子白板",
  5918. _box, {
  5919. "id": "whiteboard" + cid + stage + task + tool,
  5920. "style": {
  5921. "width": "90%",
  5922. "height": "90%",
  5923. "overflow": 'hidden'
  5924. },
  5925. "onresize": function () { }
  5926. }, {
  5927. closecallback: function () { }
  5928. }, {
  5929. "style": {
  5930. "height": "36px"
  5931. }
  5932. }).form; //創建窗體
  5933. _taskbar = {
  5934. "id": str + _formdiv.id,
  5935. "style": {
  5936. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5937. },
  5938. "name": "電子白板",
  5939. "forms": _formdiv,
  5940. "click": function () {
  5941. U.MD.D.I.openApplication(str, obj, info);
  5942. }
  5943. }
  5944. break;
  5945. case "mind":
  5946. aTool = 3;
  5947. _iframe = $$("iframe", {
  5948. "frameborder": "no",
  5949. "border": "0",
  5950. "scrolling ": "no",
  5951. "style": {
  5952. "cssText": "border:0;width:100%;height:100%"
  5953. },
  5954. "src": "/kityminder-editor/dist/index.html"
  5955. })
  5956. _box.appendChild(_iframe);
  5957. _box.appendChild(_jie);
  5958. _formdiv = new U.UF.UI.form(
  5959. "思維導圖",
  5960. _box, { //"/jsmind/example/demo.html"
  5961. "id": "mind" + cid + stage + task + tool,
  5962. "style": {
  5963. "width": "90%",
  5964. "height": "90%",
  5965. "overflow": 'hidden'
  5966. },
  5967. "onresize": function () { }
  5968. }, {
  5969. closecallback: function () { }
  5970. }, {
  5971. "style": {
  5972. "height": "36px"
  5973. }
  5974. }).form; //創建窗體
  5975. _taskbar = {
  5976. "id": str + _formdiv.id,
  5977. "style": {
  5978. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5979. },
  5980. "name": "思維導圖",
  5981. "forms": _formdiv,
  5982. "click": function () {
  5983. U.MD.D.I.openApplication(str, obj, info);
  5984. }
  5985. }
  5986. break;
  5987. case "MindMap":
  5988. aTool = 3;
  5989. _iframe = $$("iframe", {
  5990. "frameborder": "no",
  5991. "border": "0",
  5992. "scrolling ": "no",
  5993. "style": {
  5994. "cssText": "border:0;width:100%;height:100%"
  5995. },
  5996. "src": "//cloud.cocorobo.hk/mind/"
  5997. })
  5998. _box.appendChild(_iframe);
  5999. _box.appendChild(_jie);
  6000. _formdiv = new U.UF.UI.form(
  6001. "思維導圖",
  6002. _box, { //"/jsmind/example/demo.html"
  6003. "id": "mind" + cid + stage + task + tool,
  6004. "style": {
  6005. "width": "90%",
  6006. "height": "90%",
  6007. "overflow": 'hidden'
  6008. },
  6009. "onresize": function () { }
  6010. }, {
  6011. closecallback: function () { }
  6012. }, {
  6013. "style": {
  6014. "height": "36px"
  6015. }
  6016. }).form; //創建窗體
  6017. _taskbar = {
  6018. "id": str + _formdiv.id,
  6019. "style": {
  6020. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6021. },
  6022. "name": "思維導圖",
  6023. "forms": _formdiv,
  6024. "click": function () {
  6025. U.MD.D.I.openApplication(str, obj, info);
  6026. }
  6027. }
  6028. break;
  6029. case "doc":
  6030. aTool = 6;
  6031. _iframe = $$("iframe", {
  6032. "frameborder": "no",
  6033. "border": "0",
  6034. "scrolling ": "no",
  6035. "style": {
  6036. "cssText": "border:0;width:100%;height:100%"
  6037. },
  6038. "src": "/Office/Word/WordEditArea.htm"
  6039. })
  6040. _box.appendChild(_iframe);
  6041. _box.appendChild(_jie);
  6042. _formdiv = new U.UF.UI.form(
  6043. "協同文檔",
  6044. _box, {
  6045. "id": "doc" + cid + stage + task + tool,
  6046. "style": {
  6047. "width": "90%",
  6048. "height": "90%",
  6049. "overflow": 'hidden'
  6050. },
  6051. "onresize": function () { }
  6052. }, {
  6053. closecallback: function () { }
  6054. }, {
  6055. "style": {
  6056. "height": "36px"
  6057. }
  6058. }).form; //創建窗體
  6059. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6060. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6061. })
  6062. _taskbar = {
  6063. "id": str + _formdiv.id,
  6064. "style": {
  6065. "backgroundImage": "url(/img/icon/doc.png)"
  6066. },
  6067. "name": "協同文檔",
  6068. "forms": _formdiv,
  6069. "click": function () {
  6070. U.MD.D.I.openApplication(str, obj, info);
  6071. }
  6072. }
  6073. break;
  6074. case "mindNetwork": //好友打開
  6075. aTool = 7;
  6076. _iframe = $$("iframe", {
  6077. "webkitallowfullscreen": "",
  6078. "mozallowfullscreen": "",
  6079. "allowfullscreen": "",
  6080. "frameborder": "no",
  6081. "border": "0",
  6082. "scrolling ": "no",
  6083. "style": {
  6084. "cssText": "border:0; width:100%; height:100%;"
  6085. },
  6086. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6087. })
  6088. _box.appendChild(_iframe);
  6089. _box.appendChild(_jie);
  6090. _formdiv = new U.UF.UI.form(
  6091. "思維網格",
  6092. _box, {
  6093. "id": "mindNetwork" + cid + stage + task + tool,
  6094. "style": {
  6095. "width": "90%",
  6096. "height": "90%",
  6097. "overflow": 'hidden'
  6098. },
  6099. "onresize": function () { }
  6100. }, {
  6101. closecallback: function () { }
  6102. }, {
  6103. "style": {
  6104. "height": "36px"
  6105. }
  6106. }).form; //創建窗體
  6107. _taskbar = {
  6108. "id": str + _formdiv.id,
  6109. "style": {
  6110. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6111. },
  6112. "name": "思維網格",
  6113. "forms": _formdiv,
  6114. "click": function () {
  6115. U.MD.D.I.openApplication(str, obj, info);
  6116. }
  6117. }
  6118. break;
  6119. case "courseDesign":
  6120. _iframe = $$("iframe", {
  6121. "webkitallowfullscreen": "",
  6122. "mozallowfullscreen": "",
  6123. "allowfullscreen": "",
  6124. "frameborder": "no",
  6125. "border": "0",
  6126. "scrolling ": "no",
  6127. "style": {
  6128. "cssText": "border:0; width:100%; height:100%;"
  6129. },
  6130. "src": "/course-design-vue"
  6131. })
  6132. _box.appendChild(_iframe);
  6133. _box.appendChild(_jie);
  6134. _formdiv = new U.UF.UI.form(
  6135. "項目設計",
  6136. _box, {
  6137. "id": "courseDesign" + cid + stage + task + tool,
  6138. "style": {
  6139. "width": "90%",
  6140. "height": "90%",
  6141. "overflow": 'hidden'
  6142. },
  6143. "onresize": function () { }
  6144. }, {
  6145. closecallback: function () { }
  6146. }, {
  6147. "style": {
  6148. "height": "36px"
  6149. }
  6150. }).form; //創建窗體
  6151. _taskbar = {
  6152. "id": str + _formdiv.id,
  6153. "style": {
  6154. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6155. },
  6156. "name": "項目設計",
  6157. "forms": _formdiv,
  6158. "click": function () {
  6159. U.MD.D.I.openApplication(str, obj, info);
  6160. }
  6161. }
  6162. break;
  6163. }
  6164. const script1 = document.createElement("script");
  6165. script1.type = "text/javascript";
  6166. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6167. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6168. const script2 = document.createElement("script");
  6169. script2.type = "text/javascript";
  6170. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6171. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6172. const script3 = document.createElement("script");
  6173. script3.type = "text/javascript";
  6174. script3.charset = "UTF-8";
  6175. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6176. const script4 = document.createElement("script");
  6177. script4.type = "text/javascript";
  6178. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6179. script4.src = window.origin + "/js/Common/jietu2E.js";
  6180. if (_iframe) {
  6181. if (str == 'doc') {
  6182. _iframe = _formdiv.querySelector('iframe')
  6183. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6184. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6185. _iframe.contentWindow.document.body.appendChild(script1);
  6186. _iframe.contentWindow.document.body.appendChild(script2);
  6187. // _iframe.contentWindow.document.body.appendChild(script3);
  6188. _iframe.contentWindow.document.body.appendChild(script4);
  6189. })
  6190. if (onloadListener) {
  6191. _iframe.contentDocument.location.reload()
  6192. } else {
  6193. _iframe.contentDocument.location.reload()
  6194. }
  6195. } else if (str == 'courseDesign') {
  6196. U.UF.DL.iframeLoad(_iframe, function () {
  6197. // _iframe.contentWindow.U.MD.O.W.load();
  6198. // _iframe.contentWindow.document.body.appendChild(script1);
  6199. _iframe.contentWindow.document.body.appendChild(script2);
  6200. _iframe.contentWindow.document.body.appendChild(script4);
  6201. })
  6202. } else if (str == 'mind') {
  6203. _iframe = _formdiv.querySelector('iframe')
  6204. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6205. //
  6206. _iframe.contentWindow.document.body.appendChild(script1);
  6207. _iframe.contentWindow.document.body.appendChild(script2);
  6208. _iframe.contentWindow.document.body.appendChild(script4);
  6209. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6210. })
  6211. if (onloadListener) {
  6212. _iframe.contentDocument.location.reload()
  6213. } else {
  6214. _iframe.contentDocument.location.reload()
  6215. }
  6216. } else if (str == 'whiteboard') {
  6217. _iframe = _formdiv.querySelector('iframe')
  6218. let onloadListener = _iframe.onload = () => {
  6219. _iframe.contentWindow.document.body.appendChild(script1);
  6220. _iframe.contentWindow.document.body.appendChild(script2);
  6221. _iframe.contentWindow.document.body.appendChild(script4);
  6222. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6223. };
  6224. if (onloadListener) {
  6225. _iframe.contentDocument.location.reload()
  6226. } else {
  6227. _iframe.contentDocument.location.reload()
  6228. }
  6229. } else {
  6230. _iframe.onload = () => {
  6231. _iframe.contentWindow.document.body.appendChild(script1);
  6232. _iframe.contentWindow.document.body.appendChild(script2);
  6233. // _iframe.contentWindow.document.body.appendChild(script3);
  6234. _iframe.contentWindow.document.body.appendChild(script4);
  6235. };
  6236. }
  6237. _jie.onclick = async () => {
  6238. let text = ''
  6239. if (aTool == 1) {
  6240. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6241. } else if (aTool == 6) {
  6242. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6243. } else if (aTool == 3) {
  6244. text = await U.MD.D.I.getEditorContent(_iframe);
  6245. }
  6246. _loading.style.display = 'flex'
  6247. console.log(_loading);
  6248. var _ajs = _iframe.contentWindow.document.createElement("script");
  6249. _ajs.type = "text/javascript";
  6250. _ajs.innerHTML =
  6251. // 'console.log(' + _loading + ');\n' +
  6252. 'var _js = document.createElement("script");\n' +
  6253. '_js.type="text/javascript";\n' +
  6254. '_js.charset="UTF-8";\n' +
  6255. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6256. "_js.onload = function(){\n" +
  6257. ' var a = document.getElementsByTagName("img")\n' +
  6258. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6259. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6260. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6261. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6262. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6263. "beforeUpload_shishi(file," +
  6264. "'" +
  6265. _userid +
  6266. "'" +
  6267. ", " +
  6268. "'" +
  6269. _cid +
  6270. "'" +
  6271. ", " +
  6272. "'" +
  6273. _stage +
  6274. "'" +
  6275. ", " +
  6276. "'" +
  6277. _task +
  6278. "'" +
  6279. ", " +
  6280. "'" +
  6281. _tool +
  6282. "'" +
  6283. ", " +
  6284. "'" +
  6285. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6286. "'" +
  6287. ", " +
  6288. "'" +
  6289. aTool +
  6290. "'" +
  6291. ", " +
  6292. "`" +
  6293. text +
  6294. "`" +
  6295. ")\n" +
  6296. " });\n" +
  6297. "}\n" +
  6298. "document.head.appendChild(_js);\n";
  6299. _iframe.contentWindow.document.head.appendChild(_ajs);
  6300. }
  6301. }
  6302. //U.MD.D.I.openClick(str);
  6303. //如果有任務欄信息
  6304. // if (_taskbar) {
  6305. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6306. // }
  6307. }
  6308. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6309. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6310. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6311. _userid = student.userid, //登錄用戶id
  6312. _username = student.student //用戶名字
  6313. let _iframe;
  6314. let _cid = cid,
  6315. _stage = stage,
  6316. _task = task,
  6317. _tool = tool;
  6318. var _jie = $$("div", {
  6319. "style": {
  6320. "position": "absolute",
  6321. "bottom": "50px",
  6322. "right": "50px",
  6323. "zIndex": "9999",
  6324. "backgroundColor": "#2268bc",
  6325. "color": "#fff",
  6326. "padding": "12px 20px",
  6327. "cursor": "pointer",
  6328. "borderRadius": "4px",
  6329. },
  6330. "innerHTML": "提交作業"
  6331. })
  6332. let aTool = ''
  6333. let _loading = document.createElement('div')
  6334. _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;"
  6335. // _loading.id = "";
  6336. let _lchild = document.createElement('div')
  6337. let _limg = document.createElement('img')
  6338. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6339. _limg.style = "width: 26px;margin-right: 10px;"
  6340. _lchild.appendChild(_limg)
  6341. let _lspan = document.createElement('span')
  6342. _lspan.innerHTML = "上傳中..."
  6343. _lchild.appendChild(_lspan)
  6344. _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%);"
  6345. _loading.appendChild(_lchild)
  6346. var _box = $$('div', {
  6347. "style": {
  6348. "position": "relative",
  6349. "width": "100%",
  6350. "height": "100%",
  6351. },
  6352. })
  6353. _box.appendChild(_loading)
  6354. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6355. switch (str) {
  6356. case "whiteboard":
  6357. aTool = 1;
  6358. _iframe = $$("iframe", {
  6359. "frameborder": "no",
  6360. "border": "0",
  6361. "scrolling ": "no",
  6362. "style": {
  6363. "cssText": "border:0;width:100%;height:100%"
  6364. },
  6365. "src": "https://iwb.cocorobo.hk/"
  6366. })
  6367. _box.appendChild(_iframe);
  6368. _box.appendChild(_jie);
  6369. _formdiv = new U.UF.UI.form(
  6370. "電子白板-" + _username,
  6371. _box, {
  6372. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6373. "style": {
  6374. "width": "90%",
  6375. "height": "90%",
  6376. "overflow": 'hidden'
  6377. },
  6378. "onresize": function () { }
  6379. }, {
  6380. closecallback: function () { }
  6381. }, {
  6382. "style": {
  6383. "height": "36px"
  6384. }
  6385. }).form; //創建窗體
  6386. _taskbar = {
  6387. "id": str + _formdiv.id,
  6388. "style": {
  6389. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6390. },
  6391. "name": "電子白板",
  6392. "forms": _formdiv,
  6393. "click": function () {
  6394. U.MD.D.I.openApplication(str, obj, info);
  6395. }
  6396. }
  6397. break;
  6398. case "mind":
  6399. aTool = 3;
  6400. _iframe = $$("iframe", {
  6401. "frameborder": "no",
  6402. "border": "0",
  6403. "scrolling ": "no",
  6404. "style": {
  6405. "cssText": "border:0;width:100%;height:100%"
  6406. },
  6407. "src": "/kityminder-editor/dist/index.html"
  6408. })
  6409. _box.appendChild(_iframe);
  6410. _box.appendChild(_jie);
  6411. _formdiv = new U.UF.UI.form(
  6412. "思維導圖-" + _username,
  6413. _box, { //"/jsmind/example/demo.html"
  6414. "id": "mind" + cid + stage + task + tool + _userid,
  6415. "style": {
  6416. "width": "90%",
  6417. "height": "90%",
  6418. "overflow": 'hidden'
  6419. },
  6420. "onresize": function () { }
  6421. }, {
  6422. closecallback: function () { }
  6423. }, {
  6424. "style": {
  6425. "height": "36px"
  6426. }
  6427. }).form; //創建窗體
  6428. _taskbar = {
  6429. "id": str + _formdiv.id,
  6430. "style": {
  6431. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6432. },
  6433. "name": "思維導圖",
  6434. "forms": _formdiv,
  6435. "click": function () {
  6436. U.MD.D.I.openApplication(str, obj, info);
  6437. }
  6438. }
  6439. break;
  6440. case "MindMap":
  6441. aTool = 3;
  6442. _iframe = $$("iframe", {
  6443. "frameborder": "no",
  6444. "border": "0",
  6445. "scrolling ": "no",
  6446. "style": {
  6447. "cssText": "border:0;width:100%;height:100%"
  6448. },
  6449. "src": "//cloud.cocorobo.hk/mind/"
  6450. })
  6451. _box.appendChild(_iframe);
  6452. _box.appendChild(_jie);
  6453. _formdiv = new U.UF.UI.form(
  6454. "思維導圖-" + _username,
  6455. _box, { //"/jsmind/example/demo.html"
  6456. "id": "mind" + cid + stage + task + tool + _userid,
  6457. "style": {
  6458. "width": "90%",
  6459. "height": "90%",
  6460. "overflow": 'hidden'
  6461. },
  6462. "onresize": function () { }
  6463. }, {
  6464. closecallback: function () { }
  6465. }, {
  6466. "style": {
  6467. "height": "36px"
  6468. }
  6469. }).form; //創建窗體
  6470. _taskbar = {
  6471. "id": str + _formdiv.id,
  6472. "style": {
  6473. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6474. },
  6475. "name": "思維導圖",
  6476. "forms": _formdiv,
  6477. "click": function () {
  6478. U.MD.D.I.openApplication(str, obj, info);
  6479. }
  6480. }
  6481. break;
  6482. case "doc":
  6483. aTool = 6;
  6484. _iframe = $$("iframe", {
  6485. "frameborder": "no",
  6486. "border": "0",
  6487. "scrolling ": "no",
  6488. "style": {
  6489. "cssText": "border:0;width:100%;height:100%"
  6490. },
  6491. "src": "/Office/Word/WordEditArea.htm"
  6492. })
  6493. _box.appendChild(_iframe);
  6494. _box.appendChild(_jie);
  6495. _formdiv = new U.UF.UI.form(
  6496. "協同文檔-" + _username,
  6497. _box, {
  6498. "id": "doc" + cid + stage + task + tool + _userid,
  6499. "style": {
  6500. "width": "90%",
  6501. "height": "90%",
  6502. "overflow": 'hidden'
  6503. },
  6504. "onresize": function () { }
  6505. }, {
  6506. closecallback: function () { }
  6507. }, {
  6508. "style": {
  6509. "height": "36px"
  6510. }
  6511. }).form; //創建窗體
  6512. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6513. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6514. })
  6515. _taskbar = {
  6516. "id": str + _formdiv.id,
  6517. "style": {
  6518. "backgroundImage": "url(/img/icon/doc.png)"
  6519. },
  6520. "name": "協同文檔",
  6521. "forms": _formdiv,
  6522. "click": function () {
  6523. U.MD.D.I.openApplication(str, obj, info);
  6524. }
  6525. }
  6526. break;
  6527. case "mindNetwork": //好友打開
  6528. aTool = 7;
  6529. _iframe = $$("iframe", {
  6530. "webkitallowfullscreen": "",
  6531. "mozallowfullscreen": "",
  6532. "allowfullscreen": "",
  6533. "frameborder": "no",
  6534. "border": "0",
  6535. "scrolling ": "no",
  6536. "style": {
  6537. "cssText": "border:0; width:100%; height:100%;"
  6538. },
  6539. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6540. })
  6541. _box.appendChild(_iframe);
  6542. _box.appendChild(_jie);
  6543. _formdiv = new U.UF.UI.form(
  6544. "思維網格-" + _username,
  6545. _box, {
  6546. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6547. "style": {
  6548. "width": "90%",
  6549. "height": "90%",
  6550. "overflow": 'hidden'
  6551. },
  6552. "onresize": function () { }
  6553. }, {
  6554. closecallback: function () { }
  6555. }, {
  6556. "style": {
  6557. "height": "36px"
  6558. }
  6559. }).form; //創建窗體
  6560. _taskbar = {
  6561. "id": str + _formdiv.id,
  6562. "style": {
  6563. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6564. },
  6565. "name": "思維網格",
  6566. "forms": _formdiv,
  6567. "click": function () {
  6568. U.MD.D.I.openApplication(str, obj, info);
  6569. }
  6570. }
  6571. break;
  6572. case "courseDesign":
  6573. _iframe = $$("iframe", {
  6574. "webkitallowfullscreen": "",
  6575. "mozallowfullscreen": "",
  6576. "allowfullscreen": "",
  6577. "frameborder": "no",
  6578. "border": "0",
  6579. "scrolling ": "no",
  6580. "style": {
  6581. "cssText": "border:0; width:100%; height:100%;"
  6582. },
  6583. "src": "/course-design-vue"
  6584. })
  6585. _box.appendChild(_iframe);
  6586. _box.appendChild(_jie);
  6587. _formdiv = new U.UF.UI.form(
  6588. "項目設計-" + _username,
  6589. _box, {
  6590. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6591. "style": {
  6592. "width": "90%",
  6593. "height": "90%",
  6594. "overflow": 'hidden'
  6595. },
  6596. "onresize": function () { }
  6597. }, {
  6598. closecallback: function () { }
  6599. }, {
  6600. "style": {
  6601. "height": "36px"
  6602. }
  6603. }).form; //創建窗體
  6604. _taskbar = {
  6605. "id": str + _formdiv.id,
  6606. "style": {
  6607. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6608. },
  6609. "name": "項目設計",
  6610. "forms": _formdiv,
  6611. "click": function () {
  6612. U.MD.D.I.openApplication(str, obj, info);
  6613. }
  6614. }
  6615. break;
  6616. }
  6617. const script1 = document.createElement("script");
  6618. script1.type = "text/javascript";
  6619. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6620. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6621. const script2 = document.createElement("script");
  6622. script2.type = "text/javascript";
  6623. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6624. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6625. const script3 = document.createElement("script");
  6626. script3.type = "text/javascript";
  6627. script3.charset = "UTF-8";
  6628. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6629. const script4 = document.createElement("script");
  6630. script4.type = "text/javascript";
  6631. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6632. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6633. if (_iframe) {
  6634. if (str == 'doc') {
  6635. _iframe = _formdiv.querySelector('iframe')
  6636. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6637. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6638. _iframe.contentWindow.document.body.appendChild(script1);
  6639. _iframe.contentWindow.document.body.appendChild(script2);
  6640. // _iframe.contentWindow.document.body.appendChild(script3);
  6641. _iframe.contentWindow.document.body.appendChild(script4);
  6642. })
  6643. if (onloadListener) {
  6644. _iframe.contentDocument.location.reload()
  6645. } else {
  6646. _iframe.contentDocument.location.reload()
  6647. }
  6648. } else if (str == 'courseDesign') {
  6649. U.UF.DL.iframeLoad(_iframe, function () {
  6650. // _iframe.contentWindow.U.MD.O.W.load();
  6651. // _iframe.contentWindow.document.body.appendChild(script1);
  6652. _iframe.contentWindow.document.body.appendChild(script2);
  6653. _iframe.contentWindow.document.body.appendChild(script4);
  6654. })
  6655. } else if (str == 'mind') {
  6656. _iframe = _formdiv.querySelector('iframe')
  6657. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6658. //
  6659. _iframe.contentWindow.document.body.appendChild(script1);
  6660. _iframe.contentWindow.document.body.appendChild(script2);
  6661. _iframe.contentWindow.document.body.appendChild(script4);
  6662. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6663. })
  6664. if (onloadListener) {
  6665. _iframe.contentDocument.location.reload()
  6666. } else {
  6667. _iframe.contentDocument.location.reload()
  6668. }
  6669. } else if (str == 'whiteboard') {
  6670. _iframe = _formdiv.querySelector('iframe')
  6671. let onloadListener = _iframe.onload = () => {
  6672. _iframe.contentWindow.document.body.appendChild(script1);
  6673. _iframe.contentWindow.document.body.appendChild(script2);
  6674. _iframe.contentWindow.document.body.appendChild(script4);
  6675. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6676. };
  6677. if (onloadListener) {
  6678. _iframe.contentDocument.location.reload()
  6679. } else {
  6680. _iframe.contentDocument.location.reload()
  6681. }
  6682. } else {
  6683. _iframe.onload = () => {
  6684. _iframe.contentWindow.document.body.appendChild(script1);
  6685. _iframe.contentWindow.document.body.appendChild(script2);
  6686. // _iframe.contentWindow.document.body.appendChild(script3);
  6687. _iframe.contentWindow.document.body.appendChild(script4);
  6688. };
  6689. }
  6690. _jie.onclick = async () => {
  6691. let text = ''
  6692. if (aTool == 1) {
  6693. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6694. } else if (aTool == 6) {
  6695. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6696. } else if (aTool == 3) {
  6697. text = await U.MD.D.I.getEditorContent(_iframe);
  6698. }
  6699. _loading.style.display = 'flex'
  6700. console.log(_loading);
  6701. var _ajs = _iframe.contentWindow.document.createElement("script");
  6702. _ajs.type = "text/javascript";
  6703. _ajs.innerHTML =
  6704. // 'console.log(' + _loading + ');\n' +
  6705. 'var _js = document.createElement("script");\n' +
  6706. '_js.type="text/javascript";\n' +
  6707. '_js.charset="UTF-8";\n' +
  6708. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6709. "_js.onload = function(){\n" +
  6710. ' var a = document.getElementsByTagName("img")\n' +
  6711. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6712. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6713. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6714. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6715. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6716. "beforeUpload_shishi(file," +
  6717. "'" +
  6718. _userid +
  6719. "'" +
  6720. ", " +
  6721. "'" +
  6722. _cid +
  6723. "'" +
  6724. ", " +
  6725. "'" +
  6726. _stage +
  6727. "'" +
  6728. ", " +
  6729. "'" +
  6730. _task +
  6731. "'" +
  6732. ", " +
  6733. "'" +
  6734. _tool +
  6735. "'" +
  6736. ", " +
  6737. "'" +
  6738. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6739. "'" +
  6740. ", " +
  6741. "'" +
  6742. aTool +
  6743. "'" +
  6744. ", " +
  6745. "`" +
  6746. text +
  6747. "`" +
  6748. ")\n" +
  6749. " });\n" +
  6750. "}\n" +
  6751. "document.head.appendChild(_js);\n";
  6752. _iframe.contentWindow.document.head.appendChild(_ajs);
  6753. }
  6754. }
  6755. }
  6756. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6757. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6758. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6759. _userid = student.userid, //登錄用戶id
  6760. _username = student.student //用戶名字
  6761. let _iframe;
  6762. let _cid = cid,
  6763. _stage = stage,
  6764. _task = task,
  6765. _tool = tool;
  6766. var _jie = $$("div", {
  6767. "style": {
  6768. "position": "absolute",
  6769. "bottom": "50px",
  6770. "right": "50px",
  6771. "zIndex": "9999",
  6772. "backgroundColor": "#2268bc",
  6773. "color": "#fff",
  6774. "padding": "12px 20px",
  6775. "cursor": "pointer",
  6776. "borderRadius": "4px",
  6777. },
  6778. "innerHTML": "提交作業"
  6779. })
  6780. let aTool = ''
  6781. let _loading = document.createElement('div')
  6782. _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;"
  6783. // _loading.id = "";
  6784. let _lchild = document.createElement('div')
  6785. let _limg = document.createElement('img')
  6786. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6787. _limg.style = "width: 26px;margin-right: 10px;"
  6788. _lchild.appendChild(_limg)
  6789. let _lspan = document.createElement('span')
  6790. _lspan.innerHTML = "上傳中..."
  6791. _lchild.appendChild(_lspan)
  6792. _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%);"
  6793. _loading.appendChild(_lchild)
  6794. var _box = $$('div', {
  6795. "style": {
  6796. "position": "relative",
  6797. "width": "100%",
  6798. "height": "100%",
  6799. },
  6800. })
  6801. _box.appendChild(_loading)
  6802. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6803. switch (str) {
  6804. case "whiteboard":
  6805. aTool = 1;
  6806. _iframe = $$("iframe", {
  6807. "frameborder": "no",
  6808. "border": "0",
  6809. "scrolling ": "no",
  6810. "style": {
  6811. "cssText": "border:0;width:100%;height:100%"
  6812. },
  6813. "src": "https://iwb.cocorobo.hk/"
  6814. })
  6815. _box.appendChild(_iframe);
  6816. _box.appendChild(_jie);
  6817. _formdiv = new U.UF.UI.form(
  6818. "電子白板-" + _username,
  6819. _box, {
  6820. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6821. "style": {
  6822. "width": "90%",
  6823. "height": "90%",
  6824. "overflow": 'hidden'
  6825. },
  6826. "onresize": function () { }
  6827. }, {
  6828. closecallback: function () { }
  6829. }, {
  6830. "style": {
  6831. "height": "36px"
  6832. }
  6833. }).form; //創建窗體
  6834. _taskbar = {
  6835. "id": str + _formdiv.id,
  6836. "style": {
  6837. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6838. },
  6839. "name": "電子白板",
  6840. "forms": _formdiv,
  6841. "click": function () {
  6842. U.MD.D.I.openApplication(str, obj, info);
  6843. }
  6844. }
  6845. break;
  6846. case "mind":
  6847. aTool = 3;
  6848. _iframe = $$("iframe", {
  6849. "frameborder": "no",
  6850. "border": "0",
  6851. "scrolling ": "no",
  6852. "style": {
  6853. "cssText": "border:0;width:100%;height:100%"
  6854. },
  6855. "src": "/kityminder-editor/dist/index.html"
  6856. })
  6857. _box.appendChild(_iframe);
  6858. _box.appendChild(_jie);
  6859. _formdiv = new U.UF.UI.form(
  6860. "思維導圖-" + _username,
  6861. _box, { //"/jsmind/example/demo.html"
  6862. "id": "mind" + cid + stage + task + tool + _userid,
  6863. "style": {
  6864. "width": "90%",
  6865. "height": "90%",
  6866. "overflow": 'hidden'
  6867. },
  6868. "onresize": function () { }
  6869. }, {
  6870. closecallback: function () { }
  6871. }, {
  6872. "style": {
  6873. "height": "36px"
  6874. }
  6875. }).form; //創建窗體
  6876. _taskbar = {
  6877. "id": str + _formdiv.id,
  6878. "style": {
  6879. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6880. },
  6881. "name": "思維導圖",
  6882. "forms": _formdiv,
  6883. "click": function () {
  6884. U.MD.D.I.openApplication(str, obj, info);
  6885. }
  6886. }
  6887. break;
  6888. case "MindMap":
  6889. aTool = 3;
  6890. _iframe = $$("iframe", {
  6891. "frameborder": "no",
  6892. "border": "0",
  6893. "scrolling ": "no",
  6894. "style": {
  6895. "cssText": "border:0;width:100%;height:100%"
  6896. },
  6897. "src": "//cloud.cocorobo.hk/mind/"
  6898. })
  6899. _box.appendChild(_iframe);
  6900. _box.appendChild(_jie);
  6901. _formdiv = new U.UF.UI.form(
  6902. "思維導圖-" + _username,
  6903. _box, { //"/jsmind/example/demo.html"
  6904. "id": "mind" + cid + stage + task + tool + _userid,
  6905. "style": {
  6906. "width": "90%",
  6907. "height": "90%",
  6908. "overflow": 'hidden'
  6909. },
  6910. "onresize": function () { }
  6911. }, {
  6912. closecallback: function () { }
  6913. }, {
  6914. "style": {
  6915. "height": "36px"
  6916. }
  6917. }).form; //創建窗體
  6918. _taskbar = {
  6919. "id": str + _formdiv.id,
  6920. "style": {
  6921. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6922. },
  6923. "name": "思維導圖",
  6924. "forms": _formdiv,
  6925. "click": function () {
  6926. U.MD.D.I.openApplication(str, obj, info);
  6927. }
  6928. }
  6929. break;
  6930. case "doc":
  6931. aTool = 6;
  6932. _iframe = $$("iframe", {
  6933. "frameborder": "no",
  6934. "border": "0",
  6935. "scrolling ": "no",
  6936. "style": {
  6937. "cssText": "border:0;width:100%;height:100%"
  6938. },
  6939. "src": "/Office/Word/WordEditArea.htm"
  6940. })
  6941. _box.appendChild(_iframe);
  6942. _box.appendChild(_jie);
  6943. _formdiv = new U.UF.UI.form(
  6944. "協同文檔-" + _username,
  6945. _box, {
  6946. "id": "doc" + cid + stage + task + tool + _userid,
  6947. "style": {
  6948. "width": "90%",
  6949. "height": "90%",
  6950. "overflow": 'hidden'
  6951. },
  6952. "onresize": function () { }
  6953. }, {
  6954. closecallback: function () { }
  6955. }, {
  6956. "style": {
  6957. "height": "36px"
  6958. }
  6959. }).form; //創建窗體
  6960. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6961. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6962. })
  6963. _taskbar = {
  6964. "id": str + _formdiv.id,
  6965. "style": {
  6966. "backgroundImage": "url(/img/icon/doc.png)"
  6967. },
  6968. "name": "協同文檔",
  6969. "forms": _formdiv,
  6970. "click": function () {
  6971. U.MD.D.I.openApplication(str, obj, info);
  6972. }
  6973. }
  6974. break;
  6975. case "mindNetwork": //好友打開
  6976. aTool = 7;
  6977. _iframe = $$("iframe", {
  6978. "webkitallowfullscreen": "",
  6979. "mozallowfullscreen": "",
  6980. "allowfullscreen": "",
  6981. "frameborder": "no",
  6982. "border": "0",
  6983. "scrolling ": "no",
  6984. "style": {
  6985. "cssText": "border:0; width:100%; height:100%;"
  6986. },
  6987. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6988. })
  6989. _box.appendChild(_iframe);
  6990. _box.appendChild(_jie);
  6991. _formdiv = new U.UF.UI.form(
  6992. "思維網格-" + _username,
  6993. _box, {
  6994. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6995. "style": {
  6996. "width": "90%",
  6997. "height": "90%",
  6998. "overflow": 'hidden'
  6999. },
  7000. "onresize": function () { }
  7001. }, {
  7002. closecallback: function () { }
  7003. }, {
  7004. "style": {
  7005. "height": "36px"
  7006. }
  7007. }).form; //創建窗體
  7008. _taskbar = {
  7009. "id": str + _formdiv.id,
  7010. "style": {
  7011. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7012. },
  7013. "name": "思維網格",
  7014. "forms": _formdiv,
  7015. "click": function () {
  7016. U.MD.D.I.openApplication(str, obj, info);
  7017. }
  7018. }
  7019. break;
  7020. case "courseDesign":
  7021. _iframe = $$("iframe", {
  7022. "webkitallowfullscreen": "",
  7023. "mozallowfullscreen": "",
  7024. "allowfullscreen": "",
  7025. "frameborder": "no",
  7026. "border": "0",
  7027. "scrolling ": "no",
  7028. "style": {
  7029. "cssText": "border:0; width:100%; height:100%;"
  7030. },
  7031. "src": "/course-design-vue"
  7032. })
  7033. _box.appendChild(_iframe);
  7034. _box.appendChild(_jie);
  7035. _formdiv = new U.UF.UI.form(
  7036. "項目設計-" + _username,
  7037. _box, {
  7038. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7039. "style": {
  7040. "width": "90%",
  7041. "height": "90%",
  7042. "overflow": 'hidden'
  7043. },
  7044. "onresize": function () { }
  7045. }, {
  7046. closecallback: function () { }
  7047. }, {
  7048. "style": {
  7049. "height": "36px"
  7050. }
  7051. }).form; //創建窗體
  7052. _taskbar = {
  7053. "id": str + _formdiv.id,
  7054. "style": {
  7055. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7056. },
  7057. "name": "項目設計",
  7058. "forms": _formdiv,
  7059. "click": function () {
  7060. U.MD.D.I.openApplication(str, obj, info);
  7061. }
  7062. }
  7063. break;
  7064. }
  7065. const script1 = document.createElement("script");
  7066. script1.type = "text/javascript";
  7067. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7068. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7069. const script2 = document.createElement("script");
  7070. script2.type = "text/javascript";
  7071. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7072. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7073. const script3 = document.createElement("script");
  7074. script3.type = "text/javascript";
  7075. script3.charset = "UTF-8";
  7076. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7077. const script4 = document.createElement("script");
  7078. script4.type = "text/javascript";
  7079. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7080. script4.src = window.origin + "/js/Common/jietu2E.js";
  7081. if (_iframe) {
  7082. if (str == 'doc') {
  7083. _iframe = _formdiv.querySelector('iframe')
  7084. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7085. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7086. _iframe.contentWindow.document.body.appendChild(script1);
  7087. _iframe.contentWindow.document.body.appendChild(script2);
  7088. // _iframe.contentWindow.document.body.appendChild(script3);
  7089. _iframe.contentWindow.document.body.appendChild(script4);
  7090. })
  7091. if (onloadListener) {
  7092. _iframe.contentDocument.location.reload()
  7093. } else {
  7094. _iframe.contentDocument.location.reload()
  7095. }
  7096. } else if (str == 'courseDesign') {
  7097. U.UF.DL.iframeLoad(_iframe, function () {
  7098. // _iframe.contentWindow.U.MD.O.W.load();
  7099. // _iframe.contentWindow.document.body.appendChild(script1);
  7100. _iframe.contentWindow.document.body.appendChild(script2);
  7101. _iframe.contentWindow.document.body.appendChild(script4);
  7102. })
  7103. } else if (str == 'mind') {
  7104. _iframe = _formdiv.querySelector('iframe')
  7105. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7106. //
  7107. _iframe.contentWindow.document.body.appendChild(script1);
  7108. _iframe.contentWindow.document.body.appendChild(script2);
  7109. _iframe.contentWindow.document.body.appendChild(script4);
  7110. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7111. })
  7112. if (onloadListener) {
  7113. _iframe.contentDocument.location.reload()
  7114. } else {
  7115. _iframe.contentDocument.location.reload()
  7116. }
  7117. } else if (str == 'whiteboard') {
  7118. _iframe = _formdiv.querySelector('iframe')
  7119. let onloadListener = _iframe.onload = () => {
  7120. _iframe.contentWindow.document.body.appendChild(script1);
  7121. _iframe.contentWindow.document.body.appendChild(script2);
  7122. _iframe.contentWindow.document.body.appendChild(script4);
  7123. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7124. };
  7125. if (onloadListener) {
  7126. _iframe.contentDocument.location.reload()
  7127. } else {
  7128. _iframe.contentDocument.location.reload()
  7129. }
  7130. } else {
  7131. _iframe.onload = () => {
  7132. _iframe.contentWindow.document.body.appendChild(script1);
  7133. _iframe.contentWindow.document.body.appendChild(script2);
  7134. // _iframe.contentWindow.document.body.appendChild(script3);
  7135. _iframe.contentWindow.document.body.appendChild(script4);
  7136. };
  7137. }
  7138. _jie.onclick = async () => {
  7139. let text = ''
  7140. if (aTool == 1) {
  7141. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7142. } else if (aTool == 6) {
  7143. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7144. } else if (aTool == 3) {
  7145. text = await U.MD.D.I.getEditorContent(_iframe);
  7146. }
  7147. _loading.style.display = 'flex'
  7148. console.log(_loading);
  7149. var _ajs = _iframe.contentWindow.document.createElement("script");
  7150. _ajs.type = "text/javascript";
  7151. _ajs.innerHTML =
  7152. // 'console.log(' + _loading + ');\n' +
  7153. 'var _js = document.createElement("script");\n' +
  7154. '_js.type="text/javascript";\n' +
  7155. '_js.charset="UTF-8";\n' +
  7156. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7157. "_js.onload = function(){\n" +
  7158. ' var a = document.getElementsByTagName("img")\n' +
  7159. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7160. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7161. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7162. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7163. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7164. "beforeUpload_shishi(file," +
  7165. "'" +
  7166. _userid +
  7167. "'" +
  7168. ", " +
  7169. "'" +
  7170. _cid +
  7171. "'" +
  7172. ", " +
  7173. "'" +
  7174. _stage +
  7175. "'" +
  7176. ", " +
  7177. "'" +
  7178. _task +
  7179. "'" +
  7180. ", " +
  7181. "'" +
  7182. _tool +
  7183. "'" +
  7184. ", " +
  7185. "'" +
  7186. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7187. "'" +
  7188. ", " +
  7189. "'" +
  7190. aTool +
  7191. "'" +
  7192. ", " +
  7193. "`" +
  7194. text +
  7195. "`" +
  7196. ")\n" +
  7197. " });\n" +
  7198. "}\n" +
  7199. "document.head.appendChild(_js);\n";
  7200. _iframe.contentWindow.document.head.appendChild(_ajs);
  7201. }
  7202. }
  7203. }
  7204. U.MD.D.I.getEditorContent = function (iframe) {
  7205. return new Promise((resolve, reject) => {
  7206. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7207. console.log(content);
  7208. resolve(content)
  7209. });
  7210. });
  7211. }
  7212. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7213. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7214. // if (res.value[0].length > 0) {
  7215. // // resolve(res.value[0][0].text);
  7216. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7217. // $(fileInput).val('');
  7218. // });
  7219. // }
  7220. // }, [], { "type": "GET", "withCredentials": true });
  7221. var xmlhttp;
  7222. var Mac, Sn, DeviceId
  7223. if (window.XMLHttpRequest) {
  7224. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7225. xmlhttp = new XMLHttpRequest();
  7226. }
  7227. else {
  7228. // IE6, IE5 瀏覽器執行代碼
  7229. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7230. }
  7231. xmlhttp.onreadystatechange = function () {
  7232. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7233. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7234. // resolve(res.value[0][0].text);
  7235. if (type == '2') {
  7236. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7237. } else if (type == '3') {
  7238. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7239. }
  7240. } else {
  7241. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7242. }
  7243. }
  7244. }
  7245. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7246. xmlhttp.send();
  7247. }
  7248. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7249. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7250. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7251. _userinfo = US.userInfo, //登錄用戶信息
  7252. _userid = US.userInfo.userid //登錄用戶id
  7253. let _iframe;
  7254. let _cid = cid,
  7255. _stage = stage,
  7256. _task = task,
  7257. _tool = tool;
  7258. var _jie = $$("div", {
  7259. "style": {
  7260. "position": "absolute",
  7261. "bottom": "50px",
  7262. "right": "50px",
  7263. "zIndex": "9999",
  7264. "backgroundColor": "#2268bc",
  7265. "color": "#fff",
  7266. "padding": "12px 20px",
  7267. "cursor": "pointer",
  7268. "borderRadius": "4px",
  7269. },
  7270. "innerHTML": "確認並提交"
  7271. })
  7272. let aTool = ''
  7273. let _loading = document.createElement('div')
  7274. _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;"
  7275. // _loading.id = "";
  7276. let _lchild = document.createElement('div')
  7277. let _limg = document.createElement('img')
  7278. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7279. _limg.style = "width: 26px;margin-right: 10px;"
  7280. _lchild.appendChild(_limg)
  7281. let _lspan = document.createElement('span')
  7282. _lspan.innerHTML = "上傳中..."
  7283. _lchild.appendChild(_lspan)
  7284. _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%);"
  7285. _loading.appendChild(_lchild)
  7286. var _box = $$('div', {
  7287. "style": {
  7288. "position": "relative",
  7289. "width": "100%",
  7290. "height": "100%",
  7291. },
  7292. })
  7293. _box.appendChild(_loading)
  7294. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7295. switch (str) {
  7296. case "whiteboard":
  7297. aTool = 1;
  7298. _iframe = $$("iframe", {
  7299. "frameborder": "no",
  7300. "border": "0",
  7301. "scrolling ": "no",
  7302. "style": {
  7303. "cssText": "border:0;width:100%;height:100%"
  7304. },
  7305. "src": "https://iwb.cocorobo.hk/"
  7306. })
  7307. _box.appendChild(_iframe);
  7308. _box.appendChild(_jie);
  7309. _formdiv = new U.UF.UI.form(
  7310. "電子白板",
  7311. _box, {
  7312. "id": "whiteboards" + cid + stage + task + tool,
  7313. "style": {
  7314. "width": "90%",
  7315. "height": "90%",
  7316. "overflow": 'hidden'
  7317. },
  7318. "onresize": function () { }
  7319. }, {
  7320. closecallback: function () { }
  7321. }, {
  7322. "style": {
  7323. "height": "36px"
  7324. }
  7325. }).form; //創建窗體
  7326. _taskbar = {
  7327. "id": str + _formdiv.id,
  7328. "style": {
  7329. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7330. },
  7331. "name": "電子白板",
  7332. "forms": _formdiv,
  7333. "click": function () {
  7334. U.MD.D.I.openApplication(str, obj, info);
  7335. }
  7336. }
  7337. break;
  7338. case "mind":
  7339. aTool = 3;
  7340. _iframe = $$("iframe", {
  7341. "frameborder": "no",
  7342. "border": "0",
  7343. "scrolling ": "no",
  7344. "style": {
  7345. "cssText": "border:0;width:100%;height:100%"
  7346. },
  7347. "src": "/kityminder-editor/dist/index.html"
  7348. });
  7349. _box.appendChild(_iframe);
  7350. _box.appendChild(_jie);
  7351. _formdiv = new U.UF.UI.form(
  7352. "思維導圖",
  7353. _box, { //"/jsmind/example/demo.html"
  7354. "id": "minds" + cid + stage + task + tool,
  7355. "style": {
  7356. "width": "90%",
  7357. "height": "90%",
  7358. "overflow": 'hidden'
  7359. },
  7360. "onresize": function () { }
  7361. }, {
  7362. closecallback: function () { }
  7363. }, {
  7364. "style": {
  7365. "height": "36px"
  7366. }
  7367. }).form; //創建窗體
  7368. _taskbar = {
  7369. "id": str + _formdiv.id,
  7370. "style": {
  7371. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7372. },
  7373. "name": "思維導圖",
  7374. "forms": _formdiv,
  7375. "click": function () {
  7376. U.MD.D.I.openApplication(str, obj, info);
  7377. }
  7378. }
  7379. break;
  7380. case "doc":
  7381. aTool = 6;
  7382. _iframe = $$("iframe", {
  7383. "frameborder": "no",
  7384. "border": "0",
  7385. "scrolling ": "no",
  7386. "style": {
  7387. "cssText": "border:0;width:100%;height:100%"
  7388. },
  7389. "src": "/Office/Word/WordEditArea.htm"
  7390. })
  7391. _box.appendChild(_iframe);
  7392. _box.appendChild(_jie);
  7393. _formdiv = new U.UF.UI.form(
  7394. "協同文檔",
  7395. _box, {
  7396. "id": "docs" + cid + stage + task + tool,
  7397. "style": {
  7398. "width": "90%",
  7399. "height": "90%",
  7400. "overflow": 'hidden'
  7401. },
  7402. "onresize": function () { }
  7403. }, {
  7404. closecallback: function () { }
  7405. }, {
  7406. "style": {
  7407. "height": "36px"
  7408. }
  7409. }).form; //創建窗體
  7410. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7411. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7412. })
  7413. _taskbar = {
  7414. "id": str + _formdiv.id,
  7415. "style": {
  7416. "backgroundImage": "url(/img/icon/doc.png)"
  7417. },
  7418. "name": "協同文檔",
  7419. "forms": _formdiv,
  7420. "click": function () {
  7421. U.MD.D.I.openApplication(str, obj, info);
  7422. }
  7423. }
  7424. break;
  7425. }
  7426. const script1 = document.createElement("script");
  7427. script1.type = "text/javascript";
  7428. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7429. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7430. const script2 = document.createElement("script");
  7431. script2.type = "text/javascript";
  7432. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7433. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7434. const script3 = document.createElement("script");
  7435. script3.type = "text/javascript";
  7436. script3.charset = "UTF-8";
  7437. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7438. const script4 = document.createElement("script");
  7439. script4.type = "text/javascript";
  7440. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7441. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  7442. if (_iframe) {
  7443. if (str == 'doc') {
  7444. _iframe = _formdiv.querySelector('iframe')
  7445. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7446. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7447. _iframe.contentWindow.document.body.appendChild(script1);
  7448. _iframe.contentWindow.document.body.appendChild(script2);
  7449. // _iframe.contentWindow.document.body.appendChild(script3);
  7450. _iframe.contentWindow.document.body.appendChild(script4);
  7451. })
  7452. if (onloadListener) {
  7453. _iframe.contentDocument.location.reload()
  7454. } else {
  7455. _iframe.contentDocument.location.reload()
  7456. }
  7457. } else if (str == 'mind') {
  7458. _iframe = _formdiv.querySelector('iframe')
  7459. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7460. _iframe.contentWindow.document.body.appendChild(script1);
  7461. _iframe.contentWindow.document.body.appendChild(script2);
  7462. _iframe.contentWindow.document.body.appendChild(script4);
  7463. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7464. })
  7465. if (onloadListener) {
  7466. _iframe.contentDocument.location.reload()
  7467. } else {
  7468. _iframe.contentDocument.location.reload()
  7469. }
  7470. } else {
  7471. _iframe.onload = () => {
  7472. _iframe.contentWindow.document.body.appendChild(script1);
  7473. _iframe.contentWindow.document.body.appendChild(script2);
  7474. // _iframe.contentWindow.document.body.appendChild(script3);
  7475. _iframe.contentWindow.document.body.appendChild(script4);
  7476. };
  7477. }
  7478. _jie.onclick = async () => {
  7479. let text = ''
  7480. if (aTool == 6) {
  7481. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7482. } else if (aTool == 3) {
  7483. text = await U.MD.D.I.getEditorContent(_iframe);
  7484. }
  7485. _loading.style.display = 'flex'
  7486. console.log(_loading);
  7487. var _ajs = _iframe.contentWindow.document.createElement("script");
  7488. _ajs.type = "text/javascript";
  7489. _ajs.innerHTML =
  7490. // 'console.log(' + _loading + ');\n' +
  7491. 'var _js = document.createElement("script");\n' +
  7492. '_js.type="text/javascript";\n' +
  7493. '_js.charset="UTF-8";\n' +
  7494. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7495. "_js.onload = function(){\n" +
  7496. ' var a = document.getElementsByTagName("img")\n' +
  7497. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7498. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7499. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7500. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7501. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7502. "beforeUpload_shishi(file," +
  7503. "'" +
  7504. _userid +
  7505. "'" +
  7506. ", " +
  7507. "'" +
  7508. _cid +
  7509. "'" +
  7510. ", " +
  7511. "'" +
  7512. _stage +
  7513. "'" +
  7514. ", " +
  7515. "'" +
  7516. _task +
  7517. "'" +
  7518. ", " +
  7519. "'" +
  7520. _tool +
  7521. "'" +
  7522. ", " +
  7523. "'" +
  7524. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7525. "'" +
  7526. ", " +
  7527. "'" +
  7528. aTool +
  7529. "'" +
  7530. ", " +
  7531. "`" +
  7532. text +
  7533. "`" +
  7534. ")\n" +
  7535. " });\n" +
  7536. "}\n" +
  7537. "document.head.appendChild(_js);\n";
  7538. _iframe.contentWindow.document.head.appendChild(_ajs);
  7539. }
  7540. }
  7541. //U.MD.D.I.openClick(str);
  7542. //如果有任務欄信息
  7543. // if (_taskbar) {
  7544. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7545. // }
  7546. }
  7547. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7548. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7549. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7550. _userinfo = US.userInfo, //登錄用戶信息
  7551. _userid = US.userInfo.userid //登錄用戶id
  7552. let _iframe;
  7553. let _cid = cid,
  7554. _stage = stage,
  7555. _task = task,
  7556. _tool = tool;
  7557. var _jie = $$("div", {
  7558. "style": {
  7559. "position": "absolute",
  7560. "bottom": "50px",
  7561. "right": "50px",
  7562. "zIndex": "9999",
  7563. "backgroundColor": "#2268bc",
  7564. "color": "#fff",
  7565. "padding": "12px 20px",
  7566. "cursor": "pointer",
  7567. "borderRadius": "4px",
  7568. },
  7569. "innerHTML": "確認並提交"
  7570. })
  7571. let aTool = ''
  7572. let _loading = document.createElement('div')
  7573. _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;"
  7574. // _loading.id = "";
  7575. let _lchild = document.createElement('div')
  7576. let _limg = document.createElement('img')
  7577. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7578. _limg.style = "width: 26px;margin-right: 10px;"
  7579. _lchild.appendChild(_limg)
  7580. let _lspan = document.createElement('span')
  7581. _lspan.innerHTML = "上傳中..."
  7582. _lchild.appendChild(_lspan)
  7583. _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%);"
  7584. _loading.appendChild(_lchild)
  7585. var _box = $$('div', {
  7586. "style": {
  7587. "position": "relative",
  7588. "width": "100%",
  7589. "height": "100%",
  7590. },
  7591. })
  7592. _box.appendChild(_loading)
  7593. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7594. switch (str) {
  7595. case "whiteboard":
  7596. aTool = 1;
  7597. _iframe = $$("iframe", {
  7598. "frameborder": "no",
  7599. "border": "0",
  7600. "scrolling ": "no",
  7601. "style": {
  7602. "cssText": "border:0;width:100%;height:100%"
  7603. },
  7604. "src": "https://iwb.cocorobo.hk/"
  7605. })
  7606. _box.appendChild(_iframe);
  7607. _box.appendChild(_jie);
  7608. _formdiv = new U.UF.UI.form(
  7609. "電子白板",
  7610. _box, {
  7611. "id": "whiteboards" + cid + stage + task + tool,
  7612. "style": {
  7613. "width": "90%",
  7614. "height": "90%",
  7615. "overflow": 'hidden'
  7616. },
  7617. "onresize": function () { }
  7618. }, {
  7619. closecallback: function () { }
  7620. }, {
  7621. "style": {
  7622. "height": "36px"
  7623. }
  7624. }).form; //創建窗體
  7625. _taskbar = {
  7626. "id": str + _formdiv.id,
  7627. "style": {
  7628. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7629. },
  7630. "name": "電子白板",
  7631. "forms": _formdiv,
  7632. "click": function () {
  7633. U.MD.D.I.openApplication(str, obj, info);
  7634. }
  7635. }
  7636. break;
  7637. case "mind":
  7638. aTool = 3;
  7639. _iframe = $$("iframe", {
  7640. "frameborder": "no",
  7641. "border": "0",
  7642. "scrolling ": "no",
  7643. "style": {
  7644. "cssText": "border:0;width:100%;height:100%"
  7645. },
  7646. "src": "/kityminder-editor/dist/index.html"
  7647. });
  7648. _box.appendChild(_iframe);
  7649. _box.appendChild(_jie);
  7650. _formdiv = new U.UF.UI.form(
  7651. "思維導圖",
  7652. _box, { //"/jsmind/example/demo.html"
  7653. "id": "minds" + cid + stage + task + tool,
  7654. "style": {
  7655. "width": "90%",
  7656. "height": "90%",
  7657. "overflow": 'hidden'
  7658. },
  7659. "onresize": function () { }
  7660. }, {
  7661. closecallback: function () { }
  7662. }, {
  7663. "style": {
  7664. "height": "36px"
  7665. }
  7666. }).form; //創建窗體
  7667. _taskbar = {
  7668. "id": str + _formdiv.id,
  7669. "style": {
  7670. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7671. },
  7672. "name": "思維導圖",
  7673. "forms": _formdiv,
  7674. "click": function () {
  7675. U.MD.D.I.openApplication(str, obj, info);
  7676. }
  7677. }
  7678. break;
  7679. case "doc":
  7680. aTool = 6;
  7681. _iframe = $$("iframe", {
  7682. "frameborder": "no",
  7683. "border": "0",
  7684. "scrolling ": "no",
  7685. "style": {
  7686. "cssText": "border:0;width:100%;height:100%"
  7687. },
  7688. "src": "/Office/Word/WordEditArea.htm"
  7689. })
  7690. _box.appendChild(_iframe);
  7691. _box.appendChild(_jie);
  7692. _formdiv = new U.UF.UI.form(
  7693. "協同文檔",
  7694. _box, {
  7695. "id": "docs" + cid + stage + task + tool,
  7696. "style": {
  7697. "width": "90%",
  7698. "height": "90%",
  7699. "overflow": 'hidden'
  7700. },
  7701. "onresize": function () { }
  7702. }, {
  7703. closecallback: function () { }
  7704. }, {
  7705. "style": {
  7706. "height": "36px"
  7707. }
  7708. }).form; //創建窗體
  7709. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7710. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7711. })
  7712. _taskbar = {
  7713. "id": str + _formdiv.id,
  7714. "style": {
  7715. "backgroundImage": "url(/img/icon/doc.png)"
  7716. },
  7717. "name": "協同文檔",
  7718. "forms": _formdiv,
  7719. "click": function () {
  7720. U.MD.D.I.openApplication(str, obj, info);
  7721. }
  7722. }
  7723. break;
  7724. }
  7725. const script1 = document.createElement("script");
  7726. script1.type = "text/javascript";
  7727. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7728. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7729. const script2 = document.createElement("script");
  7730. script2.type = "text/javascript";
  7731. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7732. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7733. const script3 = document.createElement("script");
  7734. script3.type = "text/javascript";
  7735. script3.charset = "UTF-8";
  7736. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7737. const script4 = document.createElement("script");
  7738. script4.type = "text/javascript";
  7739. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7740. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  7741. if (_iframe) {
  7742. if (str == 'doc') {
  7743. _iframe = _formdiv.querySelector('iframe')
  7744. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7745. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7746. _iframe.contentWindow.document.body.appendChild(script1);
  7747. _iframe.contentWindow.document.body.appendChild(script2);
  7748. // _iframe.contentWindow.document.body.appendChild(script3);
  7749. _iframe.contentWindow.document.body.appendChild(script4);
  7750. })
  7751. if (onloadListener) {
  7752. _iframe.contentDocument.location.reload()
  7753. } else {
  7754. _iframe.contentDocument.location.reload()
  7755. }
  7756. } else if (str == 'mind') {
  7757. _iframe = _formdiv.querySelector('iframe')
  7758. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7759. _iframe.contentWindow.document.body.appendChild(script1);
  7760. _iframe.contentWindow.document.body.appendChild(script2);
  7761. _iframe.contentWindow.document.body.appendChild(script4);
  7762. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7763. })
  7764. if (onloadListener) {
  7765. _iframe.contentDocument.location.reload()
  7766. } else {
  7767. _iframe.contentDocument.location.reload()
  7768. }
  7769. } else {
  7770. _iframe.onload = () => {
  7771. _iframe.contentWindow.document.body.appendChild(script1);
  7772. _iframe.contentWindow.document.body.appendChild(script2);
  7773. // _iframe.contentWindow.document.body.appendChild(script3);
  7774. _iframe.contentWindow.document.body.appendChild(script4);
  7775. };
  7776. }
  7777. _jie.onclick = async () => {
  7778. let text = ''
  7779. if (aTool == 6) {
  7780. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7781. } else if (aTool == 3) {
  7782. text = await U.MD.D.I.getEditorContent(_iframe);
  7783. }
  7784. _loading.style.display = 'flex'
  7785. console.log(_loading);
  7786. var _ajs = _iframe.contentWindow.document.createElement("script");
  7787. _ajs.type = "text/javascript";
  7788. _ajs.innerHTML =
  7789. // 'console.log(' + _loading + ');\n' +
  7790. 'var _js = document.createElement("script");\n' +
  7791. '_js.type="text/javascript";\n' +
  7792. '_js.charset="UTF-8";\n' +
  7793. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7794. "_js.onload = function(){\n" +
  7795. ' var a = document.getElementsByTagName("img")\n' +
  7796. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7797. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7798. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7799. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7800. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7801. "beforeUpload_shishi(file," +
  7802. "'" +
  7803. _userid +
  7804. "'" +
  7805. ", " +
  7806. "'" +
  7807. _cid +
  7808. "'" +
  7809. ", " +
  7810. "'" +
  7811. _stage +
  7812. "'" +
  7813. ", " +
  7814. "'" +
  7815. _task +
  7816. "'" +
  7817. ", " +
  7818. "'" +
  7819. _tool +
  7820. "'" +
  7821. ", " +
  7822. "'" +
  7823. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7824. "'" +
  7825. ", " +
  7826. "'" +
  7827. aTool +
  7828. "'" +
  7829. ", " +
  7830. "`" +
  7831. text +
  7832. "`" +
  7833. ")\n" +
  7834. " });\n" +
  7835. "}\n" +
  7836. "document.head.appendChild(_js);\n";
  7837. _iframe.contentWindow.document.head.appendChild(_ajs);
  7838. }
  7839. }
  7840. //U.MD.D.I.openClick(str);
  7841. //如果有任務欄信息
  7842. // if (_taskbar) {
  7843. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7844. // }
  7845. }
  7846. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7847. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7848. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7849. _userinfo = US.userInfo, //登錄用戶信息
  7850. _userid = US.userInfo.userid //登錄用戶id
  7851. let _iframe;
  7852. let _cid = cid,
  7853. _stage = stage,
  7854. _task = task,
  7855. _tool = tool;
  7856. var _jie = $$("div", {
  7857. "style": {
  7858. "position": "absolute",
  7859. "bottom": "50px",
  7860. "right": "50px",
  7861. "zIndex": "9999",
  7862. "backgroundColor": "#2268bc",
  7863. "color": "#fff",
  7864. "padding": "12px 20px",
  7865. "cursor": "pointer",
  7866. "borderRadius": "4px",
  7867. },
  7868. "innerHTML": "上傳模板"
  7869. })
  7870. let aTool = ''
  7871. let _loading = document.createElement('div')
  7872. _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;"
  7873. // _loading.id = "";
  7874. let _lchild = document.createElement('div')
  7875. let _limg = document.createElement('img')
  7876. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7877. _limg.style = "width: 26px;margin-right: 10px;"
  7878. _lchild.appendChild(_limg)
  7879. let _lspan = document.createElement('span')
  7880. _lspan.innerHTML = "上傳中..."
  7881. _lchild.appendChild(_lspan)
  7882. _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%);"
  7883. _loading.appendChild(_lchild)
  7884. var _box = $$('div', {
  7885. "style": {
  7886. "position": "relative",
  7887. "width": "100%",
  7888. "height": "100%",
  7889. },
  7890. })
  7891. _box.appendChild(_loading)
  7892. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7893. switch (str) {
  7894. case "whiteboard":
  7895. aTool = 1;
  7896. _iframe = $$("iframe", {
  7897. "frameborder": "no",
  7898. "border": "0",
  7899. "scrolling ": "no",
  7900. "style": {
  7901. "cssText": "border:0;width:100%;height:100%"
  7902. },
  7903. "src": "https://iwb.cocorobo.hk/"
  7904. })
  7905. _box.appendChild(_iframe);
  7906. _box.appendChild(_jie);
  7907. _formdiv = new U.UF.UI.form(
  7908. "電子白板",
  7909. _box, {
  7910. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7911. "style": {
  7912. "width": "90%",
  7913. "height": "90%",
  7914. "overflow": 'hidden'
  7915. },
  7916. "onresize": function () { }
  7917. }, {
  7918. closecallback: function () { }
  7919. }, {
  7920. "style": {
  7921. "height": "36px"
  7922. }
  7923. }).form; //創建窗體
  7924. _taskbar = {
  7925. "id": str + _formdiv.id,
  7926. "style": {
  7927. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7928. },
  7929. "name": "電子白板",
  7930. "forms": _formdiv,
  7931. "click": function () {
  7932. U.MD.D.I.openApplication(str, obj, info);
  7933. }
  7934. }
  7935. break;
  7936. case "mind":
  7937. aTool = 3;
  7938. _iframe = $$("iframe", {
  7939. "frameborder": "no",
  7940. "border": "0",
  7941. "scrolling ": "no",
  7942. "style": {
  7943. "cssText": "border:0;width:100%;height:100%"
  7944. },
  7945. "src": "/kityminder-editor/dist/index.html"
  7946. });
  7947. _box.appendChild(_iframe);
  7948. _box.appendChild(_jie);
  7949. _formdiv = new U.UF.UI.form(
  7950. "思維導圖",
  7951. _box, { //"/jsmind/example/demo.html"
  7952. "id": "minds_Yu" + cid + stage + task + tool,
  7953. "style": {
  7954. "width": "90%",
  7955. "height": "90%",
  7956. "overflow": 'hidden'
  7957. },
  7958. "onresize": function () { }
  7959. }, {
  7960. closecallback: function () { }
  7961. }, {
  7962. "style": {
  7963. "height": "36px"
  7964. }
  7965. }).form; //創建窗體
  7966. _taskbar = {
  7967. "id": str + _formdiv.id,
  7968. "style": {
  7969. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7970. },
  7971. "name": "思維導圖",
  7972. "forms": _formdiv,
  7973. "click": function () {
  7974. U.MD.D.I.openApplication(str, obj, info);
  7975. }
  7976. }
  7977. break;
  7978. case "doc":
  7979. aTool = 6;
  7980. _iframe = $$("iframe", {
  7981. "frameborder": "no",
  7982. "border": "0",
  7983. "scrolling ": "no",
  7984. "style": {
  7985. "cssText": "border:0;width:100%;height:100%"
  7986. },
  7987. "src": "/Office/Word/WordEditArea.htm"
  7988. })
  7989. _box.appendChild(_iframe);
  7990. _box.appendChild(_jie);
  7991. _formdiv = new U.UF.UI.form(
  7992. "協同文檔",
  7993. _box, {
  7994. "id": "docs_Yu" + cid + stage + task + tool,
  7995. "style": {
  7996. "width": "90%",
  7997. "height": "90%",
  7998. "overflow": 'hidden'
  7999. },
  8000. "onresize": function () { }
  8001. }, {
  8002. closecallback: function () { }
  8003. }, {
  8004. "style": {
  8005. "height": "36px"
  8006. }
  8007. }).form; //創建窗體
  8008. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8009. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8010. })
  8011. _taskbar = {
  8012. "id": str + _formdiv.id,
  8013. "style": {
  8014. "backgroundImage": "url(/img/icon/doc.png)"
  8015. },
  8016. "name": "協同文檔",
  8017. "forms": _formdiv,
  8018. "click": function () {
  8019. U.MD.D.I.openApplication(str, obj, info);
  8020. }
  8021. }
  8022. break;
  8023. case "CocoPi":
  8024. aTool = 57;
  8025. _iframe = $$("iframe", {
  8026. "allowpaymentrequest": "allowpaymentrequest",
  8027. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8028. "webkitallowfullscreen": "",
  8029. "mozallowfullscreen": "",
  8030. "frameborder": "no",
  8031. "border": "0",
  8032. "scrolling ": "no",
  8033. "style": {
  8034. "cssText": "border:0;width:100%;height:100%"
  8035. },
  8036. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8037. })
  8038. _box.appendChild(_iframe);
  8039. _box.appendChild(_jie);
  8040. _formdiv = new U.UF.UI.form(
  8041. "CocoPi",
  8042. _box, {
  8043. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8044. "style": {
  8045. "width": "90%",
  8046. "height": "90%",
  8047. "overflow": 'hidden'
  8048. },
  8049. "onresize": function () { }
  8050. }, {
  8051. closecallback: function () { }
  8052. }, {
  8053. "style": {
  8054. "height": "36px"
  8055. }
  8056. }).form; //創建窗體
  8057. _taskbar = {
  8058. "id": str + _formdiv.id,
  8059. "style": {
  8060. "backgroundImage": "url(/img/icon/cocopi.png)"
  8061. },
  8062. "name": "CocoPi",
  8063. "forms": _formdiv,
  8064. "click": function () {
  8065. U.MD.D.I.openApplication(str, obj, info);
  8066. }
  8067. }
  8068. break;
  8069. }
  8070. if (_iframe) {
  8071. if (str == 'doc') {
  8072. _iframe = _formdiv.querySelector('iframe')
  8073. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8074. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8075. })
  8076. if (onloadListener) {
  8077. _iframe.contentDocument.location.reload()
  8078. } else {
  8079. _iframe.contentDocument.location.reload()
  8080. }
  8081. } else if (str == 'mind') {
  8082. _iframe = _formdiv.querySelector('iframe')
  8083. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8084. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8085. })
  8086. if (onloadListener) {
  8087. _iframe.contentDocument.location.reload()
  8088. } else {
  8089. _iframe.contentDocument.location.reload()
  8090. }
  8091. } else if (str == 'whiteboard') {
  8092. _iframe = _formdiv.querySelector('iframe')
  8093. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8094. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8095. })
  8096. if (onloadListener) {
  8097. _iframe.contentDocument.location.reload()
  8098. } else {
  8099. _iframe.contentDocument.location.reload()
  8100. }
  8101. } else if (str == 'CocoPi') {
  8102. _iframe = _formdiv.querySelector('iframe')
  8103. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8104. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8105. })
  8106. if (onloadListener) {
  8107. _iframe.contentDocument.location.reload()
  8108. } else {
  8109. _iframe.contentDocument.location.reload()
  8110. }
  8111. } else {
  8112. _iframe.onload = () => { };
  8113. }
  8114. _jie.onclick = async () => {
  8115. let text = ''
  8116. let type = '2'
  8117. if (aTool == 1) {
  8118. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8119. type = '3'
  8120. } else if (aTool == 6) {
  8121. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8122. type = '1'
  8123. } else if (aTool == 3) {
  8124. text = await U.MD.D.I.getEditorContent(_iframe);
  8125. type = '2'
  8126. } else if (aTool == 57) {
  8127. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8128. type = '4'
  8129. }
  8130. _loading.style.display = 'flex'
  8131. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8132. }
  8133. }
  8134. //U.MD.D.I.openClick(str);
  8135. //如果有任務欄信息
  8136. // if (_taskbar) {
  8137. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8138. // }
  8139. }
  8140. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8141. var xmlhttp;
  8142. var Mac, Sn, DeviceId
  8143. if (window.XMLHttpRequest) {
  8144. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8145. xmlhttp = new XMLHttpRequest();
  8146. }
  8147. else {
  8148. // IE6, IE5 瀏覽器執行代碼
  8149. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8150. }
  8151. xmlhttp.onreadystatechange = function () {
  8152. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8153. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8154. // resolve(res.value[0][0].text);
  8155. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8156. }
  8157. }
  8158. }
  8159. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8160. xmlhttp.send();
  8161. }
  8162. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8163. var xmlhttp;
  8164. var Mac, Sn, DeviceId
  8165. if (window.XMLHttpRequest) {
  8166. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8167. xmlhttp = new XMLHttpRequest();
  8168. }
  8169. else {
  8170. // IE6, IE5 瀏覽器執行代碼
  8171. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8172. }
  8173. xmlhttp.onreadystatechange = function () {
  8174. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8175. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8176. // resolve(res.value[0][0].text);
  8177. if (type == '2') {
  8178. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8179. } else if (type == '3') {
  8180. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8181. } else if (type == '4') {
  8182. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8183. }
  8184. } else {
  8185. if (type == '2') {
  8186. iframe.contentWindow.editor.minder.importData('json', '')
  8187. } else if (type == '3') {
  8188. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8189. } else if (type == '4') {
  8190. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8191. }
  8192. }
  8193. }
  8194. }
  8195. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8196. xmlhttp.send();
  8197. }
  8198. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8199. var xmlhttp;
  8200. var Mac, Sn, DeviceId
  8201. if (window.XMLHttpRequest) {
  8202. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8203. xmlhttp = new XMLHttpRequest();
  8204. }
  8205. else {
  8206. // IE6, IE5 瀏覽器執行代碼
  8207. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8208. }
  8209. xmlhttp.onreadystatechange = function () {
  8210. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8211. if (xmlhttp.response) {
  8212. // resolve(res.value[0][0].text);
  8213. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8214. // $(fileInput).val('');
  8215. // });
  8216. span.innerHTML = '上傳成功'
  8217. setTimeout(() => {
  8218. loading.style.display = 'none'
  8219. }, 1000);
  8220. }
  8221. }
  8222. }
  8223. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8224. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8225. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8226. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8227. // 設置請求頭,表示請求體的編碼格式
  8228. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8229. // 設置請求體,使用url-encoded格式的數據
  8230. }
  8231. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8232. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8233. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8234. _userinfo = US.userInfo, //登錄用戶信息
  8235. _userid = US.userInfo.userid //登錄用戶id
  8236. let _iframe;
  8237. let _cid = cid,
  8238. _stage = stage,
  8239. _task = task,
  8240. _tool = tool;
  8241. var _jie = $$("div", {
  8242. "style": {
  8243. "position": "absolute",
  8244. "bottom": "50px",
  8245. "right": "50px",
  8246. "zIndex": "9999",
  8247. "backgroundColor": "#2268bc",
  8248. "color": "#fff",
  8249. "padding": "12px 20px",
  8250. "cursor": "pointer",
  8251. "borderRadius": "4px",
  8252. },
  8253. "innerHTML": "提交作業"
  8254. })
  8255. let aTool = ''
  8256. let _loading = document.createElement('div')
  8257. _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;"
  8258. // _loading.id = "";
  8259. let _lchild = document.createElement('div')
  8260. let _limg = document.createElement('img')
  8261. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8262. _limg.style = "width: 26px;margin-right: 10px;"
  8263. _lchild.appendChild(_limg)
  8264. let _lspan = document.createElement('span')
  8265. _lspan.innerHTML = "上傳中..."
  8266. _lchild.appendChild(_lspan)
  8267. _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%);"
  8268. _loading.appendChild(_lchild)
  8269. var _box = $$('div', {
  8270. "style": {
  8271. "position": "relative",
  8272. "width": "100%",
  8273. "height": "100%",
  8274. },
  8275. })
  8276. _box.appendChild(_loading)
  8277. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8278. switch (str) {
  8279. case "CocoPi":
  8280. aTool = 57;
  8281. _iframe = $$("iframe", {
  8282. "allowpaymentrequest": "allowpaymentrequest",
  8283. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8284. "webkitallowfullscreen": "",
  8285. "mozallowfullscreen": "",
  8286. "frameborder": "no",
  8287. "border": "0",
  8288. "scrolling ": "no",
  8289. "style": {
  8290. "cssText": "border:0;width:100%;height:100%"
  8291. },
  8292. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8293. })
  8294. _box.appendChild(_iframe);
  8295. _box.appendChild(_jie);
  8296. _formdiv = new U.UF.UI.form(
  8297. "CocoPi",
  8298. _box, {
  8299. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8300. "style": {
  8301. "width": "90%",
  8302. "height": "90%",
  8303. "overflow": 'hidden'
  8304. },
  8305. "onresize": function () { }
  8306. }, {
  8307. closecallback: function () { }
  8308. }, {
  8309. "style": {
  8310. "height": "36px"
  8311. }
  8312. }).form; //創建窗體
  8313. _taskbar = {
  8314. "id": str + _formdiv.id,
  8315. "style": {
  8316. "backgroundImage": "url(/img/icon/cocopi.png)"
  8317. },
  8318. "name": "CocoPi",
  8319. "forms": _formdiv,
  8320. "click": function () {
  8321. U.MD.D.I.openApplication(str, obj, info);
  8322. }
  8323. }
  8324. break;
  8325. }
  8326. if (_iframe) {
  8327. if (str == 'CocoPi') {
  8328. _iframe = _formdiv.querySelector('iframe')
  8329. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8330. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8331. })
  8332. if (onloadListener) {
  8333. _iframe.contentDocument.location.reload()
  8334. } else {
  8335. _iframe.contentDocument.location.reload()
  8336. }
  8337. }
  8338. _jie.onclick = async () => {
  8339. let text = ''
  8340. if (aTool == 57) {
  8341. text = _iframe.contentWindow.getLoadXmlStr()
  8342. }
  8343. _loading.style.display = 'flex'
  8344. console.log(_loading);
  8345. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8346. _loading.style.display = 'none'
  8347. let _div = document.createElement('div')
  8348. _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;"
  8349. let _inner = document.createElement('div')
  8350. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8351. _inner.innerHTML = "上傳成功"
  8352. _div.appendChild(_inner)
  8353. _iframe.contentWindow.window.document.body.appendChild(_div)
  8354. _div.onclick = () => {
  8355. _iframe.contentWindow.window.document.body.removeChild(_div)
  8356. }
  8357. setTimeout(() => {
  8358. _iframe.contentWindow.window.document.body.removeChild(_div)
  8359. }, 1000);
  8360. }, [], { "type": "POST", "withCredentials": true });
  8361. }
  8362. }
  8363. }
  8364. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8365. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8366. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8367. _userid = student.userid, //登錄用戶id
  8368. _username = student.student //用戶名字
  8369. let _iframe;
  8370. let _cid = cid,
  8371. _stage = stage,
  8372. _task = task,
  8373. _tool = tool;
  8374. var _jie = $$("div", {
  8375. "style": {
  8376. "position": "absolute",
  8377. "bottom": "50px",
  8378. "right": "50px",
  8379. "zIndex": "9999",
  8380. "backgroundColor": "#2268bc",
  8381. "color": "#fff",
  8382. "padding": "12px 20px",
  8383. "cursor": "pointer",
  8384. "borderRadius": "4px",
  8385. },
  8386. "innerHTML": "提交作業"
  8387. })
  8388. let aTool = ''
  8389. let _loading = document.createElement('div')
  8390. _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;"
  8391. // _loading.id = "";
  8392. let _lchild = document.createElement('div')
  8393. let _limg = document.createElement('img')
  8394. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8395. _limg.style = "width: 26px;margin-right: 10px;"
  8396. _lchild.appendChild(_limg)
  8397. let _lspan = document.createElement('span')
  8398. _lspan.innerHTML = "上傳中..."
  8399. _lchild.appendChild(_lspan)
  8400. _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%);"
  8401. _loading.appendChild(_lchild)
  8402. var _box = $$('div', {
  8403. "style": {
  8404. "position": "relative",
  8405. "width": "100%",
  8406. "height": "100%",
  8407. },
  8408. })
  8409. _box.appendChild(_loading)
  8410. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8411. switch (str) {
  8412. case "CocoPi":
  8413. aTool = 57;
  8414. _iframe = $$("iframe", {
  8415. "allowpaymentrequest": "allowpaymentrequest",
  8416. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8417. "webkitallowfullscreen": "",
  8418. "mozallowfullscreen": "",
  8419. "frameborder": "no",
  8420. "border": "0",
  8421. "scrolling ": "no",
  8422. "style": {
  8423. "cssText": "border:0;width:100%;height:100%"
  8424. },
  8425. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8426. })
  8427. _box.appendChild(_iframe);
  8428. _box.appendChild(_jie);
  8429. _formdiv = new U.UF.UI.form(
  8430. "CocoPi-" + _username,
  8431. _box, {
  8432. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8433. "style": {
  8434. "width": "90%",
  8435. "height": "90%",
  8436. "overflow": 'hidden'
  8437. },
  8438. "onresize": function () { }
  8439. }, {
  8440. closecallback: function () { }
  8441. }, {
  8442. "style": {
  8443. "height": "36px"
  8444. }
  8445. }).form; //創建窗體
  8446. _taskbar = {
  8447. "id": str + _formdiv.id,
  8448. "style": {
  8449. "backgroundImage": "url(/img/icon/cocopi.png)"
  8450. },
  8451. "name": "CocoPi",
  8452. "forms": _formdiv,
  8453. "click": function () {
  8454. U.MD.D.I.openApplication(str, obj, info);
  8455. }
  8456. }
  8457. break;
  8458. }
  8459. if (_iframe) {
  8460. if (str == 'CocoPi') {
  8461. _iframe = _formdiv.querySelector('iframe')
  8462. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8463. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8464. })
  8465. if (onloadListener) {
  8466. _iframe.contentDocument.location.reload()
  8467. } else {
  8468. _iframe.contentDocument.location.reload()
  8469. }
  8470. }
  8471. _jie.onclick = async () => {
  8472. let text = ''
  8473. if (aTool == 57) {
  8474. text = _iframe.contentWindow.getLoadXmlStr()
  8475. }
  8476. _loading.style.display = 'flex'
  8477. console.log(_loading);
  8478. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8479. _loading.style.display = 'none'
  8480. let _div = document.createElement('div')
  8481. _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;"
  8482. let _inner = document.createElement('div')
  8483. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8484. _inner.innerHTML = "上傳成功"
  8485. _div.appendChild(_inner)
  8486. _iframe.contentWindow.window.document.body.appendChild(_div)
  8487. _div.onclick = () => {
  8488. _iframe.contentWindow.window.document.body.removeChild(_div)
  8489. }
  8490. setTimeout(() => {
  8491. _iframe.contentWindow.window.document.body.removeChild(_div)
  8492. }, 1000);
  8493. }, [], { "type": "POST", "withCredentials": true });
  8494. }
  8495. }
  8496. }
  8497. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8498. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8499. if (res.value[0].length > 0) {
  8500. if (atool == 57) {
  8501. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8502. }
  8503. } else {
  8504. if (atool == 57) {
  8505. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8506. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8507. }
  8508. }
  8509. }, [], { "type": "POST", "withCredentials": true });
  8510. }