DeskTop.js 606 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858
  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.SONGteacherDeskIcon = [
  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": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  305. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  306. ];
  307. U.MD.D.I.tcStudentDeskIcon = [
  308. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  309. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  310. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  311. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  312. ];
  313. U.MD.D.I.tcTeacherDeskIcon = [
  314. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  315. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  316. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  317. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  318. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  319. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  320. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  321. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  322. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  323. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  324. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  325. ];
  326. U.MD.D.I.tcOrganizerDeskIcon = [
  327. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  328. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  329. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  330. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  332. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  333. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  334. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  335. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  338. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  339. ];
  340. U.MD.D.I.szscStudentDeskIcon = [
  341. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  342. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  343. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  344. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  345. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. ];
  347. U.MD.D.I.szscTeacherDeskIcon = [
  348. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  349. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  350. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  352. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  353. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  354. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  355. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  356. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  359. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  360. ];
  361. U.MD.D.I.szscOrganizerDeskIcon = [
  362. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  363. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  364. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  365. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  366. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  367. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  368. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  371. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  372. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  373. ];
  374. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  375. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  376. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  377. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  378. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  379. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  380. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  381. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  382. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  383. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  384. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  385. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  388. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  389. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  390. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  391. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  392. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  393. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  394. ];
  395. U.MD.D.I.wankeAdminDeskIcon = [
  396. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  397. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  398. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  399. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  400. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  401. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  402. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  403. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  404. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  405. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  406. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  407. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  408. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  409. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  410. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  412. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  413. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  416. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  426. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  427. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  428. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  429. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  430. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  431. ];
  432. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  433. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  434. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  435. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  436. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  437. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  438. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  439. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  440. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  441. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  442. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  443. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  444. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  445. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  446. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  447. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  448. ];
  449. //明德教師桌面圖標的全局變量
  450. U.MD.D.I.MingdeTeacherDeskIcon = [
  451. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  452. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  453. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  454. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  455. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  456. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  457. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  458. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  459. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  460. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  461. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  462. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  463. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  464. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  465. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  466. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  467. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  468. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  469. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  470. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  471. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  472. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  473. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  474. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  475. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  476. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  477. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  478. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  479. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  480. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  481. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  482. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  483. ];
  484. //97c4ee8b-d010-4042-986d-e9d3c217264f
  485. //教師桌面圖標的全局變量
  486. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  487. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  488. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  489. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  490. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  491. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  492. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  493. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  494. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  495. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  496. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  497. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  498. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  499. ];
  500. //福田
  501. U.MD.D.I.futianTeacherDeskIcon = [
  502. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  503. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  504. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  505. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  506. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  507. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  508. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  509. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  510. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  511. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  513. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  514. ];
  515. //福田
  516. U.MD.D.I.futianAdminDeskIcon = [
  517. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  518. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  519. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  520. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  521. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  522. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  523. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  524. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  525. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  526. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  527. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  528. ];
  529. //lotech
  530. U.MD.D.I.lotechTeacherDeskIcon = [
  531. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  532. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  533. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  534. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  535. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  536. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  537. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  538. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  539. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  540. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  541. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  542. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  543. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  544. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  545. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  546. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  547. ];
  548. //龍華中心小學教師桌面圖標的全局變量
  549. U.MD.D.I.longhuateacherDeskIcon = [
  550. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  551. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  552. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  553. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  554. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  555. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  556. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  557. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  558. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  559. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  560. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  561. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  562. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  563. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  564. ];
  565. //教科院實小教師桌面圖標的全局變量
  566. U.MD.D.I.siesteacherDeskIcon = [
  567. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  568. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  569. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  570. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  571. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  572. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  573. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  574. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  575. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  576. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  577. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  578. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  582. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  583. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  586. { "Name": "數據融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  587. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  588. { "Name": "評測看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  589. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  590. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  591. { "Name": "教師管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  592. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  593. ];
  594. //教科院實小教師桌面圖標的全局變量
  595. U.MD.D.I.siesStudentDeskIcon = [
  596. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  597. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  598. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  599. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  600. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  601. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  602. ];
  603. //中山小學教師桌面圖標的全局變量
  604. U.MD.D.I.guzmsteacherDeskIcon = [
  605. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  606. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  607. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  608. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  609. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  611. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  612. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  613. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  614. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  615. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  616. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  617. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  618. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  619. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  620. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  621. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  622. ];
  623. //中山小學學生桌面圖標的全局變量
  624. U.MD.D.I.guzmsStudentDeskIcon = [
  625. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  626. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  627. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  628. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  629. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  631. ];
  632. //福田
  633. U.MD.D.I.gdjgTeacherDeskIcon = [
  634. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  635. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  639. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  640. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  641. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  642. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  643. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  644. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  645. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  646. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  647. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  648. ];
  649. //gdjg
  650. U.MD.D.I.gdjgAdminDeskIcon = [
  651. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  652. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  653. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  654. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  655. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  656. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  657. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  658. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  659. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  660. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  661. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  662. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  663. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  664. ];
  665. //hk
  666. U.MD.D.I.hkteacherDeskIcon = [
  667. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  670. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  671. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  672. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  673. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  674. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  675. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  676. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  677. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  678. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  679. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  680. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  681. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  682. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  683. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  684. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  685. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  686. ];
  687. //hk
  688. U.MD.D.I.hkStudentDeskIcon = [
  689. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  690. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  691. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  692. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  694. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  695. ];
  696. //hk
  697. U.MD.D.I.hkaceteacherDeskIcon = [
  698. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  699. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  700. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  701. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  702. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  703. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  704. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  705. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  706. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  707. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  708. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  709. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  710. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  711. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  712. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  713. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  714. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  715. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  716. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  717. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  718. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  719. ];
  720. //hk
  721. U.MD.D.I.hkaceStudentDeskIcon = [
  722. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  723. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  724. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  725. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  726. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  727. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  728. ];
  729. //香海正覺蓮社佛教正覺中學
  730. U.MD.D.I.hkZJLSteacherDeskIcon = [
  731. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  732. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  733. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  734. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  735. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  736. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  737. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  738. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  739. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  740. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  741. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  742. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  743. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  744. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  745. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  746. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  747. ];
  748. //香海正覺蓮社佛教正覺中學
  749. U.MD.D.I.hkZJLSStudentDeskIcon = [
  750. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  751. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  752. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  753. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  754. ];
  755. //雲海
  756. U.MD.D.I.yunhaiTeacherDeskIcon = [
  757. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  758. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  759. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  760. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  761. { "Name": "項目管理", "Url": "studentCourseS", "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": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  764. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  765. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  766. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  767. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  768. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  769. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  770. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  771. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  772. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  773. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  774. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  775. ];
  776. //福田
  777. U.MD.D.I.heyuanTeacherDeskIcon = [
  778. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  779. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  780. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  781. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  782. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  783. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  784. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  785. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  786. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  787. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  788. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  789. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  790. ];
  791. //福田
  792. U.MD.D.I.heyuanAdminDeskIcon = [
  793. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  794. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  795. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  796. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  797. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  798. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  799. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  800. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  801. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  802. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  803. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  804. ];
  805. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  806. U.MD.D.I.szherTeacherDeskIcon = [
  807. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  808. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  809. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  810. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  811. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  812. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  813. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  814. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  816. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  817. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  818. ];
  819. //dsei
  820. U.MD.D.I.dseiTeacherDeskIcon = [
  821. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  822. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  823. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  824. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  825. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  826. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  827. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  828. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  829. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  830. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  831. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  832. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  833. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  834. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  835. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  836. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  837. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  838. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  839. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  840. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  841. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  842. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  843. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  844. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  845. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  846. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  847. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  848. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  849. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  850. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  851. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  852. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  853. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  854. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  855. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  856. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  857. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  858. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  859. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  860. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  861. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  862. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  863. ];
  864. //dsei
  865. U.MD.D.I.dseiAdminDeskIcon = [
  866. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  867. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  868. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  869. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  870. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  871. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  872. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  873. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  874. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  875. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  876. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  877. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  878. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  879. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  880. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  881. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  882. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  883. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  884. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  885. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  886. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  887. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  888. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  889. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  890. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  891. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  892. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  893. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  894. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  895. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  896. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  897. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  898. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  899. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  900. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  901. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  902. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  903. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  905. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  906. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  907. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  908. ];
  909. //dsei
  910. U.MD.D.I.dseiStudentDeskIcon = [
  911. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  912. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  913. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  914. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  915. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  916. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  917. ];
  918. //未來教育基地
  919. U.MD.D.I.szjkyTeacherDeskIcon = [
  920. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  921. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  922. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  923. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  924. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  925. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  926. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  927. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  928. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  929. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  930. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  931. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  932. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  933. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  934. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  935. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  936. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  937. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  938. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  939. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  940. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  941. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  942. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  943. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  944. ];
  945. //未來教育基地
  946. U.MD.D.I.szjkyAdminDeskIcon = [
  947. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  948. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  949. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  950. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  951. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  952. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  953. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  954. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  955. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  956. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  957. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  958. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  959. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  960. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  961. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  962. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  963. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  964. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  965. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  966. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  967. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  968. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  969. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  970. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  971. ];
  972. //未來教育基地
  973. U.MD.D.I.szjkyStudentDeskIcon = [
  974. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  975. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  976. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  977. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  978. ];
  979. //成華教育局
  980. U.MD.D.I.chjyjTeacherDeskIcon = [
  981. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  982. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  983. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  984. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  985. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  986. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  987. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  988. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  989. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  990. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  991. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  992. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  994. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  995. ];
  996. //成華教育局chjyj
  997. U.MD.D.I.chjyjAdminDeskIcon = [
  998. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  999. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1000. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1001. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1002. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1003. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1004. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1005. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1006. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1007. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1008. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1009. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1010. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1012. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1013. ];
  1014. //成華教育局chjyj
  1015. U.MD.D.I.chjyjStudentDeskIcon = [
  1016. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1017. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1018. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1019. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1020. ];
  1021. //tpc
  1022. U.MD.D.I.tpcStudentDeskIcon = [
  1023. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1024. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1025. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1026. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1027. ];
  1028. //tpc
  1029. U.MD.D.I.tpcTeacherDeskIcon = [
  1030. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1031. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1032. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1033. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1034. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1035. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1036. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1037. ];
  1038. //tpc
  1039. U.MD.D.I.tpcAdminDeskIcon = [
  1040. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1041. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1042. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1043. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1044. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1045. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1046. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1047. ];
  1048. //THU-IOE
  1049. U.MD.D.I.thuioeTeacherDeskIcon = [
  1050. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1051. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1052. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1053. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1054. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1055. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1056. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1057. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1058. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1059. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1060. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1061. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1062. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1063. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1064. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1065. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1066. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1067. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1068. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1069. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1070. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1071. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1072. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1073. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1074. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1075. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1076. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1077. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1078. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1079. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1080. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1081. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1082. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1083. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1084. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1085. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1086. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1087. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1088. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1089. ];
  1090. //THU-IOE
  1091. U.MD.D.I.thuioeStudentDeskIcon = [
  1092. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1093. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1094. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1095. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1096. ];
  1097. //jccssyl
  1098. U.MD.D.I.jccssylTeacherDeskIcon = [
  1099. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1100. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1101. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1102. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1103. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1104. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1105. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1106. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1107. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1108. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1109. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1110. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1111. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1112. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1113. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1114. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1115. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1116. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1117. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1118. ];
  1119. //jccssyl
  1120. U.MD.D.I.jccssylStudentDeskIcon = [
  1121. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1122. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1123. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1124. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1125. ];
  1126. //cale
  1127. U.MD.D.I.caleTeacherDeskIcon = [
  1128. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1129. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1130. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1131. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1132. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1133. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1134. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1135. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1136. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1137. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1138. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1139. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1140. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1141. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1142. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1143. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1144. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1145. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1146. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1147. ];
  1148. //cale
  1149. U.MD.D.I.caleStudentDeskIcon = [
  1150. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1151. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1152. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1153. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1154. ];
  1155. //lqwmsgzs
  1156. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1157. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1158. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1159. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1160. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1161. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1162. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1163. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1164. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1165. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1166. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1167. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1168. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1169. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1170. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1171. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1172. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1173. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1174. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1175. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1176. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1177. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1178. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1179. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1180. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1181. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1182. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1183. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1184. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1185. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1186. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1187. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1188. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1189. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1190. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1191. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1192. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1193. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1194. ];
  1195. //lqwmsgzs
  1196. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1197. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1198. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1199. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1200. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1201. ];
  1202. //鹽田區幼兒園
  1203. U.MD.D.I.ytyTeacherDeskIcon = [
  1204. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1205. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1206. { "Name": "課程評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1207. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1208. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1209. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1210. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1211. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1212. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1213. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1214. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1215. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1216. ];
  1217. //鹽田區幼兒園
  1218. U.MD.D.I.ytyStudentDeskIcon = [
  1219. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1220. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1221. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1222. ];
  1223. //scnuai
  1224. U.MD.D.I.scnuaiTeacherDeskIcon = [
  1225. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1226. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1227. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1228. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1229. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1230. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1231. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1232. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1233. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1234. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1235. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1236. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1237. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1238. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1239. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1240. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1241. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1242. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1243. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1244. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1245. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1246. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1247. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1248. ];
  1249. //scnuai
  1250. U.MD.D.I.scnuaiAdminDeskIcon = [
  1251. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1252. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1253. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1254. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1255. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1256. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1257. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1258. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1259. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1260. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1261. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1262. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1263. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1264. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1265. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1266. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1267. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1268. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1269. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1270. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1271. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1272. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1273. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1274. ];
  1275. //scnuai
  1276. U.MD.D.I.scnuaiStudentDeskIcon = [
  1277. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1278. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1279. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1280. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1281. ];
  1282. //cocobiz
  1283. U.MD.D.I.cocobizteacherDeskIcon = [
  1284. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1285. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1286. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1287. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1288. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1289. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1290. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1291. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1292. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1293. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1294. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1295. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1296. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1297. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1298. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1299. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1300. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1301. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1302. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1303. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1304. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1305. ];
  1306. //cocobiz
  1307. U.MD.D.I.cocobizStudentDeskIcon = [
  1308. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1309. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1310. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1311. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1312. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1313. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1314. ];
  1315. //xxzjky
  1316. U.MD.D.I.xxzjkyteacherDeskIcon = [
  1317. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1318. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1319. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1320. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1321. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1322. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1323. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1324. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1325. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1326. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1327. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1328. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1329. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1330. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1331. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1332. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1333. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1334. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1335. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1336. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1337. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1338. ];
  1339. //xxzjky
  1340. U.MD.D.I.xxzjkyStudentDeskIcon = [
  1341. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1342. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1343. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1344. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1345. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1346. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1347. ];
  1348. //nsfx
  1349. U.MD.D.I.nsfxTeacherDeskIcon = [
  1350. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1351. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1352. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1353. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1354. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1355. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1356. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1357. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1358. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1359. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1360. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1361. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1362. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1363. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1364. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1365. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1366. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1367. ];
  1368. //nsfx
  1369. U.MD.D.I.nsfxStudentDeskIcon = [
  1370. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1371. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1372. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1373. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1374. ];
  1375. //stia
  1376. U.MD.D.I.stiaTeacherDeskIcon = [
  1377. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1378. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1379. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1380. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1381. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1382. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1383. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1384. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1385. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1386. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1387. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1388. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1389. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1390. ];
  1391. //stia
  1392. U.MD.D.I.stiaStudentDeskIcon = [
  1393. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1394. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1395. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1396. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1397. ];
  1398. //szdjg
  1399. U.MD.D.I.szdjgTeacherDeskIcon = [
  1400. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1401. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1402. ];
  1403. //szdjg
  1404. U.MD.D.I.szdjgStudentDeskIcon = [
  1405. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1406. // { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1407. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1408. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1409. ];
  1410. //010607
  1411. U.MD.D.I.x010607TeacherDeskIcon = [
  1412. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1413. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1414. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1415. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1416. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1417. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1418. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1419. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1420. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1421. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1422. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1423. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1424. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1425. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1426. // { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1427. ];
  1428. //010607
  1429. U.MD.D.I.x010607StudentDeskIcon = [
  1430. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1431. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1432. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1433. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1434. ];
  1435. //010608
  1436. U.MD.D.I.x010608TeacherDeskIcon = [
  1437. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1438. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1439. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1440. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1441. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1442. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1444. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1445. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1446. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1447. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1448. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1449. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1450. // { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1451. ];
  1452. //010608
  1453. U.MD.D.I.x010608StudentDeskIcon = [
  1454. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1455. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1456. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1457. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1458. ];
  1459. //xhly
  1460. U.MD.D.I.xhlyTeacherDeskIcon = [
  1461. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1462. ];
  1463. //010608
  1464. U.MD.D.I.xhlyStudentDeskIcon = [
  1465. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1466. ];
  1467. //北師大
  1468. U.MD.D.I.BSDNSteacherDeskIcon = [
  1469. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1470. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1471. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1472. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1473. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1474. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1475. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1476. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1477. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1478. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1479. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1480. ];
  1481. //北師大
  1482. U.MD.D.I.BSDNSstudentDeskIcon = [
  1483. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1484. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1485. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1486. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1487. ];
  1488. //CUHK_EDU
  1489. U.MD.D.I.CUHKEDUTeacherDeskIcon = [
  1490. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1491. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1492. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1493. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1494. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1495. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1496. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1497. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1498. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1499. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1500. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1501. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1502. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1503. // { "Name": "知识建构", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1504. ];
  1505. //CUHK_EDU
  1506. U.MD.D.I.CUHKEDUStudentDeskIcon = [
  1507. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1508. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1509. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1510. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1511. ];
  1512. //#region 桌面初始化a
  1513. /**
  1514. * 初始化桌面的起始函數
  1515. *
  1516. */
  1517. U.MD.D.I.init = function () {
  1518. if ($("#U_MD_D_K")[0]) {
  1519. //初始化桌面圖標
  1520. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1521. // var clickUrl = ':12588/requestIp.php';
  1522. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1523. // U.MD.D.I.Ip = data;
  1524. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1525. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1526. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1527. // })
  1528. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1529. // })
  1530. }
  1531. }
  1532. /**
  1533. * 模式切換
  1534. *
  1535. */
  1536. U.MD.D.I.ModeCheck = function (type) {
  1537. if (US.Config.type == type) {
  1538. return
  1539. }
  1540. US.Config.type = type
  1541. $('.U_PBL_Check .active')[0].className = ''
  1542. if (type == 1) {
  1543. $('.U_PBL_Check div')[0].className = 'active'
  1544. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1545. } else {
  1546. $('.U_PBL_Check div')[1].className = 'active'
  1547. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1548. }
  1549. //初始化桌面圖標
  1550. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1551. if (type == 2) {
  1552. U.MD.D.I.openApplication("project")
  1553. }
  1554. }
  1555. /**
  1556. * 隱藏任務欄
  1557. *
  1558. * @param {element} 桌面元素
  1559. */
  1560. U.MD.D.I.hiddenTaskbar = function (el) {
  1561. //任務欄位置變小
  1562. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1563. //桌面的位置變大
  1564. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1565. }
  1566. /**
  1567. * 隱藏任務欄
  1568. *
  1569. * @param {element} 桌面元素
  1570. */
  1571. U.MD.D.I.hiddenTaskbarout = function (el) {
  1572. //任務欄位置變小
  1573. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1574. //任務欄位置變化
  1575. U.selectEl(el).css({ "bottom": "-60px" });
  1576. //桌面的位置變大
  1577. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1578. }
  1579. }
  1580. /**
  1581. * 初始化打印桌面圖標
  1582. *
  1583. * @param {element} 桌面元素
  1584. */
  1585. U.MD.D.I.initDesktopIcons = function (el, type) {
  1586. var i, //用於循環
  1587. _content, //桌面圖標元素
  1588. _iconcontent, //桌面圖標元素
  1589. _frag = $$("frag"), //定義一個碎片元素
  1590. _type = US.userInfo.type,
  1591. _org = US.userInfo.org,
  1592. _oid = US.userInfo.organizeid,
  1593. _role = US.userInfo.role,
  1594. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1595. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1596. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1597. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1598. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1599. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1600. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1601. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1602. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1603. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1604. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1605. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大.
  1606. _BSDNSstudentDesktopIconInfo = U.MD.D.I.BSDNSstudentDeskIcon, //獲取北師大.
  1607. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1608. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1609. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1610. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1611. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1612. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1613. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1614. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1615. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1616. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1617. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1618. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1619. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1620. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1621. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1622. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1623. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1624. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1625. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1626. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1627. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1628. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1629. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1630. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1631. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1632. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1633. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1634. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1635. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1636. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1637. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1638. _guzmsTeacherDeskIconInfo = U.MD.D.I.guzmsteacherDeskIcon, //guzms
  1639. _guzmsStudentDeskIconInfo = U.MD.D.I.guzmsStudentDeskIcon, //guzms
  1640. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1641. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1642. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1643. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1644. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1645. _cocobizTeacherDeskIconInfo = U.MD.D.I.cocobizteacherDeskIcon, //cocobiz
  1646. _cocobizStudentDeskIconInfo = U.MD.D.I.cocobizStudentDeskIcon, //cocobiz
  1647. _xxzjkyTeacherDeskIconInfo = U.MD.D.I.xxzjkyteacherDeskIcon, //xxzjky
  1648. _xxzjkyStudentDeskIconInfo = U.MD.D.I.xxzjkyStudentDeskIcon, //xxzjky
  1649. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1650. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1651. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1652. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1653. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1654. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1655. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1656. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1657. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1658. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1659. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1660. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1661. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1662. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1663. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 鹽田幼兒園
  1664. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 鹽田幼兒園
  1665. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
  1666. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
  1667. _nsfxStudentDeskIconInfo = U.MD.D.I.nsfxStudentDeskIcon, //nsfx
  1668. _nsfxTeacherDeskIconInfo = U.MD.D.I.nsfxTeacherDeskIcon, //nsfx
  1669. _stiaStudentDeskIconInfo = U.MD.D.I.stiaStudentDeskIcon, //stia
  1670. _stiaTeacherDeskIconInfo = U.MD.D.I.stiaTeacherDeskIcon, //stia
  1671. _szdjgStudentDeskIconInfo = U.MD.D.I.szdjgStudentDeskIcon, //szdjg
  1672. _szdjgTeacherDeskIconInfo = U.MD.D.I.szdjgTeacherDeskIcon, //szdjg
  1673. _x010607StudentDeskIconInfo = U.MD.D.I.x010607StudentDeskIcon, //010607
  1674. _x010607TeacherDeskIconInfo = U.MD.D.I.x010607TeacherDeskIcon, //010607
  1675. _x010608StudentDeskIconInfo = U.MD.D.I.x010608StudentDeskIcon, //010608
  1676. _x010608TeacherDeskIconInfo = U.MD.D.I.x010608TeacherDeskIcon, //010608
  1677. _xhlyStudentDeskIconInfo = U.MD.D.I.xhlyStudentDeskIcon, //xhly
  1678. _xhlyTeacherDeskIconInfo = U.MD.D.I.xhlyTeacherDeskIcon, //xhly
  1679. _CUHKEDUStudentDeskIconInfo = U.MD.D.I.CUHKEDUStudentDeskIcon, //CUHK_EDU
  1680. _CUHKEDUTeacherDeskIconInfo = U.MD.D.I.CUHKEDUTeacherDeskIcon, //CUHK_EDU
  1681. _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未来教育基地
  1682. _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
  1683. _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
  1684. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
  1685. 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','c7df0bd4-6e75-401a-a137-4e163aa62263','8a352da2-56e1-11ef-b873-005056b86db5','9b46a3c9-7657-11ef-9b30-005056b86db5','857af1c7-c8ee-4b04-85b5-fd182903adb7'];
  1686. 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','884c5665-a453-46f3-b7b6-01d575290aa9','c9a6de59-8b4f-4be1-8565-a08081f649d3','7f280060-665e-4868-b68f-1eec9e1b4a07','f3b243b2-75e2-4b00-8f66-7644946a2a25','16ace517-b5c7-4168-a9bb-a9e0035df840','2fe1a080-4425-4620-b7a0-be2f3750ffd4','a5efd078-20f6-4185-bef9-6d1c688bee70','23bbe712-e35a-4888-9b4e-8d9e5a4fa2f6'];
  1687. //清楚桌面图标
  1688. el.innerHTML = "";
  1689. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1690. _teacherDesktopIconInfo.push(
  1691. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1692. { "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)" } },
  1693. )
  1694. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1695. }
  1696. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == '0fec3a8a-ad04-11ed-b13d-005056b86db5') {
  1697. _teacherDesktopIconInfo.push(
  1698. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1699. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1700. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1701. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1702. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1703. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1704. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1705. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1706. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1707. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1708. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1709. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1710. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1711. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1712. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1713. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1714. )
  1715. }
  1716. if (_oid == '5f6c97eb-4778-11ed-8c78-005056b86db5') {//松坪學校
  1717. _teacherDesktopIconInfo.push(
  1718. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1719. )
  1720. }
  1721. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1722. // _teacherDesktopIconInfo.push(
  1723. // )
  1724. // }
  1725. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1726. _teacherDesktopIconInfo.push(
  1727. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1728. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1729. )
  1730. }
  1731. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1732. _teacherDesktopIconInfo.push(
  1733. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1734. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1735. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1736. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1737. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1738. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1739. )
  1740. _studentDesktopIconInfo.push(
  1741. )
  1742. }
  1743. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1744. _teacherDesktopIconInfo.push(
  1745. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1746. )
  1747. _studentDesktopIconInfo.push(
  1748. )
  1749. }
  1750. //010606 組織
  1751. if (_oid == 'f297fbdc-f0a0-11ee-b534-005056b86db5') {
  1752. _teacherDesktopIconInfo.push(
  1753. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1754. )
  1755. _studentDesktopIconInfo.push(
  1756. )
  1757. }
  1758. //麒麟二中 和 民新小學
  1759. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1760. _teacherDesktopIconInfo.push(
  1761. )
  1762. }
  1763. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1764. _teacherDesktopIconInfo.push(
  1765. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1766. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1767. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1768. )
  1769. }
  1770. //北師大附中(010601)
  1771. // if(_oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7"){
  1772. // _teacherDesktopIconInfo.push(
  1773. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1774. // )
  1775. // _studentDesktopIconInfo.push(
  1776. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1777. // )
  1778. // }
  1779. //樂善堂余近卿中學
  1780. if(_oid == "8d074a02-6057-11ef-b873-005056b86db5"){
  1781. _teacherDesktopIconInfo.push(
  1782. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1783. )
  1784. }
  1785. // Education Artificial Intelligence
  1786. if(_org == "0f4359aa-1065-423f-afcc-a70cc21ea9d0"){
  1787. _teacherDesktopIconInfo.push(
  1788. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1789. )
  1790. }
  1791. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1792. _teacherDesktopIconInfo.push(
  1793. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1794. )
  1795. }
  1796. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1797. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1798. _teacherDesktopIconInfo.push(
  1799. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1800. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1801. )
  1802. }
  1803. //麒麟二中
  1804. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1805. _studentDesktopIconInfo.push(
  1806. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1807. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1808. )
  1809. }
  1810. //萬科雙語
  1811. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1812. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1813. if (el.Name == '項目管理') {
  1814. el.Name = 'PBL項目'
  1815. }
  1816. return el
  1817. })
  1818. _studentDesktopIconInfo3.push(
  1819. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1820. )
  1821. }
  1822. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1823. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1824. return el.Name != '魔盒識字' && el.Name != '24點'
  1825. })
  1826. }
  1827. 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) {
  1828. _studentDesktopIconInfo.push(
  1829. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1830. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1831. )
  1832. }
  1833. //循環創建桌面圖標
  1834. if (type == 1) {
  1835. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1836. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1837. _content = $$("div", {
  1838. className: "U_MD_D_KO",
  1839. "onmousedown": U.UF.C.closure(function (obj) {
  1840. //防止拖動圖標即打開了桌面應用
  1841. U.MD.D.click(this, obj);
  1842. }, [_studentDesktopIconInfo[i]]),
  1843. "onclick": U.UF.C.closure(function (obj) {
  1844. //防止拖動圖標即打開了桌面應用
  1845. U.MD.D.click(this, obj);
  1846. }, [_studentDesktopIconInfo[i]])
  1847. }, _frag); //
  1848. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1849. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1850. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1851. }
  1852. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1853. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1854. _content = $$("div", {
  1855. className: "U_MD_D_KO",
  1856. "onmousedown": U.UF.C.closure(function (obj) {
  1857. //防止拖動圖標即打開了桌面應用
  1858. U.MD.D.click(this, obj);
  1859. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1860. "onclick": U.UF.C.closure(function (obj) {
  1861. //防止拖動圖標即打開了桌面應用
  1862. U.MD.D.click(this, obj);
  1863. }, [_hkZJLSStudentDeskIconInfo[i]])
  1864. }, _frag); //
  1865. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1866. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1867. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1868. } //
  1869. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1870. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1871. _content = $$("div", {
  1872. className: "U_MD_D_KO",
  1873. "onmousedown": U.UF.C.closure(function (obj) {
  1874. //防止拖動圖標即打開了桌面應用
  1875. U.MD.D.click(this, obj);
  1876. }, [_ytyStudentDeskIconInfo[i]]),
  1877. "onclick": U.UF.C.closure(function (obj) {
  1878. //防止拖動圖標即打開了桌面應用
  1879. U.MD.D.click(this, obj);
  1880. }, [_ytyStudentDeskIconInfo[i]])
  1881. }, _frag); //
  1882. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1883. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1884. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1885. } //
  1886. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1887. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1888. _content = $$("div", {
  1889. className: "U_MD_D_KO",
  1890. "onmousedown": U.UF.C.closure(function (obj) {
  1891. //防止拖動圖標即打開了桌面應用
  1892. U.MD.D.click(this, obj);
  1893. }, [_jccssylStudentDeskIconInfo[i]]),
  1894. "onclick": U.UF.C.closure(function (obj) {
  1895. //防止拖動圖標即打開了桌面應用
  1896. U.MD.D.click(this, obj);
  1897. }, [_jccssylStudentDeskIconInfo[i]])
  1898. }, _frag); //
  1899. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1900. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1901. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1902. }
  1903. } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
  1904. for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
  1905. _content = $$("div", {
  1906. className: "U_MD_D_KO",
  1907. "onmousedown": U.UF.C.closure(function (obj) {
  1908. //防止拖動圖標即打開了桌面應用
  1909. U.MD.D.click(this, obj);
  1910. }, [_scnuaiStudentDeskIconInfo[i]]),
  1911. "onclick": U.UF.C.closure(function (obj) {
  1912. //防止拖動圖標即打開了桌面應用
  1913. U.MD.D.click(this, obj);
  1914. }, [_scnuaiStudentDeskIconInfo[i]])
  1915. }, _frag); //
  1916. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1917. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
  1918. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
  1919. }
  1920. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1921. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1922. _content = $$("div", {
  1923. className: "U_MD_D_KO",
  1924. "onmousedown": U.UF.C.closure(function (obj) {
  1925. //防止拖動圖標即打開了桌面應用
  1926. U.MD.D.click(this, obj);
  1927. }, [_caleStudentDeskIconInfo[i]]),
  1928. "onclick": U.UF.C.closure(function (obj) {
  1929. //防止拖動圖標即打開了桌面應用
  1930. U.MD.D.click(this, obj);
  1931. }, [_caleStudentDeskIconInfo[i]])
  1932. }, _frag); //
  1933. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1934. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1935. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1936. }
  1937. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1938. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1939. _content = $$("div", {
  1940. className: "U_MD_D_KO",
  1941. "onmousedown": U.UF.C.closure(function (obj) {
  1942. //防止拖動圖標即打開了桌面應用
  1943. U.MD.D.click(this, obj);
  1944. }, [_thuioeStudentDeskIconInfo[i]]),
  1945. "onclick": U.UF.C.closure(function (obj) {
  1946. //防止拖動圖標即打開了桌面應用
  1947. U.MD.D.click(this, obj);
  1948. }, [_thuioeStudentDeskIconInfo[i]])
  1949. }, _frag); //
  1950. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1951. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1952. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1953. }
  1954. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1955. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1956. _content = $$("div", {
  1957. className: "U_MD_D_KO",
  1958. "onmousedown": U.UF.C.closure(function (obj) {
  1959. //防止拖動圖標即打開了桌面應用
  1960. U.MD.D.click(this, obj);
  1961. }, [_tpcStudentDeskIconInfo[i]]),
  1962. "onclick": U.UF.C.closure(function (obj) {
  1963. //防止拖動圖標即打開了桌面應用
  1964. U.MD.D.click(this, obj);
  1965. }, [_tpcStudentDeskIconInfo[i]])
  1966. }, _frag); //
  1967. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1968. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1969. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1970. } //
  1971. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1972. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1973. _content = $$("div", {
  1974. className: "U_MD_D_KO",
  1975. "onmousedown": U.UF.C.closure(function (obj) {
  1976. //防止拖動圖標即打開了桌面應用
  1977. U.MD.D.click(this, obj);
  1978. }, [_chjyjStudentDeskIconInfo[i]]),
  1979. "onclick": U.UF.C.closure(function (obj) {
  1980. //防止拖動圖標即打開了桌面應用
  1981. U.MD.D.click(this, obj);
  1982. }, [_chjyjStudentDeskIconInfo[i]])
  1983. }, _frag); //
  1984. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1985. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1986. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1987. }
  1988. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1989. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1990. _content = $$("div", {
  1991. className: "U_MD_D_KO",
  1992. "onmousedown": U.UF.C.closure(function (obj) {
  1993. //防止拖動圖標即打開了桌面應用
  1994. U.MD.D.click(this, obj);
  1995. }, [_szjkyStudentDeskIconInfo[i]]),
  1996. "onclick": U.UF.C.closure(function (obj) {
  1997. //防止拖動圖標即打開了桌面應用
  1998. U.MD.D.click(this, obj);
  1999. }, [_szjkyStudentDeskIconInfo[i]])
  2000. }, _frag); //
  2001. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2002. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  2003. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  2004. }
  2005. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  2006. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  2007. _content = $$("div", {
  2008. className: "U_MD_D_KO",
  2009. "onmousedown": U.UF.C.closure(function (obj) {
  2010. //防止拖動圖標即打開了桌面應用
  2011. U.MD.D.click(this, obj);
  2012. }, [_dseiStudentDeskIconInfo[i]]),
  2013. "onclick": U.UF.C.closure(function (obj) {
  2014. //防止拖動圖標即打開了桌面應用
  2015. U.MD.D.click(this, obj);
  2016. }, [_dseiStudentDeskIconInfo[i]])
  2017. }, _frag); //
  2018. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2019. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  2020. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  2021. }
  2022. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2023. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  2024. _content = $$("div", {
  2025. className: "U_MD_D_KO",
  2026. "onmousedown": U.UF.C.closure(function (obj) {
  2027. //防止拖動圖標即打開了桌面應用
  2028. U.MD.D.click(this, obj);
  2029. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  2030. "onclick": U.UF.C.closure(function (obj) {
  2031. //防止拖動圖標即打開了桌面應用
  2032. U.MD.D.click(this, obj);
  2033. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  2034. }, _frag); //
  2035. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2036. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  2037. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  2038. }
  2039. } else if (_type == 2 && (_oid == "8a352da2-56e1-11ef-b873-005056b86db5")) {
  2040. for (i = 0; i < _nsfxStudentDeskIconInfo.length; i++) {
  2041. _content = $$("div", {
  2042. className: "U_MD_D_KO",
  2043. "onmousedown": U.UF.C.closure(function (obj) {
  2044. //防止拖動圖標即打開了桌面應用
  2045. U.MD.D.click(this, obj);
  2046. }, [_nsfxStudentDeskIconInfo[i]]),
  2047. "onclick": U.UF.C.closure(function (obj) {
  2048. //防止拖動圖標即打開了桌面應用
  2049. U.MD.D.click(this, obj);
  2050. }, [_nsfxStudentDeskIconInfo[i]])
  2051. }, _frag); //
  2052. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2053. $$("div", { className: "U_MD_D_KOS U_Img", "style": _nsfxStudentDeskIconInfo[i].style }, _iconcontent);
  2054. $$("div", { className: "U_MD_D_KOX", "innerHTML": _nsfxStudentDeskIconInfo[i].Name }, _iconcontent);
  2055. }
  2056. } else if (_type == 2 && (_org == "f3b243b2-75e2-4b00-8f66-7644946a2a25")) {
  2057. for (i = 0; i < _stiaStudentDeskIconInfo.length; i++) {
  2058. _content = $$("div", {
  2059. className: "U_MD_D_KO",
  2060. "onmousedown": U.UF.C.closure(function (obj) {
  2061. //防止拖動圖標即打開了桌面應用
  2062. U.MD.D.click(this, obj);
  2063. }, [_stiaStudentDeskIconInfo[i]]),
  2064. "onclick": U.UF.C.closure(function (obj) {
  2065. //防止拖動圖標即打開了桌面應用
  2066. U.MD.D.click(this, obj);
  2067. }, [_stiaStudentDeskIconInfo[i]])
  2068. }, _frag); //
  2069. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2070. $$("div", { className: "U_MD_D_KOS U_Img", "style": _stiaStudentDeskIconInfo[i].style }, _iconcontent);
  2071. $$("div", { className: "U_MD_D_KOX", "innerHTML": _stiaStudentDeskIconInfo[i].Name }, _iconcontent);
  2072. }
  2073. } else if (_type == 2 && (_org == "16ace517-b5c7-4168-a9bb-a9e0035df840")) {
  2074. for (i = 0; i < _szdjgStudentDeskIconInfo.length; i++) {
  2075. _content = $$("div", {
  2076. className: "U_MD_D_KO",
  2077. "onmousedown": U.UF.C.closure(function (obj) {
  2078. //防止拖動圖標即打開了桌面應用
  2079. U.MD.D.click(this, obj);
  2080. }, [_szdjgStudentDeskIconInfo[i]]),
  2081. "onclick": U.UF.C.closure(function (obj) {
  2082. //防止拖動圖標即打開了桌面應用
  2083. U.MD.D.click(this, obj);
  2084. }, [_szdjgStudentDeskIconInfo[i]])
  2085. }, _frag); //
  2086. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2087. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szdjgStudentDeskIconInfo[i].style }, _iconcontent);
  2088. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szdjgStudentDeskIconInfo[i].Name }, _iconcontent);
  2089. }
  2090. } else if (_type == 2 && (_org == "2fe1a080-4425-4620-b7a0-be2f3750ffd4")) {
  2091. for (i = 0; i < _x010607StudentDeskIconInfo.length; i++) {
  2092. _content = $$("div", {
  2093. className: "U_MD_D_KO",
  2094. "onmousedown": U.UF.C.closure(function (obj) {
  2095. //防止拖動圖標即打開了桌面應用
  2096. U.MD.D.click(this, obj);
  2097. }, [_x010607StudentDeskIconInfo[i]]),
  2098. "onclick": U.UF.C.closure(function (obj) {
  2099. //防止拖動圖標即打開了桌面應用
  2100. U.MD.D.click(this, obj);
  2101. }, [_x010607StudentDeskIconInfo[i]])
  2102. }, _frag); //
  2103. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2104. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010607StudentDeskIconInfo[i].style }, _iconcontent);
  2105. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010607StudentDeskIconInfo[i].Name }, _iconcontent);
  2106. }
  2107. } else if (_type == 2 && (_org == "a5efd078-20f6-4185-bef9-6d1c688bee70")) {
  2108. for (i = 0; i < _xhlyStudentDeskIconInfo.length; i++) {
  2109. _content = $$("div", {
  2110. className: "U_MD_D_KO",
  2111. "onmousedown": U.UF.C.closure(function (obj) {
  2112. //防止拖動圖標即打開了桌面應用
  2113. U.MD.D.click(this, obj);
  2114. }, [_xhlyStudentDeskIconInfo[i]]),
  2115. "onclick": U.UF.C.closure(function (obj) {
  2116. //防止拖動圖標即打開了桌面應用
  2117. U.MD.D.click(this, obj);
  2118. }, [_xhlyStudentDeskIconInfo[i]])
  2119. }, _frag); //
  2120. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2121. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xhlyStudentDeskIconInfo[i].style }, _iconcontent);
  2122. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xhlyStudentDeskIconInfo[i].Name }, _iconcontent);
  2123. }
  2124. } else if (_type == 2 && (_org == "23bbe712-e35a-4888-9b4e-8d9e5a4fa2f6")) {
  2125. for (i = 0; i < _CUHKEDUStudentDeskIconInfo.length; i++) {
  2126. _content = $$("div", {
  2127. className: "U_MD_D_KO",
  2128. "onmousedown": U.UF.C.closure(function (obj) {
  2129. //防止拖动图标即打开了桌面应用
  2130. U.MD.D.click(this, obj);
  2131. }, [_CUHKEDUStudentDeskIconInfo[i]]),
  2132. "onclick": U.UF.C.closure(function (obj) {
  2133. //防止拖动图标即打开了桌面应用
  2134. U.MD.D.click(this, obj);
  2135. }, [_CUHKEDUStudentDeskIconInfo[i]])
  2136. }, _frag); //
  2137. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2138. $$("div", { className: "U_MD_D_KOS U_Img", "style": _CUHKEDUStudentDeskIconInfo[i].style }, _iconcontent);
  2139. $$("div", { className: "U_MD_D_KOX", "innerHTML": _CUHKEDUStudentDeskIconInfo[i].Name }, _iconcontent);
  2140. }
  2141. } else if (_type == 2 && (_oid == "9b46a3c9-7657-11ef-9b30-005056b86db5")) {
  2142. for (i = 0; i < _x010608StudentDeskIconInfo.length; i++) {
  2143. _content = $$("div", {
  2144. className: "U_MD_D_KO",
  2145. "onmousedown": U.UF.C.closure(function (obj) {
  2146. //防止拖動圖標即打開了桌面應用
  2147. U.MD.D.click(this, obj);
  2148. }, [_x010608StudentDeskIconInfo[i]]),
  2149. "onclick": U.UF.C.closure(function (obj) {
  2150. //防止拖動圖標即打開了桌面應用
  2151. U.MD.D.click(this, obj);
  2152. }, [_x010608StudentDeskIconInfo[i]])
  2153. }, _frag); //
  2154. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2155. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010608StudentDeskIconInfo[i].style }, _iconcontent);
  2156. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010608StudentDeskIconInfo[i].Name }, _iconcontent);
  2157. }
  2158. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2159. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  2160. _content = $$("div", {
  2161. className: "U_MD_D_KO",
  2162. "onmousedown": U.UF.C.closure(function (obj) {
  2163. //防止拖動圖標即打開了桌面應用
  2164. U.MD.D.click(this, obj);
  2165. }, [_siesStudentDeskIconInfo[i]]),
  2166. "onclick": U.UF.C.closure(function (obj) {
  2167. //防止拖動圖標即打開了桌面應用
  2168. U.MD.D.click(this, obj);
  2169. }, [_siesStudentDeskIconInfo[i]])
  2170. }, _frag); //
  2171. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2172. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  2173. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  2174. }
  2175. } else if (_type == 2 && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  2176. for (i = 0; i < _guzmsStudentDeskIconInfo.length; i++) {
  2177. _content = $$("div", {
  2178. className: "U_MD_D_KO",
  2179. "onmousedown": U.UF.C.closure(function (obj) {
  2180. //防止拖動圖標即打開了桌面應用
  2181. U.MD.D.click(this, obj);
  2182. }, [_guzmsStudentDeskIconInfo[i]]),
  2183. "onclick": U.UF.C.closure(function (obj) {
  2184. //防止拖動圖標即打開了桌面應用
  2185. U.MD.D.click(this, obj);
  2186. }, [_guzmsStudentDeskIconInfo[i]])
  2187. }, _frag); //
  2188. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2189. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsStudentDeskIconInfo[i].style }, _iconcontent);
  2190. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsStudentDeskIconInfo[i].Name }, _iconcontent);
  2191. }
  2192. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2193. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  2194. _content = $$("div", {
  2195. className: "U_MD_D_KO",
  2196. "onmousedown": U.UF.C.closure(function (obj) {
  2197. //防止拖動圖標即打開了桌面應用
  2198. U.MD.D.click(this, obj);
  2199. }, [_hkStudentDeskIconInfo[i]]),
  2200. "onclick": U.UF.C.closure(function (obj) {
  2201. //防止拖動圖標即打開了桌面應用
  2202. U.MD.D.click(this, obj);
  2203. }, [_hkStudentDeskIconInfo[i]])
  2204. }, _frag); //
  2205. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2206. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  2207. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  2208. }
  2209. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2210. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  2211. _content = $$("div", {
  2212. className: "U_MD_D_KO",
  2213. "onmousedown": U.UF.C.closure(function (obj) {
  2214. //防止拖動圖標即打開了桌面應用
  2215. U.MD.D.click(this, obj);
  2216. }, [_hkaceStudentDeskIconInfo[i]]),
  2217. "onclick": U.UF.C.closure(function (obj) {
  2218. //防止拖動圖標即打開了桌面應用
  2219. U.MD.D.click(this, obj);
  2220. }, [_hkaceStudentDeskIconInfo[i]])
  2221. }, _frag); //
  2222. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2223. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  2224. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  2225. }
  2226. } else if (_type == 2 && (_oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7")) {
  2227. for (i = 0; i < _BSDNSstudentDesktopIconInfo.length; i++) {
  2228. _content = $$("div", {
  2229. className: "U_MD_D_KO",
  2230. "onmousedown": U.UF.C.closure(function (obj) {
  2231. //防止拖動圖標即打開了桌面應用
  2232. U.MD.D.click(this, obj);
  2233. }, [_BSDNSstudentDesktopIconInfo[i]]),
  2234. "onclick": U.UF.C.closure(function (obj) {
  2235. //防止拖動圖標即打開了桌面應用
  2236. U.MD.D.click(this, obj);
  2237. }, [_BSDNSstudentDesktopIconInfo[i]])
  2238. }, _frag); //
  2239. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2240. $$("div", { className: "U_MD_D_KOS U_Img", "style": _BSDNSstudentDesktopIconInfo[i].style }, _iconcontent);
  2241. $$("div", { className: "U_MD_D_KOX", "innerHTML": _BSDNSstudentDesktopIconInfo[i].Name }, _iconcontent);
  2242. }
  2243. } else if (_type == 2 && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  2244. for (i = 0; i < _cocobizStudentDeskIconInfo.length; i++) {
  2245. _content = $$("div", {
  2246. className: "U_MD_D_KO",
  2247. "onmousedown": U.UF.C.closure(function (obj) {
  2248. //防止拖動圖標即打開了桌面應用
  2249. U.MD.D.click(this, obj);
  2250. }, [_cocobizStudentDeskIconInfo[i]]),
  2251. "onclick": U.UF.C.closure(function (obj) {
  2252. //防止拖動圖標即打開了桌面應用
  2253. U.MD.D.click(this, obj);
  2254. }, [_cocobizStudentDeskIconInfo[i]])
  2255. }, _frag); //
  2256. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizStudentDeskIconInfo[i].style }, _iconcontent);
  2258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizStudentDeskIconInfo[i].Name }, _iconcontent);
  2259. }
  2260. } else if (_type == 2 && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  2261. for (i = 0; i < _xxzjkyStudentDeskIconInfo.length; i++) {
  2262. _content = $$("div", {
  2263. className: "U_MD_D_KO",
  2264. "onmousedown": U.UF.C.closure(function (obj) {
  2265. //防止拖動圖標即打開了桌面應用
  2266. U.MD.D.click(this, obj);
  2267. }, [_xxzjkyStudentDeskIconInfo[i]]),
  2268. "onclick": U.UF.C.closure(function (obj) {
  2269. //防止拖動圖標即打開了桌面應用
  2270. U.MD.D.click(this, obj);
  2271. }, [_xxzjkyStudentDeskIconInfo[i]])
  2272. }, _frag); //
  2273. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2274. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyStudentDeskIconInfo[i].style }, _iconcontent);
  2275. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  2276. }
  2277. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  2278. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  2279. _content = $$("div", {
  2280. className: "U_MD_D_KO",
  2281. "onmousedown": U.UF.C.closure(function (obj) {
  2282. //防止拖動圖標即打開了桌面應用
  2283. U.MD.D.click(this, obj);
  2284. }, [_studentDesktopIconInfo[i]]),
  2285. "onclick": U.UF.C.closure(function (obj) {
  2286. //防止拖動圖標即打開了桌面應用
  2287. U.MD.D.click(this, obj);
  2288. }, [_studentDesktopIconInfo[i]])
  2289. }, _frag); //
  2290. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2291. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  2292. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  2293. }
  2294. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  2295. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  2296. _content = $$("div", {
  2297. className: "U_MD_D_KO",
  2298. "onmousedown": U.UF.C.closure(function (obj) {
  2299. //防止拖動圖標即打開了桌面應用
  2300. U.MD.D.click(this, obj);
  2301. }, [_tcStudentDeskIconInfo[i]]),
  2302. "onclick": U.UF.C.closure(function (obj) {
  2303. //防止拖動圖標即打開了桌面應用
  2304. U.MD.D.click(this, obj);
  2305. }, [_tcStudentDeskIconInfo[i]])
  2306. }, _frag); //
  2307. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2308. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  2309. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  2310. }
  2311. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  2312. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  2313. _content = $$("div", {
  2314. className: "U_MD_D_KO",
  2315. "onmousedown": U.UF.C.closure(function (obj) {
  2316. //防止拖動圖標即打開了桌面應用
  2317. U.MD.D.click(this, obj);
  2318. }, [_szscStudentDeskIconInfo[i]]),
  2319. "onclick": U.UF.C.closure(function (obj) {
  2320. //防止拖動圖標即打開了桌面應用
  2321. U.MD.D.click(this, obj);
  2322. }, [_szscStudentDeskIconInfo[i]])
  2323. }, _frag); //
  2324. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2325. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  2326. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  2327. }
  2328. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  2329. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  2330. _content = $$("div", {
  2331. className: "U_MD_D_KO",
  2332. "onmousedown": U.UF.C.closure(function (obj) {
  2333. //防止拖動圖標即打開了桌面應用
  2334. U.MD.D.click(this, obj);
  2335. }, [_studentDesktopIconInfo3[i]]),
  2336. "onclick": U.UF.C.closure(function (obj) {
  2337. //防止拖動圖標即打開了桌面應用
  2338. U.MD.D.click(this, obj);
  2339. }, [_studentDesktopIconInfo3[i]])
  2340. }, _frag); //
  2341. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2342. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  2343. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  2344. }
  2345. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  2346. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  2347. _content = $$("div", {
  2348. className: "U_MD_D_KO",
  2349. "onmousedown": U.UF.C.closure(function (obj) {
  2350. //防止拖動圖標即打開了桌面應用
  2351. U.MD.D.click(this, obj);
  2352. }, [_studentDesktopIconInfo2[i]]),
  2353. "onclick": U.UF.C.closure(function (obj) {
  2354. //防止拖動圖標即打開了桌面應用
  2355. U.MD.D.click(this, obj);
  2356. }, [_studentDesktopIconInfo2[i]])
  2357. }, _frag); //
  2358. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2359. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  2360. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  2361. }
  2362. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  2363. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  2364. if(_role === 0 && _wanketeacherDesktopIconInfo[i].Url == 'testTeacher'){
  2365. continue
  2366. }
  2367. _content = $$("div", {
  2368. className: "U_MD_D_KO",
  2369. "onmousedown": U.UF.C.closure(function (obj) {
  2370. //防止拖動圖標即打開了桌面應用
  2371. U.MD.D.click(this, obj);
  2372. }, [_wanketeacherDesktopIconInfo[i]]),
  2373. "onclick": U.UF.C.closure(function (obj) {
  2374. //防止拖動圖標即打開了桌面應用
  2375. U.MD.D.click(this, obj);
  2376. }, [_wanketeacherDesktopIconInfo[i]])
  2377. }, _frag); //
  2378. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2379. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  2380. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  2381. }
  2382. }else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  2383. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  2384. _content = $$("div", {
  2385. className: "U_MD_D_KO",
  2386. "onmousedown": U.UF.C.closure(function (obj) {
  2387. //防止拖動圖標即打開了桌面應用
  2388. U.MD.D.click(this, obj);
  2389. }, [_wankeAdminDesktopIconInfo[i]]),
  2390. "onclick": U.UF.C.closure(function (obj) {
  2391. //防止拖動圖標即打開了桌面應用
  2392. U.MD.D.click(this, obj);
  2393. }, [_wankeAdminDesktopIconInfo[i]])
  2394. }, _frag); //
  2395. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2396. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  2397. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  2398. }
  2399. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
  2400. for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
  2401. if(_role === 0 && _scnuaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2402. continue
  2403. }
  2404. _content = $$("div", {
  2405. className: "U_MD_D_KO",
  2406. "onmousedown": U.UF.C.closure(function (obj) {
  2407. //防止拖動圖標即打開了桌面應用
  2408. U.MD.D.click(this, obj);
  2409. }, [_scnuaiTeacherDeskIconInfo[i]]),
  2410. "onclick": U.UF.C.closure(function (obj) {
  2411. //防止拖動圖標即打開了桌面應用
  2412. U.MD.D.click(this, obj);
  2413. }, [_scnuaiTeacherDeskIconInfo[i]])
  2414. }, _frag); //
  2415. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2416. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2417. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2418. }
  2419. } else if ((_type == 1 || _type == 4) && _oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7") {
  2420. for (i = 0; i < _BSDNSteacherDesktopIconInfo.length; i++) {
  2421. if(_role === 0 && _BSDNSteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2422. continue
  2423. }
  2424. _content = $$("div", {
  2425. className: "U_MD_D_KO",
  2426. "onmousedown": U.UF.C.closure(function (obj) {
  2427. //防止拖動圖標即打開了桌面應用
  2428. U.MD.D.click(this, obj);
  2429. }, [_BSDNSteacherDesktopIconInfo[i]]),
  2430. "onclick": U.UF.C.closure(function (obj) {
  2431. //防止拖動圖標即打開了桌面應用
  2432. U.MD.D.click(this, obj);
  2433. }, [_BSDNSteacherDesktopIconInfo[i]])
  2434. }, _frag); //
  2435. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2436. $$("div", { className: "U_MD_D_KOS U_Img", "style": _BSDNSteacherDesktopIconInfo[i].style }, _iconcontent);
  2437. $$("div", { className: "U_MD_D_KOX", "innerHTML": _BSDNSteacherDesktopIconInfo[i].Name }, _iconcontent);
  2438. }
  2439. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
  2440. for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
  2441. _content = $$("div", {
  2442. className: "U_MD_D_KO",
  2443. "onmousedown": U.UF.C.closure(function (obj) {
  2444. //防止拖動圖標即打開了桌面應用
  2445. U.MD.D.click(this, obj);
  2446. }, [_scnuaiAdminDeskIconInfo[i]]),
  2447. "onclick": U.UF.C.closure(function (obj) {
  2448. //防止拖動圖標即打開了桌面應用
  2449. U.MD.D.click(this, obj);
  2450. }, [_scnuaiAdminDeskIconInfo[i]])
  2451. }, _frag); //
  2452. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2453. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
  2454. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
  2455. }
  2456. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  2457. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  2458. if(_role === 0 && _jccssylTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2459. continue
  2460. }
  2461. _content = $$("div", {
  2462. className: "U_MD_D_KO",
  2463. "onmousedown": U.UF.C.closure(function (obj) {
  2464. //防止拖動圖標即打開了桌面應用
  2465. U.MD.D.click(this, obj);
  2466. }, [_jccssylTeacherDeskIconInfo[i]]),
  2467. "onclick": U.UF.C.closure(function (obj) {
  2468. //防止拖動圖標即打開了桌面應用
  2469. U.MD.D.click(this, obj);
  2470. }, [_jccssylTeacherDeskIconInfo[i]])
  2471. }, _frag); //
  2472. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2473. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  2474. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  2475. }
  2476. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  2477. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  2478. if(_role === 0 && _caleTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2479. continue
  2480. }
  2481. _content = $$("div", {
  2482. className: "U_MD_D_KO",
  2483. "onmousedown": U.UF.C.closure(function (obj) {
  2484. //防止拖動圖標即打開了桌面應用
  2485. U.MD.D.click(this, obj);
  2486. }, [_caleTeacherDeskIconInfo[i]]),
  2487. "onclick": U.UF.C.closure(function (obj) {
  2488. //防止拖動圖標即打開了桌面應用
  2489. U.MD.D.click(this, obj);
  2490. }, [_caleTeacherDeskIconInfo[i]])
  2491. }, _frag); //
  2492. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2493. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  2494. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  2495. }
  2496. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  2497. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  2498. _content = $$("div", {
  2499. className: "U_MD_D_KO",
  2500. "onmousedown": U.UF.C.closure(function (obj) {
  2501. //防止拖動圖標即打開了桌面應用
  2502. U.MD.D.click(this, obj);
  2503. }, [_tpcOrganizerDeskIconInfo[i]]),
  2504. "onclick": U.UF.C.closure(function (obj) {
  2505. //防止拖動圖標即打開了桌面應用
  2506. U.MD.D.click(this, obj);
  2507. }, [_tpcOrganizerDeskIconInfo[i]])
  2508. }, _frag); //
  2509. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2510. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2511. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2512. }
  2513. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  2514. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  2515. if(_role === 0 && _tpcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2516. continue
  2517. }
  2518. _content = $$("div", {
  2519. className: "U_MD_D_KO",
  2520. "onmousedown": U.UF.C.closure(function (obj) {
  2521. //防止拖動圖標即打開了桌面應用
  2522. U.MD.D.click(this, obj);
  2523. }, [_tpcTeacherDeskIconInfo[i]]),
  2524. "onclick": U.UF.C.closure(function (obj) {
  2525. //防止拖動圖標即打開了桌面應用
  2526. U.MD.D.click(this, obj);
  2527. }, [_tpcTeacherDeskIconInfo[i]])
  2528. }, _frag); //
  2529. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2530. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  2531. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2532. }
  2533. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2534. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  2535. if(_role === 0 && _teacherDesktopIconInfo2[i].Url == 'testTeacher'){
  2536. continue
  2537. }
  2538. _content = $$("div", {
  2539. className: "U_MD_D_KO",
  2540. "onmousedown": U.UF.C.closure(function (obj) {
  2541. //防止拖動圖標即打開了桌面應用
  2542. U.MD.D.click(this, obj);
  2543. }, [_teacherDesktopIconInfo2[i]]),
  2544. "onclick": U.UF.C.closure(function (obj) {
  2545. //防止拖動圖標即打開了桌面應用
  2546. U.MD.D.click(this, obj);
  2547. }, [_teacherDesktopIconInfo2[i]])
  2548. }, _frag); //
  2549. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2550. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  2551. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  2552. }
  2553. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2554. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  2555. if(_role === 0 && _thuioeTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2556. continue
  2557. }
  2558. _content = $$("div", {
  2559. className: "U_MD_D_KO",
  2560. "onmousedown": U.UF.C.closure(function (obj) {
  2561. //防止拖動圖標即打開了桌面應用
  2562. U.MD.D.click(this, obj);
  2563. }, [_thuioeTeacherDeskIconInfo[i]]),
  2564. "onclick": U.UF.C.closure(function (obj) {
  2565. //防止拖動圖標即打開了桌面應用
  2566. U.MD.D.click(this, obj);
  2567. }, [_thuioeTeacherDeskIconInfo[i]])
  2568. }, _frag); //
  2569. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2570. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  2571. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  2572. }
  2573. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  2574. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  2575. if(_role === 0 && _lotechTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2576. continue
  2577. }
  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. }, [_lotechTeacherDeskIconInfo[i]]),
  2584. "onclick": U.UF.C.closure(function (obj) {
  2585. //防止拖動圖標即打開了桌面應用
  2586. U.MD.D.click(this, obj);
  2587. }, [_lotechTeacherDeskIconInfo[i]])
  2588. }, _frag); //
  2589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  2591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  2592. }//
  2593. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2594. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  2595. if(_role === 0 && _lqwmsgzsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2596. continue
  2597. }
  2598. _content = $$("div", {
  2599. className: "U_MD_D_KO",
  2600. "onmousedown": U.UF.C.closure(function (obj) {
  2601. //防止拖動圖標即打開了桌面應用
  2602. U.MD.D.click(this, obj);
  2603. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  2604. "onclick": U.UF.C.closure(function (obj) {
  2605. //防止拖動圖標即打開了桌面應用
  2606. U.MD.D.click(this, obj);
  2607. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  2608. }, _frag); //
  2609. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2610. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  2611. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2612. }
  2613. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2614. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  2615. if(_role === 0 && _siesTeacherDeskIconInfo[i].Url == 'testTeacherSies'){
  2616. continue
  2617. }
  2618. _content = $$("div", {
  2619. className: "U_MD_D_KO",
  2620. "onmousedown": U.UF.C.closure(function (obj) {
  2621. //防止拖動圖標即打開了桌面應用
  2622. U.MD.D.click(this, obj);
  2623. }, [_siesTeacherDeskIconInfo[i]]),
  2624. "onclick": U.UF.C.closure(function (obj) {
  2625. //防止拖動圖標即打開了桌面應用
  2626. U.MD.D.click(this, obj);
  2627. }, [_siesTeacherDeskIconInfo[i]])
  2628. }, _frag); //
  2629. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2630. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  2631. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  2632. }
  2633. } else if ((_type == 1 || _type == 4) && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  2634. for (i = 0; i < _guzmsTeacherDeskIconInfo.length; i++) {
  2635. if(_role === 0 && _guzmsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2636. continue
  2637. }
  2638. _content = $$("div", {
  2639. className: "U_MD_D_KO",
  2640. "onmousedown": U.UF.C.closure(function (obj) {
  2641. //防止拖動圖標即打開了桌面應用
  2642. U.MD.D.click(this, obj);
  2643. }, [_guzmsTeacherDeskIconInfo[i]]),
  2644. "onclick": U.UF.C.closure(function (obj) {
  2645. //防止拖動圖標即打開了桌面應用
  2646. U.MD.D.click(this, obj);
  2647. }, [_guzmsTeacherDeskIconInfo[i]])
  2648. }, _frag); //
  2649. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2650. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsTeacherDeskIconInfo[i].style }, _iconcontent);
  2651. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2652. }
  2653. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  2654. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2655. if(_role === 0 && _longhuaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2656. continue
  2657. }
  2658. _content = $$("div", {
  2659. className: "U_MD_D_KO",
  2660. "onmousedown": U.UF.C.closure(function (obj) {
  2661. //防止拖動圖標即打開了桌面應用
  2662. U.MD.D.click(this, obj);
  2663. }, [_longhuaTeacherDeskIconInfo[i]]),
  2664. "onclick": U.UF.C.closure(function (obj) {
  2665. //防止拖動圖標即打開了桌面應用
  2666. U.MD.D.click(this, obj);
  2667. }, [_longhuaTeacherDeskIconInfo[i]])
  2668. }, _frag); //
  2669. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2670. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2671. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2672. }
  2673. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2674. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2675. if(_role === 0 && _ytyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2676. continue
  2677. }
  2678. _content = $$("div", {
  2679. className: "U_MD_D_KO",
  2680. "onmousedown": U.UF.C.closure(function (obj) {
  2681. //防止拖動圖標即打開了桌面應用
  2682. U.MD.D.click(this, obj);
  2683. }, [_ytyTeacherDeskIconInfo[i]]),
  2684. "onclick": U.UF.C.closure(function (obj) {
  2685. //防止拖動圖標即打開了桌面應用
  2686. U.MD.D.click(this, obj);
  2687. }, [_ytyTeacherDeskIconInfo[i]])
  2688. }, _frag); //
  2689. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2690. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2691. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2692. }
  2693. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2694. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2695. if(_role === 0 && _yunhaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2696. continue
  2697. }
  2698. _content = $$("div", {
  2699. className: "U_MD_D_KO",
  2700. "onmousedown": U.UF.C.closure(function (obj) {
  2701. //防止拖動圖標即打開了桌面應用
  2702. U.MD.D.click(this, obj);
  2703. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2704. "onclick": U.UF.C.closure(function (obj) {
  2705. //防止拖動圖標即打開了桌面應用
  2706. U.MD.D.click(this, obj);
  2707. }, [_yunhaiTeacherDeskIconInfo[i]])
  2708. }, _frag); //
  2709. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2710. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2711. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2712. } //_hkStudentDeskIconInfo
  2713. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2714. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2715. if(_role === 0 && _hkZJLSTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2716. continue
  2717. }
  2718. _content = $$("div", {
  2719. className: "U_MD_D_KO",
  2720. "onmousedown": U.UF.C.closure(function (obj) {
  2721. //防止拖動圖標即打開了桌面應用
  2722. U.MD.D.click(this, obj);
  2723. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2724. "onclick": U.UF.C.closure(function (obj) {
  2725. //防止拖動圖標即打開了桌面應用
  2726. U.MD.D.click(this, obj);
  2727. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2728. }, _frag); //
  2729. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2730. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2731. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2732. }
  2733. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2734. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2735. if(_role === 0 && _hkTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2736. continue
  2737. }
  2738. _content = $$("div", {
  2739. className: "U_MD_D_KO",
  2740. "onmousedown": U.UF.C.closure(function (obj) {
  2741. //防止拖動圖標即打開了桌面應用
  2742. U.MD.D.click(this, obj);
  2743. }, [_hkTeacherDeskIconInfo[i]]),
  2744. "onclick": U.UF.C.closure(function (obj) {
  2745. //防止拖動圖標即打開了桌面應用
  2746. U.MD.D.click(this, obj);
  2747. }, [_hkTeacherDeskIconInfo[i]])
  2748. }, _frag); //
  2749. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2750. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2751. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2752. }
  2753. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2754. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2755. if(_role === 0 && _hkaceTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2756. continue
  2757. }
  2758. _content = $$("div", {
  2759. className: "U_MD_D_KO",
  2760. "onmousedown": U.UF.C.closure(function (obj) {
  2761. //防止拖動圖標即打開了桌面應用
  2762. U.MD.D.click(this, obj);
  2763. }, [_hkaceTeacherDeskIconInfo[i]]),
  2764. "onclick": U.UF.C.closure(function (obj) {
  2765. //防止拖動圖標即打開了桌面應用
  2766. U.MD.D.click(this, obj);
  2767. }, [_hkaceTeacherDeskIconInfo[i]])
  2768. }, _frag); //
  2769. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2770. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2771. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2772. }
  2773. } else if ((_type == 1 || _type == 4) && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  2774. for (i = 0; i < _cocobizTeacherDeskIconInfo.length; i++) {
  2775. if(_role === 0 && _cocobizTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2776. continue
  2777. }
  2778. _content = $$("div", {
  2779. className: "U_MD_D_KO",
  2780. "onmousedown": U.UF.C.closure(function (obj) {
  2781. //防止拖動圖標即打開了桌面應用
  2782. U.MD.D.click(this, obj);
  2783. }, [_cocobizTeacherDeskIconInfo[i]]),
  2784. "onclick": U.UF.C.closure(function (obj) {
  2785. //防止拖動圖標即打開了桌面應用
  2786. U.MD.D.click(this, obj);
  2787. }, [_cocobizTeacherDeskIconInfo[i]])
  2788. }, _frag); //
  2789. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2790. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizTeacherDeskIconInfo[i].style }, _iconcontent);
  2791. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizTeacherDeskIconInfo[i].Name }, _iconcontent);
  2792. }
  2793. } else if ((_type == 1 || _type == 4) && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  2794. for (i = 0; i < _xxzjkyTeacherDeskIconInfo.length; i++) {
  2795. if(_role === 0 && _xxzjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2796. continue
  2797. }
  2798. _content = $$("div", {
  2799. className: "U_MD_D_KO",
  2800. "onmousedown": U.UF.C.closure(function (obj) {
  2801. //防止拖動圖標即打開了桌面應用
  2802. U.MD.D.click(this, obj);
  2803. }, [_xxzjkyTeacherDeskIconInfo[i]]),
  2804. "onclick": U.UF.C.closure(function (obj) {
  2805. //防止拖動圖標即打開了桌面應用
  2806. U.MD.D.click(this, obj);
  2807. }, [_xxzjkyTeacherDeskIconInfo[i]])
  2808. }, _frag); //
  2809. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2810. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2811. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2812. }
  2813. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2814. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2815. _content = $$("div", {
  2816. className: "U_MD_D_KO",
  2817. "onmousedown": U.UF.C.closure(function (obj) {
  2818. //防止拖動圖標即打開了桌面應用
  2819. U.MD.D.click(this, obj);
  2820. }, [_gdjgAdminDeskIconInfo[i]]),
  2821. "onclick": U.UF.C.closure(function (obj) {
  2822. //防止拖動圖標即打開了桌面應用
  2823. U.MD.D.click(this, obj);
  2824. }, [_gdjgAdminDeskIconInfo[i]])
  2825. }, _frag); //
  2826. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2827. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2828. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2829. }
  2830. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2831. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2832. if(_role === 0 && _gdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2833. continue
  2834. }
  2835. _content = $$("div", {
  2836. className: "U_MD_D_KO",
  2837. "onmousedown": U.UF.C.closure(function (obj) {
  2838. //防止拖動圖標即打開了桌面應用
  2839. U.MD.D.click(this, obj);
  2840. }, [_gdjgTeacherDeskIconInfo[i]]),
  2841. "onclick": U.UF.C.closure(function (obj) {
  2842. //防止拖動圖標即打開了桌面應用
  2843. U.MD.D.click(this, obj);
  2844. }, [_gdjgTeacherDeskIconInfo[i]])
  2845. }, _frag); //
  2846. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2847. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2848. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2849. }
  2850. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2851. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2852. if(_role === 0 && _szherTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2853. continue
  2854. }
  2855. _content = $$("div", {
  2856. className: "U_MD_D_KO",
  2857. "onmousedown": U.UF.C.closure(function (obj) {
  2858. //防止拖動圖標即打開了桌面應用
  2859. U.MD.D.click(this, obj);
  2860. }, [_szherTeacherDeskIconInfo[i]]),
  2861. "onclick": U.UF.C.closure(function (obj) {
  2862. //防止拖動圖標即打開了桌面應用
  2863. U.MD.D.click(this, obj);
  2864. }, [_szherTeacherDeskIconInfo[i]])
  2865. }, _frag); //
  2866. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2867. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2868. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2869. }
  2870. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2871. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2872. _content = $$("div", {
  2873. className: "U_MD_D_KO",
  2874. "onmousedown": U.UF.C.closure(function (obj) {
  2875. //防止拖動圖標即打開了桌面應用
  2876. U.MD.D.click(this, obj);
  2877. }, [_heyuannAdminDeskIconInfo[i]]),
  2878. "onclick": U.UF.C.closure(function (obj) {
  2879. //防止拖動圖標即打開了桌面應用
  2880. U.MD.D.click(this, obj);
  2881. }, [_heyuannAdminDeskIconInfo[i]])
  2882. }, _frag); //
  2883. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2884. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2885. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2886. }
  2887. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2888. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2889. if(_role === 0 && _heyuanTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2890. continue
  2891. }
  2892. _content = $$("div", {
  2893. className: "U_MD_D_KO",
  2894. "onmousedown": U.UF.C.closure(function (obj) {
  2895. //防止拖動圖標即打開了桌面應用
  2896. U.MD.D.click(this, obj);
  2897. }, [_heyuanTeacherDeskIconInfo[i]]),
  2898. "onclick": U.UF.C.closure(function (obj) {
  2899. //防止拖動圖標即打開了桌面應用
  2900. U.MD.D.click(this, obj);
  2901. }, [_heyuanTeacherDeskIconInfo[i]])
  2902. }, _frag); //
  2903. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2904. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2905. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2906. } //
  2907. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2908. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2909. _content = $$("div", {
  2910. className: "U_MD_D_KO",
  2911. "onmousedown": U.UF.C.closure(function (obj) {
  2912. //防止拖動圖標即打開了桌面應用
  2913. U.MD.D.click(this, obj);
  2914. }, [_dseiAdminDeskIconInfo[i]]),
  2915. "onclick": U.UF.C.closure(function (obj) {
  2916. //防止拖動圖標即打開了桌面應用
  2917. U.MD.D.click(this, obj);
  2918. }, [_dseiAdminDeskIconInfo[i]])
  2919. }, _frag); //
  2920. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2921. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2922. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2923. }
  2924. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2925. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2926. if(_role === 0 && _dseiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2927. continue
  2928. }
  2929. _content = $$("div", {
  2930. className: "U_MD_D_KO",
  2931. "onmousedown": U.UF.C.closure(function (obj) {
  2932. //防止拖動圖標即打開了桌面應用
  2933. U.MD.D.click(this, obj);
  2934. }, [_dseiTeacherDeskIconInfo[i]]),
  2935. "onclick": U.UF.C.closure(function (obj) {
  2936. //防止拖動圖標即打開了桌面應用
  2937. U.MD.D.click(this, obj);
  2938. }, [_dseiTeacherDeskIconInfo[i]])
  2939. }, _frag); //
  2940. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2941. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2942. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2943. } //
  2944. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2945. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2946. _content = $$("div", {
  2947. className: "U_MD_D_KO",
  2948. "onmousedown": U.UF.C.closure(function (obj) {
  2949. //防止拖動圖標即打開了桌面應用
  2950. U.MD.D.click(this, obj);
  2951. }, [_chjyjAdminDeskIconInfo[i]]),
  2952. "onclick": U.UF.C.closure(function (obj) {
  2953. //防止拖動圖標即打開了桌面應用
  2954. U.MD.D.click(this, obj);
  2955. }, [_chjyjAdminDeskIconInfo[i]])
  2956. }, _frag); //
  2957. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2958. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2959. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2960. }//
  2961. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2962. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2963. if(_role === 0 && _chjyjTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2964. continue
  2965. }
  2966. _content = $$("div", {
  2967. className: "U_MD_D_KO",
  2968. "onmousedown": U.UF.C.closure(function (obj) {
  2969. //防止拖動圖標即打開了桌面應用
  2970. U.MD.D.click(this, obj);
  2971. }, [_chjyjTeacherDeskIconInfo[i]]),
  2972. "onclick": U.UF.C.closure(function (obj) {
  2973. //防止拖動圖標即打開了桌面應用
  2974. U.MD.D.click(this, obj);
  2975. }, [_chjyjTeacherDeskIconInfo[i]])
  2976. }, _frag); //
  2977. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2978. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2979. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2980. }
  2981. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2982. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2983. _content = $$("div", {
  2984. className: "U_MD_D_KO",
  2985. "onmousedown": U.UF.C.closure(function (obj) {
  2986. //防止拖動圖標即打開了桌面應用
  2987. U.MD.D.click(this, obj);
  2988. }, [_szjkyAdminDeskIconInfo[i]]),
  2989. "onclick": U.UF.C.closure(function (obj) {
  2990. //防止拖動圖標即打開了桌面應用
  2991. U.MD.D.click(this, obj);
  2992. }, [_szjkyAdminDeskIconInfo[i]])
  2993. }, _frag); //
  2994. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2995. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2996. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2997. }//
  2998. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2999. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  3000. if(_role === 0 && _szjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3001. continue
  3002. }
  3003. _content = $$("div", {
  3004. className: "U_MD_D_KO",
  3005. "onmousedown": U.UF.C.closure(function (obj) {
  3006. //防止拖動圖標即打開了桌面應用
  3007. U.MD.D.click(this, obj);
  3008. }, [_szjkyTeacherDeskIconInfo[i]]),
  3009. "onclick": U.UF.C.closure(function (obj) {
  3010. //防止拖動圖標即打開了桌面應用
  3011. U.MD.D.click(this, obj);
  3012. }, [_szjkyTeacherDeskIconInfo[i]])
  3013. }, _frag); //
  3014. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3015. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  3016. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  3017. }
  3018. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  3019. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  3020. _content = $$("div", {
  3021. className: "U_MD_D_KO",
  3022. "onmousedown": U.UF.C.closure(function (obj) {
  3023. //防止拖動圖標即打開了桌面應用
  3024. U.MD.D.click(this, obj);
  3025. }, [_futianAdminDeskIconInfo[i]]),
  3026. "onclick": U.UF.C.closure(function (obj) {
  3027. //防止拖動圖標即打開了桌面應用
  3028. U.MD.D.click(this, obj);
  3029. }, [_futianAdminDeskIconInfo[i]])
  3030. }, _frag); //
  3031. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  3033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  3034. }
  3035. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  3036. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  3037. if(_role === 0 && _futianTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3038. continue
  3039. }
  3040. _content = $$("div", {
  3041. className: "U_MD_D_KO",
  3042. "onmousedown": U.UF.C.closure(function (obj) {
  3043. //防止拖動圖標即打開了桌面應用
  3044. U.MD.D.click(this, obj);
  3045. }, [_futianTeacherDeskIconInfo[i]]),
  3046. "onclick": U.UF.C.closure(function (obj) {
  3047. //防止拖動圖標即打開了桌面應用
  3048. U.MD.D.click(this, obj);
  3049. }, [_futianTeacherDeskIconInfo[i]])
  3050. }, _frag); //
  3051. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3052. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  3053. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  3054. }
  3055. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  3056. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  3057. if(_role === 0 && _MingdeTeacherDeskIcon[i].Url == 'testTeacher'){
  3058. continue
  3059. }
  3060. _content = $$("div", {
  3061. className: "U_MD_D_KO",
  3062. "onmousedown": U.UF.C.closure(function (obj) {
  3063. //防止拖動圖標即打開了桌面應用
  3064. U.MD.D.click(this, obj);
  3065. }, [_MingdeTeacherDeskIcon[i]]),
  3066. "onclick": U.UF.C.closure(function (obj) {
  3067. //防止拖動圖標即打開了桌面應用
  3068. U.MD.D.click(this, obj);
  3069. }, [_MingdeTeacherDeskIcon[i]])
  3070. }, _frag); //
  3071. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3072. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  3073. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  3074. }
  3075. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  3076. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  3077. _content = $$("div", {
  3078. className: "U_MD_D_KO",
  3079. "onmousedown": U.UF.C.closure(function (obj) {
  3080. //防止拖動圖標即打開了桌面應用
  3081. U.MD.D.click(this, obj);
  3082. }, [_lhsAdminDesktopIconInfo[i]]),
  3083. "onclick": U.UF.C.closure(function (obj) {
  3084. //防止拖動圖標即打開了桌面應用
  3085. U.MD.D.click(this, obj);
  3086. }, [_lhsAdminDesktopIconInfo[i]])
  3087. }, _frag); //
  3088. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3089. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  3090. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  3091. }
  3092. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  3093. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  3094. if(_role === 0 && _lhsteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3095. continue
  3096. }
  3097. _content = $$("div", {
  3098. className: "U_MD_D_KO",
  3099. "onmousedown": U.UF.C.closure(function (obj) {
  3100. //防止拖動圖標即打開了桌面應用
  3101. U.MD.D.click(this, obj);
  3102. }, [_lhsteacherDesktopIconInfo[i]]),
  3103. "onclick": U.UF.C.closure(function (obj) {
  3104. //防止拖動圖標即打開了桌面應用
  3105. U.MD.D.click(this, obj);
  3106. }, [_lhsteacherDesktopIconInfo[i]])
  3107. }, _frag); //
  3108. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3109. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  3110. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  3111. }
  3112. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  3113. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  3114. if(_role === 0 && _zhoujiateacherDesktopIconInfo[i].Url == 'testTeacher'){
  3115. continue
  3116. }
  3117. _content = $$("div", {
  3118. className: "U_MD_D_KO",
  3119. "onmousedown": U.UF.C.closure(function (obj) {
  3120. //防止拖動圖標即打開了桌面應用
  3121. U.MD.D.click(this, obj);
  3122. }, [_zhoujiateacherDesktopIconInfo[i]]),
  3123. "onclick": U.UF.C.closure(function (obj) {
  3124. //防止拖動圖標即打開了桌面應用
  3125. U.MD.D.click(this, obj);
  3126. }, [_zhoujiateacherDesktopIconInfo[i]])
  3127. }, _frag); //
  3128. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3129. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  3130. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  3131. }
  3132. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  3133. for (i = 0; i < _hanDeskIcon.length; i++) {
  3134. if(_role === 0 && _hanDeskIcon[i].Url == 'testTeacher'){
  3135. continue
  3136. }
  3137. _content = $$("div", {
  3138. className: "U_MD_D_KO",
  3139. "onmousedown": U.UF.C.closure(function (obj) {
  3140. //防止拖動圖標即打開了桌面應用
  3141. U.MD.D.click(this, obj);
  3142. }, [_hanDeskIcon[i]]),
  3143. "onclick": U.UF.C.closure(function (obj) {
  3144. //防止拖動圖標即打開了桌面應用
  3145. U.MD.D.click(this, obj);
  3146. }, [_hanDeskIcon[i]])
  3147. }, _frag); //
  3148. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3149. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  3150. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  3151. }
  3152. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  3153. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  3154. if(_role === 0 && _orgStemDeskIcon[i].Url == 'testTeacher'){
  3155. continue
  3156. }
  3157. _content = $$("div", {
  3158. className: "U_MD_D_KO",
  3159. "onmousedown": U.UF.C.closure(function (obj) {
  3160. //防止拖動圖標即打開了桌面應用
  3161. U.MD.D.click(this, obj);
  3162. }, [_orgStemDeskIcon[i]]),
  3163. "onclick": U.UF.C.closure(function (obj) {
  3164. //防止拖動圖標即打開了桌面應用
  3165. U.MD.D.click(this, obj);
  3166. }, [_orgStemDeskIcon[i]])
  3167. }, _frag); //
  3168. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3169. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  3170. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  3171. }
  3172. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  3173. for (i = 0; i < _szulsDeskIcon.length; i++) {
  3174. if(_role === 0 && _szulsDeskIcon[i].Url == 'testTeacher'){
  3175. continue
  3176. }
  3177. _content = $$("div", {
  3178. className: "U_MD_D_KO",
  3179. "onmousedown": U.UF.C.closure(function (obj) {
  3180. //防止拖動圖標即打開了桌面應用
  3181. U.MD.D.click(this, obj);
  3182. }, [_szulsDeskIcon[i]]),
  3183. "onclick": U.UF.C.closure(function (obj) {
  3184. //防止拖動圖標即打開了桌面應用
  3185. U.MD.D.click(this, obj);
  3186. }, [_szulsDeskIcon[i]])
  3187. }, _frag); //
  3188. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3189. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  3190. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  3191. }
  3192. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  3193. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  3194. if(_role === 0 && _orgDesktopIconInfo[i].Url == 'testTeacher'){
  3195. continue
  3196. }
  3197. _content = $$("div", {
  3198. className: "U_MD_D_KO",
  3199. "onmousedown": U.UF.C.closure(function (obj) {
  3200. //防止拖動圖標即打開了桌面應用
  3201. U.MD.D.click(this, obj);
  3202. }, [_orgDesktopIconInfo[i]]),
  3203. "onclick": U.UF.C.closure(function (obj) {
  3204. //防止拖動圖標即打開了桌面應用
  3205. U.MD.D.click(this, obj);
  3206. }, [_orgDesktopIconInfo[i]])
  3207. }, _frag); //
  3208. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3209. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  3210. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  3211. }
  3212. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3213. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  3214. if(_role === 0 && _schoolDesktopIconInfo[i].Url == 'testTeacher'){
  3215. continue
  3216. }
  3217. _content = $$("div", {
  3218. className: "U_MD_D_KO",
  3219. "onmousedown": U.UF.C.closure(function (obj) {
  3220. //防止拖動圖標即打開了桌面應用
  3221. U.MD.D.click(this, obj);
  3222. }, [_schoolDesktopIconInfo[i]]),
  3223. "onclick": U.UF.C.closure(function (obj) {
  3224. //防止拖動圖標即打開了桌面應用
  3225. U.MD.D.click(this, obj);
  3226. }, [_schoolDesktopIconInfo[i]])
  3227. }, _frag); //
  3228. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3229. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  3230. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  3231. }
  3232. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  3233. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  3234. if(_role === 0 && _GMteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3235. continue
  3236. }
  3237. _content = $$("div", {
  3238. className: "U_MD_D_KO",
  3239. "onmousedown": U.UF.C.closure(function (obj) {
  3240. //防止拖動圖標即打開了桌面應用
  3241. U.MD.D.click(this, obj);
  3242. }, [_GMteacherDesktopIconInfo[i]]),
  3243. "onclick": U.UF.C.closure(function (obj) {
  3244. //防止拖動圖標即打開了桌面應用
  3245. U.MD.D.click(this, obj);
  3246. }, [_GMteacherDesktopIconInfo[i]])
  3247. }, _frag); //
  3248. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3249. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  3250. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  3251. }
  3252. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  3253. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  3254. if(_role === 0 && _SONGteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3255. continue
  3256. }
  3257. _content = $$("div", {
  3258. className: "U_MD_D_KO",
  3259. "onmousedown": U.UF.C.closure(function (obj) {
  3260. //防止拖動圖標即打開了桌面應用
  3261. U.MD.D.click(this, obj);
  3262. }, [_SONGteacherDesktopIconInfo[i]]),
  3263. "onclick": U.UF.C.closure(function (obj) {
  3264. //防止拖動圖標即打開了桌面應用
  3265. U.MD.D.click(this, obj);
  3266. }, [_SONGteacherDesktopIconInfo[i]])
  3267. }, _frag); //
  3268. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3269. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  3270. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  3271. }
  3272. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  3273. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  3274. _content = $$("div", {
  3275. className: "U_MD_D_KO",
  3276. "onmousedown": U.UF.C.closure(function (obj) {
  3277. //防止拖動圖標即打開了桌面應用
  3278. U.MD.D.click(this, obj);
  3279. }, [_GMstudentDesktopIconInfo[i]]),
  3280. "onclick": U.UF.C.closure(function (obj) {
  3281. //防止拖動圖標即打開了桌面應用
  3282. U.MD.D.click(this, obj);
  3283. }, [_GMstudentDesktopIconInfo[i]])
  3284. }, _frag); //
  3285. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3286. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  3287. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  3288. }
  3289. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  3290. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  3291. if(_role === 0 && _tcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3292. continue
  3293. }
  3294. _content = $$("div", {
  3295. className: "U_MD_D_KO",
  3296. "onmousedown": U.UF.C.closure(function (obj) {
  3297. //防止拖動圖標即打開了桌面應用
  3298. U.MD.D.click(this, obj);
  3299. }, [_tcTeacherDeskIconInfo[i]]),
  3300. "onclick": U.UF.C.closure(function (obj) {
  3301. //防止拖動圖標即打開了桌面應用
  3302. U.MD.D.click(this, obj);
  3303. }, [_tcTeacherDeskIconInfo[i]])
  3304. }, _frag); //
  3305. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3306. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  3307. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  3308. }
  3309. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  3310. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  3311. if(_role === 0 && _tcOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  3312. continue
  3313. }
  3314. _content = $$("div", {
  3315. className: "U_MD_D_KO",
  3316. "onmousedown": U.UF.C.closure(function (obj) {
  3317. //防止拖動圖標即打開了桌面應用
  3318. U.MD.D.click(this, obj);
  3319. }, [_tcOrganizerDeskIconInfo[i]]),
  3320. "onclick": U.UF.C.closure(function (obj) {
  3321. //防止拖動圖標即打開了桌面應用
  3322. U.MD.D.click(this, obj);
  3323. }, [_tcOrganizerDeskIconInfo[i]])
  3324. }, _frag); //
  3325. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3326. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  3327. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3328. }
  3329. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  3330. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  3331. if(_role === 0 && _szscTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3332. continue
  3333. }
  3334. _content = $$("div", {
  3335. className: "U_MD_D_KO",
  3336. "onmousedown": U.UF.C.closure(function (obj) {
  3337. //防止拖動圖標即打開了桌面應用
  3338. U.MD.D.click(this, obj);
  3339. }, [_szscTeacherDeskIconInfo[i]]),
  3340. "onclick": U.UF.C.closure(function (obj) {
  3341. //防止拖動圖標即打開了桌面應用
  3342. U.MD.D.click(this, obj);
  3343. }, [_szscTeacherDeskIconInfo[i]])
  3344. }, _frag); //
  3345. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3346. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  3347. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  3348. }
  3349. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  3350. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  3351. if(_role === 0 && _szscOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  3352. continue
  3353. }
  3354. _content = $$("div", {
  3355. className: "U_MD_D_KO",
  3356. "onmousedown": U.UF.C.closure(function (obj) {
  3357. //防止拖動圖標即打開了桌面應用
  3358. U.MD.D.click(this, obj);
  3359. }, [_szscOrganizerDeskIconInfo[i]]),
  3360. "onclick": U.UF.C.closure(function (obj) {
  3361. //防止拖動圖標即打開了桌面應用
  3362. U.MD.D.click(this, obj);
  3363. }, [_szscOrganizerDeskIconInfo[i]])
  3364. }, _frag); //
  3365. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3366. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  3367. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3368. }
  3369. } else if ((_type == 1 || _type == 4) && _oid == "8a352da2-56e1-11ef-b873-005056b86db5") {
  3370. for (i = 0; i < _nsfxTeacherDeskIconInfo.length; i++) {
  3371. if(_role === 0 && _nsfxTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3372. continue
  3373. }
  3374. _content = $$("div", {
  3375. className: "U_MD_D_KO",
  3376. "onmousedown": U.UF.C.closure(function (obj) {
  3377. //防止拖動圖標即打開了桌面應用
  3378. U.MD.D.click(this, obj);
  3379. }, [_nsfxTeacherDeskIconInfo[i]]),
  3380. "onclick": U.UF.C.closure(function (obj) {
  3381. //防止拖動圖標即打開了桌面應用
  3382. U.MD.D.click(this, obj);
  3383. }, [_nsfxTeacherDeskIconInfo[i]])
  3384. }, _frag); //
  3385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _nsfxTeacherDeskIconInfo[i].style }, _iconcontent);
  3387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _nsfxTeacherDeskIconInfo[i].Name }, _iconcontent);
  3388. }
  3389. } else if ((_type == 1 || _type == 4) && _org == "f3b243b2-75e2-4b00-8f66-7644946a2a25") {
  3390. for (i = 0; i < _stiaTeacherDeskIconInfo.length; i++) {
  3391. if(_role === 0 && _stiaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3392. continue
  3393. }
  3394. _content = $$("div", {
  3395. className: "U_MD_D_KO",
  3396. "onmousedown": U.UF.C.closure(function (obj) {
  3397. //防止拖動圖標即打開了桌面應用
  3398. U.MD.D.click(this, obj);
  3399. }, [_stiaTeacherDeskIconInfo[i]]),
  3400. "onclick": U.UF.C.closure(function (obj) {
  3401. //防止拖動圖標即打開了桌面應用
  3402. U.MD.D.click(this, obj);
  3403. }, [_stiaTeacherDeskIconInfo[i]])
  3404. }, _frag); //
  3405. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3406. $$("div", { className: "U_MD_D_KOS U_Img", "style": _stiaTeacherDeskIconInfo[i].style }, _iconcontent);
  3407. $$("div", { className: "U_MD_D_KOX", "innerHTML": _stiaTeacherDeskIconInfo[i].Name }, _iconcontent);
  3408. }
  3409. } else if ((_type == 1 || _type == 4) && _org == "16ace517-b5c7-4168-a9bb-a9e0035df840") {
  3410. for (i = 0; i < _szdjgTeacherDeskIconInfo.length; i++) {
  3411. if(_role === 0 && _szdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3412. continue
  3413. }
  3414. _content = $$("div", {
  3415. className: "U_MD_D_KO",
  3416. "onmousedown": U.UF.C.closure(function (obj) {
  3417. //防止拖動圖標即打開了桌面應用
  3418. U.MD.D.click(this, obj);
  3419. }, [_szdjgTeacherDeskIconInfo[i]]),
  3420. "onclick": U.UF.C.closure(function (obj) {
  3421. //防止拖動圖標即打開了桌面應用
  3422. U.MD.D.click(this, obj);
  3423. }, [_szdjgTeacherDeskIconInfo[i]])
  3424. }, _frag); //
  3425. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3426. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  3427. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  3428. }
  3429. } else if ((_type == 1 || _type == 4) && _org == "2fe1a080-4425-4620-b7a0-be2f3750ffd4") {
  3430. for (i = 0; i < _x010607TeacherDeskIconInfo.length; i++) {
  3431. if(_role === 0 && _x010607TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3432. continue
  3433. }
  3434. _content = $$("div", {
  3435. className: "U_MD_D_KO",
  3436. "onmousedown": U.UF.C.closure(function (obj) {
  3437. //防止拖動圖標即打開了桌面應用
  3438. U.MD.D.click(this, obj);
  3439. }, [_x010607TeacherDeskIconInfo[i]]),
  3440. "onclick": U.UF.C.closure(function (obj) {
  3441. //防止拖動圖標即打開了桌面應用
  3442. U.MD.D.click(this, obj);
  3443. }, [_x010607TeacherDeskIconInfo[i]])
  3444. }, _frag); //
  3445. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3446. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010607TeacherDeskIconInfo[i].style }, _iconcontent);
  3447. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010607TeacherDeskIconInfo[i].Name }, _iconcontent);
  3448. }
  3449. } else if ((_type == 1 || _type == 4) && _org == "a5efd078-20f6-4185-bef9-6d1c688bee70") {
  3450. for (i = 0; i < _xhlyTeacherDeskIconInfo.length; i++) {
  3451. if(_role === 0 && _xhlyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3452. continue
  3453. }
  3454. _content = $$("div", {
  3455. className: "U_MD_D_KO",
  3456. "onmousedown": U.UF.C.closure(function (obj) {
  3457. //防止拖動圖標即打開了桌面應用
  3458. U.MD.D.click(this, obj);
  3459. }, [_xhlyTeacherDeskIconInfo[i]]),
  3460. "onclick": U.UF.C.closure(function (obj) {
  3461. //防止拖動圖標即打開了桌面應用
  3462. U.MD.D.click(this, obj);
  3463. }, [_xhlyTeacherDeskIconInfo[i]])
  3464. }, _frag); //
  3465. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3466. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xhlyTeacherDeskIconInfo[i].style }, _iconcontent);
  3467. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xhlyTeacherDeskIconInfo[i].Name }, _iconcontent);
  3468. }
  3469. } else if ((_type == 1 || _type == 4) && _org == "23bbe712-e35a-4888-9b4e-8d9e5a4fa2f6") {
  3470. for (i = 0; i < _CUHKEDUTeacherDeskIconInfo.length; i++) {
  3471. if(_role === 0 && _CUHKEDUTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3472. continue
  3473. }
  3474. _content = $$("div", {
  3475. className: "U_MD_D_KO",
  3476. "onmousedown": U.UF.C.closure(function (obj) {
  3477. //防止拖动图标即打开了桌面应用
  3478. U.MD.D.click(this, obj);
  3479. }, [_CUHKEDUTeacherDeskIconInfo[i]]),
  3480. "onclick": U.UF.C.closure(function (obj) {
  3481. //防止拖动图标即打开了桌面应用
  3482. U.MD.D.click(this, obj);
  3483. }, [_CUHKEDUTeacherDeskIconInfo[i]])
  3484. }, _frag); //
  3485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _CUHKEDUTeacherDeskIconInfo[i].style }, _iconcontent);
  3487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _CUHKEDUTeacherDeskIconInfo[i].Name }, _iconcontent);
  3488. }
  3489. } else if ((_type == 1 || _type == 4) && _oid == "9b46a3c9-7657-11ef-9b30-005056b86db5") {
  3490. for (i = 0; i < _x010608TeacherDeskIconInfo.length; i++) {
  3491. if(_role === 0 && _x010608TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3492. continue
  3493. }
  3494. _content = $$("div", {
  3495. className: "U_MD_D_KO",
  3496. "onmousedown": U.UF.C.closure(function (obj) {
  3497. //防止拖動圖標即打開了桌面應用
  3498. U.MD.D.click(this, obj);
  3499. }, [_x010608TeacherDeskIconInfo[i]]),
  3500. "onclick": U.UF.C.closure(function (obj) {
  3501. //防止拖動圖標即打開了桌面應用
  3502. U.MD.D.click(this, obj);
  3503. }, [_x010608TeacherDeskIconInfo[i]])
  3504. }, _frag); //
  3505. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3506. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010608TeacherDeskIconInfo[i].style }, _iconcontent);
  3507. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010608TeacherDeskIconInfo[i].Name }, _iconcontent);
  3508. }
  3509. } else {
  3510. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  3511. if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher' && _oid != '45facc0a-1211-11ec-80ad-005056b86db5'){
  3512. continue
  3513. }
  3514. _content = $$("div", {
  3515. className: "U_MD_D_KO",
  3516. "onmousedown": U.UF.C.closure(function (obj) {
  3517. //防止拖動圖標即打開了桌面應用
  3518. U.MD.D.click(this, obj);
  3519. }, [_teacherDesktopIconInfo[i]]),
  3520. "onclick": U.UF.C.closure(function (obj) {
  3521. //防止拖動圖標即打開了桌面應用
  3522. U.MD.D.click(this, obj);
  3523. }, [_teacherDesktopIconInfo[i]])
  3524. }, _frag); //
  3525. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3526. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  3527. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  3528. }
  3529. }
  3530. } else {
  3531. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  3532. _content = $$("div", {
  3533. className: "U_MD_D_KO",
  3534. style: { 'width': '124px', 'height': '145px' },
  3535. "onmousedown": U.UF.C.closure(function (obj) {
  3536. //防止拖動圖標即打開了桌面應用
  3537. U.MD.D.click(this, obj);
  3538. }, [_easyDesktopIconInfo[i]]),
  3539. "onclick": U.UF.C.closure(function (obj) {
  3540. //防止拖動圖標即打開了桌面應用
  3541. U.MD.D.click(this, obj);
  3542. }, [_easyDesktopIconInfo[i]])
  3543. }, _frag); //
  3544. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  3545. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  3546. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  3547. }
  3548. }
  3549. if (type == 1) {
  3550. //加載好後給圖標定位
  3551. U.MD.D.iconPostion($(_frag).Child());
  3552. } else {
  3553. //加載好後給圖標定位
  3554. U.MD.D.iconPostion2($(_frag).Child());
  3555. }
  3556. //把圖標加載到頁面
  3557. el.appendChild(_frag);
  3558. }
  3559. /**
  3560. * 顯示任務欄
  3561. *
  3562. * @param {element} 桌面元素
  3563. */
  3564. U.MD.D.I.displayTaskbar = function (el) {
  3565. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  3566. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  3567. //任務欄位置變化
  3568. U.selectEl(el).css({ "bottom": "0px" });
  3569. //桌面位置變話
  3570. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  3571. }
  3572. }
  3573. //#region 桌面圖標拖動邏輯
  3574. /**
  3575. * 桌面排列圖標
  3576. *
  3577. * @param {element} 桌面元素
  3578. * @param {object} 上下相距的距離
  3579. * @param {object} 左右相距的距離
  3580. * @return {object} 命名空間
  3581. */
  3582. U.MD.D.iconPostion = function (childs, top, left) {
  3583. var i; //用於循環處理
  3584. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  3585. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  3586. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  3587. for (i = 0; i < childs.length; i++) {
  3588. //如果豎排top超過了範圍處理
  3589. if (top + 95 > US.height - 10) {
  3590. //left超過了頁面範圍處理,則向上重疊打印處理
  3591. if ((left + 180) > US.width) {
  3592. top -= 110;
  3593. left -= 90;
  3594. }
  3595. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  3596. else {
  3597. left += 90;
  3598. top = 15;
  3599. };
  3600. }
  3601. //給圖標的位置賦值
  3602. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  3603. if (i < childs.length - 1) {
  3604. //頁面圖標每次向下加95
  3605. top += 95;
  3606. }
  3607. }
  3608. //返回最後調用的圖標的位置
  3609. return [top, left];
  3610. }
  3611. /**
  3612. * 桌面排列圖標
  3613. *
  3614. * @param {element} 桌面元素
  3615. * @param {object} 上下相距的距離
  3616. * @param {object} 左右相距的距離
  3617. * @return {object} 命名空間
  3618. */
  3619. U.MD.D.iconPostion2 = function (childs, top, left) {
  3620. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  3621. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  3622. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  3623. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  3624. for (i = 0; i < childs.length; i++) {
  3625. //如果豎排top超過了範圍處理
  3626. if (left + 150 > US.width - 10) {
  3627. //left超過了頁面範圍處理,則向上重疊打印處理
  3628. if ((top + 180) > US.Height) {
  3629. top -= 150;
  3630. left -= 150;
  3631. }
  3632. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  3633. else {
  3634. top += 150;
  3635. left = ol;
  3636. };
  3637. }
  3638. //給圖標的位置賦值
  3639. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  3640. if (i < childs.length - 1) {
  3641. //頁面圖標每次向下加95
  3642. left += 150;
  3643. }
  3644. }
  3645. //返回最後調用的圖標的位置
  3646. return [top, left];
  3647. }
  3648. /**
  3649. * 桌面點擊事件邏輯
  3650. *
  3651. * @param {element} 桌面元素
  3652. * @param {object} 上下相距的距離
  3653. * @param {object} 左右相距的距離
  3654. * @return {object} 命名空間
  3655. */
  3656. U.MD.D.click = function (el, obj) {
  3657. var _buttonnumber = event.button; //點擊的按鈕的事件值
  3658. var _userinfo = US.userInfo;
  3659. U.UF.EV.stopBubble(); //阻止向上冒泡
  3660. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  3661. if (_buttonnumber < 2) {
  3662. //如果是click事件的處理
  3663. if (event.type == "click") {
  3664. //如果元素在mousemove事件中沒有移動則出發click事件
  3665. if (!U.MD.D.I.IsDrag) {
  3666. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3667. U.alert("請先登錄您的賬號!");
  3668. setTimeout(() => {
  3669. U.MD.U.L.login();
  3670. }, 2000);
  3671. } else {
  3672. //打開應用處理
  3673. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  3674. }
  3675. }
  3676. }
  3677. //如果是mouse事件的處理
  3678. else {
  3679. if (US.Config.type == '1') {
  3680. //拖動處理,添加拖動和拖動結束事件
  3681. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  3682. }
  3683. }
  3684. U.MD.D.I.IsDrag = false;
  3685. }
  3686. }
  3687. /**
  3688. * 拖動的處理
  3689. *
  3690. */
  3691. U.MD.D.iconMove = function () {
  3692. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  3693. U.MD.D.I.IsDrag = true;
  3694. }
  3695. /**
  3696. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  3697. *
  3698. * @param {element} 拖動的元素
  3699. * @return {object} 命名空間
  3700. */
  3701. U.MD.D.iconUp = function (el) {
  3702. var _top = 15,
  3703. _left = 20,
  3704. _margin,
  3705. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  3706. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  3707. if (_positioninfo["OT"] > 15) {
  3708. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  3709. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  3710. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  3711. }
  3712. if (_positioninfo["OL"] > 20) {
  3713. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  3714. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  3715. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  3716. }
  3717. //while循環判斷麼一個重疊的元素
  3718. do {
  3719. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  3720. _top = _positioninfo[0] + 95; //得到定位後的top
  3721. _left = _positioninfo[1]; //得到定位後的left
  3722. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  3723. }
  3724. /**
  3725. * 判斷拖動後圖標是否重疊
  3726. *
  3727. * @param {element} 拖動的元素
  3728. * @param {element} 桌面所有的元素
  3729. * @param {array} 拖動元素的位置
  3730. ----------[0] 上 top
  3731. ----------[1] 左 left
  3732. * @return {object} 命名空間
  3733. */
  3734. U.MD.D.isOverlap = function (el, childs, postionarray) {
  3735. //循環所有的圖標
  3736. for (var i = 0; i < childs.length; i++) {
  3737. //判斷有沒有和該圖標誒子重疊的元素
  3738. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  3739. return childs[i]; //如果有返回
  3740. }
  3741. }
  3742. }
  3743. //#endregion
  3744. //#endregion
  3745. //#region 桌面應用
  3746. /**
  3747. * 打開應用
  3748. *
  3749. * @param {string} 類型
  3750. -----------------Disk 網盤系統
  3751. -----------------PDisk 學習系統網盤
  3752. -----------------Poto 圖片
  3753. -----------------Video 視頻
  3754. -----------------Music 音樂
  3755. -----------------Word word
  3756. -----------------Excel excel
  3757. -----------------Txt 記事本
  3758. -----------------PB 學習系統
  3759. -----------------Blog 朋友圈系統
  3760. -----------------FTP ftp系統
  3761. -----------------Group 好友群
  3762. -----------------SY 首頁系統
  3763. -----------------Set 個人設置
  3764. -----------------XSet 系統設置
  3765. -----------------App 我們所有的app
  3766. -----------------BC c.1473.cn 平臺
  3767. -----------------CWeb d.1473.cn 變成平臺
  3768. -----------------其他的外聯系統 我們統一用iframe打開
  3769. * @param {array} 類型
  3770. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  3771. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  3772. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  3773. 如果第一個參數為其他,則無第二個參數
  3774. * @returns {array}
  3775. */
  3776. window.addEventListener('message', function (e) { // 監聽 message 事件
  3777. // alert(e.data.type);
  3778. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  3779. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  3780. //3是展示全部階段 2學生 1老師 4專家
  3781. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  3782. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  3783. //3是展示全部階段 2學生 1老師 4專家
  3784. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  3785. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  3786. //3是展示全部階段 2學生 1老師 4專家
  3787. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  3788. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  3789. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  3790. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  3791. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  3792. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  3793. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  3794. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  3795. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  3796. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  3797. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  3798. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  3799. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  3800. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  3801. //3是展示全部階段 2學生 1老師 4專家
  3802. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  3803. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  3804. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  3805. U.MD.D.I.selectUser();
  3806. } else if (e.data.allScreen && e.data.allScreen == "1") {
  3807. var _formel = document.getElementById("study");
  3808. U.UF.F.windowZooming(_formel);
  3809. } else if (e.data.allScreen && e.data.allScreen == "2") {
  3810. var _formel = document.getElementById("studyDetail");
  3811. U.UF.F.windowZooming(_formel);
  3812. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  3813. var _formel = document.getElementById("studyDetail");
  3814. U.UF.F.windowZooming(_formel);
  3815. } else if (e.data.allScreen && e.data.allScreen == "3") {
  3816. var _formel = document.getElementById("studentStudy");
  3817. U.UF.F.windowZooming(_formel);
  3818. } else if (e.data.allScreen && e.data.allScreen == "6") {
  3819. // var _formel = document.getElementById("study");
  3820. //如果最大化了,那麼就把他縮小
  3821. // if (_formel.ismaximize) {
  3822. // return;
  3823. // }
  3824. // U.UF.F.windowZooming(_formel);
  3825. // U.UF.F.topWindow(_formel);
  3826. } else if (e.data.allScreen && e.data.allScreen == "4") {
  3827. // var _formel = document.getElementById("studyDetail");
  3828. //如果最大化了,那麼就把他縮小
  3829. // if (_formel.ismaximize) {
  3830. // return;
  3831. // }
  3832. // U.UF.F.windowZooming(_formel);
  3833. // U.UF.F.topWindow(_formel);
  3834. } else if (e.data.allScreen && e.data.allScreen == "5") {
  3835. // var _formel = document.getElementById("studentStudy");
  3836. // if (_formel.ismaximize) {
  3837. // return;
  3838. // }
  3839. // U.UF.F.windowZooming(_formel);
  3840. // U.UF.F.topWindow(_formel);
  3841. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  3842. var _formel = document.getElementById("study");
  3843. // if (_formel.ismaximize) {
  3844. // return;
  3845. // }
  3846. // U.UF.F.windowZooming(_formel);
  3847. U.UF.F.topWindow(_formel);
  3848. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  3849. var _formel = document.getElementById("studentIndex");
  3850. U.UF.F.windowZooming(_formel);
  3851. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  3852. var _formel = document.getElementById("studyDetailS");
  3853. U.UF.F.windowZooming(_formel);
  3854. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  3855. var _formel = document.getElementById("studioIndex");
  3856. U.UF.F.windowZooming(_formel);
  3857. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  3858. var _formel = document.getElementById("studyDetailStudio");
  3859. U.UF.F.windowZooming(_formel);
  3860. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  3861. var _formel = document.getElementById("studyDetailStudio");
  3862. U.UF.F.windowZooming(_formel);
  3863. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  3864. var _formel = document.getElementById("studyDetailNT");
  3865. U.UF.F.windowZooming(_formel);
  3866. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  3867. var _formel = document.getElementById("studyDetailS");
  3868. U.UF.F.windowZooming(_formel);
  3869. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  3870. var _formel = document.getElementById("studyDetailS");
  3871. U.UF.F.topWindow(_formel);
  3872. } else if (e.data.tools && e.data.tools == "1") {
  3873. // U.MD.D.I.openApplication("whiteboard")
  3874. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3875. } else if (e.data.tools && e.data.tools == "2") {
  3876. U.MD.D.I.openApplication("note")
  3877. } else if (e.data.tools && e.data.tools == "3") {
  3878. // U.MD.D.I.openApplication("mind")
  3879. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3880. } else if (e.data.tools && e.data.tools == "4") {
  3881. U.MD.D.I.openApplication("investigation")
  3882. } else if (e.data.tools && e.data.tools == "6") {
  3883. // U.MD.D.I.openApplication("doc")
  3884. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3885. } else if (e.data.tools && e.data.tools == "7") {
  3886. // U.MD.D.I.openApplication("mindNetwork")
  3887. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3888. } else if (e.data.tools && e.data.tools == "8") {
  3889. U.MD.D.I.openApplication("library")
  3890. } else if (e.data.tools && e.data.tools == "17") {
  3891. U.MD.D.I.openApplication("stuLibrary")
  3892. } else if (e.data.tools && e.data.tools == "18") {
  3893. U.MD.D.I.openApplication("train")
  3894. } else if (e.data.tools && e.data.tools == "21") {
  3895. U.MD.D.I.openApplication("program")
  3896. } else if (e.data.tools && e.data.tools == "22") {
  3897. U.MD.D.I.openApplication("AIprogram2")
  3898. } else if (e.data.tools && e.data.tools == "23") {
  3899. U.MD.D.I.openApplication("Pythonprogram")
  3900. } else if (e.data.tools && e.data.tools == "24") {
  3901. U.MD.D.I.openApplication("AIprogram")
  3902. } else if (e.data.tools && e.data.tools == "25") {
  3903. U.MD.D.I.openApplication("sys")
  3904. } else if (e.data.tools && e.data.tools == "26") {
  3905. // U.MD.D.I.openApplication("courseDesign")
  3906. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3907. } else if (e.data.tools && e.data.tools == "31") {
  3908. U.MD.D.I.openApplication("netWorkPanel")
  3909. } else if (e.data.tools && e.data.tools == "32") {
  3910. U.MD.D.I.openApplication("codeEdit")
  3911. } else if (e.data.tools && e.data.tools == "57") {
  3912. U.MD.D.I.openApplication("CocoPi")
  3913. } else if (e.data.tools && e.data.tools == "63") {
  3914. U.MD.D.I.openApplication("Wood")
  3915. } else if (e.data.tools && e.data.tools == "58") {
  3916. U.MD.D.I.openApplication("car")
  3917. } else if (e.data.tools && e.data.tools == "59") {
  3918. U.MD.D.I.openApplication("lineSearch")
  3919. } else if (e.data.tools && e.data.tools == "60") {
  3920. U.MD.D.I.openApplication("deepLearning")
  3921. } else if (e.data.tools && e.data.tools == "61") {
  3922. U.MD.D.I.openApplication("allHistory")
  3923. } else if (e.data.tools && e.data.tools == "28") {
  3924. U.MD.D.I.openApplication("translation")
  3925. } else if (e.data.tools && e.data.tools == "37") {
  3926. U.MD.D.I.openApplication("mohe")
  3927. } else if (e.data.tools && e.data.tools == "38") {
  3928. U.MD.D.I.openApplication("24game")
  3929. } else if (e.data.tools && e.data.tools == "39") {
  3930. U.MD.D.I.openApplication("GeoGebra")
  3931. } else if (e.data.tools && e.data.tools == "43") {
  3932. U.MD.D.I.openApplication("studentEvaluate")
  3933. } else if (e.data.tools && e.data.tools == "44") {
  3934. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3935. } else if (e.data.tools && e.data.tools == "46") {
  3936. U.MD.D.I.openApplication("project")
  3937. } else if (e.data.tools && e.data.tools == "71") {
  3938. U.MD.D.I.openApplication("aigptCourse")
  3939. } else if (e.data.tools && e.data.tools == "1s") {
  3940. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3941. } else if (e.data.tools && e.data.tools == "3s") {
  3942. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3943. } else if (e.data.tools && e.data.tools == "6s") {
  3944. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3945. } else if (e.data.tools && e.data.tools == "1studio") {
  3946. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3947. } else if (e.data.tools && e.data.tools == "3studio") {
  3948. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3949. } else if (e.data.tools && e.data.tools == "6studio") {
  3950. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3951. } else if (e.data.tools && e.data.tools == "3y") {
  3952. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3953. } else if (e.data.tools && e.data.tools == "1y") {
  3954. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3955. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3956. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3957. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3958. U.MD.D.I.openApplication("AIAnalyse")
  3959. } else if (e.data.tools && e.data.tools == "1teacher") {
  3960. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3961. } else if (e.data.tools && e.data.tools == "3teacher") {
  3962. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3963. } else if (e.data.tools && e.data.tools == "7teacher") {
  3964. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3965. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3966. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3967. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3968. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3969. } else if (e.data.tools && e.data.tools == "1E") {
  3970. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3971. } else if (e.data.tools && e.data.tools == "3E") {
  3972. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3973. } else if (e.data.tools && e.data.tools == "57y") {
  3974. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3975. } else if (e.data.tools && e.data.tools == "57u") {
  3976. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3977. } else if (e.data.tools && e.data.tools == "57teacher") {
  3978. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3979. } else if (e.data.tools && e.data.tools == "64") {
  3980. U.MD.D.I.openApplication("AIChat")
  3981. } else if (e.data.tools && e.data.tools == "66") {
  3982. U.MD.D.I.openApplication("formulaEdi")
  3983. } else if (e.data.tools && e.data.tools == "67") {
  3984. U.MD.D.I.openApplication("molStr")
  3985. } else if (e.data.tools && e.data.tools == "68") {
  3986. U.MD.D.I.openApplication("timeAxis")
  3987. } else if (e.data.tools && e.data.tools == "openCourse") {
  3988. let _data = {
  3989. typea: e.data.typea || '',
  3990. typeb: e.data.typeb || '',
  3991. typed: e.data.typed || '',
  3992. }
  3993. U.MD.D.I.openInApplication("index", _data)
  3994. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3995. let _data = {
  3996. classid: e.data.classid || '',
  3997. }
  3998. U.MD.D.I.openInApplication("dataClass", _data)
  3999. } else if (e.data.tools && e.data.tools == "opencCscl") {
  4000. let _data = {
  4001. cid: e.data.cid || '',
  4002. gid: e.data.gid || '',
  4003. }
  4004. U.MD.D.I.openInApplication("opencCscl", _data)
  4005. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  4006. U.MD.D.I.openApplication("dataBoardTest")
  4007. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  4008. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  4009. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  4010. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  4011. }else if (e.data.tools && e.data.tools == "openCourseAiUpdate") {
  4012. U.MD.D.I.openInApplication("openCourseAiUpdate", e.data.cid)
  4013. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  4014. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  4015. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  4016. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  4017. }else if (e.data.tools && e.data.tools == "loginSz") {
  4018. U.MD.D.I.openInApplication("loginSz")
  4019. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  4020. if($('#classroom_observation_board')[0]){
  4021. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  4022. }
  4023. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  4024. }else if (e.data.tools && e.data.tools == "classroom_observation_ob_comment"){
  4025. if($('#classroom_observation_ob_comment')[0]){
  4026. $('#classroom_observation_ob_comment iframe')[0].contentDocument.location.reload()
  4027. }
  4028. U.MD.D.I.openInApplication("classroom_observation_ob_comment", e.data.type)
  4029. }
  4030. });
  4031. U.MD.D.I.selectUser = function () {
  4032. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  4033. if (res.value[0].length > 0) {
  4034. US.userInfo = res.value[0][0];
  4035. $(".userName")[0].innerHTML = US.userInfo.username;
  4036. }
  4037. }, [], { "type": "GET", "withCredentials": true });
  4038. }
  4039. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  4040. var _userinfo = US.userInfo, //登錄用戶信息
  4041. _userid = US.userInfo.userid, //登錄用戶id
  4042. _oid = _userinfo.organizeid,
  4043. _type = US.userInfo.type,
  4044. _org = US.userInfo.org,
  4045. _role = US.userInfo.role,
  4046. _classId = US.userInfo.classid;
  4047. if (_type == 4) {
  4048. tType = 4
  4049. }
  4050. switch (str) {
  4051. case "studyDetailNT": //無終端模式
  4052. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4053. setTimeout(() => {
  4054. U.MD.U.L.login();
  4055. }, 2000);
  4056. } else {
  4057. _formdiv = new U.UF.UI.form(
  4058. "課程詳情",
  4059. $$("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 }), {
  4060. "id": "studyDetailNT",
  4061. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4062. "onresize": function () { }
  4063. }, {
  4064. closecallback: function () { }
  4065. }, { "style": { "height": "36px" } }).form; //創建窗體
  4066. _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); } }
  4067. break;
  4068. }
  4069. case "studyDetail":
  4070. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4071. setTimeout(() => {
  4072. U.MD.U.L.login();
  4073. }, 2000);
  4074. } else {
  4075. _formdiv = new U.UF.UI.form(
  4076. "課程詳情",
  4077. $$("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 }), {
  4078. "id": "studyDetail",
  4079. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4080. "onresize": function () { }
  4081. }, {
  4082. closecallback: function () { }
  4083. }, { "style": { "height": "36px" } }).form; //創建窗體
  4084. _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); } }
  4085. break;
  4086. }
  4087. case "studyDetailTrain":
  4088. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4089. setTimeout(() => {
  4090. U.MD.U.L.login();
  4091. }, 2000);
  4092. } else {
  4093. _formdiv = new U.UF.UI.form(
  4094. "培訓詳情",
  4095. $$("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 }), {
  4096. "id": "studyDetailTrain",
  4097. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4098. "onresize": function () { }
  4099. }, {
  4100. closecallback: function () { }
  4101. }, { "style": { "height": "36px" } }).form; //創建窗體
  4102. _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); } }
  4103. break;
  4104. }
  4105. case "studyDetailS":
  4106. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4107. setTimeout(() => {
  4108. U.MD.U.L.login();
  4109. }, 2000);
  4110. } else {
  4111. _formdiv = new U.UF.UI.form(
  4112. "項目詳情",
  4113. $$("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 }), {
  4114. "id": "studyDetailS",
  4115. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4116. "onresize": function () { }
  4117. }, {
  4118. closecallback: function () { }
  4119. }, { "style": { "height": "36px" } }).form; //創建窗體
  4120. _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); } }
  4121. break;
  4122. }
  4123. case "studyDetailStudio":
  4124. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4125. setTimeout(() => {
  4126. U.MD.U.L.login();
  4127. }, 2000);
  4128. } else {
  4129. _formdiv = new U.UF.UI.form(
  4130. "工作詳情",
  4131. $$("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 }), {
  4132. "id": "studyDetailStudio",
  4133. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4134. "onresize": function () { }
  4135. }, {
  4136. closecallback: function () { }
  4137. }, { "style": { "height": "36px" } }).form; //創建窗體
  4138. _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); } }
  4139. break;
  4140. }
  4141. case "studyDetailS5":
  4142. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4143. setTimeout(() => {
  4144. U.MD.U.L.login();
  4145. }, 2000);
  4146. } else {
  4147. _formdiv = new U.UF.UI.form(
  4148. "項目詳情",
  4149. $$("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 }), {
  4150. "id": "studyDetailS",
  4151. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4152. "onresize": function () { }
  4153. }, {
  4154. closecallback: function () { }
  4155. }, { "style": { "height": "36px" } }).form; //創建窗體
  4156. _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); } }
  4157. break;
  4158. }
  4159. case "studyDetailGM":
  4160. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4161. setTimeout(() => {
  4162. U.MD.U.L.login();
  4163. }, 2000);
  4164. } else {
  4165. _formdiv = new U.UF.UI.form(
  4166. "課程詳情",
  4167. $$("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 }), {
  4168. "id": "studyDetail",
  4169. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. closecallback: function () { }
  4173. }, { "style": { "height": "36px" } }).form; //創建窗體
  4174. _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); } }
  4175. break;
  4176. }
  4177. case "hanUrl":
  4178. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4179. setTimeout(() => {
  4180. U.MD.U.L.login();
  4181. }, 2000);
  4182. } else {
  4183. _formdiv = new U.UF.UI.form(
  4184. "漢字宮",
  4185. $$("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" }), {
  4186. "id": "hanUrl",
  4187. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4188. "onresize": function () { }
  4189. }, {
  4190. closecallback: function () { }
  4191. }, { "style": { "height": "36px" } }).form; //創建窗體
  4192. _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); } }
  4193. break;
  4194. }
  4195. case "index":
  4196. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4197. setTimeout(() => {
  4198. U.MD.U.L.login();
  4199. }, 2000);
  4200. } else {
  4201. _formdiv = new U.UF.UI.form(
  4202. "課程中心",
  4203. $$("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 }), {
  4204. "id": "study",
  4205. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4206. "onresize": function () { }
  4207. }, {
  4208. closecallback: function () { }
  4209. }, { "style": { "height": "36px" } }).form; //創建窗體
  4210. _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); } }
  4211. break;
  4212. }
  4213. case "dataClass":
  4214. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4215. setTimeout(() => {
  4216. U.MD.U.L.login();
  4217. }, 2000);
  4218. } else {
  4219. _formdiv = new U.UF.UI.form(
  4220. "數據報告",
  4221. $$("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 }), {
  4222. "id": "dataClass",
  4223. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4224. "onresize": function () { }
  4225. }, {
  4226. closecallback: function () { }
  4227. }, { "style": { "height": "36px" } }).form; //創建窗體
  4228. _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); } }
  4229. break;
  4230. }
  4231. case "opencCscl":
  4232. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4233. setTimeout(() => {
  4234. U.MD.U.L.login();
  4235. }, 2000);
  4236. } else {
  4237. _formdiv = new U.UF.UI.form(
  4238. "協同建構",
  4239. $$("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 }), {
  4240. "id": "futureClass",
  4241. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4242. "onresize": function () { }
  4243. }, {
  4244. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  4245. }, { "style": { "height": "36px" } }).form; //創建窗體
  4246. _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); } }
  4247. break;
  4248. }
  4249. case "openCourseUpdate":
  4250. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4251. setTimeout(() => {
  4252. U.MD.U.L.login();
  4253. }, 2000);
  4254. } else {
  4255. _formdiv = new U.UF.UI.form(
  4256. "課程管理",
  4257. $$("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 }), {
  4258. "id": "openCourseUpdate",
  4259. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4260. "onresize": function () { }
  4261. }, {
  4262. closecallback: function () { }
  4263. }, { "style": { "height": "36px" } }).form; //創建窗體
  4264. break;
  4265. }
  4266. case "openNewCourseUpdate":
  4267. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4268. setTimeout(() => {
  4269. U.MD.U.L.login();
  4270. }, 2000);
  4271. } else {
  4272. _formdiv = new U.UF.UI.form(
  4273. "課程管理",
  4274. $$("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 }), {
  4275. "id": "openCourseUpdate",
  4276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4277. "onresize": function () { }
  4278. }, {
  4279. closecallback: function () { }
  4280. }, { "style": { "height": "36px" } }).form; //創建窗體
  4281. break;
  4282. }
  4283. case "openCourseEUpdate":
  4284. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4285. setTimeout(() => {
  4286. U.MD.U.L.login();
  4287. }, 2000);
  4288. } else {
  4289. _formdiv = new U.UF.UI.form(
  4290. "課程管理",
  4291. $$("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 }), {
  4292. "id": "openCourseUpdate",
  4293. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4294. "onresize": function () { }
  4295. }, {
  4296. closecallback: function () { }
  4297. }, { "style": { "height": "36px" } }).form; //創建窗體
  4298. break;
  4299. }
  4300. case "openCourseAiUpdate":
  4301. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4302. setTimeout(() => {
  4303. U.MD.U.L.login();
  4304. }, 2000);
  4305. } else {
  4306. _formdiv = new U.UF.UI.form(
  4307. "課程管理",
  4308. $$("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/#/aiAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4309. "id": "openCourseUpdate",
  4310. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4311. "onresize": function () { }
  4312. }, {
  4313. closecallback: function () { }
  4314. }, { "style": { "height": "36px" } }).form; //創建窗體
  4315. break;
  4316. }
  4317. case "openCourseNewUpdate":
  4318. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4319. setTimeout(() => {
  4320. U.MD.U.L.login();
  4321. }, 2000);
  4322. } else {
  4323. _formdiv = new U.UF.UI.form(
  4324. "課程管理",
  4325. $$("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 }), {
  4326. "id": "openCourseUpdate",
  4327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4328. "onresize": function () { }
  4329. }, {
  4330. closecallback: function () { }
  4331. }, { "style": { "height": "36px" } }).form; //創建窗體
  4332. break;
  4333. }
  4334. case "inviteLoginSz":
  4335. _formdiv = new U.UF.UI.form(
  4336. "隨機碼登錄",
  4337. $$("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 }), {
  4338. "id": "loginSz",
  4339. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4340. "onresize": function () { }
  4341. }, {
  4342. closecallback: function () { }
  4343. }, { "style": { "height": "36px" } }).form; //創建窗體
  4344. break;
  4345. case "loginSz":
  4346. _formdiv = new U.UF.UI.form(
  4347. "教師登錄",
  4348. $$("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" }), {
  4349. "id": "loginSz",
  4350. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4351. "onresize": function () { }
  4352. }, {
  4353. closecallback: function () { }
  4354. }, { "style": { "height": "36px" } }).form; //創建窗體
  4355. break;
  4356. case "teacher":
  4357. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4358. setTimeout(() => {
  4359. U.MD.U.L.login();
  4360. }, 2000);
  4361. } else {
  4362. _formdiv = new U.UF.UI.form(
  4363. "教師管理",
  4364. $$("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 }), {
  4365. "id": "teacher",
  4366. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4367. "onresize": function () { }
  4368. }, {
  4369. closecallback: function () { }
  4370. }, { "style": { "height": "36px" } }).form; //創建窗體
  4371. break;
  4372. }
  4373. case "dataBoardSZArea":
  4374. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4375. setTimeout(() => {
  4376. U.MD.U.L.login();
  4377. }, 2000);
  4378. } else {
  4379. _formdiv = new U.UF.UI.form(
  4380. "綜合數據看板",
  4381. $$("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 }), {
  4382. "id": "dataBoardSZArea",
  4383. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4384. "onresize": function () { }
  4385. }, {
  4386. closecallback: function () { }
  4387. }, { "style": { "height": "36px" } }).form; //創建窗體
  4388. break;
  4389. }
  4390. case "dataBoardSZCity":
  4391. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4392. setTimeout(() => {
  4393. U.MD.U.L.login();
  4394. }, 2000);
  4395. } else {
  4396. _formdiv = new U.UF.UI.form(
  4397. "綜合數據看板",
  4398. $$("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 }), {
  4399. "id": "dataBoardSZCity",
  4400. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4401. "onresize": function () { }
  4402. }, {
  4403. closecallback: function () { }
  4404. }, { "style": { "height": "36px" } }).form; //創建窗體
  4405. break;
  4406. }
  4407. case "classroom_observation_board":
  4408. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4409. setTimeout(() => {
  4410. U.MD.U.L.login();
  4411. }, 2000);
  4412. } else {
  4413. _formdiv = new U.UF.UI.form(
  4414. "課堂觀察",
  4415. $$("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 }), {
  4416. "id": "classroom_observation_board",
  4417. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4418. "onresize": function () { }
  4419. }, {
  4420. closecallback: function () { }
  4421. }, { "style": { "height": "36px" } }).form; //創建窗體
  4422. break;
  4423. }
  4424. case "classroom_observation_ob_comment":
  4425. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4426. setTimeout(() => {
  4427. U.MD.U.L.login();
  4428. }, 2000);
  4429. } else {
  4430. _formdiv = new U.UF.UI.form(
  4431. "課堂審核",
  4432. $$("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_ob_comment?tid="+data }), {
  4433. "id": "classroom_observation_ob_comment",
  4434. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4435. "onresize": function () { }
  4436. }, {
  4437. closecallback: function () { }
  4438. }, { "style": { "height": "36px" } }).form; //創建窗體
  4439. break;
  4440. }
  4441. }
  4442. }
  4443. U.MD.D.I.openApplication = function (str, obj, info) {
  4444. obj = obj || {};
  4445. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  4446. _formdiv, //創建任務欄時同時彈出的窗體元素。
  4447. _userinfo = US.userInfo, //登錄用戶信息
  4448. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  4449. _oid = obj.organizeid || _userinfo.organizeid,
  4450. _type = US.userInfo.type,
  4451. _org = US.userInfo.org,
  4452. _role = US.userInfo.role,
  4453. _classId = US.userInfo.classid,
  4454. _TscreenType = 1
  4455. _screenType = 2,
  4456. _SscreenType = 3;
  4457. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  4458. return;
  4459. }
  4460. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4461. switch (str) {
  4462. case "studnetProject": //好友打開
  4463. _formdiv = new U.UF.UI.form(
  4464. "我的項目",
  4465. $$("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 }), {
  4466. "id": "studnetProject",
  4467. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4468. "onresize": function () { }
  4469. }, {
  4470. closecallback: function () { }
  4471. }, { "style": { "height": "36px" } }).form; //創建窗體
  4472. _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); } }
  4473. break;
  4474. case "studentEvaluate": //好友打開
  4475. _formdiv = new U.UF.UI.form(
  4476. "我的評價",
  4477. $$("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 }), {
  4478. "id": "studentEvaluate",
  4479. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4480. "onresize": function () { }
  4481. }, {
  4482. closecallback: function () { }
  4483. }, { "style": { "height": "36px" } }).form; //創建窗體
  4484. _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); } }
  4485. break;
  4486. case "my":
  4487. _formdiv = new U.UF.UI.form(
  4488. "我的資料",
  4489. $$("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 }), {
  4490. "id": "my",
  4491. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4492. "onresize": function () { }
  4493. }, {
  4494. closecallback: function () { }
  4495. }, { "style": { "height": "36px" } }).form; //創建窗體
  4496. _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); } }
  4497. break;
  4498. case "program":
  4499. _formdiv = new U.UF.UI.form(
  4500. "編程平臺",
  4501. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4502. "id": "program",
  4503. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4504. "onresize": function () { }
  4505. }, {
  4506. closecallback: function () { }
  4507. }, { "style": { "height": "36px" } }).form; //創建窗體
  4508. _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); } }
  4509. break;
  4510. case "library":
  4511. _formdiv = new U.UF.UI.form(
  4512. "素材庫",
  4513. $$("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 }), {
  4514. "id": "library",
  4515. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4516. "onresize": function () { }
  4517. }, {
  4518. closecallback: function () { }
  4519. }, { "style": { "height": "36px" } }).form; //創建窗體
  4520. _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); } }
  4521. break;
  4522. case "whiteboard":
  4523. _formdiv = new U.UF.UI.form(
  4524. "電子白板",
  4525. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4526. "id": "whiteboard",
  4527. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4528. "onresize": function () { }
  4529. }, {
  4530. closecallback: function () { }
  4531. }, { "style": { "height": "36px" } }).form; //創建窗體
  4532. _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); } }
  4533. break;
  4534. case "investigation":
  4535. _formdiv = new U.UF.UI.form(
  4536. "問卷調查",
  4537. $$("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 }), {
  4538. "id": "investigation",
  4539. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4540. "onresize": function () { }
  4541. }, {
  4542. closecallback: function () { }
  4543. }, { "style": { "height": "36px" } }).form; //創建窗體
  4544. _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); } }
  4545. break;
  4546. case "note":
  4547. _formdiv = new U.UF.UI.form(
  4548. "便簽分類",
  4549. $$("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 }), {
  4550. "id": "note",
  4551. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4552. "onresize": function () { }
  4553. }, {
  4554. closecallback: function () { }
  4555. }, { "style": { "height": "36px" } }).form; //創建窗體
  4556. _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); } }
  4557. break;
  4558. // case "score":
  4559. // _formdiv = new U.UF.UI.form(
  4560. // "量規評分",
  4561. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4562. // "id": "score",
  4563. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4564. // "onresize": function() {}
  4565. // }, {
  4566. // closecallback: function() {}
  4567. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4568. // _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); } }
  4569. // break;
  4570. case "mind":
  4571. _formdiv = new U.UF.UI.form(
  4572. "思維導圖",
  4573. $$("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"
  4574. "id": "mind",
  4575. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4576. "onresize": function () { }
  4577. }, {
  4578. closecallback: function () { }
  4579. }, { "style": { "height": "36px" } }).form; //創建窗體
  4580. _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); } }
  4581. break;
  4582. case "doc":
  4583. // U.MD.D.I.isRoom();
  4584. _formdiv = new U.UF.UI.form(
  4585. "協同文檔",
  4586. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  4587. "id": "doc",
  4588. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4589. "onresize": function () { }
  4590. }, {
  4591. closecallback: function () { }
  4592. }, { "style": { "height": "36px" } }).form; //創建窗體
  4593. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4594. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4595. // })
  4596. _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); } }
  4597. break;
  4598. case "studentStudy":
  4599. _formdiv = new U.UF.UI.form(
  4600. "課程中心",
  4601. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": 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
  4602. "id": "studentStudy",
  4603. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4604. "onresize": function () { }
  4605. }, {
  4606. closecallback: function () { }
  4607. }, { "style": { "height": "36px" } }).form; //創建窗體
  4608. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4609. break;
  4610. case "train": //好友打開
  4611. _formdiv = new U.UF.UI.form(
  4612. "訓練平臺",
  4613. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4614. "id": "train",
  4615. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4616. "onresize": function () { }
  4617. }, {
  4618. closecallback: function () { }
  4619. }, { "style": { "height": "36px" } }).form; //創建窗體
  4620. _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); } }
  4621. break;
  4622. case "mindNetwork": //好友打開
  4623. _formdiv = new U.UF.UI.form(
  4624. "思維網格",
  4625. $$("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 }), {
  4626. "id": "mindNetwork",
  4627. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4628. "onresize": function () { }
  4629. }, {
  4630. closecallback: function () { }
  4631. }, { "style": { "height": "36px" } }).form; //創建窗體
  4632. _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); } }
  4633. break;
  4634. case "studentClassRoom": //好友打開
  4635. _formdiv = new U.UF.UI.form(
  4636. "實時課堂",
  4637. $$("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 }), {
  4638. "id": "studentClassRoom",
  4639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4640. "onresize": function () { }
  4641. }, {
  4642. closecallback: function () { }
  4643. }, { "style": { "height": "36px" } }).form; //創建窗體
  4644. _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); } }
  4645. setTimeout(() => {
  4646. U.UF.F.windowZooming(_formdiv)
  4647. }, 0);
  4648. break;
  4649. }
  4650. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4651. switch (str) {
  4652. case "studnetProject": //好友打開
  4653. _formdiv = new U.UF.UI.form(
  4654. "我的項目",
  4655. $$("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 }), {
  4656. "id": "studnetProject",
  4657. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4658. "onresize": function () { }
  4659. }, {
  4660. closecallback: function () { }
  4661. }, { "style": { "height": "36px" } }).form; //創建窗體
  4662. _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); } }
  4663. break;
  4664. case "studentEvaluate": //好友打開
  4665. _formdiv = new U.UF.UI.form(
  4666. "我的評價",
  4667. $$("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 }), {
  4668. "id": "studentEvaluate",
  4669. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4670. "onresize": function () { }
  4671. }, {
  4672. closecallback: function () { }
  4673. }, { "style": { "height": "36px" } }).form; //創建窗體
  4674. _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); } }
  4675. break;
  4676. case "my":
  4677. _formdiv = new U.UF.UI.form(
  4678. "我的資料",
  4679. $$("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 }), {
  4680. "id": "my",
  4681. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4682. "onresize": function () { }
  4683. }, {
  4684. closecallback: function () { }
  4685. }, { "style": { "height": "36px" } }).form; //創建窗體
  4686. _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); } }
  4687. break;
  4688. case "program":
  4689. _formdiv = new U.UF.UI.form(
  4690. "編程平臺",
  4691. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4692. "id": "program",
  4693. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4694. "onresize": function () { }
  4695. }, {
  4696. closecallback: function () { }
  4697. }, { "style": { "height": "36px" } }).form; //創建窗體
  4698. _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); } }
  4699. break;
  4700. case "library":
  4701. _formdiv = new U.UF.UI.form(
  4702. "素材庫",
  4703. $$("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 }), {
  4704. "id": "library",
  4705. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4706. "onresize": function () { }
  4707. }, {
  4708. closecallback: function () { }
  4709. }, { "style": { "height": "36px" } }).form; //創建窗體
  4710. _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); } }
  4711. break;
  4712. case "whiteboard":
  4713. _formdiv = new U.UF.UI.form(
  4714. "電子白板",
  4715. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4716. "id": "whiteboard",
  4717. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4718. "onresize": function () { }
  4719. }, {
  4720. closecallback: function () { }
  4721. }, { "style": { "height": "36px" } }).form; //創建窗體
  4722. _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); } }
  4723. break;
  4724. case "investigation":
  4725. _formdiv = new U.UF.UI.form(
  4726. "問卷調查",
  4727. $$("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 }), {
  4728. "id": "investigation",
  4729. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4730. "onresize": function () { }
  4731. }, {
  4732. closecallback: function () { }
  4733. }, { "style": { "height": "36px" } }).form; //創建窗體
  4734. _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); } }
  4735. break;
  4736. case "note":
  4737. _formdiv = new U.UF.UI.form(
  4738. "便簽分類",
  4739. $$("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 }), {
  4740. "id": "note",
  4741. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4742. "onresize": function () { }
  4743. }, {
  4744. closecallback: function () { }
  4745. }, { "style": { "height": "36px" } }).form; //創建窗體
  4746. _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); } }
  4747. break;
  4748. // case "score":
  4749. // _formdiv = new U.UF.UI.form(
  4750. // "量規評分",
  4751. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4752. // "id": "score",
  4753. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4754. // "onresize": function() {}
  4755. // }, {
  4756. // closecallback: function() {}
  4757. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4758. // _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); } }
  4759. // break;
  4760. case "mind":
  4761. _formdiv = new U.UF.UI.form(
  4762. "思維導圖",
  4763. $$("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"
  4764. "id": "mind",
  4765. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4766. "onresize": function () { }
  4767. }, {
  4768. closecallback: function () { }
  4769. }, { "style": { "height": "36px" } }).form; //創建窗體
  4770. _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); } }
  4771. break;
  4772. case "doc":
  4773. // U.MD.D.I.isRoom();
  4774. _formdiv = new U.UF.UI.form(
  4775. "協同文檔",
  4776. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4777. "id": "doc",
  4778. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4779. "onresize": function () { }
  4780. }, {
  4781. closecallback: function () { }
  4782. }, { "style": { "height": "36px" } }).form; //創建窗體
  4783. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4784. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4785. })
  4786. _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); } }
  4787. break;
  4788. case "train": //好友打開
  4789. _formdiv = new U.UF.UI.form(
  4790. "訓練平臺",
  4791. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4792. "id": "train",
  4793. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4794. "onresize": function () { }
  4795. }, {
  4796. closecallback: function () { }
  4797. }, { "style": { "height": "36px" } }).form; //創建窗體
  4798. _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); } }
  4799. break;
  4800. case "studentStudy":
  4801. _formdiv = new U.UF.UI.form(
  4802. "課程中心",
  4803. $$("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
  4804. "id": "studentStudy",
  4805. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4806. "onresize": function () { }
  4807. }, {
  4808. closecallback: function () { }
  4809. }, { "style": { "height": "36px" } }).form; //創建窗體
  4810. _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); } }
  4811. break;
  4812. case "mindNetwork": //好友打開
  4813. _formdiv = new U.UF.UI.form(
  4814. "思維網格",
  4815. $$("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 }), {
  4816. "id": "mindNetwork",
  4817. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4818. "onresize": function () { }
  4819. }, {
  4820. closecallback: function () { }
  4821. }, { "style": { "height": "36px" } }).form; //創建窗體
  4822. _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); } }
  4823. break;
  4824. case "studentClassRoom": //好友打開
  4825. _formdiv = new U.UF.UI.form(
  4826. "實時課堂",
  4827. $$("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 }), {
  4828. "id": "studentClassRoom",
  4829. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4830. "onresize": function () { }
  4831. }, {
  4832. closecallback: function () { }
  4833. }, { "style": { "height": "36px" } }).form; //創建窗體
  4834. _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); } }
  4835. setTimeout(() => {
  4836. U.UF.F.windowZooming(_formdiv)
  4837. }, 0);
  4838. break;
  4839. }
  4840. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4841. //選擇應用處理
  4842. switch (str) {
  4843. case "project": //好友打開
  4844. _formdiv = new U.UF.UI.form(
  4845. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  4846. $$("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 }), {
  4847. "id": "project",
  4848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4849. "onresize": function () { }
  4850. }, {
  4851. closecallback: function () { }
  4852. }, { "style": { "height": "36px" } }).form; //創建窗體
  4853. _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); } }
  4854. break;
  4855. case "student":
  4856. _formdiv = new U.UF.UI.form(
  4857. "學生管理",
  4858. $$("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 }), {
  4859. "id": "student",
  4860. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4861. "onresize": function () { }
  4862. }, {
  4863. closecallback: function () { }
  4864. }, { "style": { "height": "36px" } }).form; //創建窗體
  4865. _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); } }
  4866. break;
  4867. case "evaluate":
  4868. _formdiv = new U.UF.UI.form(
  4869. "學生評價",
  4870. $$("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 }), {
  4871. "id": "evaluate",
  4872. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4873. "onresize": function () { }
  4874. }, {
  4875. closecallback: function () { }
  4876. }, { "style": { "height": "36px" } }).form; //創建窗體
  4877. _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); } }
  4878. break;
  4879. case "sys":
  4880. _formdiv = new U.UF.UI.form(
  4881. "目標管理",
  4882. $$("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 }), {
  4883. "id": "sys",
  4884. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4885. "onresize": function () { }
  4886. }, {
  4887. closecallback: function () { }
  4888. }, { "style": { "height": "36px" } }).form; //創建窗體
  4889. _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); } }
  4890. break;
  4891. case "courseDesign":
  4892. _formdiv = new U.UF.UI.form(
  4893. "項目設計",
  4894. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4895. "id": "courseDesign",
  4896. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4897. "onresize": function () { }
  4898. }, {
  4899. closecallback: function () { }
  4900. }, { "style": { "height": "36px" } }).form; //創建窗體
  4901. _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); } }
  4902. break;
  4903. case "program":
  4904. _formdiv = new U.UF.UI.form(
  4905. "編程平臺",
  4906. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4907. "id": "program",
  4908. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4909. "onresize": function () { }
  4910. }, {
  4911. closecallback: function () { }
  4912. }, { "style": { "height": "36px" } }).form; //創建窗體
  4913. _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); } }
  4914. break;
  4915. case "class":
  4916. _formdiv = new U.UF.UI.form(
  4917. "班級管理",
  4918. $$("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 }), {
  4919. "id": "class",
  4920. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4921. "onresize": function () { }
  4922. }, {
  4923. closecallback: function () { }
  4924. }, { "style": { "height": "36px" } }).form; //創建窗體
  4925. _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); } }
  4926. break;
  4927. case "Grade":
  4928. _formdiv = new U.UF.UI.form(
  4929. "年級管理",
  4930. $$("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 }), {
  4931. "id": "Grade",
  4932. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4933. "onresize": function () { }
  4934. }, {
  4935. closecallback: function () { }
  4936. }, { "style": { "height": "36px" } }).form; //創建窗體
  4937. _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); } }
  4938. break;
  4939. case "teacherOffice":
  4940. _formdiv = new U.UF.UI.form(
  4941. "教研室",
  4942. $$("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 }), {
  4943. "id": "teacherOffice",
  4944. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4945. "onresize": function () { }
  4946. }, {
  4947. closecallback: function () { }
  4948. }, { "style": { "height": "36px" } }).form; //創建窗體
  4949. _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); } }
  4950. break;
  4951. case "my":
  4952. _formdiv = new U.UF.UI.form(
  4953. "我的資料",
  4954. $$("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 }), {
  4955. "id": "my",
  4956. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4957. "onresize": function () { }
  4958. }, {
  4959. closecallback: function () { }
  4960. }, { "style": { "height": "36px" } }).form; //創建窗體
  4961. _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); } }
  4962. break;
  4963. case "notice":
  4964. _formdiv = new U.UF.UI.form(
  4965. "通知公告",
  4966. $$("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 }), {
  4967. "id": "notice",
  4968. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4969. "onresize": function () { }
  4970. }, {
  4971. closecallback: function () { }
  4972. }, { "style": { "height": "36px" } }).form; //創建窗體
  4973. _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); } }
  4974. break;
  4975. case "library":
  4976. _formdiv = new U.UF.UI.form(
  4977. "素材庫",
  4978. $$("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 }), {
  4979. "id": "library",
  4980. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4981. "onresize": function () { }
  4982. }, {
  4983. closecallback: function () { }
  4984. }, { "style": { "height": "36px" } }).form; //創建窗體
  4985. _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); } }
  4986. break;
  4987. case "whiteboard":
  4988. _formdiv = new U.UF.UI.form(
  4989. "電子白板",
  4990. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4991. "id": "whiteboard",
  4992. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4993. "onresize": function () { }
  4994. }, {
  4995. closecallback: function () { }
  4996. }, { "style": { "height": "36px" } }).form; //創建窗體
  4997. _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); } }
  4998. break;
  4999. case "investigation":
  5000. _formdiv = new U.UF.UI.form(
  5001. "問卷調查",
  5002. $$("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 }), {
  5003. "id": "investigation",
  5004. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5005. "onresize": function () { }
  5006. }, {
  5007. closecallback: function () { }
  5008. }, { "style": { "height": "36px" } }).form; //創建窗體
  5009. _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); } }
  5010. break;
  5011. case "note":
  5012. _formdiv = new U.UF.UI.form(
  5013. "便簽分類",
  5014. $$("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 }), {
  5015. "id": "note",
  5016. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  5017. "onresize": function () { }
  5018. }, {
  5019. closecallback: function () { }
  5020. }, { "style": { "height": "36px" } }).form; //創建窗體
  5021. _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); } }
  5022. break;
  5023. // case "score":
  5024. // _formdiv = new U.UF.UI.form(
  5025. // "量規評分",
  5026. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  5027. // "id": "score",
  5028. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5029. // "onresize": function() {}
  5030. // }, {
  5031. // closecallback: function() {}
  5032. // }, { "style": { "height": "36px" } }).form; //創建窗體
  5033. // _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); } }
  5034. // break;
  5035. case "mind":
  5036. _formdiv = new U.UF.UI.form(
  5037. "思維導圖",
  5038. $$("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"
  5039. "id": "mind",
  5040. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5041. "onresize": function () { }
  5042. }, {
  5043. closecallback: function () { }
  5044. }, { "style": { "height": "36px" } }).form; //創建窗體
  5045. _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); } }
  5046. break;
  5047. case "doc":
  5048. // U.MD.D.I.isRoom();
  5049. _formdiv = new U.UF.UI.form(
  5050. "協同文檔",
  5051. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  5052. "id": "doc",
  5053. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5054. "onresize": function () { }
  5055. }, {
  5056. closecallback: function () { }
  5057. }, { "style": { "height": "36px" } }).form; //創建窗體
  5058. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5059. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  5060. })
  5061. _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); } }
  5062. break;
  5063. case "study":
  5064. _formdiv = new U.UF.UI.form(
  5065. "課程中心",
  5066. $$("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
  5067. "id": "study",
  5068. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5069. "onresize": function () { }
  5070. }, {
  5071. closecallback: function () { }
  5072. }, { "style": { "height": "36px" } }).form; //創建窗體
  5073. _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); } }
  5074. break;
  5075. case "mindNetwork": //好友打開
  5076. _formdiv = new U.UF.UI.form(
  5077. "思維網格",
  5078. $$("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 }), {
  5079. "id": "mindNetwork",
  5080. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5081. "onresize": function () { }
  5082. }, {
  5083. closecallback: function () { }
  5084. }, { "style": { "height": "36px" } }).form; //創建窗體
  5085. _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); } }
  5086. break;
  5087. case "train": //好友打開
  5088. _formdiv = new U.UF.UI.form(
  5089. "訓練平臺",
  5090. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  5091. "id": "mindNetwork",
  5092. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5093. "onresize": function () { }
  5094. }, {
  5095. closecallback: function () { }
  5096. }, { "style": { "height": "36px" } }).form; //創建窗體
  5097. _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); } }
  5098. break;
  5099. case "teacherClassRoom": //好友打開
  5100. _formdiv = new U.UF.UI.form(
  5101. "實時課堂",
  5102. $$("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 }), {
  5103. "id": "teacherClassRoom",
  5104. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5105. "onresize": function () { }
  5106. }, {
  5107. closecallback: function () { }
  5108. }, { "style": { "height": "36px" } }).form; //創建窗體
  5109. _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); } }
  5110. setTimeout(() => {
  5111. U.UF.F.windowZooming(_formdiv)
  5112. }, 0);
  5113. break;
  5114. }
  5115. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  5116. switch (str) {
  5117. case "project": //好友打開
  5118. _formdiv = new U.UF.UI.form(
  5119. "課程管理",
  5120. $$("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 }), {
  5121. "id": "project",
  5122. "style": { "width": "90%", "height": "90%", "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/project.png)" }, "name": "課程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5128. break;
  5129. case "evaluate":
  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/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5133. "id": "evaluate",
  5134. "style": { "width": "90%", "height": "90%", "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/evaluation.png)" }, "name": "學生評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5140. break;
  5141. case "notice":
  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/#/notice?userid=" + _userid + "&org=" + _org }), {
  5145. "id": "notice",
  5146. "style": { "width": "90%", "height": "90%", "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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5152. break;
  5153. case "stuLibrary":
  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/#/studyLibrary?userid=" + _userid + "&org=" + _org }), {
  5157. "id": "stuLibrary",
  5158. "style": { "width": "90%", "height": "90%", "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/stuLibrary.png)" }, "name": "學習資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5164. break;
  5165. case "program":
  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": "https://x.cocorobo.cn" }), {
  5169. "id": "program",
  5170. "style": { "width": "70%", "height": "90%", "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/myMessage.png)" }, "name": "編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5176. break;
  5177. case "whiteboard":
  5178. _formdiv = new U.UF.UI.form(
  5179. "電子白板",
  5180. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  5181. "id": "whiteboard",
  5182. "style": { "width": "90%", "height": "90%", "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/whiteBoard.png)" }, "name": "電子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5188. break;
  5189. case "investigation":
  5190. _formdiv = new U.UF.UI.form(
  5191. "問卷調查",
  5192. $$("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 }), {
  5193. "id": "investigation",
  5194. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5195. "onresize": function () { }
  5196. }, {
  5197. closecallback: function () { }
  5198. }, { "style": { "height": "36px" } }).form; //創建窗體
  5199. _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); } }
  5200. break;
  5201. case "mind":
  5202. _formdiv = new U.UF.UI.form(
  5203. "思維導圖",
  5204. $$("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"
  5205. "id": "mind",
  5206. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5207. "onresize": function () { }
  5208. }, {
  5209. closecallback: function () { }
  5210. }, { "style": { "height": "36px" } }).form; //創建窗體
  5211. _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); } }
  5212. break;
  5213. case "doc":
  5214. // U.MD.D.I.isRoom();
  5215. _formdiv = new U.UF.UI.form(
  5216. "協同文檔",
  5217. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  5218. "id": "doc",
  5219. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5220. "onresize": function () { }
  5221. }, {
  5222. closecallback: function () { }
  5223. }, { "style": { "height": "36px" } }).form; //創建窗體
  5224. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5225. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  5226. })
  5227. _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); } }
  5228. break;
  5229. case "study":
  5230. _formdiv = new U.UF.UI.form(
  5231. "課程中心",
  5232. $$("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
  5233. "id": "study",
  5234. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5235. "onresize": function () { }
  5236. }, {
  5237. closecallback: function () { }
  5238. }, { "style": { "height": "36px" } }).form; //創建窗體
  5239. _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); } }
  5240. break;
  5241. case "mindNetwork": //好友打開
  5242. _formdiv = new U.UF.UI.form(
  5243. "思維網格",
  5244. $$("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 }), {
  5245. "id": "mindNetwork",
  5246. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5247. "onresize": function () { }
  5248. }, {
  5249. closecallback: function () { }
  5250. }, { "style": { "height": "36px" } }).form; //創建窗體
  5251. _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); } }
  5252. break;
  5253. case "train": //好友打開
  5254. _formdiv = new U.UF.UI.form(
  5255. "訓練平臺",
  5256. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  5257. "id": "train",
  5258. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5259. "onresize": function () { }
  5260. }, {
  5261. closecallback: function () { }
  5262. }, { "style": { "height": "36px" } }).form; //創建窗體
  5263. _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); } }
  5264. break;
  5265. case "sys":
  5266. _formdiv = new U.UF.UI.form(
  5267. "目標管理",
  5268. $$("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 }), {
  5269. "id": "sys",
  5270. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5271. "onresize": function () { }
  5272. }, {
  5273. closecallback: function () { }
  5274. }, { "style": { "height": "36px" } }).form; //創建窗體
  5275. _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); } }
  5276. break;
  5277. case "courseDesign":
  5278. _formdiv = new U.UF.UI.form(
  5279. "項目設計",
  5280. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  5281. "id": "courseDesign",
  5282. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5283. "onresize": function () { }
  5284. }, {
  5285. closecallback: function () { }
  5286. }, { "style": { "height": "36px" } }).form; //創建窗體
  5287. _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); } }
  5288. break;
  5289. }
  5290. } else if (!_type) {
  5291. switch (str) {
  5292. case "my":
  5293. _formdiv = new U.UF.UI.form(
  5294. "我的資料",
  5295. $$("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 }), {
  5296. "id": "my",
  5297. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5298. "onresize": function () { }
  5299. }, {
  5300. closecallback: function () { }
  5301. }, { "style": { "height": "36px" } }).form; //創建窗體
  5302. _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); } }
  5303. break;
  5304. }
  5305. }
  5306. switch (str) {
  5307. // AIprogram2 AI體驗 aihub.cocorobo.cn
  5308. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  5309. // AIprogram AI編程 ai-blockly.cocorobo.cn
  5310. case "formulaEdi": //公式編輯
  5311. _formdiv = new U.UF.UI.form(
  5312. "公式編輯",
  5313. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  5314. "id": "formulaEdi",
  5315. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5316. "onresize": function () { }
  5317. }, {
  5318. closecallback: function () { }
  5319. }, { "style": { "height": "36px" } }).form; //創建窗體
  5320. _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); } }
  5321. break;
  5322. case "molStr": //分子結構
  5323. _formdiv = new U.UF.UI.form(
  5324. "分子結構",
  5325. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  5326. "id": "molStr",
  5327. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5328. "onresize": function () { }
  5329. }, {
  5330. closecallback: function () { }
  5331. }, { "style": { "height": "36px" } }).form; //創建窗體
  5332. _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); } }
  5333. break;
  5334. case "timeAxis": //時間軸
  5335. _formdiv = new U.UF.UI.form(
  5336. "時間軸",
  5337. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  5338. "id": "timeAxis",
  5339. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5340. "onresize": function () { }
  5341. }, {
  5342. closecallback: function () { }
  5343. }, { "style": { "height": "36px" } }).form; //創建窗體
  5344. _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); } }
  5345. break;
  5346. case "AIprogram2": //AI體驗
  5347. _formdiv = new U.UF.UI.form(
  5348. "AI體驗",
  5349. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  5350. "id": "AIprogram2",
  5351. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5352. "onresize": function () { }
  5353. }, {
  5354. closecallback: function () { }
  5355. }, { "style": { "height": "36px" } }).form; //創建窗體
  5356. _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); } }
  5357. break;
  5358. case "Pythonprogram": //python編程
  5359. _formdiv = new U.UF.UI.form(
  5360. "Python編程",
  5361. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  5362. "id": "Pythonprogram",
  5363. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5364. "onresize": function () { }
  5365. }, {
  5366. closecallback: function () { }
  5367. }, { "style": { "height": "36px" } }).form; //創建窗體
  5368. _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); } }
  5369. break;
  5370. case "AIprogram": //ai編程
  5371. _formdiv = new U.UF.UI.form(
  5372. "AI編程平臺",
  5373. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  5374. "id": "AIprogram",
  5375. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5376. "onresize": function () { }
  5377. }, {
  5378. closecallback: function () { }
  5379. }, { "style": { "height": "36px" } }).form; //創建窗體
  5380. _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); } }
  5381. break;
  5382. case "CocoPi": //CocoPi
  5383. _formdiv = new U.UF.UI.form(
  5384. "CocoPi",
  5385. $$("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" }), {
  5386. "id": "CocoPi",
  5387. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5388. "onresize": function () { }
  5389. }, {
  5390. closecallback: function () { }
  5391. }, { "style": { "height": "36px" } }).form; //創建窗體
  5392. _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); } }
  5393. break;
  5394. case "Wood": //Wood
  5395. _formdiv = new U.UF.UI.form(
  5396. "海龜編程",
  5397. $$("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/" }), {
  5398. "id": "Wood",
  5399. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5400. "onresize": function () { }
  5401. }, {
  5402. closecallback: function () { }
  5403. }, { "style": { "height": "36px" } }).form; //創建窗體
  5404. _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); } }
  5405. break;
  5406. case "car": //模擬駕駛
  5407. _formdiv = new U.UF.UI.form(
  5408. "模擬駕駛",
  5409. $$("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/" }), {
  5410. "id": "car",
  5411. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5412. "onresize": function () { }
  5413. }, {
  5414. closecallback: function () { }
  5415. }, { "style": { "height": "36px" } }).form; //創建窗體
  5416. _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); } }
  5417. break;
  5418. case "lineSearch": //路徑搜索
  5419. _formdiv = new U.UF.UI.form(
  5420. "路徑搜索",
  5421. $$("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/" }), {
  5422. "id": "lineSearch",
  5423. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5424. "onresize": function () { }
  5425. }, {
  5426. closecallback: function () { }
  5427. }, { "style": { "height": "36px" } }).form; //創建窗體
  5428. _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); } }
  5429. break;
  5430. case "deepLearning": //深度學習
  5431. _formdiv = new U.UF.UI.form(
  5432. "深度學習",
  5433. $$("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/#" }), {
  5434. "id": "deepLearning",
  5435. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5436. "onresize": function () { }
  5437. }, {
  5438. closecallback: function () { }
  5439. }, { "style": { "height": "36px" } }).form; //創建窗體
  5440. _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); } }
  5441. break;
  5442. case "allHistory": //深度學習
  5443. _formdiv = new U.UF.UI.form(
  5444. "全歷史",
  5445. $$("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/" }), {
  5446. "id": "allHistory",
  5447. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5448. "onresize": function () { }
  5449. }, {
  5450. closecallback: function () { }
  5451. }, { "style": { "height": "36px" } }).form; //創建窗體
  5452. _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); } }
  5453. break;
  5454. case "chatPDF": //ai編程
  5455. _formdiv = new U.UF.UI.form(
  5456. "chatPDF",
  5457. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  5458. "id": "chatPDF",
  5459. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5460. "onresize": function () { }
  5461. }, {
  5462. closecallback: function () { }
  5463. }, { "style": { "height": "36px" } }).form; //創建窗體
  5464. _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); } }
  5465. break;
  5466. case "resources": //國家教育
  5467. _formdiv = new U.UF.UI.form(
  5468. "國家教育",
  5469. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  5470. "id": "resources",
  5471. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5472. "onresize": function () { }
  5473. }, {
  5474. closecallback: function () { }
  5475. }, { "style": { "height": "36px" } }).form; //創建窗體
  5476. _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); } }
  5477. break;
  5478. case "codeEdit": //源碼編輯
  5479. _formdiv = new U.UF.UI.form(
  5480. "源碼編輯",
  5481. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  5482. "id": "codeEdit",
  5483. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5484. "onresize": function () { }
  5485. }, {
  5486. closecallback: function () { }
  5487. }, { "style": { "height": "36px" } }).form; //創建窗體
  5488. _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); } }
  5489. break; //
  5490. case "MindMap": //MindMap
  5491. _formdiv = new U.UF.UI.form(
  5492. "MindMap",
  5493. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  5494. "id": "MindMap",
  5495. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5496. "onresize": function () { }
  5497. }, {
  5498. closecallback: function () { }
  5499. }, { "style": { "height": "36px" } }).form; //創建窗體
  5500. _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); } }
  5501. break;
  5502. case "netWorkPanel": //netWorkPanel
  5503. _formdiv = new U.UF.UI.form(
  5504. "netWorkPanel",
  5505. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  5506. "id": "netWorkPanel",
  5507. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5508. "onresize": function () { }
  5509. }, {
  5510. closecallback: function () { }
  5511. }, { "style": { "height": "36px" } }).form; //創建窗體
  5512. _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); } }
  5513. break;
  5514. case "GeoGebra": //GeoGebra
  5515. _formdiv = new U.UF.UI.form(
  5516. "GeoGebra",
  5517. $$("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" }), {
  5518. "id": "GeoGebra",
  5519. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5520. "onresize": function () { }
  5521. }, {
  5522. closecallback: function () { }
  5523. }, { "style": { "height": "36px" } }).form; //創建窗體
  5524. _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); } }
  5525. break;
  5526. case "translation": //翻譯
  5527. _formdiv = new U.UF.UI.form(
  5528. "翻譯",
  5529. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  5530. "id": "translation",
  5531. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5532. "onresize": function () { }
  5533. }, {
  5534. closecallback: function () { }
  5535. }, { "style": { "height": "36px" } }).form; //創建窗體
  5536. _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); } }
  5537. break;
  5538. case "mohe": //魔盒
  5539. _formdiv = new U.UF.UI.form(
  5540. "魔盒識字",
  5541. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  5542. "id": "mohe",
  5543. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5544. "onresize": function () { }
  5545. }, {
  5546. closecallback: function () { }
  5547. }, { "style": { "height": "36px" } }).form; //創建窗體
  5548. _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); } }
  5549. break;
  5550. case "24game": //24點
  5551. _formdiv = new U.UF.UI.form(
  5552. "24點",
  5553. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  5554. "id": "24game",
  5555. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5556. "onresize": function () { }
  5557. }, {
  5558. closecallback: function () { }
  5559. }, { "style": { "height": "36px" } }).form; //創建窗體
  5560. _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); } }
  5561. break;
  5562. case "case":
  5563. _formdiv = new U.UF.UI.form(
  5564. "課程進展",
  5565. $$("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 }), {
  5566. "id": "case",
  5567. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5568. "onresize": function () { }
  5569. }, {
  5570. closecallback: function () { }
  5571. }, { "style": { "height": "36px" } }).form; //創建窗體
  5572. _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); } }
  5573. break;
  5574. case "snf":
  5575. _formdiv = new U.UF.UI.form(
  5576. "賽諾梵",
  5577. $$("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" }), {
  5578. "id": "snf",
  5579. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5580. "onresize": function () { }
  5581. }, {
  5582. closecallback: function () { }
  5583. }, { "style": { "height": "36px" } }).form; //創建窗體
  5584. _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); } }
  5585. break;
  5586. case "hanFamily":
  5587. _formdiv = new U.UF.UI.form(
  5588. "漢字家族",
  5589. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  5590. "id": "hanFamily",
  5591. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5592. "onresize": function () { }
  5593. }, {
  5594. closecallback: function () { }
  5595. }, { "style": { "height": "36px" } }).form; //創建窗體
  5596. _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); } }
  5597. break;
  5598. case "hanClassics":
  5599. _formdiv = new U.UF.UI.form(
  5600. "國學經典",
  5601. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  5602. "id": "hanClassics",
  5603. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5604. "onresize": function () { }
  5605. }, {
  5606. closecallback: function () { }
  5607. }, { "style": { "height": "36px" } }).form; //創建窗體
  5608. _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); } }
  5609. break;
  5610. case "hanTraining":
  5611. _formdiv = new U.UF.UI.form(
  5612. "筆畫訓練",
  5613. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  5614. "id": "hanTraining",
  5615. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5616. "onresize": function () { }
  5617. }, {
  5618. closecallback: function () { }
  5619. }, { "style": { "height": "36px" } }).form; //創建窗體
  5620. _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); } }
  5621. break;
  5622. case "hanClass":
  5623. _formdiv = new U.UF.UI.form(
  5624. "書法課堂",
  5625. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  5626. "id": "hanClass",
  5627. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5628. "onresize": function () { }
  5629. }, {
  5630. closecallback: function () { }
  5631. }, { "style": { "height": "36px" } }).form; //創建窗體
  5632. _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); } }
  5633. break;
  5634. case "han":
  5635. _formdiv = new U.UF.UI.form(
  5636. "漢字宮",
  5637. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  5638. "id": "han",
  5639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5640. "onresize": function () { }
  5641. }, {
  5642. closecallback: function () { }
  5643. }, { "style": { "height": "36px" } }).form; //創建窗體
  5644. _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); } }
  5645. break;
  5646. case "projectGM": //課程管理
  5647. _formdiv = new U.UF.UI.form(
  5648. "課程管理",
  5649. $$("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 }), {
  5650. "id": "projectGM",
  5651. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5652. "onresize": function () { }
  5653. }, {
  5654. closecallback: function () { }
  5655. }, { "style": { "height": "36px" } }).form; //創建窗體
  5656. _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); } }
  5657. break;
  5658. case "studyGM": //課程中心
  5659. _formdiv = new U.UF.UI.form(
  5660. "課程中心",
  5661. $$("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
  5662. "id": "study",
  5663. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5664. "onresize": function () { }
  5665. }, {
  5666. closecallback: function () { }
  5667. }, { "style": { "height": "36px" } }).form; //創建窗體
  5668. _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); } }
  5669. break;
  5670. // studentGM
  5671. case "studentGM": //學生管理
  5672. _formdiv = new U.UF.UI.form(
  5673. "學生管理",
  5674. $$("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 }), {
  5675. "id": "studentGM",
  5676. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5677. "onresize": function () { }
  5678. }, {
  5679. closecallback: function () { }
  5680. }, { "style": { "height": "36px" } }).form; //創建窗體
  5681. _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); } }
  5682. break;
  5683. case "evaluateGM": //學生評價
  5684. _formdiv = new U.UF.UI.form(
  5685. "學生評價",
  5686. $$("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 }), {
  5687. "id": "evaluateGM",
  5688. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5689. "onresize": function () { }
  5690. }, {
  5691. closecallback: function () { }
  5692. }, { "style": { "height": "36px" } }).form; //創建窗體
  5693. _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); } }
  5694. break;
  5695. // classGM
  5696. case "classGM": //班級管理
  5697. _formdiv = new U.UF.UI.form(
  5698. "班級管理",
  5699. $$("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 }), {
  5700. "id": "classGM",
  5701. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5702. "onresize": function () { }
  5703. }, {
  5704. closecallback: function () { }
  5705. }, { "style": { "height": "36px" } }).form; //創建窗體
  5706. _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); } }
  5707. break;
  5708. // dataGM
  5709. case "dataGM":
  5710. _formdiv = new U.UF.UI.form(
  5711. "我的資料",
  5712. $$("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 }), {
  5713. "id": "dataGM",
  5714. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5715. "onresize": function () { }
  5716. }, {
  5717. closecallback: function () { }
  5718. }, { "style": { "height": "36px" } }).form; //創建窗體
  5719. _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); } }
  5720. break;
  5721. // caseGM
  5722. case "caseGM": //課程進展
  5723. _formdiv = new U.UF.UI.form(
  5724. "課程進展",
  5725. $$("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 }), {
  5726. "id": "caseGM",
  5727. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5728. "onresize": function () { }
  5729. }, {
  5730. closecallback: function () { }
  5731. }, { "style": { "height": "36px" } }).form; //創建窗體
  5732. _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); } }
  5733. break;
  5734. // meterialGM
  5735. case "meterialGM": //素材庫
  5736. _formdiv = new U.UF.UI.form(
  5737. "素材庫",
  5738. $$("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 }), {
  5739. "id": "meterialGM",
  5740. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5741. "onresize": function () { }
  5742. }, {
  5743. closecallback: function () { }
  5744. }, { "style": { "height": "36px" } }).form; //創建窗體
  5745. _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); } }
  5746. break;
  5747. // evaluateSGM
  5748. case "evaluateSGM": //我的評價
  5749. _formdiv = new U.UF.UI.form(
  5750. "我的評價",
  5751. $$("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 }), {
  5752. "id": "evaluateSGM",
  5753. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5754. "onresize": function () { }
  5755. }, {
  5756. closecallback: function () { }
  5757. }, { "style": { "height": "36px" } }).form; //創建窗體
  5758. _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); } }
  5759. break;
  5760. case "jupyter": //jupyter
  5761. _formdiv = new U.UF.UI.form(
  5762. "jupyter",
  5763. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  5764. "id": "jupyter",
  5765. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5766. "onresize": function () { }
  5767. }, {
  5768. closecallback: function () { }
  5769. }, { "style": { "height": "36px" } }).form; //創建窗體
  5770. _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); } }
  5771. break;
  5772. case "number": //數字實驗室
  5773. _formdiv = new U.UF.UI.form(
  5774. "數字實驗室",
  5775. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  5776. "id": "number",
  5777. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5778. "onresize": function () { }
  5779. }, {
  5780. closecallback: function () { }
  5781. }, { "style": { "height": "36px" } }).form; //創建窗體
  5782. _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); } }
  5783. break;
  5784. case "studentCourse": //項目管理 學生
  5785. _formdiv = new U.UF.UI.form(
  5786. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  5787. $$("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 }), {
  5788. "id": "studentCourse",
  5789. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5790. "onresize": function () { }
  5791. }, {
  5792. closecallback: function () { }
  5793. }, { "style": { "height": "36px" } }).form; //創建窗體
  5794. _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); } }
  5795. break;
  5796. case "studentCourseS": //項目管理 老師
  5797. _formdiv = new U.UF.UI.form(
  5798. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  5799. $$("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 }), {
  5800. "id": "studentCourseS",
  5801. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5802. "onresize": function () { }
  5803. }, {
  5804. closecallback: function () { }
  5805. }, { "style": { "height": "36px" } }).form; //創建窗體
  5806. _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); } }
  5807. break;
  5808. case "studentIndex": //項目中心
  5809. _formdiv = new U.UF.UI.form(
  5810. "項目中心",
  5811. $$("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 }), {
  5812. "id": "studentIndex",
  5813. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5814. "onresize": function () { }
  5815. }, {
  5816. closecallback: function () { }
  5817. }, { "style": { "height": "36px" } }).form; //創建窗體
  5818. _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); } }
  5819. break;
  5820. case "CaseDesignS":
  5821. _formdiv = new U.UF.UI.form(
  5822. "項目進展",
  5823. $$("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 }), {
  5824. "id": "case",
  5825. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5826. "onresize": function () { }
  5827. }, {
  5828. closecallback: function () { }
  5829. }, { "style": { "height": "36px" } }).form; //創建窗體
  5830. _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); } }
  5831. break;
  5832. case "tcStudent": //騰訊學生管理
  5833. _formdiv = new U.UF.UI.form(
  5834. "學生管理",
  5835. $$("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 }), {
  5836. "id": "tcStudent",
  5837. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5838. "onresize": function () { }
  5839. }, {
  5840. closecallback: function () { }
  5841. }, { "style": { "height": "36px" } }).form; //創建窗體
  5842. _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); } }
  5843. break;
  5844. case "tcSchool": //騰訊學校管理
  5845. _formdiv = new U.UF.UI.form(
  5846. "學校管理",
  5847. $$("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 }), {
  5848. "id": "tcSchool",
  5849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5850. "onresize": function () { }
  5851. }, {
  5852. closecallback: function () { }
  5853. }, { "style": { "height": "36px" } }).form; //創建窗體
  5854. _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); } }
  5855. break;
  5856. case "tcTeacher": //騰訊學校管理
  5857. _formdiv = new U.UF.UI.form(
  5858. "教師管理",
  5859. $$("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 }), {
  5860. "id": "tcTeacher",
  5861. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5862. "onresize": function () { }
  5863. }, {
  5864. closecallback: function () { }
  5865. }, { "style": { "height": "36px" } }).form; //創建窗體
  5866. _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); } }
  5867. break;
  5868. case "tcData": //騰訊我的資料
  5869. _formdiv = new U.UF.UI.form(
  5870. "我的資料",
  5871. $$("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 }), {
  5872. "id": "tcData",
  5873. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5874. "onresize": function () { }
  5875. }, {
  5876. closecallback: function () { }
  5877. }, { "style": { "height": "36px" } }).form; //創建窗體
  5878. _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); } }
  5879. break;
  5880. case "tcNotice": //騰訊消息通知
  5881. _formdiv = new U.UF.UI.form(
  5882. "消息通知",
  5883. $$("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 }), {
  5884. "id": "tcNotice",
  5885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5886. "onresize": function () { }
  5887. }, {
  5888. closecallback: function () { }
  5889. }, { "style": { "height": "36px" } }).form; //創建窗體
  5890. _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); } }
  5891. break;
  5892. case "myReport": //好友打開
  5893. _formdiv = new U.UF.UI.form(
  5894. "我的評價",
  5895. $$("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 }), {
  5896. "id": "myReport",
  5897. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5898. "onresize": function () { }
  5899. }, {
  5900. closecallback: function () { }
  5901. }, { "style": { "height": "36px" } }).form; //創建窗體
  5902. _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); } }
  5903. break;
  5904. case "learnAna": //好友打開
  5905. _formdiv = new U.UF.UI.form(
  5906. "學習分析",
  5907. $$("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 }), {
  5908. "id": "learnAna",
  5909. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5910. "onresize": function () { }
  5911. }, {
  5912. closecallback: function () { }
  5913. }, { "style": { "height": "36px" } }).form; //創建窗體
  5914. _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); } }
  5915. break;
  5916. case "AIChat": //AI共創
  5917. _formdiv = new U.UF.UI.form(
  5918. "AI共創",
  5919. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  5920. "id": "AIChat",
  5921. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  5922. "onresize": function () { }
  5923. }, {
  5924. istop: true,
  5925. closecallback: function () { $("#aichat_icon").remove(); },
  5926. narrowcallback: function () {
  5927. if (!$("#aichat_icon")[0]) {
  5928. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  5929. }
  5930. },
  5931. }, { "style": { "height": "36px" } }).form; //創建窗體
  5932. _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); } }
  5933. break;
  5934. case "ainew": //AI共創
  5935. _formdiv = new U.UF.UI.form(
  5936. "AI協同",
  5937. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  5938. "id": "ainew",
  5939. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5940. "onresize": function () { }
  5941. }, {
  5942. closecallback: function () { }
  5943. }, { "style": { "height": "36px" } }).form; //創建窗體
  5944. _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); } }
  5945. break;
  5946. case "gpt4": //gpt4
  5947. _formdiv = new U.UF.UI.form(
  5948. "AI助手",
  5949. $$("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 }), {
  5950. "id": "gpt4",
  5951. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5952. "onresize": function () { }
  5953. }, {
  5954. closecallback: function () { }
  5955. }, { "style": { "height": "36px" } }).form; //創建窗體
  5956. _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); } }
  5957. break;
  5958. case "aigpt": //gpt4
  5959. _formdiv = new U.UF.UI.form(
  5960. "AI助手+",
  5961. $$("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 }), {
  5962. "id": "aigpt",
  5963. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5964. "onresize": function () { }
  5965. }, {
  5966. closecallback: function () { }
  5967. }, { "style": { "height": "36px" } }).form; //創建窗體
  5968. _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); } }
  5969. break;
  5970. case "aiKnowledge": //aiKnowledge
  5971. _formdiv = new U.UF.UI.form(
  5972. "知識建構",
  5973. $$("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/#/knowledge_construction/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5974. "id": "aiKnowledge",
  5975. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5976. "onresize": function () { }
  5977. }, {
  5978. closecallback: function () { }
  5979. }, { "style": { "height": "36px" } }).form; //創建窗體
  5980. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aiKnowledge.png)" }, "name": "知識建構", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5981. break;
  5982. case "futureClass": //AI共創
  5983. _formdiv = new U.UF.UI.form(
  5984. "協同建構",
  5985. $$("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
  5986. "id": "synergyCourse",
  5987. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5988. "onresize": function () { }
  5989. }, {
  5990. closecallback: function () {
  5991. $("iframe", _formdiv)[0].contentWindow.loginout();
  5992. }
  5993. }, { "style": { "height": "36px" } }).form; //創建窗體
  5994. _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); } }
  5995. break;
  5996. case "aiagent": //ai agent
  5997. _formdiv = new U.UF.UI.form(
  5998. "AI Agent",
  5999. $$("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" }), {
  6000. "id": "AIAgent",
  6001. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6002. "onresize": function () { }
  6003. }, {
  6004. closecallback: function () { }
  6005. }, { "style": { "height": "36px" } }).form; //創建窗體
  6006. _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); } }
  6007. break;
  6008. case "dataBoard": //數據看板
  6009. _formdiv = new U.UF.UI.form(
  6010. "數據看板",
  6011. $$("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 }), {
  6012. "id": "dataBoard",
  6013. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6014. "onresize": function () { }
  6015. }, {
  6016. closecallback: function () { }
  6017. }, { "style": { "height": "36px" } }).form; //創建窗體
  6018. _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); } }
  6019. break;
  6020. case "dataBoardSies": //數據融合
  6021. _formdiv = new U.UF.UI.form(
  6022. "數據融合",
  6023. $$("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 }), {
  6024. "id": "dataBoardSies",
  6025. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6026. "onresize": function () { }
  6027. }, {
  6028. closecallback: function () { }
  6029. }, { "style": { "height": "36px" } }).form; //創建窗體
  6030. _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); } }
  6031. break;
  6032. case "dataBoardNew": //數據看板
  6033. _formdiv = new U.UF.UI.form(
  6034. "綜合看板",
  6035. $$("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 }), {
  6036. "id": "dataBoardNew",
  6037. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6038. "onresize": function () { }
  6039. }, {
  6040. closecallback: function () { }
  6041. }, { "style": { "height": "36px" } }).form; //創建窗體
  6042. _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); } }
  6043. break;
  6044. case "dataBoardTest": //數據看板
  6045. _formdiv = new U.UF.UI.form(
  6046. "評測看板",
  6047. $$("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 }), {
  6048. "id": "dataBoardTest",
  6049. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6050. "onresize": function () { }
  6051. }, {
  6052. closecallback: function () { }
  6053. }, { "style": { "height": "36px" } }).form; //創建窗體
  6054. _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); } }
  6055. break;
  6056. case "AIAnalyse": //AI共創
  6057. _formdiv = new U.UF.UI.form(
  6058. "AI分析",
  6059. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  6060. "id": "AIAnalyse",
  6061. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6062. "onresize": function () { }
  6063. }, {
  6064. closecallback: function () { }
  6065. }, { "style": { "height": "36px" } }).form; //創建窗體
  6066. _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); } }
  6067. break;
  6068. case "studioCourse": //AI共創
  6069. _formdiv = new U.UF.UI.form(
  6070. "工作管理",
  6071. $$("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 }), {
  6072. "id": "studioCourse",
  6073. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6074. "onresize": function () { }
  6075. }, {
  6076. closecallback: function () { }
  6077. }, { "style": { "height": "36px" } }).form; //創建窗體
  6078. _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); } }
  6079. break;
  6080. case "studioIndex": //AI共創
  6081. _formdiv = new U.UF.UI.form(
  6082. "工作中心",
  6083. $$("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 }), {
  6084. "id": "studioIndex",
  6085. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6086. "onresize": function () { }
  6087. }, {
  6088. closecallback: function () { }
  6089. }, { "style": { "height": "36px" } }).form; //創建窗體
  6090. _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); } }
  6091. break;
  6092. case "source":
  6093. _formdiv = new U.UF.UI.form(
  6094. "教學資源",
  6095. $$("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 }), {
  6096. "id": "source",
  6097. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6098. "onresize": function () { }
  6099. }, {
  6100. closecallback: function () { }
  6101. }, { "style": { "height": "36px" } }).form; //創建窗體
  6102. _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); } }
  6103. break;
  6104. case "testTeacher":
  6105. _formdiv = new U.UF.UI.form(
  6106. "教師管理",
  6107. $$("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 }), {
  6108. "id": "testTeacher",
  6109. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6110. "onresize": function () { }
  6111. }, {
  6112. closecallback: function () { }
  6113. }, { "style": { "height": "36px" } }).form; //創建窗體
  6114. _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); } }
  6115. break;
  6116. case "testStudent":
  6117. _formdiv = new U.UF.UI.form(
  6118. "教師中心",
  6119. $$("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 }), {
  6120. "id": "testStudent",
  6121. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6122. "onresize": function () { }
  6123. }, {
  6124. closecallback: function () { }
  6125. }, { "style": { "height": "36px" } }).form; //創建窗體
  6126. _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); } }
  6127. break;
  6128. case "testTeacherSies":
  6129. _formdiv = new U.UF.UI.form(
  6130. "教師管理",
  6131. $$("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 }), {
  6132. "id": "testTeacherSies",
  6133. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6134. "onresize": function () { }
  6135. }, {
  6136. closecallback: function () { }
  6137. }, { "style": { "height": "36px" } }).form; //創建窗體
  6138. _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); } }
  6139. break;
  6140. case "testStudentSies":
  6141. _formdiv = new U.UF.UI.form(
  6142. "教師中心",
  6143. $$("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 }), {
  6144. "id": "testStudentSies",
  6145. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6146. "onresize": function () { }
  6147. }, {
  6148. closecallback: function () { }
  6149. }, { "style": { "height": "36px" } }).form; //創建窗體
  6150. _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); } }
  6151. break;
  6152. case "ytpbl": //消息通知
  6153. _formdiv = new U.UF.UI.form(
  6154. "案例征集",
  6155. $$("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 }), {
  6156. "id": "ytpbl",
  6157. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6158. "onresize": function () { }
  6159. }, {
  6160. closecallback: function () { }
  6161. }, { "style": { "height": "36px" } }).form; //創建窗體
  6162. _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); } }
  6163. // 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");
  6164. break;
  6165. case "aiCourseResource": //人工智能窗體
  6166. _formdiv = new U.UF.UI.form(
  6167. false,
  6168. $$("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 }), {
  6169. "id": "aiCourseResource",
  6170. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6171. "onresize": function () { },
  6172. "isdrag": false,
  6173. }, {
  6174. closecallback: function () { }
  6175. }, { "style": { "height": "36px" } }).form; //創建窗體
  6176. _taskbar = ''
  6177. break;
  6178. case "szdjgCocooroboX": //圖形化編程
  6179. _formdiv = new U.UF.UI.form(
  6180. "圖形化編程",
  6181. $$("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" }), {
  6182. "id": "szdjgCocooroboX",
  6183. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6184. "onresize": function () { }
  6185. }, {
  6186. closecallback: function () { }
  6187. }, { "style": { "height": "36px" } }).form; //創建窗體
  6188. _taskbar = ''
  6189. break;
  6190. case "szdjgPython": //python編程
  6191. _formdiv = new U.UF.UI.form(
  6192. "Python編程",
  6193. $$("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" }), {
  6194. "id": "szdjgPython",
  6195. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6196. "onresize": function () { }
  6197. }, {
  6198. closecallback: function () { }
  6199. }, { "style": { "height": "36px" } }).form; //創建窗體
  6200. _taskbar = ''
  6201. break;
  6202. case "Record":
  6203. _formdiv = new U.UF.UI.form(
  6204. "觀察記錄",
  6205. $$("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 }), {
  6206. "id": "Record",
  6207. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6208. "onresize": function () { }
  6209. }, {
  6210. closecallback: function () { }
  6211. }, { "style": { "height": "36px" } }).form; //創建窗體
  6212. _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); } }
  6213. break;
  6214. case "aigptCourse":
  6215. _formdiv = new U.UF.UI.form(
  6216. "AI智能體",
  6217. $$("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' }), {
  6218. "id": "aigptCourse",
  6219. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6220. "onresize": function () { }
  6221. }, {
  6222. closecallback: function () { }
  6223. }, { "style": { "height": "36px" } }).form; //創建窗體
  6224. _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); } }
  6225. break;
  6226. case "classroomObservation":
  6227. _formdiv = new U.UF.UI.form(
  6228. "課堂觀察",
  6229. $$("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/#/classroomObservation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  6230. "id": "classroomObservation",
  6231. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6232. "onresize": function () { }
  6233. }, {
  6234. closecallback: function () { }
  6235. }, { "style": { "height": "36px" } }).form; //創建窗體
  6236. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classroomObservation.png)" }, "name": "課堂觀察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6237. break;
  6238. case "pblCourse":
  6239. _formdiv = new U.UF.UI.form(
  6240. "學生PBL",
  6241. $$("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/#/guide?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  6242. "id": "pblCourse",
  6243. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6244. "onresize": function () { }
  6245. }, {
  6246. closecallback: function () { }
  6247. }, { "style": { "height": "36px" } }).form; //創建窗體
  6248. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/pblCourse.png)" }, "name": "課堂觀察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6249. break;
  6250. }
  6251. //U.MD.D.I.openClick(str);
  6252. //如果有任務欄信息
  6253. if (_taskbar) {
  6254. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6255. }
  6256. }
  6257. // U.MD.D.I.openClick = function(str){
  6258. // var click = '';
  6259. // switch(str){
  6260. // case 'friend':
  6261. // click = '我的好友';
  6262. // break;
  6263. // case 'domain':
  6264. // click = '域名管理';
  6265. // break;
  6266. // case 'disk':
  6267. // click = '我的雲盤';
  6268. // break;
  6269. // case 'word':
  6270. // click = 'Word';
  6271. // break;
  6272. // case 'excel':
  6273. // click = 'Execl';
  6274. // break;
  6275. // case 'txt':
  6276. // click = '文本文件';
  6277. // break;
  6278. // case 'lookupFriend':
  6279. // click = '查找好友';
  6280. // break;
  6281. // case 'ftp':
  6282. // click = 'FTP';
  6283. // break;
  6284. // case 'group':
  6285. // click = '群組';
  6286. // break;
  6287. // case 'set':
  6288. // click = '我的設置';
  6289. // break;
  6290. // case 'systemSet':
  6291. // click = '系統設置';
  6292. // break;
  6293. // case 'boomYun':
  6294. // click = '互聯辦公';
  6295. // break;
  6296. // case 'xz':
  6297. // click = '雲端下載';
  6298. // break;
  6299. // case 'client':
  6300. // click = '有思瀏覽器';
  6301. // break;
  6302. // case 'backEndProgramming':
  6303. // click = '在線後臺編程';
  6304. // break;
  6305. // case 'frontEndProgramming':
  6306. // click = '在線前端編程';
  6307. // break;
  6308. // default: break;
  6309. // }
  6310. // if(U.MD.D.I.Ip && click){
  6311. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  6312. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  6313. // })
  6314. // }
  6315. // }
  6316. /**
  6317. *函數作用:ajax簡易函數,使用post格式
  6318. *@param url {data} 後臺地址
  6319. *@param data {data} 參數json
  6320. *@param fn {data} 回調函數
  6321. *
  6322. */
  6323. // U.MD.D.I.Mysqlrequest = function(url,fn){
  6324. // var xhr = new XMLHttpRequest();
  6325. // xhr.open("GET",url,true);
  6326. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  6327. // xhr.onreadystatechange = function(){
  6328. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  6329. // fn.call(this,xhr.responseText);
  6330. // }
  6331. // };
  6332. // xhr.send();
  6333. // }
  6334. /*判斷是否是內網IP*/
  6335. // U.MD.D.I.isInnerIPFn = function(str){
  6336. // var curPageUrl = str;
  6337. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  6338. // curPageUrl =curPageUrl.replace(reg1,'');
  6339. // // console.log('curPageUrl-1 '+curPageUrl);
  6340. // var reg2 = /\:+/g;//替換冒號為一點
  6341. // curPageUrl =curPageUrl.replace(reg2,'.');
  6342. // // console.log('curPageUrl-2 '+curPageUrl);
  6343. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  6344. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  6345. // if(curPageUrl[2] != '16'){
  6346. // return ipAddress;
  6347. // }else{
  6348. // return false;
  6349. // }
  6350. // }
  6351. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  6352. // //compatibility for firefox and chrome
  6353. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  6354. // var pc = new myPeerConnection({
  6355. // iceServers: []
  6356. // }),
  6357. // noop = function() {},
  6358. // localIPs = {},
  6359. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  6360. // key;
  6361. // function iterateIP(ip) {
  6362. // if (!localIPs[ip]) onNewIP(ip);
  6363. // localIPs[ip] = true;
  6364. // }
  6365. // //create a bogus data channel
  6366. // pc.createDataChannel("");
  6367. // // create offer and set local description
  6368. // pc.createOffer().then(function(sdp) {
  6369. // sdp.sdp.split('\n').forEach(function(line) {
  6370. // if (line.indexOf('candidate') < 0) return;
  6371. // line.match(ipRegex).forEach(iterateIP);
  6372. // });
  6373. // pc.setLocalDescription(sdp, noop, noop);
  6374. // }).catch(function(reason) {
  6375. // // An error occurred, so handle the failure to connect
  6376. // });
  6377. // //sten for candidate events
  6378. // pc.onicecandidate = function(ice) {
  6379. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  6380. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  6381. // };
  6382. // }
  6383. // U.MD.D.I.getUserIpBool = function(callback){
  6384. // U.MD.D.I.getUserIP(function(ip){
  6385. // alert("Got IP! :" + ip);
  6386. // });
  6387. //}
  6388. //#endregion
  6389. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  6390. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6391. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6392. _userinfo = US.userInfo, //登錄用戶信息
  6393. _userid = US.userInfo.userid //登錄用戶id
  6394. let _iframe;
  6395. let _cid = cid,
  6396. _stage = stage,
  6397. _task = task,
  6398. _tool = tool;
  6399. var _jie = $$("div", {
  6400. "style": {
  6401. "position": "absolute",
  6402. "bottom": "50px",
  6403. "right": "50px",
  6404. "zIndex": "9999",
  6405. "backgroundColor": "#2268bc",
  6406. "color": "#fff",
  6407. "padding": "12px 20px",
  6408. "cursor": "pointer",
  6409. "borderRadius": "4px",
  6410. },
  6411. "innerHTML": "提交作業"
  6412. })
  6413. let aTool = ''
  6414. let _loading = document.createElement('div')
  6415. _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;"
  6416. // _loading.id = "";
  6417. let _lchild = document.createElement('div')
  6418. let _limg = document.createElement('img')
  6419. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6420. _limg.style = "width: 26px;margin-right: 10px;"
  6421. _lchild.appendChild(_limg)
  6422. let _lspan = document.createElement('span')
  6423. _lspan.innerHTML = "上傳中..."
  6424. _lchild.appendChild(_lspan)
  6425. _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%);"
  6426. _loading.appendChild(_lchild)
  6427. var _box = $$('div', {
  6428. "style": {
  6429. "position": "relative",
  6430. "width": "100%",
  6431. "height": "100%",
  6432. },
  6433. })
  6434. _box.appendChild(_loading)
  6435. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  6436. switch (str) {
  6437. case "whiteboard":
  6438. aTool = 1;
  6439. _iframe = $$("iframe", {
  6440. "frameborder": "no",
  6441. "border": "0",
  6442. "scrolling ": "no",
  6443. "style": {
  6444. "cssText": "border:0;width:100%;height:100%"
  6445. },
  6446. "src": "https://iwb.cocorobo.hk/"
  6447. })
  6448. _box.appendChild(_iframe);
  6449. _box.appendChild(_jie);
  6450. _formdiv = new U.UF.UI.form(
  6451. "電子白板",
  6452. _box, {
  6453. "id": "whiteboard" + cid + stage + task + tool,
  6454. "style": {
  6455. "width": "90%",
  6456. "height": "90%",
  6457. "overflow": 'hidden'
  6458. },
  6459. "onresize": function () { }
  6460. }, {
  6461. closecallback: function () { }
  6462. }, {
  6463. "style": {
  6464. "height": "36px"
  6465. }
  6466. }).form; //創建窗體
  6467. _taskbar = {
  6468. "id": str + _formdiv.id,
  6469. "style": {
  6470. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6471. },
  6472. "name": "電子白板",
  6473. "forms": _formdiv,
  6474. "click": function () {
  6475. U.MD.D.I.openApplication(str, obj, info);
  6476. }
  6477. }
  6478. break;
  6479. case "mind":
  6480. aTool = 3;
  6481. _iframe = $$("iframe", {
  6482. "frameborder": "no",
  6483. "border": "0",
  6484. "scrolling ": "no",
  6485. "style": {
  6486. "cssText": "border:0;width:100%;height:100%"
  6487. },
  6488. "src": "/kityminder-editor/dist/index.html"
  6489. })
  6490. _box.appendChild(_iframe);
  6491. _box.appendChild(_jie);
  6492. _formdiv = new U.UF.UI.form(
  6493. "思維導圖",
  6494. _box, { //"/jsmind/example/demo.html"
  6495. "id": "mind" + cid + stage + task + tool,
  6496. "style": {
  6497. "width": "90%",
  6498. "height": "90%",
  6499. "overflow": 'hidden'
  6500. },
  6501. "onresize": function () { }
  6502. }, {
  6503. closecallback: function () { }
  6504. }, {
  6505. "style": {
  6506. "height": "36px"
  6507. }
  6508. }).form; //創建窗體
  6509. _taskbar = {
  6510. "id": str + _formdiv.id,
  6511. "style": {
  6512. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6513. },
  6514. "name": "思維導圖",
  6515. "forms": _formdiv,
  6516. "click": function () {
  6517. U.MD.D.I.openApplication(str, obj, info);
  6518. }
  6519. }
  6520. break;
  6521. case "MindMap":
  6522. aTool = 3;
  6523. _iframe = $$("iframe", {
  6524. "frameborder": "no",
  6525. "border": "0",
  6526. "scrolling ": "no",
  6527. "style": {
  6528. "cssText": "border:0;width:100%;height:100%"
  6529. },
  6530. "src": "//cloud.cocorobo.hk/mind/"
  6531. })
  6532. _box.appendChild(_iframe);
  6533. _box.appendChild(_jie);
  6534. _formdiv = new U.UF.UI.form(
  6535. "思維導圖",
  6536. _box, { //"/jsmind/example/demo.html"
  6537. "id": "mind" + cid + stage + task + tool,
  6538. "style": {
  6539. "width": "90%",
  6540. "height": "90%",
  6541. "overflow": 'hidden'
  6542. },
  6543. "onresize": function () { }
  6544. }, {
  6545. closecallback: function () { }
  6546. }, {
  6547. "style": {
  6548. "height": "36px"
  6549. }
  6550. }).form; //創建窗體
  6551. _taskbar = {
  6552. "id": str + _formdiv.id,
  6553. "style": {
  6554. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6555. },
  6556. "name": "思維導圖",
  6557. "forms": _formdiv,
  6558. "click": function () {
  6559. U.MD.D.I.openApplication(str, obj, info);
  6560. }
  6561. }
  6562. break;
  6563. case "doc":
  6564. aTool = 6;
  6565. _iframe = $$("iframe", {
  6566. "frameborder": "no",
  6567. "border": "0",
  6568. "scrolling ": "no",
  6569. "style": {
  6570. "cssText": "border:0;width:100%;height:100%"
  6571. },
  6572. "src": "/Office/Word/WordEditArea.htm"
  6573. })
  6574. _box.appendChild(_iframe);
  6575. _box.appendChild(_jie);
  6576. _formdiv = new U.UF.UI.form(
  6577. "協同文檔",
  6578. _box, {
  6579. "id": "doc" + cid + stage + task + tool,
  6580. "style": {
  6581. "width": "90%",
  6582. "height": "90%",
  6583. "overflow": 'hidden'
  6584. },
  6585. "onresize": function () { }
  6586. }, {
  6587. closecallback: function () { }
  6588. }, {
  6589. "style": {
  6590. "height": "36px"
  6591. }
  6592. }).form; //創建窗體
  6593. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6594. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6595. })
  6596. _taskbar = {
  6597. "id": str + _formdiv.id,
  6598. "style": {
  6599. "backgroundImage": "url(/img/icon/doc.png)"
  6600. },
  6601. "name": "協同文檔",
  6602. "forms": _formdiv,
  6603. "click": function () {
  6604. U.MD.D.I.openApplication(str, obj, info);
  6605. }
  6606. }
  6607. break;
  6608. case "mindNetwork": //好友打開
  6609. aTool = 7;
  6610. _iframe = $$("iframe", {
  6611. "webkitallowfullscreen": "",
  6612. "mozallowfullscreen": "",
  6613. "allowfullscreen": "",
  6614. "frameborder": "no",
  6615. "border": "0",
  6616. "scrolling ": "no",
  6617. "style": {
  6618. "cssText": "border:0; width:100%; height:100%;"
  6619. },
  6620. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6621. })
  6622. _box.appendChild(_iframe);
  6623. _box.appendChild(_jie);
  6624. _formdiv = new U.UF.UI.form(
  6625. "思維網格",
  6626. _box, {
  6627. "id": "mindNetwork" + cid + stage + task + tool,
  6628. "style": {
  6629. "width": "90%",
  6630. "height": "90%",
  6631. "overflow": 'hidden'
  6632. },
  6633. "onresize": function () { }
  6634. }, {
  6635. closecallback: function () { }
  6636. }, {
  6637. "style": {
  6638. "height": "36px"
  6639. }
  6640. }).form; //創建窗體
  6641. _taskbar = {
  6642. "id": str + _formdiv.id,
  6643. "style": {
  6644. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6645. },
  6646. "name": "思維網格",
  6647. "forms": _formdiv,
  6648. "click": function () {
  6649. U.MD.D.I.openApplication(str, obj, info);
  6650. }
  6651. }
  6652. break;
  6653. case "courseDesign":
  6654. _iframe = $$("iframe", {
  6655. "webkitallowfullscreen": "",
  6656. "mozallowfullscreen": "",
  6657. "allowfullscreen": "",
  6658. "frameborder": "no",
  6659. "border": "0",
  6660. "scrolling ": "no",
  6661. "style": {
  6662. "cssText": "border:0; width:100%; height:100%;"
  6663. },
  6664. "src": "/course-design-vue"
  6665. })
  6666. _box.appendChild(_iframe);
  6667. _box.appendChild(_jie);
  6668. _formdiv = new U.UF.UI.form(
  6669. "項目設計",
  6670. _box, {
  6671. "id": "courseDesign" + cid + stage + task + tool,
  6672. "style": {
  6673. "width": "90%",
  6674. "height": "90%",
  6675. "overflow": 'hidden'
  6676. },
  6677. "onresize": function () { }
  6678. }, {
  6679. closecallback: function () { }
  6680. }, {
  6681. "style": {
  6682. "height": "36px"
  6683. }
  6684. }).form; //創建窗體
  6685. _taskbar = {
  6686. "id": str + _formdiv.id,
  6687. "style": {
  6688. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6689. },
  6690. "name": "項目設計",
  6691. "forms": _formdiv,
  6692. "click": function () {
  6693. U.MD.D.I.openApplication(str, obj, info);
  6694. }
  6695. }
  6696. break;
  6697. }
  6698. const script1 = document.createElement("script");
  6699. script1.type = "text/javascript";
  6700. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6701. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6702. const script2 = document.createElement("script");
  6703. script2.type = "text/javascript";
  6704. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6705. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6706. const script3 = document.createElement("script");
  6707. script3.type = "text/javascript";
  6708. script3.charset = "UTF-8";
  6709. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6710. const script4 = document.createElement("script");
  6711. script4.type = "text/javascript";
  6712. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6713. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6714. if (_iframe) {
  6715. if (str == 'doc') {
  6716. _iframe = _formdiv.querySelector('iframe')
  6717. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6718. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6719. _iframe.contentWindow.document.body.appendChild(script1);
  6720. _iframe.contentWindow.document.body.appendChild(script2);
  6721. // _iframe.contentWindow.document.body.appendChild(script3);
  6722. _iframe.contentWindow.document.body.appendChild(script4);
  6723. })
  6724. if (onloadListener) {
  6725. _iframe.contentDocument.location.reload()
  6726. } else {
  6727. _iframe.contentDocument.location.reload()
  6728. }
  6729. } else if (str == 'courseDesign') {
  6730. U.UF.DL.iframeLoad(_iframe, function () {
  6731. // _iframe.contentWindow.U.MD.O.W.load();
  6732. // _iframe.contentWindow.document.body.appendChild(script1);
  6733. _iframe.contentWindow.document.body.appendChild(script2);
  6734. _iframe.contentWindow.document.body.appendChild(script4);
  6735. })
  6736. } else if (str == 'mind') {
  6737. _iframe = _formdiv.querySelector('iframe')
  6738. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6739. //
  6740. _iframe.contentWindow.document.body.appendChild(script1);
  6741. _iframe.contentWindow.document.body.appendChild(script2);
  6742. _iframe.contentWindow.document.body.appendChild(script4);
  6743. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6744. })
  6745. if (onloadListener) {
  6746. _iframe.contentDocument.location.reload()
  6747. } else {
  6748. _iframe.contentDocument.location.reload()
  6749. }
  6750. } else if (str == 'whiteboard') {
  6751. _iframe = _formdiv.querySelector('iframe')
  6752. let onloadListener = _iframe.onload = () => {
  6753. _iframe.contentWindow.document.body.appendChild(script1);
  6754. _iframe.contentWindow.document.body.appendChild(script2);
  6755. _iframe.contentWindow.document.body.appendChild(script4);
  6756. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6757. };
  6758. // if (onloadListener) {
  6759. // try {
  6760. // _iframe.src += "?cocorobo="+new Date().getTime()
  6761. // _iframe.contentWindow.document.location.reload()
  6762. // } catch (error) {
  6763. // }
  6764. // } else {
  6765. // _iframe.contentDocument.location.reload()
  6766. // }
  6767. } else {
  6768. _iframe.onload = () => {
  6769. _iframe.contentWindow.document.body.appendChild(script1);
  6770. _iframe.contentWindow.document.body.appendChild(script2);
  6771. // _iframe.contentWindow.document.body.appendChild(script3);
  6772. _iframe.contentWindow.document.body.appendChild(script4);
  6773. };
  6774. }
  6775. _jie.onclick = async () => {
  6776. let text = ''
  6777. if (aTool == 1) {
  6778. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6779. } else if (aTool == 6) {
  6780. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6781. } else if (aTool == 3) {
  6782. text = await U.MD.D.I.getEditorContent(_iframe);
  6783. }
  6784. _loading.style.display = 'flex'
  6785. console.log(_loading);
  6786. var _ajs = _iframe.contentWindow.document.createElement("script");
  6787. _ajs.type = "text/javascript";
  6788. _ajs.innerHTML =
  6789. // 'console.log(' + _loading + ');\n' +
  6790. 'var _js = document.createElement("script");\n' +
  6791. '_js.type="text/javascript";\n' +
  6792. '_js.charset="UTF-8";\n' +
  6793. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6794. "_js.onload = function(){\n" +
  6795. ' var a = document.getElementsByTagName("img")\n' +
  6796. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6797. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6798. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6799. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6800. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6801. "beforeUpload_shishi(file," +
  6802. "'" +
  6803. _userid +
  6804. "'" +
  6805. ", " +
  6806. "'" +
  6807. _cid +
  6808. "'" +
  6809. ", " +
  6810. "'" +
  6811. _stage +
  6812. "'" +
  6813. ", " +
  6814. "'" +
  6815. _task +
  6816. "'" +
  6817. ", " +
  6818. "'" +
  6819. _tool +
  6820. "'" +
  6821. ", " +
  6822. "'" +
  6823. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  6824. "'" +
  6825. ", " +
  6826. "'" +
  6827. aTool +
  6828. "'" +
  6829. ", " +
  6830. "`" +
  6831. text +
  6832. "`" +
  6833. ")\n" +
  6834. " });\n" +
  6835. "}\n" +
  6836. "document.head.appendChild(_js);\n";
  6837. _iframe.contentWindow.document.head.appendChild(_ajs);
  6838. }
  6839. }
  6840. //U.MD.D.I.openClick(str);
  6841. //如果有任務欄信息
  6842. // if (_taskbar) {
  6843. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6844. // }
  6845. }
  6846. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  6847. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6848. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6849. _userinfo = US.userInfo, //登錄用戶信息
  6850. _userid = US.userInfo.userid //登錄用戶id
  6851. let _iframe;
  6852. let _cid = cid,
  6853. _stage = stage,
  6854. _task = task,
  6855. _tool = tool;
  6856. var _jie = $$("div", {
  6857. "style": {
  6858. "position": "absolute",
  6859. "bottom": "50px",
  6860. "right": "50px",
  6861. "zIndex": "9999",
  6862. "backgroundColor": "#2268bc",
  6863. "color": "#fff",
  6864. "padding": "12px 20px",
  6865. "cursor": "pointer",
  6866. "borderRadius": "4px",
  6867. },
  6868. "innerHTML": "提交作業"
  6869. })
  6870. let aTool = ''
  6871. let _loading = document.createElement('div')
  6872. _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;"
  6873. // _loading.id = "";
  6874. let _lchild = document.createElement('div')
  6875. let _limg = document.createElement('img')
  6876. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6877. _limg.style = "width: 26px;margin-right: 10px;"
  6878. _lchild.appendChild(_limg)
  6879. let _lspan = document.createElement('span')
  6880. _lspan.innerHTML = "上傳中..."
  6881. _lchild.appendChild(_lspan)
  6882. _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%);"
  6883. _loading.appendChild(_lchild)
  6884. let _box = $$('div', {
  6885. "style": {
  6886. "position": "relative",
  6887. "width": "100%",
  6888. "height": "100%",
  6889. },
  6890. })
  6891. _box.appendChild(_loading)
  6892. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  6893. switch (str) {
  6894. case "whiteboard":
  6895. aTool = 1;
  6896. _iframe = $$("iframe", {
  6897. "frameborder": "no",
  6898. "border": "0",
  6899. "scrolling ": "no",
  6900. "style": {
  6901. "cssText": "border:0;width:100%;height:100%"
  6902. },
  6903. "src": "https://iwb.cocorobo.hk/"
  6904. })
  6905. _box.appendChild(_iframe);
  6906. _box.appendChild(_jie);
  6907. _formdiv = new U.UF.UI.form(
  6908. "電子白板",
  6909. _box, {
  6910. "id": "whiteboard" + cid + stage + task + tool,
  6911. "style": {
  6912. "width": "90%",
  6913. "height": "90%",
  6914. "overflow": 'hidden'
  6915. },
  6916. "onresize": function () { }
  6917. }, {
  6918. closecallback: function () { }
  6919. }, {
  6920. "style": {
  6921. "height": "36px"
  6922. }
  6923. }).form; //創建窗體
  6924. _taskbar = {
  6925. "id": str + _formdiv.id,
  6926. "style": {
  6927. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6928. },
  6929. "name": "電子白板",
  6930. "forms": _formdiv,
  6931. "click": function () {
  6932. U.MD.D.I.openApplication(str, obj, info);
  6933. }
  6934. }
  6935. break;
  6936. case "mind":
  6937. aTool = 3;
  6938. _iframe = $$("iframe", {
  6939. "frameborder": "no",
  6940. "border": "0",
  6941. "scrolling ": "no",
  6942. "style": {
  6943. "cssText": "border:0;width:100%;height:100%"
  6944. },
  6945. "src": "/kityminder-editor/dist/index.html"
  6946. })
  6947. _box.appendChild(_iframe);
  6948. _box.appendChild(_jie);
  6949. _formdiv = new U.UF.UI.form(
  6950. "思維導圖",
  6951. _box, { //"/jsmind/example/demo.html"
  6952. "id": "mind" + cid + stage + task + tool,
  6953. "style": {
  6954. "width": "90%",
  6955. "height": "90%",
  6956. "overflow": 'hidden'
  6957. },
  6958. "onresize": function () { }
  6959. }, {
  6960. closecallback: function () { }
  6961. }, {
  6962. "style": {
  6963. "height": "36px"
  6964. }
  6965. }).form; //創建窗體
  6966. _taskbar = {
  6967. "id": str + _formdiv.id,
  6968. "style": {
  6969. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6970. },
  6971. "name": "思維導圖",
  6972. "forms": _formdiv,
  6973. "click": function () {
  6974. U.MD.D.I.openApplication(str, obj, info);
  6975. }
  6976. }
  6977. break;
  6978. case "MindMap":
  6979. aTool = 3;
  6980. _iframe = $$("iframe", {
  6981. "frameborder": "no",
  6982. "border": "0",
  6983. "scrolling ": "no",
  6984. "style": {
  6985. "cssText": "border:0;width:100%;height:100%"
  6986. },
  6987. "src": "//cloud.cocorobo.hk/mind/"
  6988. })
  6989. _box.appendChild(_iframe);
  6990. _box.appendChild(_jie);
  6991. _formdiv = new U.UF.UI.form(
  6992. "思維導圖",
  6993. _box, { //"/jsmind/example/demo.html"
  6994. "id": "mind" + cid + stage + task + tool,
  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/mindMapping.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 "doc":
  7021. aTool = 6;
  7022. _iframe = $$("iframe", {
  7023. "frameborder": "no",
  7024. "border": "0",
  7025. "scrolling ": "no",
  7026. "style": {
  7027. "cssText": "border:0;width:100%;height:100%"
  7028. },
  7029. "src": "/Office/Word/WordEditArea.htm"
  7030. })
  7031. _box.appendChild(_iframe);
  7032. _box.appendChild(_jie);
  7033. _formdiv = new U.UF.UI.form(
  7034. "協同文檔",
  7035. _box, {
  7036. "id": "doc" + cid + stage + task + tool,
  7037. "style": {
  7038. "width": "90%",
  7039. "height": "90%",
  7040. "overflow": 'hidden'
  7041. },
  7042. "onresize": function () { }
  7043. }, {
  7044. closecallback: function () { }
  7045. }, {
  7046. "style": {
  7047. "height": "36px"
  7048. }
  7049. }).form; //創建窗體
  7050. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7051. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7052. })
  7053. _taskbar = {
  7054. "id": str + _formdiv.id,
  7055. "style": {
  7056. "backgroundImage": "url(/img/icon/doc.png)"
  7057. },
  7058. "name": "協同文檔",
  7059. "forms": _formdiv,
  7060. "click": function () {
  7061. U.MD.D.I.openApplication(str, obj, info);
  7062. }
  7063. }
  7064. break;
  7065. case "mindNetwork": //好友打開
  7066. aTool = 7;
  7067. _iframe = $$("iframe", {
  7068. "webkitallowfullscreen": "",
  7069. "mozallowfullscreen": "",
  7070. "allowfullscreen": "",
  7071. "frameborder": "no",
  7072. "border": "0",
  7073. "scrolling ": "no",
  7074. "style": {
  7075. "cssText": "border:0; width:100%; height:100%;"
  7076. },
  7077. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7078. })
  7079. _box.appendChild(_iframe);
  7080. _box.appendChild(_jie);
  7081. _formdiv = new U.UF.UI.form(
  7082. "思維網格",
  7083. _box, {
  7084. "id": "mindNetwork" + cid + stage + task + tool,
  7085. "style": {
  7086. "width": "90%",
  7087. "height": "90%",
  7088. "overflow": 'hidden'
  7089. },
  7090. "onresize": function () { }
  7091. }, {
  7092. closecallback: function () { }
  7093. }, {
  7094. "style": {
  7095. "height": "36px"
  7096. }
  7097. }).form; //創建窗體
  7098. _taskbar = {
  7099. "id": str + _formdiv.id,
  7100. "style": {
  7101. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7102. },
  7103. "name": "思維網格",
  7104. "forms": _formdiv,
  7105. "click": function () {
  7106. U.MD.D.I.openApplication(str, obj, info);
  7107. }
  7108. }
  7109. break;
  7110. case "courseDesign":
  7111. _iframe = $$("iframe", {
  7112. "webkitallowfullscreen": "",
  7113. "mozallowfullscreen": "",
  7114. "allowfullscreen": "",
  7115. "frameborder": "no",
  7116. "border": "0",
  7117. "scrolling ": "no",
  7118. "style": {
  7119. "cssText": "border:0; width:100%; height:100%;"
  7120. },
  7121. "src": "/course-design-vue"
  7122. })
  7123. _box.appendChild(_iframe);
  7124. _box.appendChild(_jie);
  7125. _formdiv = new U.UF.UI.form(
  7126. "項目設計",
  7127. _box, {
  7128. "id": "courseDesign" + cid + stage + task + tool,
  7129. "style": {
  7130. "width": "90%",
  7131. "height": "90%",
  7132. "overflow": 'hidden'
  7133. },
  7134. "onresize": function () { }
  7135. }, {
  7136. closecallback: function () { }
  7137. }, {
  7138. "style": {
  7139. "height": "36px"
  7140. }
  7141. }).form; //創建窗體
  7142. _taskbar = {
  7143. "id": str + _formdiv.id,
  7144. "style": {
  7145. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7146. },
  7147. "name": "項目設計",
  7148. "forms": _formdiv,
  7149. "click": function () {
  7150. U.MD.D.I.openApplication(str, obj, info);
  7151. }
  7152. }
  7153. break;
  7154. }
  7155. const script1 = document.createElement("script");
  7156. script1.type = "text/javascript";
  7157. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7158. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7159. const script2 = document.createElement("script");
  7160. script2.type = "text/javascript";
  7161. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7162. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7163. const script3 = document.createElement("script");
  7164. script3.type = "text/javascript";
  7165. script3.charset = "UTF-8";
  7166. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7167. const script4 = document.createElement("script");
  7168. script4.type = "text/javascript";
  7169. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7170. script4.src = window.origin + "/js/Common/jietu2E.js";
  7171. if (_iframe) {
  7172. if (str == 'doc') {
  7173. _iframe = _formdiv.querySelector('iframe')
  7174. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7175. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7176. _iframe.contentWindow.document.body.appendChild(script1);
  7177. _iframe.contentWindow.document.body.appendChild(script2);
  7178. // _iframe.contentWindow.document.body.appendChild(script3);
  7179. _iframe.contentWindow.document.body.appendChild(script4);
  7180. })
  7181. if (onloadListener) {
  7182. _iframe.contentDocument.location.reload()
  7183. } else {
  7184. _iframe.contentDocument.location.reload()
  7185. }
  7186. } else if (str == 'courseDesign') {
  7187. U.UF.DL.iframeLoad(_iframe, function () {
  7188. // _iframe.contentWindow.U.MD.O.W.load();
  7189. // _iframe.contentWindow.document.body.appendChild(script1);
  7190. _iframe.contentWindow.document.body.appendChild(script2);
  7191. _iframe.contentWindow.document.body.appendChild(script4);
  7192. })
  7193. } else if (str == 'mind') {
  7194. _iframe = _formdiv.querySelector('iframe')
  7195. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7196. //
  7197. _iframe.contentWindow.document.body.appendChild(script1);
  7198. _iframe.contentWindow.document.body.appendChild(script2);
  7199. _iframe.contentWindow.document.body.appendChild(script4);
  7200. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7201. })
  7202. if (onloadListener) {
  7203. _iframe.contentDocument.location.reload()
  7204. } else {
  7205. _iframe.contentDocument.location.reload()
  7206. }
  7207. } else if (str == 'whiteboard') {
  7208. _iframe = _formdiv.querySelector('iframe')
  7209. let onloadListener = _iframe.onload = () => {
  7210. _iframe.contentWindow.document.body.appendChild(script1);
  7211. _iframe.contentWindow.document.body.appendChild(script2);
  7212. _iframe.contentWindow.document.body.appendChild(script4);
  7213. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7214. };
  7215. // if (onloadListener) {
  7216. // try {
  7217. // _iframe.src += "?cocorobo="+new Date().getTime()
  7218. // _iframe.contentWindow.document.location.reload()
  7219. // } catch (error) {
  7220. // }
  7221. // } else {
  7222. // _iframe.contentDocument.location.reload()
  7223. // }
  7224. } else {
  7225. _iframe.onload = () => {
  7226. _iframe.contentWindow.document.body.appendChild(script1);
  7227. _iframe.contentWindow.document.body.appendChild(script2);
  7228. // _iframe.contentWindow.document.body.appendChild(script3);
  7229. _iframe.contentWindow.document.body.appendChild(script4);
  7230. };
  7231. }
  7232. _jie.onclick = async () => {
  7233. let text = ''
  7234. if (aTool == 1) {
  7235. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7236. } else if (aTool == 6) {
  7237. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7238. } else if (aTool == 3) {
  7239. text = await U.MD.D.I.getEditorContent(_iframe);
  7240. }
  7241. _loading.style.display = 'flex'
  7242. console.log(_loading);
  7243. var _ajs = _iframe.contentWindow.document.createElement("script");
  7244. _ajs.type = "text/javascript";
  7245. _ajs.innerHTML =
  7246. // 'console.log(' + _loading + ');\n' +
  7247. 'var _js = document.createElement("script");\n' +
  7248. '_js.type="text/javascript";\n' +
  7249. '_js.charset="UTF-8";\n' +
  7250. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7251. "_js.onload = function(){\n" +
  7252. ' var a = document.getElementsByTagName("img")\n' +
  7253. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7254. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7255. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7256. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7257. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7258. "beforeUpload_shishi(file," +
  7259. "'" +
  7260. _userid +
  7261. "'" +
  7262. ", " +
  7263. "'" +
  7264. _cid +
  7265. "'" +
  7266. ", " +
  7267. "'" +
  7268. _stage +
  7269. "'" +
  7270. ", " +
  7271. "'" +
  7272. _task +
  7273. "'" +
  7274. ", " +
  7275. "'" +
  7276. _tool +
  7277. "'" +
  7278. ", " +
  7279. "'" +
  7280. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  7281. "'" +
  7282. ", " +
  7283. "'" +
  7284. aTool +
  7285. "'" +
  7286. ", " +
  7287. "`" +
  7288. text +
  7289. "`" +
  7290. ")\n" +
  7291. " });\n" +
  7292. "}\n" +
  7293. "document.head.appendChild(_js);\n";
  7294. _iframe.contentWindow.document.head.appendChild(_ajs);
  7295. }
  7296. }
  7297. //U.MD.D.I.openClick(str);
  7298. //如果有任務欄信息
  7299. // if (_taskbar) {
  7300. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7301. // }
  7302. }
  7303. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  7304. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7305. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7306. _userid = student.userid, //登錄用戶id
  7307. _username = student.student //用戶名字
  7308. let _iframe;
  7309. let _cid = cid,
  7310. _stage = stage,
  7311. _task = task,
  7312. _tool = tool;
  7313. var _jie = $$("div", {
  7314. "style": {
  7315. "position": "absolute",
  7316. "bottom": "50px",
  7317. "right": "50px",
  7318. "zIndex": "9999",
  7319. "backgroundColor": "#2268bc",
  7320. "color": "#fff",
  7321. "padding": "12px 20px",
  7322. "cursor": "pointer",
  7323. "borderRadius": "4px",
  7324. },
  7325. "innerHTML": "提交作業"
  7326. })
  7327. let aTool = ''
  7328. let _loading = document.createElement('div')
  7329. _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;"
  7330. // _loading.id = "";
  7331. let _lchild = document.createElement('div')
  7332. let _limg = document.createElement('img')
  7333. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7334. _limg.style = "width: 26px;margin-right: 10px;"
  7335. _lchild.appendChild(_limg)
  7336. let _lspan = document.createElement('span')
  7337. _lspan.innerHTML = "上傳中..."
  7338. _lchild.appendChild(_lspan)
  7339. _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%);"
  7340. _loading.appendChild(_lchild)
  7341. var _box = $$('div', {
  7342. "style": {
  7343. "position": "relative",
  7344. "width": "100%",
  7345. "height": "100%",
  7346. },
  7347. })
  7348. _box.appendChild(_loading)
  7349. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  7350. switch (str) {
  7351. case "whiteboard":
  7352. aTool = 1;
  7353. _iframe = $$("iframe", {
  7354. "frameborder": "no",
  7355. "border": "0",
  7356. "scrolling ": "no",
  7357. "style": {
  7358. "cssText": "border:0;width:100%;height:100%"
  7359. },
  7360. "src": "https://iwb.cocorobo.hk/"
  7361. })
  7362. _box.appendChild(_iframe);
  7363. _box.appendChild(_jie);
  7364. _formdiv = new U.UF.UI.form(
  7365. "電子白板-" + _username,
  7366. _box, {
  7367. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7368. "style": {
  7369. "width": "90%",
  7370. "height": "90%",
  7371. "overflow": 'hidden'
  7372. },
  7373. "onresize": function () { }
  7374. }, {
  7375. closecallback: function () { }
  7376. }, {
  7377. "style": {
  7378. "height": "36px"
  7379. }
  7380. }).form; //創建窗體
  7381. _taskbar = {
  7382. "id": str + _formdiv.id,
  7383. "style": {
  7384. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7385. },
  7386. "name": "電子白板",
  7387. "forms": _formdiv,
  7388. "click": function () {
  7389. U.MD.D.I.openApplication(str, obj, info);
  7390. }
  7391. }
  7392. break;
  7393. case "mind":
  7394. aTool = 3;
  7395. _iframe = $$("iframe", {
  7396. "frameborder": "no",
  7397. "border": "0",
  7398. "scrolling ": "no",
  7399. "style": {
  7400. "cssText": "border:0;width:100%;height:100%"
  7401. },
  7402. "src": "/kityminder-editor/dist/index.html"
  7403. })
  7404. _box.appendChild(_iframe);
  7405. _box.appendChild(_jie);
  7406. _formdiv = new U.UF.UI.form(
  7407. "思維導圖-" + _username,
  7408. _box, { //"/jsmind/example/demo.html"
  7409. "id": "mind" + cid + stage + task + tool + _userid,
  7410. "style": {
  7411. "width": "90%",
  7412. "height": "90%",
  7413. "overflow": 'hidden'
  7414. },
  7415. "onresize": function () { }
  7416. }, {
  7417. closecallback: function () { }
  7418. }, {
  7419. "style": {
  7420. "height": "36px"
  7421. }
  7422. }).form; //創建窗體
  7423. _taskbar = {
  7424. "id": str + _formdiv.id,
  7425. "style": {
  7426. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7427. },
  7428. "name": "思維導圖",
  7429. "forms": _formdiv,
  7430. "click": function () {
  7431. U.MD.D.I.openApplication(str, obj, info);
  7432. }
  7433. }
  7434. break;
  7435. case "MindMap":
  7436. aTool = 3;
  7437. _iframe = $$("iframe", {
  7438. "frameborder": "no",
  7439. "border": "0",
  7440. "scrolling ": "no",
  7441. "style": {
  7442. "cssText": "border:0;width:100%;height:100%"
  7443. },
  7444. "src": "//cloud.cocorobo.hk/mind/"
  7445. })
  7446. _box.appendChild(_iframe);
  7447. _box.appendChild(_jie);
  7448. _formdiv = new U.UF.UI.form(
  7449. "思維導圖-" + _username,
  7450. _box, { //"/jsmind/example/demo.html"
  7451. "id": "mind" + cid + stage + task + tool + _userid,
  7452. "style": {
  7453. "width": "90%",
  7454. "height": "90%",
  7455. "overflow": 'hidden'
  7456. },
  7457. "onresize": function () { }
  7458. }, {
  7459. closecallback: function () { }
  7460. }, {
  7461. "style": {
  7462. "height": "36px"
  7463. }
  7464. }).form; //創建窗體
  7465. _taskbar = {
  7466. "id": str + _formdiv.id,
  7467. "style": {
  7468. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7469. },
  7470. "name": "思維導圖",
  7471. "forms": _formdiv,
  7472. "click": function () {
  7473. U.MD.D.I.openApplication(str, obj, info);
  7474. }
  7475. }
  7476. break;
  7477. case "doc":
  7478. aTool = 6;
  7479. _iframe = $$("iframe", {
  7480. "frameborder": "no",
  7481. "border": "0",
  7482. "scrolling ": "no",
  7483. "style": {
  7484. "cssText": "border:0;width:100%;height:100%"
  7485. },
  7486. "src": "/Office/Word/WordEditArea.htm"
  7487. })
  7488. _box.appendChild(_iframe);
  7489. _box.appendChild(_jie);
  7490. _formdiv = new U.UF.UI.form(
  7491. "協同文檔-" + _username,
  7492. _box, {
  7493. "id": "doc" + cid + stage + task + tool + _userid,
  7494. "style": {
  7495. "width": "90%",
  7496. "height": "90%",
  7497. "overflow": 'hidden'
  7498. },
  7499. "onresize": function () { }
  7500. }, {
  7501. closecallback: function () { }
  7502. }, {
  7503. "style": {
  7504. "height": "36px"
  7505. }
  7506. }).form; //創建窗體
  7507. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7508. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7509. })
  7510. _taskbar = {
  7511. "id": str + _formdiv.id,
  7512. "style": {
  7513. "backgroundImage": "url(/img/icon/doc.png)"
  7514. },
  7515. "name": "協同文檔",
  7516. "forms": _formdiv,
  7517. "click": function () {
  7518. U.MD.D.I.openApplication(str, obj, info);
  7519. }
  7520. }
  7521. break;
  7522. case "mindNetwork": //好友打開
  7523. aTool = 7;
  7524. _iframe = $$("iframe", {
  7525. "webkitallowfullscreen": "",
  7526. "mozallowfullscreen": "",
  7527. "allowfullscreen": "",
  7528. "frameborder": "no",
  7529. "border": "0",
  7530. "scrolling ": "no",
  7531. "style": {
  7532. "cssText": "border:0; width:100%; height:100%;"
  7533. },
  7534. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7535. })
  7536. _box.appendChild(_iframe);
  7537. _box.appendChild(_jie);
  7538. _formdiv = new U.UF.UI.form(
  7539. "思維網格-" + _username,
  7540. _box, {
  7541. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7542. "style": {
  7543. "width": "90%",
  7544. "height": "90%",
  7545. "overflow": 'hidden'
  7546. },
  7547. "onresize": function () { }
  7548. }, {
  7549. closecallback: function () { }
  7550. }, {
  7551. "style": {
  7552. "height": "36px"
  7553. }
  7554. }).form; //創建窗體
  7555. _taskbar = {
  7556. "id": str + _formdiv.id,
  7557. "style": {
  7558. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7559. },
  7560. "name": "思維網格",
  7561. "forms": _formdiv,
  7562. "click": function () {
  7563. U.MD.D.I.openApplication(str, obj, info);
  7564. }
  7565. }
  7566. break;
  7567. case "courseDesign":
  7568. _iframe = $$("iframe", {
  7569. "webkitallowfullscreen": "",
  7570. "mozallowfullscreen": "",
  7571. "allowfullscreen": "",
  7572. "frameborder": "no",
  7573. "border": "0",
  7574. "scrolling ": "no",
  7575. "style": {
  7576. "cssText": "border:0; width:100%; height:100%;"
  7577. },
  7578. "src": "/course-design-vue"
  7579. })
  7580. _box.appendChild(_iframe);
  7581. _box.appendChild(_jie);
  7582. _formdiv = new U.UF.UI.form(
  7583. "項目設計-" + _username,
  7584. _box, {
  7585. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7586. "style": {
  7587. "width": "90%",
  7588. "height": "90%",
  7589. "overflow": 'hidden'
  7590. },
  7591. "onresize": function () { }
  7592. }, {
  7593. closecallback: function () { }
  7594. }, {
  7595. "style": {
  7596. "height": "36px"
  7597. }
  7598. }).form; //創建窗體
  7599. _taskbar = {
  7600. "id": str + _formdiv.id,
  7601. "style": {
  7602. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7603. },
  7604. "name": "項目設計",
  7605. "forms": _formdiv,
  7606. "click": function () {
  7607. U.MD.D.I.openApplication(str, obj, info);
  7608. }
  7609. }
  7610. break;
  7611. }
  7612. const script1 = document.createElement("script");
  7613. script1.type = "text/javascript";
  7614. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7615. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7616. const script2 = document.createElement("script");
  7617. script2.type = "text/javascript";
  7618. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7619. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7620. const script3 = document.createElement("script");
  7621. script3.type = "text/javascript";
  7622. script3.charset = "UTF-8";
  7623. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7624. const script4 = document.createElement("script");
  7625. script4.type = "text/javascript";
  7626. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7627. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  7628. if (_iframe) {
  7629. if (str == 'doc') {
  7630. _iframe = _formdiv.querySelector('iframe')
  7631. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7632. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7633. _iframe.contentWindow.document.body.appendChild(script1);
  7634. _iframe.contentWindow.document.body.appendChild(script2);
  7635. // _iframe.contentWindow.document.body.appendChild(script3);
  7636. _iframe.contentWindow.document.body.appendChild(script4);
  7637. })
  7638. if (onloadListener) {
  7639. _iframe.contentDocument.location.reload()
  7640. } else {
  7641. _iframe.contentDocument.location.reload()
  7642. }
  7643. } else if (str == 'courseDesign') {
  7644. U.UF.DL.iframeLoad(_iframe, function () {
  7645. // _iframe.contentWindow.U.MD.O.W.load();
  7646. // _iframe.contentWindow.document.body.appendChild(script1);
  7647. _iframe.contentWindow.document.body.appendChild(script2);
  7648. _iframe.contentWindow.document.body.appendChild(script4);
  7649. })
  7650. } else if (str == 'mind') {
  7651. _iframe = _formdiv.querySelector('iframe')
  7652. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7653. //
  7654. _iframe.contentWindow.document.body.appendChild(script1);
  7655. _iframe.contentWindow.document.body.appendChild(script2);
  7656. _iframe.contentWindow.document.body.appendChild(script4);
  7657. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7658. })
  7659. if (onloadListener) {
  7660. _iframe.contentDocument.location.reload()
  7661. } else {
  7662. _iframe.contentDocument.location.reload()
  7663. }
  7664. } else if (str == 'whiteboard') {
  7665. _iframe = _formdiv.querySelector('iframe')
  7666. let onloadListener = _iframe.onload = () => {
  7667. _iframe.contentWindow.document.body.appendChild(script1);
  7668. _iframe.contentWindow.document.body.appendChild(script2);
  7669. _iframe.contentWindow.document.body.appendChild(script4);
  7670. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7671. };
  7672. // if (onloadListener) {
  7673. // try {
  7674. // _iframe.src += "?cocorobo="+new Date().getTime()
  7675. // _iframe.contentWindow.document.location.reload()
  7676. // } catch (error) {
  7677. // }
  7678. // } else {
  7679. // _iframe.contentDocument.location.reload()
  7680. // }
  7681. } else {
  7682. _iframe.onload = () => {
  7683. _iframe.contentWindow.document.body.appendChild(script1);
  7684. _iframe.contentWindow.document.body.appendChild(script2);
  7685. // _iframe.contentWindow.document.body.appendChild(script3);
  7686. _iframe.contentWindow.document.body.appendChild(script4);
  7687. };
  7688. }
  7689. _jie.onclick = async () => {
  7690. let text = ''
  7691. if (aTool == 1) {
  7692. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7693. } else if (aTool == 6) {
  7694. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7695. } else if (aTool == 3) {
  7696. text = await U.MD.D.I.getEditorContent(_iframe);
  7697. }
  7698. _loading.style.display = 'flex'
  7699. console.log(_loading);
  7700. var _ajs = _iframe.contentWindow.document.createElement("script");
  7701. _ajs.type = "text/javascript";
  7702. _ajs.innerHTML =
  7703. // 'console.log(' + _loading + ');\n' +
  7704. 'var _js = document.createElement("script");\n' +
  7705. '_js.type="text/javascript";\n' +
  7706. '_js.charset="UTF-8";\n' +
  7707. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7708. "_js.onload = function(){\n" +
  7709. ' var a = document.getElementsByTagName("img")\n' +
  7710. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7711. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7712. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7713. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7714. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7715. "beforeUpload_shishi(file," +
  7716. "'" +
  7717. _userid +
  7718. "'" +
  7719. ", " +
  7720. "'" +
  7721. _cid +
  7722. "'" +
  7723. ", " +
  7724. "'" +
  7725. _stage +
  7726. "'" +
  7727. ", " +
  7728. "'" +
  7729. _task +
  7730. "'" +
  7731. ", " +
  7732. "'" +
  7733. _tool +
  7734. "'" +
  7735. ", " +
  7736. "'" +
  7737. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  7738. "'" +
  7739. ", " +
  7740. "'" +
  7741. aTool +
  7742. "'" +
  7743. ", " +
  7744. "`" +
  7745. text +
  7746. "`" +
  7747. ")\n" +
  7748. " });\n" +
  7749. "}\n" +
  7750. "document.head.appendChild(_js);\n";
  7751. _iframe.contentWindow.document.head.appendChild(_ajs);
  7752. }
  7753. }
  7754. }
  7755. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  7756. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7757. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7758. _userid = student.userid, //登錄用戶id
  7759. _username = student.student //用戶名字
  7760. let _iframe;
  7761. let _cid = cid,
  7762. _stage = stage,
  7763. _task = task,
  7764. _tool = tool;
  7765. var _jie = $$("div", {
  7766. "style": {
  7767. "position": "absolute",
  7768. "bottom": "50px",
  7769. "right": "50px",
  7770. "zIndex": "9999",
  7771. "backgroundColor": "#2268bc",
  7772. "color": "#fff",
  7773. "padding": "12px 20px",
  7774. "cursor": "pointer",
  7775. "borderRadius": "4px",
  7776. },
  7777. "innerHTML": "提交作業"
  7778. })
  7779. let aTool = ''
  7780. let _loading = document.createElement('div')
  7781. _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;"
  7782. // _loading.id = "";
  7783. let _lchild = document.createElement('div')
  7784. let _limg = document.createElement('img')
  7785. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7786. _limg.style = "width: 26px;margin-right: 10px;"
  7787. _lchild.appendChild(_limg)
  7788. let _lspan = document.createElement('span')
  7789. _lspan.innerHTML = "上傳中..."
  7790. _lchild.appendChild(_lspan)
  7791. _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%);"
  7792. _loading.appendChild(_lchild)
  7793. var _box = $$('div', {
  7794. "style": {
  7795. "position": "relative",
  7796. "width": "100%",
  7797. "height": "100%",
  7798. },
  7799. })
  7800. _box.appendChild(_loading)
  7801. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  7802. switch (str) {
  7803. case "whiteboard":
  7804. aTool = 1;
  7805. _iframe = $$("iframe", {
  7806. "frameborder": "no",
  7807. "border": "0",
  7808. "scrolling ": "no",
  7809. "style": {
  7810. "cssText": "border:0;width:100%;height:100%"
  7811. },
  7812. "src": "https://iwb.cocorobo.hk/"
  7813. })
  7814. _box.appendChild(_iframe);
  7815. _box.appendChild(_jie);
  7816. _formdiv = new U.UF.UI.form(
  7817. "電子白板-" + _username,
  7818. _box, {
  7819. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7820. "style": {
  7821. "width": "90%",
  7822. "height": "90%",
  7823. "overflow": 'hidden'
  7824. },
  7825. "onresize": function () { }
  7826. }, {
  7827. closecallback: function () { }
  7828. }, {
  7829. "style": {
  7830. "height": "36px"
  7831. }
  7832. }).form; //創建窗體
  7833. _taskbar = {
  7834. "id": str + _formdiv.id,
  7835. "style": {
  7836. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7837. },
  7838. "name": "電子白板",
  7839. "forms": _formdiv,
  7840. "click": function () {
  7841. U.MD.D.I.openApplication(str, obj, info);
  7842. }
  7843. }
  7844. break;
  7845. case "mind":
  7846. aTool = 3;
  7847. _iframe = $$("iframe", {
  7848. "frameborder": "no",
  7849. "border": "0",
  7850. "scrolling ": "no",
  7851. "style": {
  7852. "cssText": "border:0;width:100%;height:100%"
  7853. },
  7854. "src": "/kityminder-editor/dist/index.html"
  7855. })
  7856. _box.appendChild(_iframe);
  7857. _box.appendChild(_jie);
  7858. _formdiv = new U.UF.UI.form(
  7859. "思維導圖-" + _username,
  7860. _box, { //"/jsmind/example/demo.html"
  7861. "id": "mind" + cid + stage + task + tool + _userid,
  7862. "style": {
  7863. "width": "90%",
  7864. "height": "90%",
  7865. "overflow": 'hidden'
  7866. },
  7867. "onresize": function () { }
  7868. }, {
  7869. closecallback: function () { }
  7870. }, {
  7871. "style": {
  7872. "height": "36px"
  7873. }
  7874. }).form; //創建窗體
  7875. _taskbar = {
  7876. "id": str + _formdiv.id,
  7877. "style": {
  7878. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7879. },
  7880. "name": "思維導圖",
  7881. "forms": _formdiv,
  7882. "click": function () {
  7883. U.MD.D.I.openApplication(str, obj, info);
  7884. }
  7885. }
  7886. break;
  7887. case "MindMap":
  7888. aTool = 3;
  7889. _iframe = $$("iframe", {
  7890. "frameborder": "no",
  7891. "border": "0",
  7892. "scrolling ": "no",
  7893. "style": {
  7894. "cssText": "border:0;width:100%;height:100%"
  7895. },
  7896. "src": "//cloud.cocorobo.hk/mind/"
  7897. })
  7898. _box.appendChild(_iframe);
  7899. _box.appendChild(_jie);
  7900. _formdiv = new U.UF.UI.form(
  7901. "思維導圖-" + _username,
  7902. _box, { //"/jsmind/example/demo.html"
  7903. "id": "mind" + cid + stage + task + tool + _userid,
  7904. "style": {
  7905. "width": "90%",
  7906. "height": "90%",
  7907. "overflow": 'hidden'
  7908. },
  7909. "onresize": function () { }
  7910. }, {
  7911. closecallback: function () { }
  7912. }, {
  7913. "style": {
  7914. "height": "36px"
  7915. }
  7916. }).form; //創建窗體
  7917. _taskbar = {
  7918. "id": str + _formdiv.id,
  7919. "style": {
  7920. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7921. },
  7922. "name": "思維導圖",
  7923. "forms": _formdiv,
  7924. "click": function () {
  7925. U.MD.D.I.openApplication(str, obj, info);
  7926. }
  7927. }
  7928. break;
  7929. case "doc":
  7930. aTool = 6;
  7931. _iframe = $$("iframe", {
  7932. "frameborder": "no",
  7933. "border": "0",
  7934. "scrolling ": "no",
  7935. "style": {
  7936. "cssText": "border:0;width:100%;height:100%"
  7937. },
  7938. "src": "/Office/Word/WordEditArea.htm"
  7939. })
  7940. _box.appendChild(_iframe);
  7941. _box.appendChild(_jie);
  7942. _formdiv = new U.UF.UI.form(
  7943. "協同文檔-" + _username,
  7944. _box, {
  7945. "id": "doc" + cid + stage + task + tool + _userid,
  7946. "style": {
  7947. "width": "90%",
  7948. "height": "90%",
  7949. "overflow": 'hidden'
  7950. },
  7951. "onresize": function () { }
  7952. }, {
  7953. closecallback: function () { }
  7954. }, {
  7955. "style": {
  7956. "height": "36px"
  7957. }
  7958. }).form; //創建窗體
  7959. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7960. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7961. })
  7962. _taskbar = {
  7963. "id": str + _formdiv.id,
  7964. "style": {
  7965. "backgroundImage": "url(/img/icon/doc.png)"
  7966. },
  7967. "name": "協同文檔",
  7968. "forms": _formdiv,
  7969. "click": function () {
  7970. U.MD.D.I.openApplication(str, obj, info);
  7971. }
  7972. }
  7973. break;
  7974. case "mindNetwork": //好友打開
  7975. aTool = 7;
  7976. _iframe = $$("iframe", {
  7977. "webkitallowfullscreen": "",
  7978. "mozallowfullscreen": "",
  7979. "allowfullscreen": "",
  7980. "frameborder": "no",
  7981. "border": "0",
  7982. "scrolling ": "no",
  7983. "style": {
  7984. "cssText": "border:0; width:100%; height:100%;"
  7985. },
  7986. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7987. })
  7988. _box.appendChild(_iframe);
  7989. _box.appendChild(_jie);
  7990. _formdiv = new U.UF.UI.form(
  7991. "思維網格-" + _username,
  7992. _box, {
  7993. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7994. "style": {
  7995. "width": "90%",
  7996. "height": "90%",
  7997. "overflow": 'hidden'
  7998. },
  7999. "onresize": function () { }
  8000. }, {
  8001. closecallback: function () { }
  8002. }, {
  8003. "style": {
  8004. "height": "36px"
  8005. }
  8006. }).form; //創建窗體
  8007. _taskbar = {
  8008. "id": str + _formdiv.id,
  8009. "style": {
  8010. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  8011. },
  8012. "name": "思維網格",
  8013. "forms": _formdiv,
  8014. "click": function () {
  8015. U.MD.D.I.openApplication(str, obj, info);
  8016. }
  8017. }
  8018. break;
  8019. case "courseDesign":
  8020. _iframe = $$("iframe", {
  8021. "webkitallowfullscreen": "",
  8022. "mozallowfullscreen": "",
  8023. "allowfullscreen": "",
  8024. "frameborder": "no",
  8025. "border": "0",
  8026. "scrolling ": "no",
  8027. "style": {
  8028. "cssText": "border:0; width:100%; height:100%;"
  8029. },
  8030. "src": "/course-design-vue"
  8031. })
  8032. _box.appendChild(_iframe);
  8033. _box.appendChild(_jie);
  8034. _formdiv = new U.UF.UI.form(
  8035. "項目設計-" + _username,
  8036. _box, {
  8037. "id": "courseDesign" + cid + stage + task + tool + _userid,
  8038. "style": {
  8039. "width": "90%",
  8040. "height": "90%",
  8041. "overflow": 'hidden'
  8042. },
  8043. "onresize": function () { }
  8044. }, {
  8045. closecallback: function () { }
  8046. }, {
  8047. "style": {
  8048. "height": "36px"
  8049. }
  8050. }).form; //創建窗體
  8051. _taskbar = {
  8052. "id": str + _formdiv.id,
  8053. "style": {
  8054. "backgroundImage": "url(/img/icon/courseDesign.png)"
  8055. },
  8056. "name": "項目設計",
  8057. "forms": _formdiv,
  8058. "click": function () {
  8059. U.MD.D.I.openApplication(str, obj, info);
  8060. }
  8061. }
  8062. break;
  8063. }
  8064. const script1 = document.createElement("script");
  8065. script1.type = "text/javascript";
  8066. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8067. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8068. const script2 = document.createElement("script");
  8069. script2.type = "text/javascript";
  8070. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8071. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8072. const script3 = document.createElement("script");
  8073. script3.type = "text/javascript";
  8074. script3.charset = "UTF-8";
  8075. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8076. const script4 = document.createElement("script");
  8077. script4.type = "text/javascript";
  8078. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  8079. script4.src = window.origin + "/js/Common/jietu2E.js";
  8080. if (_iframe) {
  8081. if (str == 'doc') {
  8082. _iframe = _formdiv.querySelector('iframe')
  8083. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8084. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  8085. _iframe.contentWindow.document.body.appendChild(script1);
  8086. _iframe.contentWindow.document.body.appendChild(script2);
  8087. // _iframe.contentWindow.document.body.appendChild(script3);
  8088. _iframe.contentWindow.document.body.appendChild(script4);
  8089. })
  8090. if (onloadListener) {
  8091. _iframe.contentDocument.location.reload()
  8092. } else {
  8093. _iframe.contentDocument.location.reload()
  8094. }
  8095. } else if (str == 'courseDesign') {
  8096. U.UF.DL.iframeLoad(_iframe, function () {
  8097. // _iframe.contentWindow.U.MD.O.W.load();
  8098. // _iframe.contentWindow.document.body.appendChild(script1);
  8099. _iframe.contentWindow.document.body.appendChild(script2);
  8100. _iframe.contentWindow.document.body.appendChild(script4);
  8101. })
  8102. } else if (str == 'mind') {
  8103. _iframe = _formdiv.querySelector('iframe')
  8104. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8105. //
  8106. _iframe.contentWindow.document.body.appendChild(script1);
  8107. _iframe.contentWindow.document.body.appendChild(script2);
  8108. _iframe.contentWindow.document.body.appendChild(script4);
  8109. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  8110. })
  8111. if (onloadListener) {
  8112. _iframe.contentDocument.location.reload()
  8113. } else {
  8114. _iframe.contentDocument.location.reload()
  8115. }
  8116. } else if (str == 'whiteboard') {
  8117. _iframe = _formdiv.querySelector('iframe')
  8118. let onloadListener = _iframe.onload = () => {
  8119. _iframe.contentWindow.document.body.appendChild(script1);
  8120. _iframe.contentWindow.document.body.appendChild(script2);
  8121. _iframe.contentWindow.document.body.appendChild(script4);
  8122. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  8123. };
  8124. // if (onloadListener) {
  8125. // try {
  8126. // _iframe.src += "?cocorobo="+new Date().getTime()
  8127. // _iframe.contentWindow.document.location.reload()
  8128. // } catch (error) {
  8129. // }
  8130. // } else {
  8131. // _iframe.contentDocument.location.reload()
  8132. // }
  8133. } else {
  8134. _iframe.onload = () => {
  8135. _iframe.contentWindow.document.body.appendChild(script1);
  8136. _iframe.contentWindow.document.body.appendChild(script2);
  8137. // _iframe.contentWindow.document.body.appendChild(script3);
  8138. _iframe.contentWindow.document.body.appendChild(script4);
  8139. };
  8140. }
  8141. _jie.onclick = async () => {
  8142. let text = ''
  8143. if (aTool == 1) {
  8144. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8145. } else if (aTool == 6) {
  8146. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8147. } else if (aTool == 3) {
  8148. text = await U.MD.D.I.getEditorContent(_iframe);
  8149. }
  8150. _loading.style.display = 'flex'
  8151. console.log(_loading);
  8152. var _ajs = _iframe.contentWindow.document.createElement("script");
  8153. _ajs.type = "text/javascript";
  8154. _ajs.innerHTML =
  8155. // 'console.log(' + _loading + ');\n' +
  8156. 'var _js = document.createElement("script");\n' +
  8157. '_js.type="text/javascript";\n' +
  8158. '_js.charset="UTF-8";\n' +
  8159. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8160. "_js.onload = function(){\n" +
  8161. ' var a = document.getElementsByTagName("img")\n' +
  8162. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8163. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8164. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8165. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8166. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8167. "beforeUpload_shishi(file," +
  8168. "'" +
  8169. _userid +
  8170. "'" +
  8171. ", " +
  8172. "'" +
  8173. _cid +
  8174. "'" +
  8175. ", " +
  8176. "'" +
  8177. _stage +
  8178. "'" +
  8179. ", " +
  8180. "'" +
  8181. _task +
  8182. "'" +
  8183. ", " +
  8184. "'" +
  8185. _tool +
  8186. "'" +
  8187. ", " +
  8188. "'" +
  8189. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  8190. "'" +
  8191. ", " +
  8192. "'" +
  8193. aTool +
  8194. "'" +
  8195. ", " +
  8196. "`" +
  8197. text +
  8198. "`" +
  8199. ")\n" +
  8200. " });\n" +
  8201. "}\n" +
  8202. "document.head.appendChild(_js);\n";
  8203. _iframe.contentWindow.document.head.appendChild(_ajs);
  8204. }
  8205. }
  8206. }
  8207. U.MD.D.I.getEditorContent = function (iframe) {
  8208. return new Promise((resolve, reject) => {
  8209. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  8210. console.log(content);
  8211. resolve(content)
  8212. });
  8213. });
  8214. }
  8215. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  8216. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  8217. // if (res.value[0].length > 0) {
  8218. // // resolve(res.value[0][0].text);
  8219. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  8220. // $(fileInput).val('');
  8221. // });
  8222. // }
  8223. // }, [], { "type": "GET", "withCredentials": true });
  8224. var xmlhttp;
  8225. var Mac, Sn, DeviceId
  8226. if (window.XMLHttpRequest) {
  8227. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8228. xmlhttp = new XMLHttpRequest();
  8229. }
  8230. else {
  8231. // IE6, IE5 瀏覽器執行代碼
  8232. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8233. }
  8234. xmlhttp.onreadystatechange = function () {
  8235. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8236. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8237. // resolve(res.value[0][0].text);
  8238. if (type == '2') {
  8239. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8240. } else if (type == '3') {
  8241. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8242. }
  8243. } else {
  8244. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  8245. }
  8246. }
  8247. }
  8248. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8249. xmlhttp.send();
  8250. }
  8251. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  8252. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8253. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8254. _userinfo = US.userInfo, //登錄用戶信息
  8255. _userid = US.userInfo.userid //登錄用戶id
  8256. let _iframe;
  8257. let _cid = cid,
  8258. _stage = stage,
  8259. _task = task,
  8260. _tool = tool;
  8261. var _jie = $$("div", {
  8262. "style": {
  8263. "position": "absolute",
  8264. "bottom": "50px",
  8265. "right": "50px",
  8266. "zIndex": "9999",
  8267. "backgroundColor": "#2268bc",
  8268. "color": "#fff",
  8269. "padding": "12px 20px",
  8270. "cursor": "pointer",
  8271. "borderRadius": "4px",
  8272. },
  8273. "innerHTML": "確認並提交"
  8274. })
  8275. let aTool = ''
  8276. let _loading = document.createElement('div')
  8277. _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;"
  8278. // _loading.id = "";
  8279. let _lchild = document.createElement('div')
  8280. let _limg = document.createElement('img')
  8281. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8282. _limg.style = "width: 26px;margin-right: 10px;"
  8283. _lchild.appendChild(_limg)
  8284. let _lspan = document.createElement('span')
  8285. _lspan.innerHTML = "上傳中..."
  8286. _lchild.appendChild(_lspan)
  8287. _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%);"
  8288. _loading.appendChild(_lchild)
  8289. var _box = $$('div', {
  8290. "style": {
  8291. "position": "relative",
  8292. "width": "100%",
  8293. "height": "100%",
  8294. },
  8295. })
  8296. _box.appendChild(_loading)
  8297. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  8298. switch (str) {
  8299. case "whiteboard":
  8300. aTool = 1;
  8301. _iframe = $$("iframe", {
  8302. "frameborder": "no",
  8303. "border": "0",
  8304. "scrolling ": "no",
  8305. "style": {
  8306. "cssText": "border:0;width:100%;height:100%"
  8307. },
  8308. "src": "https://iwb.cocorobo.hk/"
  8309. })
  8310. _box.appendChild(_iframe);
  8311. _box.appendChild(_jie);
  8312. _formdiv = new U.UF.UI.form(
  8313. "電子白板",
  8314. _box, {
  8315. "id": "whiteboards" + cid + stage + task + tool,
  8316. "style": {
  8317. "width": "90%",
  8318. "height": "90%",
  8319. "overflow": 'hidden'
  8320. },
  8321. "onresize": function () { }
  8322. }, {
  8323. closecallback: function () { }
  8324. }, {
  8325. "style": {
  8326. "height": "36px"
  8327. }
  8328. }).form; //創建窗體
  8329. _taskbar = {
  8330. "id": str + _formdiv.id,
  8331. "style": {
  8332. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8333. },
  8334. "name": "電子白板",
  8335. "forms": _formdiv,
  8336. "click": function () {
  8337. U.MD.D.I.openApplication(str, obj, info);
  8338. }
  8339. }
  8340. break;
  8341. case "mind":
  8342. aTool = 3;
  8343. _iframe = $$("iframe", {
  8344. "frameborder": "no",
  8345. "border": "0",
  8346. "scrolling ": "no",
  8347. "style": {
  8348. "cssText": "border:0;width:100%;height:100%"
  8349. },
  8350. "src": "/kityminder-editor/dist/index.html"
  8351. });
  8352. _box.appendChild(_iframe);
  8353. _box.appendChild(_jie);
  8354. _formdiv = new U.UF.UI.form(
  8355. "思維導圖",
  8356. _box, { //"/jsmind/example/demo.html"
  8357. "id": "minds" + cid + stage + task + tool,
  8358. "style": {
  8359. "width": "90%",
  8360. "height": "90%",
  8361. "overflow": 'hidden'
  8362. },
  8363. "onresize": function () { }
  8364. }, {
  8365. closecallback: function () { }
  8366. }, {
  8367. "style": {
  8368. "height": "36px"
  8369. }
  8370. }).form; //創建窗體
  8371. _taskbar = {
  8372. "id": str + _formdiv.id,
  8373. "style": {
  8374. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8375. },
  8376. "name": "思維導圖",
  8377. "forms": _formdiv,
  8378. "click": function () {
  8379. U.MD.D.I.openApplication(str, obj, info);
  8380. }
  8381. }
  8382. break;
  8383. case "doc":
  8384. aTool = 6;
  8385. _iframe = $$("iframe", {
  8386. "frameborder": "no",
  8387. "border": "0",
  8388. "scrolling ": "no",
  8389. "style": {
  8390. "cssText": "border:0;width:100%;height:100%"
  8391. },
  8392. "src": "/Office/Word/WordEditArea.htm"
  8393. })
  8394. _box.appendChild(_iframe);
  8395. _box.appendChild(_jie);
  8396. _formdiv = new U.UF.UI.form(
  8397. "協同文檔",
  8398. _box, {
  8399. "id": "docs" + cid + stage + task + tool,
  8400. "style": {
  8401. "width": "90%",
  8402. "height": "90%",
  8403. "overflow": 'hidden'
  8404. },
  8405. "onresize": function () { }
  8406. }, {
  8407. closecallback: function () { }
  8408. }, {
  8409. "style": {
  8410. "height": "36px"
  8411. }
  8412. }).form; //創建窗體
  8413. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8414. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8415. })
  8416. _taskbar = {
  8417. "id": str + _formdiv.id,
  8418. "style": {
  8419. "backgroundImage": "url(/img/icon/doc.png)"
  8420. },
  8421. "name": "協同文檔",
  8422. "forms": _formdiv,
  8423. "click": function () {
  8424. U.MD.D.I.openApplication(str, obj, info);
  8425. }
  8426. }
  8427. break;
  8428. }
  8429. const script1 = document.createElement("script");
  8430. script1.type = "text/javascript";
  8431. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8432. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8433. const script2 = document.createElement("script");
  8434. script2.type = "text/javascript";
  8435. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8436. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8437. const script3 = document.createElement("script");
  8438. script3.type = "text/javascript";
  8439. script3.charset = "UTF-8";
  8440. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8441. const script4 = document.createElement("script");
  8442. script4.type = "text/javascript";
  8443. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8444. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  8445. if (_iframe) {
  8446. if (str == 'doc') {
  8447. _iframe = _formdiv.querySelector('iframe')
  8448. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8449. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8450. _iframe.contentWindow.document.body.appendChild(script1);
  8451. _iframe.contentWindow.document.body.appendChild(script2);
  8452. // _iframe.contentWindow.document.body.appendChild(script3);
  8453. _iframe.contentWindow.document.body.appendChild(script4);
  8454. })
  8455. if (onloadListener) {
  8456. _iframe.contentDocument.location.reload()
  8457. } else {
  8458. _iframe.contentDocument.location.reload()
  8459. }
  8460. } else if (str == 'mind') {
  8461. _iframe = _formdiv.querySelector('iframe')
  8462. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8463. _iframe.contentWindow.document.body.appendChild(script1);
  8464. _iframe.contentWindow.document.body.appendChild(script2);
  8465. _iframe.contentWindow.document.body.appendChild(script4);
  8466. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8467. })
  8468. if (onloadListener) {
  8469. _iframe.contentDocument.location.reload()
  8470. } else {
  8471. _iframe.contentDocument.location.reload()
  8472. }
  8473. } else {
  8474. _iframe.onload = () => {
  8475. _iframe.contentWindow.document.body.appendChild(script1);
  8476. _iframe.contentWindow.document.body.appendChild(script2);
  8477. // _iframe.contentWindow.document.body.appendChild(script3);
  8478. _iframe.contentWindow.document.body.appendChild(script4);
  8479. };
  8480. }
  8481. _jie.onclick = async () => {
  8482. let text = ''
  8483. if (aTool == 6) {
  8484. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8485. } else if (aTool == 3) {
  8486. text = await U.MD.D.I.getEditorContent(_iframe);
  8487. }
  8488. _loading.style.display = 'flex'
  8489. console.log(_loading);
  8490. var _ajs = _iframe.contentWindow.document.createElement("script");
  8491. _ajs.type = "text/javascript";
  8492. _ajs.innerHTML =
  8493. // 'console.log(' + _loading + ');\n' +
  8494. 'var _js = document.createElement("script");\n' +
  8495. '_js.type="text/javascript";\n' +
  8496. '_js.charset="UTF-8";\n' +
  8497. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8498. "_js.onload = function(){\n" +
  8499. ' var a = document.getElementsByTagName("img")\n' +
  8500. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8501. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8502. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8503. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8504. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8505. "beforeUpload_shishi(file," +
  8506. "'" +
  8507. _userid +
  8508. "'" +
  8509. ", " +
  8510. "'" +
  8511. _cid +
  8512. "'" +
  8513. ", " +
  8514. "'" +
  8515. _stage +
  8516. "'" +
  8517. ", " +
  8518. "'" +
  8519. _task +
  8520. "'" +
  8521. ", " +
  8522. "'" +
  8523. _tool +
  8524. "'" +
  8525. ", " +
  8526. "'" +
  8527. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  8528. "'" +
  8529. ", " +
  8530. "'" +
  8531. aTool +
  8532. "'" +
  8533. ", " +
  8534. "`" +
  8535. text +
  8536. "`" +
  8537. ")\n" +
  8538. " });\n" +
  8539. "}\n" +
  8540. "document.head.appendChild(_js);\n";
  8541. _iframe.contentWindow.document.head.appendChild(_ajs);
  8542. }
  8543. }
  8544. //U.MD.D.I.openClick(str);
  8545. //如果有任務欄信息
  8546. // if (_taskbar) {
  8547. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8548. // }
  8549. }
  8550. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  8551. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8552. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8553. _userinfo = US.userInfo, //登錄用戶信息
  8554. _userid = US.userInfo.userid //登錄用戶id
  8555. let _iframe;
  8556. let _cid = cid,
  8557. _stage = stage,
  8558. _task = task,
  8559. _tool = tool;
  8560. var _jie = $$("div", {
  8561. "style": {
  8562. "position": "absolute",
  8563. "bottom": "50px",
  8564. "right": "50px",
  8565. "zIndex": "9999",
  8566. "backgroundColor": "#2268bc",
  8567. "color": "#fff",
  8568. "padding": "12px 20px",
  8569. "cursor": "pointer",
  8570. "borderRadius": "4px",
  8571. },
  8572. "innerHTML": "確認並提交"
  8573. })
  8574. let aTool = ''
  8575. let _loading = document.createElement('div')
  8576. _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;"
  8577. // _loading.id = "";
  8578. let _lchild = document.createElement('div')
  8579. let _limg = document.createElement('img')
  8580. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8581. _limg.style = "width: 26px;margin-right: 10px;"
  8582. _lchild.appendChild(_limg)
  8583. let _lspan = document.createElement('span')
  8584. _lspan.innerHTML = "上傳中..."
  8585. _lchild.appendChild(_lspan)
  8586. _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%);"
  8587. _loading.appendChild(_lchild)
  8588. var _box = $$('div', {
  8589. "style": {
  8590. "position": "relative",
  8591. "width": "100%",
  8592. "height": "100%",
  8593. },
  8594. })
  8595. _box.appendChild(_loading)
  8596. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  8597. switch (str) {
  8598. case "whiteboard":
  8599. aTool = 1;
  8600. _iframe = $$("iframe", {
  8601. "frameborder": "no",
  8602. "border": "0",
  8603. "scrolling ": "no",
  8604. "style": {
  8605. "cssText": "border:0;width:100%;height:100%"
  8606. },
  8607. "src": "https://iwb.cocorobo.hk/"
  8608. })
  8609. _box.appendChild(_iframe);
  8610. _box.appendChild(_jie);
  8611. _formdiv = new U.UF.UI.form(
  8612. "電子白板",
  8613. _box, {
  8614. "id": "whiteboards" + cid + stage + task + tool,
  8615. "style": {
  8616. "width": "90%",
  8617. "height": "90%",
  8618. "overflow": 'hidden'
  8619. },
  8620. "onresize": function () { }
  8621. }, {
  8622. closecallback: function () { }
  8623. }, {
  8624. "style": {
  8625. "height": "36px"
  8626. }
  8627. }).form; //創建窗體
  8628. _taskbar = {
  8629. "id": str + _formdiv.id,
  8630. "style": {
  8631. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8632. },
  8633. "name": "電子白板",
  8634. "forms": _formdiv,
  8635. "click": function () {
  8636. U.MD.D.I.openApplication(str, obj, info);
  8637. }
  8638. }
  8639. break;
  8640. case "mind":
  8641. aTool = 3;
  8642. _iframe = $$("iframe", {
  8643. "frameborder": "no",
  8644. "border": "0",
  8645. "scrolling ": "no",
  8646. "style": {
  8647. "cssText": "border:0;width:100%;height:100%"
  8648. },
  8649. "src": "/kityminder-editor/dist/index.html"
  8650. });
  8651. _box.appendChild(_iframe);
  8652. _box.appendChild(_jie);
  8653. _formdiv = new U.UF.UI.form(
  8654. "思維導圖",
  8655. _box, { //"/jsmind/example/demo.html"
  8656. "id": "minds" + cid + stage + task + tool,
  8657. "style": {
  8658. "width": "90%",
  8659. "height": "90%",
  8660. "overflow": 'hidden'
  8661. },
  8662. "onresize": function () { }
  8663. }, {
  8664. closecallback: function () { }
  8665. }, {
  8666. "style": {
  8667. "height": "36px"
  8668. }
  8669. }).form; //創建窗體
  8670. _taskbar = {
  8671. "id": str + _formdiv.id,
  8672. "style": {
  8673. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8674. },
  8675. "name": "思維導圖",
  8676. "forms": _formdiv,
  8677. "click": function () {
  8678. U.MD.D.I.openApplication(str, obj, info);
  8679. }
  8680. }
  8681. break;
  8682. case "doc":
  8683. aTool = 6;
  8684. _iframe = $$("iframe", {
  8685. "frameborder": "no",
  8686. "border": "0",
  8687. "scrolling ": "no",
  8688. "style": {
  8689. "cssText": "border:0;width:100%;height:100%"
  8690. },
  8691. "src": "/Office/Word/WordEditArea.htm"
  8692. })
  8693. _box.appendChild(_iframe);
  8694. _box.appendChild(_jie);
  8695. _formdiv = new U.UF.UI.form(
  8696. "協同文檔",
  8697. _box, {
  8698. "id": "docs" + cid + stage + task + tool,
  8699. "style": {
  8700. "width": "90%",
  8701. "height": "90%",
  8702. "overflow": 'hidden'
  8703. },
  8704. "onresize": function () { }
  8705. }, {
  8706. closecallback: function () { }
  8707. }, {
  8708. "style": {
  8709. "height": "36px"
  8710. }
  8711. }).form; //創建窗體
  8712. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8713. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8714. })
  8715. _taskbar = {
  8716. "id": str + _formdiv.id,
  8717. "style": {
  8718. "backgroundImage": "url(/img/icon/doc.png)"
  8719. },
  8720. "name": "協同文檔",
  8721. "forms": _formdiv,
  8722. "click": function () {
  8723. U.MD.D.I.openApplication(str, obj, info);
  8724. }
  8725. }
  8726. break;
  8727. }
  8728. const script1 = document.createElement("script");
  8729. script1.type = "text/javascript";
  8730. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8731. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8732. const script2 = document.createElement("script");
  8733. script2.type = "text/javascript";
  8734. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8735. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8736. const script3 = document.createElement("script");
  8737. script3.type = "text/javascript";
  8738. script3.charset = "UTF-8";
  8739. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8740. const script4 = document.createElement("script");
  8741. script4.type = "text/javascript";
  8742. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8743. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  8744. if (_iframe) {
  8745. if (str == 'doc') {
  8746. _iframe = _formdiv.querySelector('iframe')
  8747. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8748. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8749. _iframe.contentWindow.document.body.appendChild(script1);
  8750. _iframe.contentWindow.document.body.appendChild(script2);
  8751. // _iframe.contentWindow.document.body.appendChild(script3);
  8752. _iframe.contentWindow.document.body.appendChild(script4);
  8753. })
  8754. if (onloadListener) {
  8755. _iframe.contentDocument.location.reload()
  8756. } else {
  8757. _iframe.contentDocument.location.reload()
  8758. }
  8759. } else if (str == 'mind') {
  8760. _iframe = _formdiv.querySelector('iframe')
  8761. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8762. _iframe.contentWindow.document.body.appendChild(script1);
  8763. _iframe.contentWindow.document.body.appendChild(script2);
  8764. _iframe.contentWindow.document.body.appendChild(script4);
  8765. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8766. })
  8767. if (onloadListener) {
  8768. _iframe.contentDocument.location.reload()
  8769. } else {
  8770. _iframe.contentDocument.location.reload()
  8771. }
  8772. } else {
  8773. _iframe.onload = () => {
  8774. _iframe.contentWindow.document.body.appendChild(script1);
  8775. _iframe.contentWindow.document.body.appendChild(script2);
  8776. // _iframe.contentWindow.document.body.appendChild(script3);
  8777. _iframe.contentWindow.document.body.appendChild(script4);
  8778. };
  8779. }
  8780. _jie.onclick = async () => {
  8781. let text = ''
  8782. if (aTool == 6) {
  8783. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8784. } else if (aTool == 3) {
  8785. text = await U.MD.D.I.getEditorContent(_iframe);
  8786. }
  8787. _loading.style.display = 'flex'
  8788. console.log(_loading);
  8789. var _ajs = _iframe.contentWindow.document.createElement("script");
  8790. _ajs.type = "text/javascript";
  8791. _ajs.innerHTML =
  8792. // 'console.log(' + _loading + ');\n' +
  8793. 'var _js = document.createElement("script");\n' +
  8794. '_js.type="text/javascript";\n' +
  8795. '_js.charset="UTF-8";\n' +
  8796. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8797. "_js.onload = function(){\n" +
  8798. ' var a = document.getElementsByTagName("img")\n' +
  8799. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8800. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8801. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8802. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8803. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8804. "beforeUpload_shishi(file," +
  8805. "'" +
  8806. _userid +
  8807. "'" +
  8808. ", " +
  8809. "'" +
  8810. _cid +
  8811. "'" +
  8812. ", " +
  8813. "'" +
  8814. _stage +
  8815. "'" +
  8816. ", " +
  8817. "'" +
  8818. _task +
  8819. "'" +
  8820. ", " +
  8821. "'" +
  8822. _tool +
  8823. "'" +
  8824. ", " +
  8825. "'" +
  8826. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  8827. "'" +
  8828. ", " +
  8829. "'" +
  8830. aTool +
  8831. "'" +
  8832. ", " +
  8833. "`" +
  8834. text +
  8835. "`" +
  8836. ")\n" +
  8837. " });\n" +
  8838. "}\n" +
  8839. "document.head.appendChild(_js);\n";
  8840. _iframe.contentWindow.document.head.appendChild(_ajs);
  8841. }
  8842. }
  8843. //U.MD.D.I.openClick(str);
  8844. //如果有任務欄信息
  8845. // if (_taskbar) {
  8846. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8847. // }
  8848. }
  8849. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  8850. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8851. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8852. _userinfo = US.userInfo, //登錄用戶信息
  8853. _userid = US.userInfo.userid //登錄用戶id
  8854. let _iframe;
  8855. let _cid = cid,
  8856. _stage = stage,
  8857. _task = task,
  8858. _tool = tool;
  8859. var _jie = $$("div", {
  8860. "style": {
  8861. "position": "absolute",
  8862. "bottom": "50px",
  8863. "right": "50px",
  8864. "zIndex": "9999",
  8865. "backgroundColor": "#2268bc",
  8866. "color": "#fff",
  8867. "padding": "12px 20px",
  8868. "cursor": "pointer",
  8869. "borderRadius": "4px",
  8870. },
  8871. "innerHTML": "上傳模板"
  8872. })
  8873. let aTool = ''
  8874. let _loading = document.createElement('div')
  8875. _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;"
  8876. // _loading.id = "";
  8877. let _lchild = document.createElement('div')
  8878. let _limg = document.createElement('img')
  8879. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8880. _limg.style = "width: 26px;margin-right: 10px;"
  8881. _lchild.appendChild(_limg)
  8882. let _lspan = document.createElement('span')
  8883. _lspan.innerHTML = "上傳中..."
  8884. _lchild.appendChild(_lspan)
  8885. _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%);"
  8886. _loading.appendChild(_lchild)
  8887. var _box = $$('div', {
  8888. "style": {
  8889. "position": "relative",
  8890. "width": "100%",
  8891. "height": "100%",
  8892. },
  8893. })
  8894. _box.appendChild(_loading)
  8895. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  8896. switch (str) {
  8897. case "whiteboard":
  8898. aTool = 1;
  8899. _iframe = $$("iframe", {
  8900. "frameborder": "no",
  8901. "border": "0",
  8902. "scrolling ": "no",
  8903. "style": {
  8904. "cssText": "border:0;width:100%;height:100%"
  8905. },
  8906. "src": "https://iwb.cocorobo.hk/"
  8907. })
  8908. _box.appendChild(_iframe);
  8909. _box.appendChild(_jie);
  8910. _formdiv = new U.UF.UI.form(
  8911. "電子白板",
  8912. _box, {
  8913. "id": "whiteboards_Yu" + cid + stage + task + tool,
  8914. "style": {
  8915. "width": "90%",
  8916. "height": "90%",
  8917. "overflow": 'hidden'
  8918. },
  8919. "onresize": function () { }
  8920. }, {
  8921. closecallback: function () { }
  8922. }, {
  8923. "style": {
  8924. "height": "36px"
  8925. }
  8926. }).form; //創建窗體
  8927. _taskbar = {
  8928. "id": str + _formdiv.id,
  8929. "style": {
  8930. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8931. },
  8932. "name": "電子白板",
  8933. "forms": _formdiv,
  8934. "click": function () {
  8935. U.MD.D.I.openApplication(str, obj, info);
  8936. }
  8937. }
  8938. break;
  8939. case "mind":
  8940. aTool = 3;
  8941. _iframe = $$("iframe", {
  8942. "frameborder": "no",
  8943. "border": "0",
  8944. "scrolling ": "no",
  8945. "style": {
  8946. "cssText": "border:0;width:100%;height:100%"
  8947. },
  8948. "src": "/kityminder-editor/dist/index.html"
  8949. });
  8950. _box.appendChild(_iframe);
  8951. _box.appendChild(_jie);
  8952. _formdiv = new U.UF.UI.form(
  8953. "思維導圖",
  8954. _box, { //"/jsmind/example/demo.html"
  8955. "id": "minds_Yu" + cid + stage + task + tool,
  8956. "style": {
  8957. "width": "90%",
  8958. "height": "90%",
  8959. "overflow": 'hidden'
  8960. },
  8961. "onresize": function () { }
  8962. }, {
  8963. closecallback: function () { }
  8964. }, {
  8965. "style": {
  8966. "height": "36px"
  8967. }
  8968. }).form; //創建窗體
  8969. _taskbar = {
  8970. "id": str + _formdiv.id,
  8971. "style": {
  8972. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8973. },
  8974. "name": "思維導圖",
  8975. "forms": _formdiv,
  8976. "click": function () {
  8977. U.MD.D.I.openApplication(str, obj, info);
  8978. }
  8979. }
  8980. break;
  8981. case "doc":
  8982. aTool = 6;
  8983. _iframe = $$("iframe", {
  8984. "frameborder": "no",
  8985. "border": "0",
  8986. "scrolling ": "no",
  8987. "style": {
  8988. "cssText": "border:0;width:100%;height:100%"
  8989. },
  8990. "src": "/Office/Word/WordEditArea.htm"
  8991. })
  8992. _box.appendChild(_iframe);
  8993. _box.appendChild(_jie);
  8994. _formdiv = new U.UF.UI.form(
  8995. "協同文檔",
  8996. _box, {
  8997. "id": "docs_Yu" + cid + stage + task + tool,
  8998. "style": {
  8999. "width": "90%",
  9000. "height": "90%",
  9001. "overflow": 'hidden'
  9002. },
  9003. "onresize": function () { }
  9004. }, {
  9005. closecallback: function () { }
  9006. }, {
  9007. "style": {
  9008. "height": "36px"
  9009. }
  9010. }).form; //創建窗體
  9011. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  9012. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  9013. })
  9014. _taskbar = {
  9015. "id": str + _formdiv.id,
  9016. "style": {
  9017. "backgroundImage": "url(/img/icon/doc.png)"
  9018. },
  9019. "name": "協同文檔",
  9020. "forms": _formdiv,
  9021. "click": function () {
  9022. U.MD.D.I.openApplication(str, obj, info);
  9023. }
  9024. }
  9025. break;
  9026. case "CocoPi":
  9027. aTool = 57;
  9028. _iframe = $$("iframe", {
  9029. "allowpaymentrequest": "allowpaymentrequest",
  9030. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9031. "webkitallowfullscreen": "",
  9032. "mozallowfullscreen": "",
  9033. "frameborder": "no",
  9034. "border": "0",
  9035. "scrolling ": "no",
  9036. "style": {
  9037. "cssText": "border:0;width:100%;height:100%"
  9038. },
  9039. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9040. })
  9041. _box.appendChild(_iframe);
  9042. _box.appendChild(_jie);
  9043. _formdiv = new U.UF.UI.form(
  9044. "CocoPi",
  9045. _box, {
  9046. "id": "CocoPi_Yu" + cid + stage + task + tool,
  9047. "style": {
  9048. "width": "90%",
  9049. "height": "90%",
  9050. "overflow": 'hidden'
  9051. },
  9052. "onresize": function () { }
  9053. }, {
  9054. closecallback: function () { }
  9055. }, {
  9056. "style": {
  9057. "height": "36px"
  9058. }
  9059. }).form; //創建窗體
  9060. _taskbar = {
  9061. "id": str + _formdiv.id,
  9062. "style": {
  9063. "backgroundImage": "url(/img/icon/cocopi.png)"
  9064. },
  9065. "name": "CocoPi",
  9066. "forms": _formdiv,
  9067. "click": function () {
  9068. U.MD.D.I.openApplication(str, obj, info);
  9069. }
  9070. }
  9071. break;
  9072. }
  9073. if (_iframe) {
  9074. if (str == 'doc') {
  9075. _iframe = _formdiv.querySelector('iframe')
  9076. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9077. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  9078. })
  9079. if (onloadListener) {
  9080. _iframe.contentDocument.location.reload()
  9081. } else {
  9082. _iframe.contentDocument.location.reload()
  9083. }
  9084. } else if (str == 'mind') {
  9085. _iframe = _formdiv.querySelector('iframe')
  9086. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9087. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  9088. })
  9089. if (onloadListener) {
  9090. _iframe.contentDocument.location.reload()
  9091. } else {
  9092. _iframe.contentDocument.location.reload()
  9093. }
  9094. } else if (str == 'whiteboard') {
  9095. _iframe = _formdiv.querySelector('iframe')
  9096. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9097. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  9098. })
  9099. // if (onloadListener) {
  9100. // try {
  9101. // _iframe.src += "?cocorobo="+new Date().getTime()
  9102. // _iframe.contentWindow.document.location.reload()
  9103. // } catch (error) {
  9104. // }
  9105. // } else {
  9106. // _iframe.contentDocument.location.reload()
  9107. // }
  9108. } else if (str == 'CocoPi') {
  9109. _iframe = _formdiv.querySelector('iframe')
  9110. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9111. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  9112. })
  9113. if (onloadListener) {
  9114. _iframe.contentDocument.location.reload()
  9115. } else {
  9116. _iframe.contentDocument.location.reload()
  9117. }
  9118. } else {
  9119. _iframe.onload = () => { };
  9120. }
  9121. _jie.onclick = async () => {
  9122. let text = ''
  9123. let type = '2'
  9124. if (aTool == 1) {
  9125. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  9126. type = '3'
  9127. } else if (aTool == 6) {
  9128. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  9129. type = '1'
  9130. } else if (aTool == 3) {
  9131. text = await U.MD.D.I.getEditorContent(_iframe);
  9132. type = '2'
  9133. } else if (aTool == 57) {
  9134. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  9135. type = '4'
  9136. }
  9137. _loading.style.display = 'flex'
  9138. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  9139. }
  9140. }
  9141. //U.MD.D.I.openClick(str);
  9142. //如果有任務欄信息
  9143. // if (_taskbar) {
  9144. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  9145. // }
  9146. }
  9147. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  9148. var xmlhttp;
  9149. var Mac, Sn, DeviceId
  9150. if (window.XMLHttpRequest) {
  9151. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9152. xmlhttp = new XMLHttpRequest();
  9153. }
  9154. else {
  9155. // IE6, IE5 瀏覽器執行代碼
  9156. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9157. }
  9158. xmlhttp.onreadystatechange = function () {
  9159. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9160. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  9161. // resolve(res.value[0][0].text);
  9162. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  9163. }
  9164. }
  9165. }
  9166. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  9167. xmlhttp.send();
  9168. }
  9169. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  9170. var xmlhttp;
  9171. var Mac, Sn, DeviceId
  9172. if (window.XMLHttpRequest) {
  9173. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9174. xmlhttp = new XMLHttpRequest();
  9175. }
  9176. else {
  9177. // IE6, IE5 瀏覽器執行代碼
  9178. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9179. }
  9180. xmlhttp.onreadystatechange = function () {
  9181. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9182. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  9183. // resolve(res.value[0][0].text);
  9184. if (type == '2') {
  9185. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  9186. } else if (type == '3') {
  9187. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  9188. } else if (type == '4') {
  9189. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  9190. }
  9191. } else {
  9192. if (type == '2') {
  9193. iframe.contentWindow.editor.minder.importData('json', '')
  9194. } else if (type == '3') {
  9195. iframe.contentWindow.h.app.updateScene({ elements: [] })
  9196. } else if (type == '4') {
  9197. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  9198. }
  9199. }
  9200. }
  9201. }
  9202. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  9203. xmlhttp.send();
  9204. }
  9205. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  9206. var xmlhttp;
  9207. var Mac, Sn, DeviceId
  9208. if (window.XMLHttpRequest) {
  9209. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9210. xmlhttp = new XMLHttpRequest();
  9211. }
  9212. else {
  9213. // IE6, IE5 瀏覽器執行代碼
  9214. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9215. }
  9216. xmlhttp.onreadystatechange = function () {
  9217. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9218. if (xmlhttp.response) {
  9219. // resolve(res.value[0][0].text);
  9220. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  9221. // $(fileInput).val('');
  9222. // });
  9223. span.innerHTML = '上傳成功'
  9224. setTimeout(() => {
  9225. loading.style.display = 'none'
  9226. }, 1000);
  9227. }
  9228. }
  9229. }
  9230. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  9231. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  9232. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  9233. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  9234. // 設置請求頭,表示請求體的編碼格式
  9235. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  9236. // 設置請求體,使用url-encoded格式的數據
  9237. }
  9238. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  9239. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  9240. _formdiv, //創建任務欄時同時彈出的窗體元素。
  9241. _userinfo = US.userInfo, //登錄用戶信息
  9242. _userid = US.userInfo.userid //登錄用戶id
  9243. let _iframe;
  9244. let _cid = cid,
  9245. _stage = stage,
  9246. _task = task,
  9247. _tool = tool;
  9248. var _jie = $$("div", {
  9249. "style": {
  9250. "position": "absolute",
  9251. "bottom": "50px",
  9252. "right": "50px",
  9253. "zIndex": "9999",
  9254. "backgroundColor": "#2268bc",
  9255. "color": "#fff",
  9256. "padding": "12px 20px",
  9257. "cursor": "pointer",
  9258. "borderRadius": "4px",
  9259. },
  9260. "innerHTML": "提交作業"
  9261. })
  9262. let aTool = ''
  9263. let _loading = document.createElement('div')
  9264. _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;"
  9265. // _loading.id = "";
  9266. let _lchild = document.createElement('div')
  9267. let _limg = document.createElement('img')
  9268. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  9269. _limg.style = "width: 26px;margin-right: 10px;"
  9270. _lchild.appendChild(_limg)
  9271. let _lspan = document.createElement('span')
  9272. _lspan.innerHTML = "上傳中..."
  9273. _lchild.appendChild(_lspan)
  9274. _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%);"
  9275. _loading.appendChild(_lchild)
  9276. var _box = $$('div', {
  9277. "style": {
  9278. "position": "relative",
  9279. "width": "100%",
  9280. "height": "100%",
  9281. },
  9282. })
  9283. _box.appendChild(_loading)
  9284. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  9285. switch (str) {
  9286. case "CocoPi":
  9287. aTool = 57;
  9288. _iframe = $$("iframe", {
  9289. "allowpaymentrequest": "allowpaymentrequest",
  9290. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9291. "webkitallowfullscreen": "",
  9292. "mozallowfullscreen": "",
  9293. "frameborder": "no",
  9294. "border": "0",
  9295. "scrolling ": "no",
  9296. "style": {
  9297. "cssText": "border:0;width:100%;height:100%"
  9298. },
  9299. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9300. })
  9301. _box.appendChild(_iframe);
  9302. _box.appendChild(_jie);
  9303. _formdiv = new U.UF.UI.form(
  9304. "CocoPi",
  9305. _box, {
  9306. "id": "CocoPi_Upload" + cid + stage + task + tool,
  9307. "style": {
  9308. "width": "90%",
  9309. "height": "90%",
  9310. "overflow": 'hidden'
  9311. },
  9312. "onresize": function () { }
  9313. }, {
  9314. closecallback: function () { }
  9315. }, {
  9316. "style": {
  9317. "height": "36px"
  9318. }
  9319. }).form; //創建窗體
  9320. _taskbar = {
  9321. "id": str + _formdiv.id,
  9322. "style": {
  9323. "backgroundImage": "url(/img/icon/cocopi.png)"
  9324. },
  9325. "name": "CocoPi",
  9326. "forms": _formdiv,
  9327. "click": function () {
  9328. U.MD.D.I.openApplication(str, obj, info);
  9329. }
  9330. }
  9331. break;
  9332. }
  9333. if (_iframe) {
  9334. if (str == 'CocoPi') {
  9335. _iframe = _formdiv.querySelector('iframe')
  9336. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9337. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  9338. })
  9339. if (onloadListener) {
  9340. _iframe.contentDocument.location.reload()
  9341. } else {
  9342. _iframe.contentDocument.location.reload()
  9343. }
  9344. }
  9345. _jie.onclick = async () => {
  9346. let text = ''
  9347. if (aTool == 57) {
  9348. text = _iframe.contentWindow.getLoadXmlStr()
  9349. }
  9350. _loading.style.display = 'flex'
  9351. console.log(_loading);
  9352. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  9353. _loading.style.display = 'none'
  9354. let _div = document.createElement('div')
  9355. _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;"
  9356. let _inner = document.createElement('div')
  9357. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  9358. _inner.innerHTML = "上傳成功"
  9359. _div.appendChild(_inner)
  9360. _iframe.contentWindow.window.document.body.appendChild(_div)
  9361. _div.onclick = () => {
  9362. _iframe.contentWindow.window.document.body.removeChild(_div)
  9363. }
  9364. setTimeout(() => {
  9365. _iframe.contentWindow.window.document.body.removeChild(_div)
  9366. }, 1000);
  9367. }, [], { "type": "POST", "withCredentials": true });
  9368. }
  9369. }
  9370. }
  9371. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  9372. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  9373. _formdiv, //創建任務欄時同時彈出的窗體元素。
  9374. _userid = student.userid, //登錄用戶id
  9375. _username = student.student //用戶名字
  9376. let _iframe;
  9377. let _cid = cid,
  9378. _stage = stage,
  9379. _task = task,
  9380. _tool = tool;
  9381. var _jie = $$("div", {
  9382. "style": {
  9383. "position": "absolute",
  9384. "bottom": "50px",
  9385. "right": "50px",
  9386. "zIndex": "9999",
  9387. "backgroundColor": "#2268bc",
  9388. "color": "#fff",
  9389. "padding": "12px 20px",
  9390. "cursor": "pointer",
  9391. "borderRadius": "4px",
  9392. },
  9393. "innerHTML": "提交作業"
  9394. })
  9395. let aTool = ''
  9396. let _loading = document.createElement('div')
  9397. _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;"
  9398. // _loading.id = "";
  9399. let _lchild = document.createElement('div')
  9400. let _limg = document.createElement('img')
  9401. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  9402. _limg.style = "width: 26px;margin-right: 10px;"
  9403. _lchild.appendChild(_limg)
  9404. let _lspan = document.createElement('span')
  9405. _lspan.innerHTML = "上傳中..."
  9406. _lchild.appendChild(_lspan)
  9407. _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%);"
  9408. _loading.appendChild(_lchild)
  9409. var _box = $$('div', {
  9410. "style": {
  9411. "position": "relative",
  9412. "width": "100%",
  9413. "height": "100%",
  9414. },
  9415. })
  9416. _box.appendChild(_loading)
  9417. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  9418. switch (str) {
  9419. case "CocoPi":
  9420. aTool = 57;
  9421. _iframe = $$("iframe", {
  9422. "allowpaymentrequest": "allowpaymentrequest",
  9423. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9424. "webkitallowfullscreen": "",
  9425. "mozallowfullscreen": "",
  9426. "frameborder": "no",
  9427. "border": "0",
  9428. "scrolling ": "no",
  9429. "style": {
  9430. "cssText": "border:0;width:100%;height:100%"
  9431. },
  9432. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9433. })
  9434. _box.appendChild(_iframe);
  9435. _box.appendChild(_jie);
  9436. _formdiv = new U.UF.UI.form(
  9437. "CocoPi-" + _username,
  9438. _box, {
  9439. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  9440. "style": {
  9441. "width": "90%",
  9442. "height": "90%",
  9443. "overflow": 'hidden'
  9444. },
  9445. "onresize": function () { }
  9446. }, {
  9447. closecallback: function () { }
  9448. }, {
  9449. "style": {
  9450. "height": "36px"
  9451. }
  9452. }).form; //創建窗體
  9453. _taskbar = {
  9454. "id": str + _formdiv.id,
  9455. "style": {
  9456. "backgroundImage": "url(/img/icon/cocopi.png)"
  9457. },
  9458. "name": "CocoPi",
  9459. "forms": _formdiv,
  9460. "click": function () {
  9461. U.MD.D.I.openApplication(str, obj, info);
  9462. }
  9463. }
  9464. break;
  9465. }
  9466. if (_iframe) {
  9467. if (str == 'CocoPi') {
  9468. _iframe = _formdiv.querySelector('iframe')
  9469. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9470. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  9471. })
  9472. if (onloadListener) {
  9473. _iframe.contentDocument.location.reload()
  9474. } else {
  9475. _iframe.contentDocument.location.reload()
  9476. }
  9477. }
  9478. _jie.onclick = async () => {
  9479. let text = ''
  9480. if (aTool == 57) {
  9481. text = _iframe.contentWindow.getLoadXmlStr()
  9482. }
  9483. _loading.style.display = 'flex'
  9484. console.log(_loading);
  9485. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  9486. _loading.style.display = 'none'
  9487. let _div = document.createElement('div')
  9488. _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;"
  9489. let _inner = document.createElement('div')
  9490. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  9491. _inner.innerHTML = "上傳成功"
  9492. _div.appendChild(_inner)
  9493. _iframe.contentWindow.window.document.body.appendChild(_div)
  9494. _div.onclick = () => {
  9495. _iframe.contentWindow.window.document.body.removeChild(_div)
  9496. }
  9497. setTimeout(() => {
  9498. _iframe.contentWindow.window.document.body.removeChild(_div)
  9499. }, 1000);
  9500. }, [], { "type": "POST", "withCredentials": true });
  9501. }
  9502. }
  9503. }
  9504. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  9505. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  9506. if (res.value[0].length > 0) {
  9507. if (atool == 57) {
  9508. iframe.contentWindow.loadingXml(res.value[0][0].content)
  9509. }
  9510. } else {
  9511. if (atool == 57) {
  9512. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  9513. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  9514. }
  9515. }
  9516. }, [], { "type": "POST", "withCredentials": true });
  9517. }