DeskTop.js 625 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146
  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. //010503
  1513. U.MD.D.I.x010503TeacherDeskIcon = [
  1514. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1515. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1516. ];
  1517. //010503
  1518. U.MD.D.I.x010503StudentDeskIcon = [
  1519. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1520. // { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1521. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1522. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1523. ];
  1524. //SPROUT Lab
  1525. U.MD.D.I.SPROUTLabTeacherDeskIcon = [
  1526. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1527. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1528. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1529. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1530. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1531. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1533. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1534. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1535. ];
  1536. //SPROUT Lab
  1537. U.MD.D.I.SPROUTLabStudentDeskIcon = [
  1538. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1539. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1540. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1541. ];
  1542. //010204
  1543. U.MD.D.I.x010204TeacherDeskIcon = [
  1544. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1545. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1546. ];
  1547. //010204
  1548. U.MD.D.I.x010204StudentDeskIcon = [
  1549. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1550. // { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1551. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1552. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1553. ];
  1554. //trail
  1555. U.MD.D.I.trailTeacherDeskIcon = [
  1556. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1557. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1558. ];
  1559. //trail
  1560. U.MD.D.I.trailStudentDeskIcon = [
  1561. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1562. // { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1563. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1564. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1565. ];
  1566. //010504
  1567. U.MD.D.I.x010504TeacherDeskIcon = [
  1568. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1569. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1570. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1571. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1572. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1573. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1574. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1575. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1576. ];
  1577. //010504
  1578. U.MD.D.I.x010504StudentDeskIcon = [
  1579. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1580. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1581. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1582. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1583. ];
  1584. //#region 桌面初始化a
  1585. /**
  1586. * 初始化桌面的起始函數
  1587. *
  1588. */
  1589. U.MD.D.I.init = function () {
  1590. if ($("#U_MD_D_K")[0]) {
  1591. //初始化桌面圖標
  1592. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1593. // var clickUrl = ':12588/requestIp.php';
  1594. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1595. // U.MD.D.I.Ip = data;
  1596. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1597. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1598. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1599. // })
  1600. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1601. // })
  1602. }
  1603. }
  1604. /**
  1605. * 模式切換
  1606. *
  1607. */
  1608. U.MD.D.I.ModeCheck = function (type) {
  1609. if (US.Config.type == type) {
  1610. return
  1611. }
  1612. US.Config.type = type
  1613. $('.U_PBL_Check .active')[0].className = ''
  1614. if (type == 1) {
  1615. $('.U_PBL_Check div')[0].className = 'active'
  1616. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1617. } else {
  1618. $('.U_PBL_Check div')[1].className = 'active'
  1619. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1620. }
  1621. //初始化桌面圖標
  1622. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1623. if (type == 2) {
  1624. U.MD.D.I.openApplication("project")
  1625. }
  1626. }
  1627. /**
  1628. * 隱藏任務欄
  1629. *
  1630. * @param {element} 桌面元素
  1631. */
  1632. U.MD.D.I.hiddenTaskbar = function (el) {
  1633. //任務欄位置變小
  1634. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1635. //桌面的位置變大
  1636. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1637. }
  1638. /**
  1639. * 隱藏任務欄
  1640. *
  1641. * @param {element} 桌面元素
  1642. */
  1643. U.MD.D.I.hiddenTaskbarout = function (el) {
  1644. //任務欄位置變小
  1645. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1646. //任務欄位置變化
  1647. U.selectEl(el).css({ "bottom": "-60px" });
  1648. //桌面的位置變大
  1649. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1650. }
  1651. }
  1652. /**
  1653. * 初始化打印桌面圖標
  1654. *
  1655. * @param {element} 桌面元素
  1656. */
  1657. U.MD.D.I.initDesktopIcons = function (el, type) {
  1658. var i, //用於循環
  1659. _content, //桌面圖標元素
  1660. _iconcontent, //桌面圖標元素
  1661. _frag = $$("frag"), //定義一個碎片元素
  1662. _type = US.userInfo.type,
  1663. _org = US.userInfo.org,
  1664. _oid = US.userInfo.organizeid,
  1665. _role = US.userInfo.role,
  1666. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1667. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1668. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1669. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1670. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1671. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1672. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1673. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1674. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1675. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1676. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1677. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大.
  1678. _BSDNSstudentDesktopIconInfo = U.MD.D.I.BSDNSstudentDeskIcon, //獲取北師大.
  1679. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1680. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1681. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1682. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1683. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1684. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1685. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1686. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1687. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1688. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1689. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1690. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1691. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1692. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1693. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1694. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1695. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1696. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1697. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1698. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1699. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1700. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1701. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1702. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1703. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1704. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1705. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1706. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1707. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1708. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1709. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1710. _guzmsTeacherDeskIconInfo = U.MD.D.I.guzmsteacherDeskIcon, //guzms
  1711. _guzmsStudentDeskIconInfo = U.MD.D.I.guzmsStudentDeskIcon, //guzms
  1712. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1713. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1714. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1715. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1716. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1717. _cocobizTeacherDeskIconInfo = U.MD.D.I.cocobizteacherDeskIcon, //cocobiz
  1718. _cocobizStudentDeskIconInfo = U.MD.D.I.cocobizStudentDeskIcon, //cocobiz
  1719. _xxzjkyTeacherDeskIconInfo = U.MD.D.I.xxzjkyteacherDeskIcon, //xxzjky
  1720. _xxzjkyStudentDeskIconInfo = U.MD.D.I.xxzjkyStudentDeskIcon, //xxzjky
  1721. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1722. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1723. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1724. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1725. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1726. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1727. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1728. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1729. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1730. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1731. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1732. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1733. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1734. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1735. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 鹽田幼兒園
  1736. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 鹽田幼兒園
  1737. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
  1738. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
  1739. _nsfxStudentDeskIconInfo = U.MD.D.I.nsfxStudentDeskIcon, //nsfx
  1740. _nsfxTeacherDeskIconInfo = U.MD.D.I.nsfxTeacherDeskIcon, //nsfx
  1741. _stiaStudentDeskIconInfo = U.MD.D.I.stiaStudentDeskIcon, //stia
  1742. _stiaTeacherDeskIconInfo = U.MD.D.I.stiaTeacherDeskIcon, //stia
  1743. _szdjgStudentDeskIconInfo = U.MD.D.I.szdjgStudentDeskIcon, //szdjg
  1744. _szdjgTeacherDeskIconInfo = U.MD.D.I.szdjgTeacherDeskIcon, //szdjg
  1745. _x010607StudentDeskIconInfo = U.MD.D.I.x010607StudentDeskIcon, //010607
  1746. _x010607TeacherDeskIconInfo = U.MD.D.I.x010607TeacherDeskIcon, //010607
  1747. _x010608StudentDeskIconInfo = U.MD.D.I.x010608StudentDeskIcon, //010608
  1748. _x010608TeacherDeskIconInfo = U.MD.D.I.x010608TeacherDeskIcon, //010608
  1749. _xhlyStudentDeskIconInfo = U.MD.D.I.xhlyStudentDeskIcon, //xhly
  1750. _xhlyTeacherDeskIconInfo = U.MD.D.I.xhlyTeacherDeskIcon, //xhly
  1751. _CUHKEDUStudentDeskIconInfo = U.MD.D.I.CUHKEDUStudentDeskIcon, //CUHK_EDU
  1752. _CUHKEDUTeacherDeskIconInfo = U.MD.D.I.CUHKEDUTeacherDeskIcon, //CUHK_EDU
  1753. _x010503StudentDeskIconInfo = U.MD.D.I.x010503StudentDeskIcon, //010503
  1754. _x010503TeacherDeskIconInfo = U.MD.D.I.x010503TeacherDeskIcon, //010503
  1755. _x010504StudentDeskIconInfo = U.MD.D.I.x010504StudentDeskIcon, //010504
  1756. _x010504TeacherDeskIconInfo = U.MD.D.I.x010504TeacherDeskIcon, //010504
  1757. _x010204StudentDeskIconInfo = U.MD.D.I.x010204StudentDeskIcon, //010204
  1758. _x010204TeacherDeskIconInfo = U.MD.D.I.x010204TeacherDeskIcon, //010204
  1759. _trailStudentDeskIconInfo = U.MD.D.I.trailStudentDeskIcon, //trail
  1760. _trailTeacherDeskIconInfo = U.MD.D.I.trailTeacherDeskIcon, //trail
  1761. _SPROUTLabTeacherDeskIconInfo = U.MD.D.I.SPROUTLabTeacherDeskIcon, //SPROUT Lab
  1762. _SPROUTLabStudentDeskIconInfo = U.MD.D.I.SPROUTLabStudentDeskIcon, //SPROUT Lab
  1763. _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未來教育基地
  1764. _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
  1765. _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
  1766. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
  1767. 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','876030db-7a49-11ef-9b30-005056b86db5','b97fc213-86a9-11ef-9b30-005056b86db5', 'c636f63e-86f4-11ef-9b30-005056b86db5','6c16df93-8849-11ef-9b30-005056b86db5'];
  1768. 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','ec84034b-8ea4-4d27-9cba-1adcb4720bb3'];
  1769. //清楚桌面圖標
  1770. el.innerHTML = "";
  1771. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1772. _teacherDesktopIconInfo.push(
  1773. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1774. { "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)" } },
  1775. )
  1776. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1777. }
  1778. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == '0fec3a8a-ad04-11ed-b13d-005056b86db5') {
  1779. _teacherDesktopIconInfo.push(
  1780. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1781. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1782. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1783. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1784. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1785. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1786. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1787. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1788. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1789. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1790. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1791. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1792. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1793. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1794. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1795. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1796. )
  1797. }
  1798. if (_oid == '5f6c97eb-4778-11ed-8c78-005056b86db5') {//松坪學校
  1799. _teacherDesktopIconInfo.push(
  1800. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1801. )
  1802. }
  1803. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1804. // _teacherDesktopIconInfo.push(
  1805. // )
  1806. // }
  1807. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1808. _teacherDesktopIconInfo.push(
  1809. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1810. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1811. )
  1812. }
  1813. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1814. _teacherDesktopIconInfo.push(
  1815. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1816. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1817. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1818. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1819. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1820. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1821. )
  1822. _studentDesktopIconInfo.push(
  1823. )
  1824. }
  1825. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1826. _teacherDesktopIconInfo.push(
  1827. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1828. )
  1829. _studentDesktopIconInfo.push(
  1830. )
  1831. }
  1832. //010606 組織
  1833. if (_oid == 'f297fbdc-f0a0-11ee-b534-005056b86db5') {
  1834. _teacherDesktopIconInfo.push(
  1835. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1836. )
  1837. _studentDesktopIconInfo.push(
  1838. )
  1839. }
  1840. //麒麟二中 和 民新小學
  1841. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1842. _teacherDesktopIconInfo.push(
  1843. )
  1844. }
  1845. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1846. _teacherDesktopIconInfo.push(
  1847. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1848. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1849. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1850. )
  1851. }
  1852. if(_org == 'b50cf65a-001c-11ee-91d8-005056b86db5' && role == '1'){
  1853. _hkTeacherDeskIconInfo.push(
  1854. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1855. )
  1856. }
  1857. //北师大附中(010601)
  1858. // if(_oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7"){
  1859. // _teacherDesktopIconInfo.push(
  1860. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1861. // )
  1862. // _studentDesktopIconInfo.push(
  1863. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1864. // )
  1865. // }
  1866. //樂善堂余近卿中學
  1867. if(_oid == "8d074a02-6057-11ef-b873-005056b86db5"){
  1868. _teacherDesktopIconInfo.push(
  1869. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1870. )
  1871. }
  1872. // Education Artificial Intelligence
  1873. if(_org == "0f4359aa-1065-423f-afcc-a70cc21ea9d0"){
  1874. _teacherDesktopIconInfo.push(
  1875. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1876. )
  1877. }
  1878. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1879. _teacherDesktopIconInfo.push(
  1880. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1881. )
  1882. }
  1883. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1884. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1885. _teacherDesktopIconInfo.push(
  1886. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1887. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1888. )
  1889. }
  1890. //麒麟二中
  1891. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1892. _studentDesktopIconInfo.push(
  1893. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1894. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1895. )
  1896. }
  1897. //萬科雙語
  1898. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1899. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1900. if (el.Name == '項目管理') {
  1901. el.Name = 'PBL項目'
  1902. }
  1903. return el
  1904. })
  1905. _studentDesktopIconInfo3.push(
  1906. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1907. )
  1908. }
  1909. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1910. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1911. return el.Name != '魔盒識字' && el.Name != '24點'
  1912. })
  1913. }
  1914. 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) {
  1915. _studentDesktopIconInfo.push(
  1916. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1917. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1918. )
  1919. }
  1920. //循環創建桌面圖標
  1921. if (type == 1) {
  1922. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1923. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1924. _content = $$("div", {
  1925. className: "U_MD_D_KO",
  1926. "onmousedown": U.UF.C.closure(function (obj) {
  1927. //防止拖動圖標即打開了桌面應用
  1928. U.MD.D.click(this, obj);
  1929. }, [_studentDesktopIconInfo[i]]),
  1930. "onclick": U.UF.C.closure(function (obj) {
  1931. //防止拖動圖標即打開了桌面應用
  1932. U.MD.D.click(this, obj);
  1933. }, [_studentDesktopIconInfo[i]])
  1934. }, _frag); //
  1935. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1936. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1937. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1938. }
  1939. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1940. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1941. _content = $$("div", {
  1942. className: "U_MD_D_KO",
  1943. "onmousedown": U.UF.C.closure(function (obj) {
  1944. //防止拖動圖標即打開了桌面應用
  1945. U.MD.D.click(this, obj);
  1946. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1947. "onclick": U.UF.C.closure(function (obj) {
  1948. //防止拖動圖標即打開了桌面應用
  1949. U.MD.D.click(this, obj);
  1950. }, [_hkZJLSStudentDeskIconInfo[i]])
  1951. }, _frag); //
  1952. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1953. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1954. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1955. } //
  1956. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1957. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1958. _content = $$("div", {
  1959. className: "U_MD_D_KO",
  1960. "onmousedown": U.UF.C.closure(function (obj) {
  1961. //防止拖動圖標即打開了桌面應用
  1962. U.MD.D.click(this, obj);
  1963. }, [_ytyStudentDeskIconInfo[i]]),
  1964. "onclick": U.UF.C.closure(function (obj) {
  1965. //防止拖動圖標即打開了桌面應用
  1966. U.MD.D.click(this, obj);
  1967. }, [_ytyStudentDeskIconInfo[i]])
  1968. }, _frag); //
  1969. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1970. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1971. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1972. } //
  1973. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1974. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1975. _content = $$("div", {
  1976. className: "U_MD_D_KO",
  1977. "onmousedown": U.UF.C.closure(function (obj) {
  1978. //防止拖動圖標即打開了桌面應用
  1979. U.MD.D.click(this, obj);
  1980. }, [_jccssylStudentDeskIconInfo[i]]),
  1981. "onclick": U.UF.C.closure(function (obj) {
  1982. //防止拖動圖標即打開了桌面應用
  1983. U.MD.D.click(this, obj);
  1984. }, [_jccssylStudentDeskIconInfo[i]])
  1985. }, _frag); //
  1986. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1987. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1988. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1989. }
  1990. } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
  1991. for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
  1992. _content = $$("div", {
  1993. className: "U_MD_D_KO",
  1994. "onmousedown": U.UF.C.closure(function (obj) {
  1995. //防止拖動圖標即打開了桌面應用
  1996. U.MD.D.click(this, obj);
  1997. }, [_scnuaiStudentDeskIconInfo[i]]),
  1998. "onclick": U.UF.C.closure(function (obj) {
  1999. //防止拖動圖標即打開了桌面應用
  2000. U.MD.D.click(this, obj);
  2001. }, [_scnuaiStudentDeskIconInfo[i]])
  2002. }, _frag); //
  2003. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2004. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
  2005. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
  2006. }
  2007. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  2008. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  2009. _content = $$("div", {
  2010. className: "U_MD_D_KO",
  2011. "onmousedown": U.UF.C.closure(function (obj) {
  2012. //防止拖動圖標即打開了桌面應用
  2013. U.MD.D.click(this, obj);
  2014. }, [_caleStudentDeskIconInfo[i]]),
  2015. "onclick": U.UF.C.closure(function (obj) {
  2016. //防止拖動圖標即打開了桌面應用
  2017. U.MD.D.click(this, obj);
  2018. }, [_caleStudentDeskIconInfo[i]])
  2019. }, _frag); //
  2020. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2021. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  2022. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  2023. }
  2024. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2025. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  2026. _content = $$("div", {
  2027. className: "U_MD_D_KO",
  2028. "onmousedown": U.UF.C.closure(function (obj) {
  2029. //防止拖動圖標即打開了桌面應用
  2030. U.MD.D.click(this, obj);
  2031. }, [_thuioeStudentDeskIconInfo[i]]),
  2032. "onclick": U.UF.C.closure(function (obj) {
  2033. //防止拖動圖標即打開了桌面應用
  2034. U.MD.D.click(this, obj);
  2035. }, [_thuioeStudentDeskIconInfo[i]])
  2036. }, _frag); //
  2037. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2038. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  2039. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  2040. }
  2041. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  2042. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  2043. _content = $$("div", {
  2044. className: "U_MD_D_KO",
  2045. "onmousedown": U.UF.C.closure(function (obj) {
  2046. //防止拖動圖標即打開了桌面應用
  2047. U.MD.D.click(this, obj);
  2048. }, [_tpcStudentDeskIconInfo[i]]),
  2049. "onclick": U.UF.C.closure(function (obj) {
  2050. //防止拖動圖標即打開了桌面應用
  2051. U.MD.D.click(this, obj);
  2052. }, [_tpcStudentDeskIconInfo[i]])
  2053. }, _frag); //
  2054. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2055. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  2056. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  2057. } //
  2058. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  2059. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  2060. _content = $$("div", {
  2061. className: "U_MD_D_KO",
  2062. "onmousedown": U.UF.C.closure(function (obj) {
  2063. //防止拖動圖標即打開了桌面應用
  2064. U.MD.D.click(this, obj);
  2065. }, [_chjyjStudentDeskIconInfo[i]]),
  2066. "onclick": U.UF.C.closure(function (obj) {
  2067. //防止拖動圖標即打開了桌面應用
  2068. U.MD.D.click(this, obj);
  2069. }, [_chjyjStudentDeskIconInfo[i]])
  2070. }, _frag); //
  2071. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2072. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  2073. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  2074. }
  2075. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  2076. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  2077. _content = $$("div", {
  2078. className: "U_MD_D_KO",
  2079. "onmousedown": U.UF.C.closure(function (obj) {
  2080. //防止拖動圖標即打開了桌面應用
  2081. U.MD.D.click(this, obj);
  2082. }, [_szjkyStudentDeskIconInfo[i]]),
  2083. "onclick": U.UF.C.closure(function (obj) {
  2084. //防止拖動圖標即打開了桌面應用
  2085. U.MD.D.click(this, obj);
  2086. }, [_szjkyStudentDeskIconInfo[i]])
  2087. }, _frag); //
  2088. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2089. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  2090. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  2091. }
  2092. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  2093. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  2094. _content = $$("div", {
  2095. className: "U_MD_D_KO",
  2096. "onmousedown": U.UF.C.closure(function (obj) {
  2097. //防止拖動圖標即打開了桌面應用
  2098. U.MD.D.click(this, obj);
  2099. }, [_dseiStudentDeskIconInfo[i]]),
  2100. "onclick": U.UF.C.closure(function (obj) {
  2101. //防止拖動圖標即打開了桌面應用
  2102. U.MD.D.click(this, obj);
  2103. }, [_dseiStudentDeskIconInfo[i]])
  2104. }, _frag); //
  2105. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2106. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  2107. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  2108. }
  2109. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2110. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  2111. _content = $$("div", {
  2112. className: "U_MD_D_KO",
  2113. "onmousedown": U.UF.C.closure(function (obj) {
  2114. //防止拖動圖標即打開了桌面應用
  2115. U.MD.D.click(this, obj);
  2116. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  2117. "onclick": U.UF.C.closure(function (obj) {
  2118. //防止拖動圖標即打開了桌面應用
  2119. U.MD.D.click(this, obj);
  2120. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  2121. }, _frag); //
  2122. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2123. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  2124. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  2125. }
  2126. } else if (_type == 2 && (_oid == "8a352da2-56e1-11ef-b873-005056b86db5")) {
  2127. for (i = 0; i < _nsfxStudentDeskIconInfo.length; i++) {
  2128. _content = $$("div", {
  2129. className: "U_MD_D_KO",
  2130. "onmousedown": U.UF.C.closure(function (obj) {
  2131. //防止拖動圖標即打開了桌面應用
  2132. U.MD.D.click(this, obj);
  2133. }, [_nsfxStudentDeskIconInfo[i]]),
  2134. "onclick": U.UF.C.closure(function (obj) {
  2135. //防止拖動圖標即打開了桌面應用
  2136. U.MD.D.click(this, obj);
  2137. }, [_nsfxStudentDeskIconInfo[i]])
  2138. }, _frag); //
  2139. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2140. $$("div", { className: "U_MD_D_KOS U_Img", "style": _nsfxStudentDeskIconInfo[i].style }, _iconcontent);
  2141. $$("div", { className: "U_MD_D_KOX", "innerHTML": _nsfxStudentDeskIconInfo[i].Name }, _iconcontent);
  2142. }
  2143. } else if (_type == 2 && (_org == "f3b243b2-75e2-4b00-8f66-7644946a2a25")) {
  2144. for (i = 0; i < _stiaStudentDeskIconInfo.length; i++) {
  2145. _content = $$("div", {
  2146. className: "U_MD_D_KO",
  2147. "onmousedown": U.UF.C.closure(function (obj) {
  2148. //防止拖動圖標即打開了桌面應用
  2149. U.MD.D.click(this, obj);
  2150. }, [_stiaStudentDeskIconInfo[i]]),
  2151. "onclick": U.UF.C.closure(function (obj) {
  2152. //防止拖動圖標即打開了桌面應用
  2153. U.MD.D.click(this, obj);
  2154. }, [_stiaStudentDeskIconInfo[i]])
  2155. }, _frag); //
  2156. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2157. $$("div", { className: "U_MD_D_KOS U_Img", "style": _stiaStudentDeskIconInfo[i].style }, _iconcontent);
  2158. $$("div", { className: "U_MD_D_KOX", "innerHTML": _stiaStudentDeskIconInfo[i].Name }, _iconcontent);
  2159. }
  2160. } else if (_type == 2 && (_org == "16ace517-b5c7-4168-a9bb-a9e0035df840")) {
  2161. for (i = 0; i < _szdjgStudentDeskIconInfo.length; i++) {
  2162. _content = $$("div", {
  2163. className: "U_MD_D_KO",
  2164. "onmousedown": U.UF.C.closure(function (obj) {
  2165. //防止拖動圖標即打開了桌面應用
  2166. U.MD.D.click(this, obj);
  2167. }, [_szdjgStudentDeskIconInfo[i]]),
  2168. "onclick": U.UF.C.closure(function (obj) {
  2169. //防止拖動圖標即打開了桌面應用
  2170. U.MD.D.click(this, obj);
  2171. }, [_szdjgStudentDeskIconInfo[i]])
  2172. }, _frag); //
  2173. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2174. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szdjgStudentDeskIconInfo[i].style }, _iconcontent);
  2175. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szdjgStudentDeskIconInfo[i].Name }, _iconcontent);
  2176. }
  2177. } else if (_type == 2 && (_org == "2fe1a080-4425-4620-b7a0-be2f3750ffd4")) {
  2178. for (i = 0; i < _x010607StudentDeskIconInfo.length; i++) {
  2179. _content = $$("div", {
  2180. className: "U_MD_D_KO",
  2181. "onmousedown": U.UF.C.closure(function (obj) {
  2182. //防止拖動圖標即打開了桌面應用
  2183. U.MD.D.click(this, obj);
  2184. }, [_x010607StudentDeskIconInfo[i]]),
  2185. "onclick": U.UF.C.closure(function (obj) {
  2186. //防止拖動圖標即打開了桌面應用
  2187. U.MD.D.click(this, obj);
  2188. }, [_x010607StudentDeskIconInfo[i]])
  2189. }, _frag); //
  2190. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2191. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010607StudentDeskIconInfo[i].style }, _iconcontent);
  2192. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010607StudentDeskIconInfo[i].Name }, _iconcontent);
  2193. }
  2194. } else if (_type == 2 && (_org == "a5efd078-20f6-4185-bef9-6d1c688bee70")) {
  2195. for (i = 0; i < _xhlyStudentDeskIconInfo.length; i++) {
  2196. _content = $$("div", {
  2197. className: "U_MD_D_KO",
  2198. "onmousedown": U.UF.C.closure(function (obj) {
  2199. //防止拖動圖標即打開了桌面應用
  2200. U.MD.D.click(this, obj);
  2201. }, [_xhlyStudentDeskIconInfo[i]]),
  2202. "onclick": U.UF.C.closure(function (obj) {
  2203. //防止拖動圖標即打開了桌面應用
  2204. U.MD.D.click(this, obj);
  2205. }, [_xhlyStudentDeskIconInfo[i]])
  2206. }, _frag); //
  2207. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2208. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xhlyStudentDeskIconInfo[i].style }, _iconcontent);
  2209. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xhlyStudentDeskIconInfo[i].Name }, _iconcontent);
  2210. }
  2211. } else if (_type == 2 && (_org == "23bbe712-e35a-4888-9b4e-8d9e5a4fa2f6")) {
  2212. for (i = 0; i < _CUHKEDUStudentDeskIconInfo.length; i++) {
  2213. _content = $$("div", {
  2214. className: "U_MD_D_KO",
  2215. "onmousedown": U.UF.C.closure(function (obj) {
  2216. //防止拖動圖標即打開了桌面應用
  2217. U.MD.D.click(this, obj);
  2218. }, [_CUHKEDUStudentDeskIconInfo[i]]),
  2219. "onclick": U.UF.C.closure(function (obj) {
  2220. //防止拖動圖標即打開了桌面應用
  2221. U.MD.D.click(this, obj);
  2222. }, [_CUHKEDUStudentDeskIconInfo[i]])
  2223. }, _frag); //
  2224. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2225. $$("div", { className: "U_MD_D_KOS U_Img", "style": _CUHKEDUStudentDeskIconInfo[i].style }, _iconcontent);
  2226. $$("div", { className: "U_MD_D_KOX", "innerHTML": _CUHKEDUStudentDeskIconInfo[i].Name }, _iconcontent);
  2227. }
  2228. } else if (_type == 2 && (_oid == "876030db-7a49-11ef-9b30-005056b86db5")) {
  2229. for (i = 0; i < _x010503StudentDeskIconInfo.length; i++) {
  2230. _content = $$("div", {
  2231. className: "U_MD_D_KO",
  2232. "onmousedown": U.UF.C.closure(function (obj) {
  2233. //防止拖動圖標即打開了桌面應用
  2234. U.MD.D.click(this, obj);
  2235. }, [_x010503StudentDeskIconInfo[i]]),
  2236. "onclick": U.UF.C.closure(function (obj) {
  2237. //防止拖動圖標即打開了桌面應用
  2238. U.MD.D.click(this, obj);
  2239. }, [_x010503StudentDeskIconInfo[i]])
  2240. }, _frag); //
  2241. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2242. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010503StudentDeskIconInfo[i].style }, _iconcontent);
  2243. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010503StudentDeskIconInfo[i].Name }, _iconcontent);
  2244. }
  2245. } else if (_type == 2 && (_oid == "6c16df93-8849-11ef-9b30-005056b86db5")) {
  2246. for (i = 0; i < _x010504StudentDeskIconInfo.length; i++) {
  2247. _content = $$("div", {
  2248. className: "U_MD_D_KO",
  2249. "onmousedown": U.UF.C.closure(function (obj) {
  2250. //防止拖动图标即打开了桌面应用
  2251. U.MD.D.click(this, obj);
  2252. }, [_x010504StudentDeskIconInfo[i]]),
  2253. "onclick": U.UF.C.closure(function (obj) {
  2254. //防止拖动图标即打开了桌面应用
  2255. U.MD.D.click(this, obj);
  2256. }, [_x010504StudentDeskIconInfo[i]])
  2257. }, _frag); //
  2258. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2259. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010504StudentDeskIconInfo[i].style }, _iconcontent);
  2260. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010504StudentDeskIconInfo[i].Name }, _iconcontent);
  2261. }
  2262. } else if (_type == 2 && (_oid == "b97fc213-86a9-11ef-9b30-005056b86db5")) {
  2263. for (i = 0; i < _x010204StudentDeskIconInfo.length; i++) {
  2264. _content = $$("div", {
  2265. className: "U_MD_D_KO",
  2266. "onmousedown": U.UF.C.closure(function (obj) {
  2267. //防止拖动图标即打开了桌面应用
  2268. U.MD.D.click(this, obj);
  2269. }, [_x010204StudentDeskIconInfo[i]]),
  2270. "onclick": U.UF.C.closure(function (obj) {
  2271. //防止拖动图标即打开了桌面应用
  2272. U.MD.D.click(this, obj);
  2273. }, [_x010204StudentDeskIconInfo[i]])
  2274. }, _frag); //
  2275. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2276. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010204StudentDeskIconInfo[i].style }, _iconcontent);
  2277. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010204StudentDeskIconInfo[i].Name }, _iconcontent);
  2278. }
  2279. } else if (_type == 2 && (_oid == "c636f63e-86f4-11ef-9b30-005056b86db5")) {
  2280. for (i = 0; i < _trailStudentDeskIconInfo.length; i++) {
  2281. _content = $$("div", {
  2282. className: "U_MD_D_KO",
  2283. "onmousedown": U.UF.C.closure(function (obj) {
  2284. //防止拖动图标即打开了桌面应用
  2285. U.MD.D.click(this, obj);
  2286. }, [_trailStudentDeskIconInfo[i]]),
  2287. "onclick": U.UF.C.closure(function (obj) {
  2288. //防止拖动图标即打开了桌面应用
  2289. U.MD.D.click(this, obj);
  2290. }, [_trailStudentDeskIconInfo[i]])
  2291. }, _frag); //
  2292. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2293. $$("div", { className: "U_MD_D_KOS U_Img", "style": _trailStudentDeskIconInfo[i].style }, _iconcontent);
  2294. $$("div", { className: "U_MD_D_KOX", "innerHTML": _trailStudentDeskIconInfo[i].Name }, _iconcontent);
  2295. }
  2296. } else if (_type == 2 && (_org == "ec84034b-8ea4-4d27-9cba-1adcb4720bb3")) {
  2297. for (i = 0; i < _SPROUTLabStudentDeskIconInfo.length; i++) {
  2298. _content = $$("div", {
  2299. className: "U_MD_D_KO",
  2300. "onmousedown": U.UF.C.closure(function (obj) {
  2301. //防止拖動圖標即打開了桌面應用
  2302. U.MD.D.click(this, obj);
  2303. }, [_SPROUTLabStudentDeskIconInfo[i]]),
  2304. "onclick": U.UF.C.closure(function (obj) {
  2305. //防止拖動圖標即打開了桌面應用
  2306. U.MD.D.click(this, obj);
  2307. }, [_SPROUTLabStudentDeskIconInfo[i]])
  2308. }, _frag); //
  2309. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2310. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SPROUTLabStudentDeskIconInfo[i].style }, _iconcontent);
  2311. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SPROUTLabStudentDeskIconInfo[i].Name }, _iconcontent);
  2312. }
  2313. } else if (_type == 2 && (_oid == "9b46a3c9-7657-11ef-9b30-005056b86db5")) {
  2314. for (i = 0; i < _x010608StudentDeskIconInfo.length; i++) {
  2315. _content = $$("div", {
  2316. className: "U_MD_D_KO",
  2317. "onmousedown": U.UF.C.closure(function (obj) {
  2318. //防止拖動圖標即打開了桌面應用
  2319. U.MD.D.click(this, obj);
  2320. }, [_x010608StudentDeskIconInfo[i]]),
  2321. "onclick": U.UF.C.closure(function (obj) {
  2322. //防止拖動圖標即打開了桌面應用
  2323. U.MD.D.click(this, obj);
  2324. }, [_x010608StudentDeskIconInfo[i]])
  2325. }, _frag); //
  2326. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2327. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010608StudentDeskIconInfo[i].style }, _iconcontent);
  2328. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010608StudentDeskIconInfo[i].Name }, _iconcontent);
  2329. }
  2330. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2331. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  2332. _content = $$("div", {
  2333. className: "U_MD_D_KO",
  2334. "onmousedown": U.UF.C.closure(function (obj) {
  2335. //防止拖動圖標即打開了桌面應用
  2336. U.MD.D.click(this, obj);
  2337. }, [_siesStudentDeskIconInfo[i]]),
  2338. "onclick": U.UF.C.closure(function (obj) {
  2339. //防止拖動圖標即打開了桌面應用
  2340. U.MD.D.click(this, obj);
  2341. }, [_siesStudentDeskIconInfo[i]])
  2342. }, _frag); //
  2343. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2344. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  2345. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  2346. }
  2347. } else if (_type == 2 && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  2348. for (i = 0; i < _guzmsStudentDeskIconInfo.length; i++) {
  2349. _content = $$("div", {
  2350. className: "U_MD_D_KO",
  2351. "onmousedown": U.UF.C.closure(function (obj) {
  2352. //防止拖動圖標即打開了桌面應用
  2353. U.MD.D.click(this, obj);
  2354. }, [_guzmsStudentDeskIconInfo[i]]),
  2355. "onclick": U.UF.C.closure(function (obj) {
  2356. //防止拖動圖標即打開了桌面應用
  2357. U.MD.D.click(this, obj);
  2358. }, [_guzmsStudentDeskIconInfo[i]])
  2359. }, _frag); //
  2360. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2361. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsStudentDeskIconInfo[i].style }, _iconcontent);
  2362. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsStudentDeskIconInfo[i].Name }, _iconcontent);
  2363. }
  2364. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2365. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  2366. _content = $$("div", {
  2367. className: "U_MD_D_KO",
  2368. "onmousedown": U.UF.C.closure(function (obj) {
  2369. //防止拖動圖標即打開了桌面應用
  2370. U.MD.D.click(this, obj);
  2371. }, [_hkStudentDeskIconInfo[i]]),
  2372. "onclick": U.UF.C.closure(function (obj) {
  2373. //防止拖動圖標即打開了桌面應用
  2374. U.MD.D.click(this, obj);
  2375. }, [_hkStudentDeskIconInfo[i]])
  2376. }, _frag); //
  2377. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2378. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  2379. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  2380. }
  2381. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2382. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  2383. _content = $$("div", {
  2384. className: "U_MD_D_KO",
  2385. "onmousedown": U.UF.C.closure(function (obj) {
  2386. //防止拖動圖標即打開了桌面應用
  2387. U.MD.D.click(this, obj);
  2388. }, [_hkaceStudentDeskIconInfo[i]]),
  2389. "onclick": U.UF.C.closure(function (obj) {
  2390. //防止拖動圖標即打開了桌面應用
  2391. U.MD.D.click(this, obj);
  2392. }, [_hkaceStudentDeskIconInfo[i]])
  2393. }, _frag); //
  2394. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2395. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  2396. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  2397. }
  2398. } else if (_type == 2 && (_oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7")) {
  2399. for (i = 0; i < _BSDNSstudentDesktopIconInfo.length; i++) {
  2400. _content = $$("div", {
  2401. className: "U_MD_D_KO",
  2402. "onmousedown": U.UF.C.closure(function (obj) {
  2403. //防止拖動圖標即打開了桌面應用
  2404. U.MD.D.click(this, obj);
  2405. }, [_BSDNSstudentDesktopIconInfo[i]]),
  2406. "onclick": U.UF.C.closure(function (obj) {
  2407. //防止拖動圖標即打開了桌面應用
  2408. U.MD.D.click(this, obj);
  2409. }, [_BSDNSstudentDesktopIconInfo[i]])
  2410. }, _frag); //
  2411. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2412. $$("div", { className: "U_MD_D_KOS U_Img", "style": _BSDNSstudentDesktopIconInfo[i].style }, _iconcontent);
  2413. $$("div", { className: "U_MD_D_KOX", "innerHTML": _BSDNSstudentDesktopIconInfo[i].Name }, _iconcontent);
  2414. }
  2415. } else if (_type == 2 && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  2416. for (i = 0; i < _cocobizStudentDeskIconInfo.length; i++) {
  2417. _content = $$("div", {
  2418. className: "U_MD_D_KO",
  2419. "onmousedown": U.UF.C.closure(function (obj) {
  2420. //防止拖動圖標即打開了桌面應用
  2421. U.MD.D.click(this, obj);
  2422. }, [_cocobizStudentDeskIconInfo[i]]),
  2423. "onclick": U.UF.C.closure(function (obj) {
  2424. //防止拖動圖標即打開了桌面應用
  2425. U.MD.D.click(this, obj);
  2426. }, [_cocobizStudentDeskIconInfo[i]])
  2427. }, _frag); //
  2428. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2429. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizStudentDeskIconInfo[i].style }, _iconcontent);
  2430. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizStudentDeskIconInfo[i].Name }, _iconcontent);
  2431. }
  2432. } else if (_type == 2 && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  2433. for (i = 0; i < _xxzjkyStudentDeskIconInfo.length; i++) {
  2434. _content = $$("div", {
  2435. className: "U_MD_D_KO",
  2436. "onmousedown": U.UF.C.closure(function (obj) {
  2437. //防止拖動圖標即打開了桌面應用
  2438. U.MD.D.click(this, obj);
  2439. }, [_xxzjkyStudentDeskIconInfo[i]]),
  2440. "onclick": U.UF.C.closure(function (obj) {
  2441. //防止拖動圖標即打開了桌面應用
  2442. U.MD.D.click(this, obj);
  2443. }, [_xxzjkyStudentDeskIconInfo[i]])
  2444. }, _frag); //
  2445. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2446. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyStudentDeskIconInfo[i].style }, _iconcontent);
  2447. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  2448. }
  2449. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  2450. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  2451. _content = $$("div", {
  2452. className: "U_MD_D_KO",
  2453. "onmousedown": U.UF.C.closure(function (obj) {
  2454. //防止拖動圖標即打開了桌面應用
  2455. U.MD.D.click(this, obj);
  2456. }, [_studentDesktopIconInfo[i]]),
  2457. "onclick": U.UF.C.closure(function (obj) {
  2458. //防止拖動圖標即打開了桌面應用
  2459. U.MD.D.click(this, obj);
  2460. }, [_studentDesktopIconInfo[i]])
  2461. }, _frag); //
  2462. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2463. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  2464. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  2465. }
  2466. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  2467. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  2468. _content = $$("div", {
  2469. className: "U_MD_D_KO",
  2470. "onmousedown": U.UF.C.closure(function (obj) {
  2471. //防止拖動圖標即打開了桌面應用
  2472. U.MD.D.click(this, obj);
  2473. }, [_tcStudentDeskIconInfo[i]]),
  2474. "onclick": U.UF.C.closure(function (obj) {
  2475. //防止拖動圖標即打開了桌面應用
  2476. U.MD.D.click(this, obj);
  2477. }, [_tcStudentDeskIconInfo[i]])
  2478. }, _frag); //
  2479. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2480. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  2481. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  2482. }
  2483. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  2484. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  2485. _content = $$("div", {
  2486. className: "U_MD_D_KO",
  2487. "onmousedown": U.UF.C.closure(function (obj) {
  2488. //防止拖動圖標即打開了桌面應用
  2489. U.MD.D.click(this, obj);
  2490. }, [_szscStudentDeskIconInfo[i]]),
  2491. "onclick": U.UF.C.closure(function (obj) {
  2492. //防止拖動圖標即打開了桌面應用
  2493. U.MD.D.click(this, obj);
  2494. }, [_szscStudentDeskIconInfo[i]])
  2495. }, _frag); //
  2496. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2497. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  2498. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  2499. }
  2500. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  2501. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  2502. _content = $$("div", {
  2503. className: "U_MD_D_KO",
  2504. "onmousedown": U.UF.C.closure(function (obj) {
  2505. //防止拖動圖標即打開了桌面應用
  2506. U.MD.D.click(this, obj);
  2507. }, [_studentDesktopIconInfo3[i]]),
  2508. "onclick": U.UF.C.closure(function (obj) {
  2509. //防止拖動圖標即打開了桌面應用
  2510. U.MD.D.click(this, obj);
  2511. }, [_studentDesktopIconInfo3[i]])
  2512. }, _frag); //
  2513. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2514. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  2515. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  2516. }
  2517. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  2518. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  2519. _content = $$("div", {
  2520. className: "U_MD_D_KO",
  2521. "onmousedown": U.UF.C.closure(function (obj) {
  2522. //防止拖動圖標即打開了桌面應用
  2523. U.MD.D.click(this, obj);
  2524. }, [_studentDesktopIconInfo2[i]]),
  2525. "onclick": U.UF.C.closure(function (obj) {
  2526. //防止拖動圖標即打開了桌面應用
  2527. U.MD.D.click(this, obj);
  2528. }, [_studentDesktopIconInfo2[i]])
  2529. }, _frag); //
  2530. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2531. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  2532. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  2533. }
  2534. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  2535. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  2536. if(_role === 0 && _wanketeacherDesktopIconInfo[i].Url == 'testTeacher'){
  2537. continue
  2538. }
  2539. _content = $$("div", {
  2540. className: "U_MD_D_KO",
  2541. "onmousedown": U.UF.C.closure(function (obj) {
  2542. //防止拖動圖標即打開了桌面應用
  2543. U.MD.D.click(this, obj);
  2544. }, [_wanketeacherDesktopIconInfo[i]]),
  2545. "onclick": U.UF.C.closure(function (obj) {
  2546. //防止拖動圖標即打開了桌面應用
  2547. U.MD.D.click(this, obj);
  2548. }, [_wanketeacherDesktopIconInfo[i]])
  2549. }, _frag); //
  2550. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2551. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  2552. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  2553. }
  2554. }else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  2555. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  2556. _content = $$("div", {
  2557. className: "U_MD_D_KO",
  2558. "onmousedown": U.UF.C.closure(function (obj) {
  2559. //防止拖動圖標即打開了桌面應用
  2560. U.MD.D.click(this, obj);
  2561. }, [_wankeAdminDesktopIconInfo[i]]),
  2562. "onclick": U.UF.C.closure(function (obj) {
  2563. //防止拖動圖標即打開了桌面應用
  2564. U.MD.D.click(this, obj);
  2565. }, [_wankeAdminDesktopIconInfo[i]])
  2566. }, _frag); //
  2567. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2568. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  2569. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  2570. }
  2571. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
  2572. for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
  2573. if(_role === 0 && _scnuaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2574. continue
  2575. }
  2576. _content = $$("div", {
  2577. className: "U_MD_D_KO",
  2578. "onmousedown": U.UF.C.closure(function (obj) {
  2579. //防止拖動圖標即打開了桌面應用
  2580. U.MD.D.click(this, obj);
  2581. }, [_scnuaiTeacherDeskIconInfo[i]]),
  2582. "onclick": U.UF.C.closure(function (obj) {
  2583. //防止拖動圖標即打開了桌面應用
  2584. U.MD.D.click(this, obj);
  2585. }, [_scnuaiTeacherDeskIconInfo[i]])
  2586. }, _frag); //
  2587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2590. }
  2591. } else if ((_type == 1 || _type == 4) && _oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7") {
  2592. for (i = 0; i < _BSDNSteacherDesktopIconInfo.length; i++) {
  2593. if(_role === 0 && _BSDNSteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2594. continue
  2595. }
  2596. _content = $$("div", {
  2597. className: "U_MD_D_KO",
  2598. "onmousedown": U.UF.C.closure(function (obj) {
  2599. //防止拖動圖標即打開了桌面應用
  2600. U.MD.D.click(this, obj);
  2601. }, [_BSDNSteacherDesktopIconInfo[i]]),
  2602. "onclick": U.UF.C.closure(function (obj) {
  2603. //防止拖動圖標即打開了桌面應用
  2604. U.MD.D.click(this, obj);
  2605. }, [_BSDNSteacherDesktopIconInfo[i]])
  2606. }, _frag); //
  2607. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2608. $$("div", { className: "U_MD_D_KOS U_Img", "style": _BSDNSteacherDesktopIconInfo[i].style }, _iconcontent);
  2609. $$("div", { className: "U_MD_D_KOX", "innerHTML": _BSDNSteacherDesktopIconInfo[i].Name }, _iconcontent);
  2610. }
  2611. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
  2612. for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
  2613. _content = $$("div", {
  2614. className: "U_MD_D_KO",
  2615. "onmousedown": U.UF.C.closure(function (obj) {
  2616. //防止拖動圖標即打開了桌面應用
  2617. U.MD.D.click(this, obj);
  2618. }, [_scnuaiAdminDeskIconInfo[i]]),
  2619. "onclick": U.UF.C.closure(function (obj) {
  2620. //防止拖動圖標即打開了桌面應用
  2621. U.MD.D.click(this, obj);
  2622. }, [_scnuaiAdminDeskIconInfo[i]])
  2623. }, _frag); //
  2624. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2625. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
  2626. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
  2627. }
  2628. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  2629. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  2630. if(_role === 0 && _jccssylTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2631. continue
  2632. }
  2633. _content = $$("div", {
  2634. className: "U_MD_D_KO",
  2635. "onmousedown": U.UF.C.closure(function (obj) {
  2636. //防止拖動圖標即打開了桌面應用
  2637. U.MD.D.click(this, obj);
  2638. }, [_jccssylTeacherDeskIconInfo[i]]),
  2639. "onclick": U.UF.C.closure(function (obj) {
  2640. //防止拖動圖標即打開了桌面應用
  2641. U.MD.D.click(this, obj);
  2642. }, [_jccssylTeacherDeskIconInfo[i]])
  2643. }, _frag); //
  2644. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2645. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  2646. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  2647. }
  2648. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  2649. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  2650. if(_role === 0 && _caleTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2651. continue
  2652. }
  2653. _content = $$("div", {
  2654. className: "U_MD_D_KO",
  2655. "onmousedown": U.UF.C.closure(function (obj) {
  2656. //防止拖動圖標即打開了桌面應用
  2657. U.MD.D.click(this, obj);
  2658. }, [_caleTeacherDeskIconInfo[i]]),
  2659. "onclick": U.UF.C.closure(function (obj) {
  2660. //防止拖動圖標即打開了桌面應用
  2661. U.MD.D.click(this, obj);
  2662. }, [_caleTeacherDeskIconInfo[i]])
  2663. }, _frag); //
  2664. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2665. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  2666. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  2667. }
  2668. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  2669. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  2670. _content = $$("div", {
  2671. className: "U_MD_D_KO",
  2672. "onmousedown": U.UF.C.closure(function (obj) {
  2673. //防止拖動圖標即打開了桌面應用
  2674. U.MD.D.click(this, obj);
  2675. }, [_tpcOrganizerDeskIconInfo[i]]),
  2676. "onclick": U.UF.C.closure(function (obj) {
  2677. //防止拖動圖標即打開了桌面應用
  2678. U.MD.D.click(this, obj);
  2679. }, [_tpcOrganizerDeskIconInfo[i]])
  2680. }, _frag); //
  2681. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2682. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2683. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2684. }
  2685. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  2686. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  2687. if(_role === 0 && _tpcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2688. continue
  2689. }
  2690. _content = $$("div", {
  2691. className: "U_MD_D_KO",
  2692. "onmousedown": U.UF.C.closure(function (obj) {
  2693. //防止拖動圖標即打開了桌面應用
  2694. U.MD.D.click(this, obj);
  2695. }, [_tpcTeacherDeskIconInfo[i]]),
  2696. "onclick": U.UF.C.closure(function (obj) {
  2697. //防止拖動圖標即打開了桌面應用
  2698. U.MD.D.click(this, obj);
  2699. }, [_tpcTeacherDeskIconInfo[i]])
  2700. }, _frag); //
  2701. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2702. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  2703. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2704. }
  2705. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2706. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  2707. if(_role === 0 && _teacherDesktopIconInfo2[i].Url == 'testTeacher'){
  2708. continue
  2709. }
  2710. _content = $$("div", {
  2711. className: "U_MD_D_KO",
  2712. "onmousedown": U.UF.C.closure(function (obj) {
  2713. //防止拖動圖標即打開了桌面應用
  2714. U.MD.D.click(this, obj);
  2715. }, [_teacherDesktopIconInfo2[i]]),
  2716. "onclick": U.UF.C.closure(function (obj) {
  2717. //防止拖動圖標即打開了桌面應用
  2718. U.MD.D.click(this, obj);
  2719. }, [_teacherDesktopIconInfo2[i]])
  2720. }, _frag); //
  2721. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2722. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  2723. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  2724. }
  2725. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2726. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  2727. if(_role === 0 && _thuioeTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2728. continue
  2729. }
  2730. _content = $$("div", {
  2731. className: "U_MD_D_KO",
  2732. "onmousedown": U.UF.C.closure(function (obj) {
  2733. //防止拖動圖標即打開了桌面應用
  2734. U.MD.D.click(this, obj);
  2735. }, [_thuioeTeacherDeskIconInfo[i]]),
  2736. "onclick": U.UF.C.closure(function (obj) {
  2737. //防止拖動圖標即打開了桌面應用
  2738. U.MD.D.click(this, obj);
  2739. }, [_thuioeTeacherDeskIconInfo[i]])
  2740. }, _frag); //
  2741. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2742. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  2743. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  2744. }
  2745. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  2746. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  2747. if(_role === 0 && _lotechTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2748. continue
  2749. }
  2750. _content = $$("div", {
  2751. className: "U_MD_D_KO",
  2752. "onmousedown": U.UF.C.closure(function (obj) {
  2753. //防止拖動圖標即打開了桌面應用
  2754. U.MD.D.click(this, obj);
  2755. }, [_lotechTeacherDeskIconInfo[i]]),
  2756. "onclick": U.UF.C.closure(function (obj) {
  2757. //防止拖動圖標即打開了桌面應用
  2758. U.MD.D.click(this, obj);
  2759. }, [_lotechTeacherDeskIconInfo[i]])
  2760. }, _frag); //
  2761. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2762. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  2763. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  2764. }//
  2765. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2766. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  2767. if(_role === 0 && _lqwmsgzsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2768. continue
  2769. }
  2770. _content = $$("div", {
  2771. className: "U_MD_D_KO",
  2772. "onmousedown": U.UF.C.closure(function (obj) {
  2773. //防止拖動圖標即打開了桌面應用
  2774. U.MD.D.click(this, obj);
  2775. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  2776. "onclick": U.UF.C.closure(function (obj) {
  2777. //防止拖動圖標即打開了桌面應用
  2778. U.MD.D.click(this, obj);
  2779. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  2780. }, _frag); //
  2781. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2782. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  2783. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2784. }
  2785. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2786. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  2787. if(_role === 0 && _siesTeacherDeskIconInfo[i].Url == 'testTeacherSies'){
  2788. continue
  2789. }
  2790. _content = $$("div", {
  2791. className: "U_MD_D_KO",
  2792. "onmousedown": U.UF.C.closure(function (obj) {
  2793. //防止拖動圖標即打開了桌面應用
  2794. U.MD.D.click(this, obj);
  2795. }, [_siesTeacherDeskIconInfo[i]]),
  2796. "onclick": U.UF.C.closure(function (obj) {
  2797. //防止拖動圖標即打開了桌面應用
  2798. U.MD.D.click(this, obj);
  2799. }, [_siesTeacherDeskIconInfo[i]])
  2800. }, _frag); //
  2801. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2802. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  2803. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  2804. }
  2805. } else if ((_type == 1 || _type == 4) && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  2806. for (i = 0; i < _guzmsTeacherDeskIconInfo.length; i++) {
  2807. if(_role === 0 && _guzmsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2808. continue
  2809. }
  2810. _content = $$("div", {
  2811. className: "U_MD_D_KO",
  2812. "onmousedown": U.UF.C.closure(function (obj) {
  2813. //防止拖動圖標即打開了桌面應用
  2814. U.MD.D.click(this, obj);
  2815. }, [_guzmsTeacherDeskIconInfo[i]]),
  2816. "onclick": U.UF.C.closure(function (obj) {
  2817. //防止拖動圖標即打開了桌面應用
  2818. U.MD.D.click(this, obj);
  2819. }, [_guzmsTeacherDeskIconInfo[i]])
  2820. }, _frag); //
  2821. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2822. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsTeacherDeskIconInfo[i].style }, _iconcontent);
  2823. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2824. }
  2825. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  2826. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2827. if(_role === 0 && _longhuaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2828. continue
  2829. }
  2830. _content = $$("div", {
  2831. className: "U_MD_D_KO",
  2832. "onmousedown": U.UF.C.closure(function (obj) {
  2833. //防止拖動圖標即打開了桌面應用
  2834. U.MD.D.click(this, obj);
  2835. }, [_longhuaTeacherDeskIconInfo[i]]),
  2836. "onclick": U.UF.C.closure(function (obj) {
  2837. //防止拖動圖標即打開了桌面應用
  2838. U.MD.D.click(this, obj);
  2839. }, [_longhuaTeacherDeskIconInfo[i]])
  2840. }, _frag); //
  2841. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2842. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2843. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2844. }
  2845. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2846. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2847. if(_role === 0 && _ytyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2848. continue
  2849. }
  2850. _content = $$("div", {
  2851. className: "U_MD_D_KO",
  2852. "onmousedown": U.UF.C.closure(function (obj) {
  2853. //防止拖動圖標即打開了桌面應用
  2854. U.MD.D.click(this, obj);
  2855. }, [_ytyTeacherDeskIconInfo[i]]),
  2856. "onclick": U.UF.C.closure(function (obj) {
  2857. //防止拖動圖標即打開了桌面應用
  2858. U.MD.D.click(this, obj);
  2859. }, [_ytyTeacherDeskIconInfo[i]])
  2860. }, _frag); //
  2861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2864. }
  2865. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2866. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2867. if(_role === 0 && _yunhaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2868. continue
  2869. }
  2870. _content = $$("div", {
  2871. className: "U_MD_D_KO",
  2872. "onmousedown": U.UF.C.closure(function (obj) {
  2873. //防止拖動圖標即打開了桌面應用
  2874. U.MD.D.click(this, obj);
  2875. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2876. "onclick": U.UF.C.closure(function (obj) {
  2877. //防止拖動圖標即打開了桌面應用
  2878. U.MD.D.click(this, obj);
  2879. }, [_yunhaiTeacherDeskIconInfo[i]])
  2880. }, _frag); //
  2881. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2882. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2883. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2884. } //_hkStudentDeskIconInfo
  2885. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2886. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2887. if(_role === 0 && _hkZJLSTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2888. continue
  2889. }
  2890. _content = $$("div", {
  2891. className: "U_MD_D_KO",
  2892. "onmousedown": U.UF.C.closure(function (obj) {
  2893. //防止拖動圖標即打開了桌面應用
  2894. U.MD.D.click(this, obj);
  2895. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2896. "onclick": U.UF.C.closure(function (obj) {
  2897. //防止拖動圖標即打開了桌面應用
  2898. U.MD.D.click(this, obj);
  2899. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2900. }, _frag); //
  2901. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2902. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2903. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2904. }
  2905. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2906. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2907. if(_role === 0 && _hkTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2908. continue
  2909. }
  2910. _content = $$("div", {
  2911. className: "U_MD_D_KO",
  2912. "onmousedown": U.UF.C.closure(function (obj) {
  2913. //防止拖動圖標即打開了桌面應用
  2914. U.MD.D.click(this, obj);
  2915. }, [_hkTeacherDeskIconInfo[i]]),
  2916. "onclick": U.UF.C.closure(function (obj) {
  2917. //防止拖動圖標即打開了桌面應用
  2918. U.MD.D.click(this, obj);
  2919. }, [_hkTeacherDeskIconInfo[i]])
  2920. }, _frag); //
  2921. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2922. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2923. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2924. }
  2925. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2926. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2927. if(_role === 0 && _hkaceTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2928. continue
  2929. }
  2930. _content = $$("div", {
  2931. className: "U_MD_D_KO",
  2932. "onmousedown": U.UF.C.closure(function (obj) {
  2933. //防止拖動圖標即打開了桌面應用
  2934. U.MD.D.click(this, obj);
  2935. }, [_hkaceTeacherDeskIconInfo[i]]),
  2936. "onclick": U.UF.C.closure(function (obj) {
  2937. //防止拖動圖標即打開了桌面應用
  2938. U.MD.D.click(this, obj);
  2939. }, [_hkaceTeacherDeskIconInfo[i]])
  2940. }, _frag); //
  2941. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2942. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2943. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2944. }
  2945. } else if ((_type == 1 || _type == 4) && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  2946. for (i = 0; i < _cocobizTeacherDeskIconInfo.length; i++) {
  2947. if(_role === 0 && _cocobizTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2948. continue
  2949. }
  2950. _content = $$("div", {
  2951. className: "U_MD_D_KO",
  2952. "onmousedown": U.UF.C.closure(function (obj) {
  2953. //防止拖動圖標即打開了桌面應用
  2954. U.MD.D.click(this, obj);
  2955. }, [_cocobizTeacherDeskIconInfo[i]]),
  2956. "onclick": U.UF.C.closure(function (obj) {
  2957. //防止拖動圖標即打開了桌面應用
  2958. U.MD.D.click(this, obj);
  2959. }, [_cocobizTeacherDeskIconInfo[i]])
  2960. }, _frag); //
  2961. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2962. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizTeacherDeskIconInfo[i].style }, _iconcontent);
  2963. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizTeacherDeskIconInfo[i].Name }, _iconcontent);
  2964. }
  2965. } else if ((_type == 1 || _type == 4) && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  2966. for (i = 0; i < _xxzjkyTeacherDeskIconInfo.length; i++) {
  2967. if(_role === 0 && _xxzjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2968. continue
  2969. }
  2970. _content = $$("div", {
  2971. className: "U_MD_D_KO",
  2972. "onmousedown": U.UF.C.closure(function (obj) {
  2973. //防止拖動圖標即打開了桌面應用
  2974. U.MD.D.click(this, obj);
  2975. }, [_xxzjkyTeacherDeskIconInfo[i]]),
  2976. "onclick": U.UF.C.closure(function (obj) {
  2977. //防止拖動圖標即打開了桌面應用
  2978. U.MD.D.click(this, obj);
  2979. }, [_xxzjkyTeacherDeskIconInfo[i]])
  2980. }, _frag); //
  2981. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2982. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2983. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2984. }
  2985. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2986. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2987. _content = $$("div", {
  2988. className: "U_MD_D_KO",
  2989. "onmousedown": U.UF.C.closure(function (obj) {
  2990. //防止拖動圖標即打開了桌面應用
  2991. U.MD.D.click(this, obj);
  2992. }, [_gdjgAdminDeskIconInfo[i]]),
  2993. "onclick": U.UF.C.closure(function (obj) {
  2994. //防止拖動圖標即打開了桌面應用
  2995. U.MD.D.click(this, obj);
  2996. }, [_gdjgAdminDeskIconInfo[i]])
  2997. }, _frag); //
  2998. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2999. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  3000. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  3001. }
  3002. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  3003. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  3004. if(_role === 0 && _gdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3005. continue
  3006. }
  3007. _content = $$("div", {
  3008. className: "U_MD_D_KO",
  3009. "onmousedown": U.UF.C.closure(function (obj) {
  3010. //防止拖動圖標即打開了桌面應用
  3011. U.MD.D.click(this, obj);
  3012. }, [_gdjgTeacherDeskIconInfo[i]]),
  3013. "onclick": U.UF.C.closure(function (obj) {
  3014. //防止拖動圖標即打開了桌面應用
  3015. U.MD.D.click(this, obj);
  3016. }, [_gdjgTeacherDeskIconInfo[i]])
  3017. }, _frag); //
  3018. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3019. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  3020. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  3021. }
  3022. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  3023. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  3024. if(_role === 0 && _szherTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3025. continue
  3026. }
  3027. _content = $$("div", {
  3028. className: "U_MD_D_KO",
  3029. "onmousedown": U.UF.C.closure(function (obj) {
  3030. //防止拖動圖標即打開了桌面應用
  3031. U.MD.D.click(this, obj);
  3032. }, [_szherTeacherDeskIconInfo[i]]),
  3033. "onclick": U.UF.C.closure(function (obj) {
  3034. //防止拖動圖標即打開了桌面應用
  3035. U.MD.D.click(this, obj);
  3036. }, [_szherTeacherDeskIconInfo[i]])
  3037. }, _frag); //
  3038. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3039. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  3040. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  3041. }
  3042. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  3043. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  3044. _content = $$("div", {
  3045. className: "U_MD_D_KO",
  3046. "onmousedown": U.UF.C.closure(function (obj) {
  3047. //防止拖動圖標即打開了桌面應用
  3048. U.MD.D.click(this, obj);
  3049. }, [_heyuannAdminDeskIconInfo[i]]),
  3050. "onclick": U.UF.C.closure(function (obj) {
  3051. //防止拖動圖標即打開了桌面應用
  3052. U.MD.D.click(this, obj);
  3053. }, [_heyuannAdminDeskIconInfo[i]])
  3054. }, _frag); //
  3055. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3056. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  3057. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  3058. }
  3059. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  3060. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  3061. if(_role === 0 && _heyuanTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3062. continue
  3063. }
  3064. _content = $$("div", {
  3065. className: "U_MD_D_KO",
  3066. "onmousedown": U.UF.C.closure(function (obj) {
  3067. //防止拖動圖標即打開了桌面應用
  3068. U.MD.D.click(this, obj);
  3069. }, [_heyuanTeacherDeskIconInfo[i]]),
  3070. "onclick": U.UF.C.closure(function (obj) {
  3071. //防止拖動圖標即打開了桌面應用
  3072. U.MD.D.click(this, obj);
  3073. }, [_heyuanTeacherDeskIconInfo[i]])
  3074. }, _frag); //
  3075. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3076. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  3077. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  3078. } //
  3079. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  3080. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  3081. _content = $$("div", {
  3082. className: "U_MD_D_KO",
  3083. "onmousedown": U.UF.C.closure(function (obj) {
  3084. //防止拖動圖標即打開了桌面應用
  3085. U.MD.D.click(this, obj);
  3086. }, [_dseiAdminDeskIconInfo[i]]),
  3087. "onclick": U.UF.C.closure(function (obj) {
  3088. //防止拖動圖標即打開了桌面應用
  3089. U.MD.D.click(this, obj);
  3090. }, [_dseiAdminDeskIconInfo[i]])
  3091. }, _frag); //
  3092. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3093. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  3094. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  3095. }
  3096. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  3097. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  3098. if(_role === 0 && _dseiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3099. continue
  3100. }
  3101. _content = $$("div", {
  3102. className: "U_MD_D_KO",
  3103. "onmousedown": U.UF.C.closure(function (obj) {
  3104. //防止拖動圖標即打開了桌面應用
  3105. U.MD.D.click(this, obj);
  3106. }, [_dseiTeacherDeskIconInfo[i]]),
  3107. "onclick": U.UF.C.closure(function (obj) {
  3108. //防止拖動圖標即打開了桌面應用
  3109. U.MD.D.click(this, obj);
  3110. }, [_dseiTeacherDeskIconInfo[i]])
  3111. }, _frag); //
  3112. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3113. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  3114. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  3115. } //
  3116. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  3117. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  3118. _content = $$("div", {
  3119. className: "U_MD_D_KO",
  3120. "onmousedown": U.UF.C.closure(function (obj) {
  3121. //防止拖動圖標即打開了桌面應用
  3122. U.MD.D.click(this, obj);
  3123. }, [_chjyjAdminDeskIconInfo[i]]),
  3124. "onclick": U.UF.C.closure(function (obj) {
  3125. //防止拖動圖標即打開了桌面應用
  3126. U.MD.D.click(this, obj);
  3127. }, [_chjyjAdminDeskIconInfo[i]])
  3128. }, _frag); //
  3129. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3130. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  3131. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  3132. }//
  3133. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  3134. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  3135. if(_role === 0 && _chjyjTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3136. continue
  3137. }
  3138. _content = $$("div", {
  3139. className: "U_MD_D_KO",
  3140. "onmousedown": U.UF.C.closure(function (obj) {
  3141. //防止拖動圖標即打開了桌面應用
  3142. U.MD.D.click(this, obj);
  3143. }, [_chjyjTeacherDeskIconInfo[i]]),
  3144. "onclick": U.UF.C.closure(function (obj) {
  3145. //防止拖動圖標即打開了桌面應用
  3146. U.MD.D.click(this, obj);
  3147. }, [_chjyjTeacherDeskIconInfo[i]])
  3148. }, _frag); //
  3149. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3150. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  3151. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  3152. }
  3153. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  3154. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  3155. _content = $$("div", {
  3156. className: "U_MD_D_KO",
  3157. "onmousedown": U.UF.C.closure(function (obj) {
  3158. //防止拖動圖標即打開了桌面應用
  3159. U.MD.D.click(this, obj);
  3160. }, [_szjkyAdminDeskIconInfo[i]]),
  3161. "onclick": U.UF.C.closure(function (obj) {
  3162. //防止拖動圖標即打開了桌面應用
  3163. U.MD.D.click(this, obj);
  3164. }, [_szjkyAdminDeskIconInfo[i]])
  3165. }, _frag); //
  3166. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3167. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  3168. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  3169. }//
  3170. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  3171. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  3172. if(_role === 0 && _szjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3173. continue
  3174. }
  3175. _content = $$("div", {
  3176. className: "U_MD_D_KO",
  3177. "onmousedown": U.UF.C.closure(function (obj) {
  3178. //防止拖動圖標即打開了桌面應用
  3179. U.MD.D.click(this, obj);
  3180. }, [_szjkyTeacherDeskIconInfo[i]]),
  3181. "onclick": U.UF.C.closure(function (obj) {
  3182. //防止拖動圖標即打開了桌面應用
  3183. U.MD.D.click(this, obj);
  3184. }, [_szjkyTeacherDeskIconInfo[i]])
  3185. }, _frag); //
  3186. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3187. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  3188. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  3189. }
  3190. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  3191. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  3192. _content = $$("div", {
  3193. className: "U_MD_D_KO",
  3194. "onmousedown": U.UF.C.closure(function (obj) {
  3195. //防止拖動圖標即打開了桌面應用
  3196. U.MD.D.click(this, obj);
  3197. }, [_futianAdminDeskIconInfo[i]]),
  3198. "onclick": U.UF.C.closure(function (obj) {
  3199. //防止拖動圖標即打開了桌面應用
  3200. U.MD.D.click(this, obj);
  3201. }, [_futianAdminDeskIconInfo[i]])
  3202. }, _frag); //
  3203. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3204. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  3205. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  3206. }
  3207. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  3208. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  3209. if(_role === 0 && _futianTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3210. continue
  3211. }
  3212. _content = $$("div", {
  3213. className: "U_MD_D_KO",
  3214. "onmousedown": U.UF.C.closure(function (obj) {
  3215. //防止拖動圖標即打開了桌面應用
  3216. U.MD.D.click(this, obj);
  3217. }, [_futianTeacherDeskIconInfo[i]]),
  3218. "onclick": U.UF.C.closure(function (obj) {
  3219. //防止拖動圖標即打開了桌面應用
  3220. U.MD.D.click(this, obj);
  3221. }, [_futianTeacherDeskIconInfo[i]])
  3222. }, _frag); //
  3223. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3224. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  3225. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  3226. }
  3227. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  3228. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  3229. if(_role === 0 && _MingdeTeacherDeskIcon[i].Url == 'testTeacher'){
  3230. continue
  3231. }
  3232. _content = $$("div", {
  3233. className: "U_MD_D_KO",
  3234. "onmousedown": U.UF.C.closure(function (obj) {
  3235. //防止拖動圖標即打開了桌面應用
  3236. U.MD.D.click(this, obj);
  3237. }, [_MingdeTeacherDeskIcon[i]]),
  3238. "onclick": U.UF.C.closure(function (obj) {
  3239. //防止拖動圖標即打開了桌面應用
  3240. U.MD.D.click(this, obj);
  3241. }, [_MingdeTeacherDeskIcon[i]])
  3242. }, _frag); //
  3243. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3244. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  3245. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  3246. }
  3247. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  3248. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  3249. _content = $$("div", {
  3250. className: "U_MD_D_KO",
  3251. "onmousedown": U.UF.C.closure(function (obj) {
  3252. //防止拖動圖標即打開了桌面應用
  3253. U.MD.D.click(this, obj);
  3254. }, [_lhsAdminDesktopIconInfo[i]]),
  3255. "onclick": U.UF.C.closure(function (obj) {
  3256. //防止拖動圖標即打開了桌面應用
  3257. U.MD.D.click(this, obj);
  3258. }, [_lhsAdminDesktopIconInfo[i]])
  3259. }, _frag); //
  3260. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3261. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  3262. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  3263. }
  3264. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  3265. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  3266. if(_role === 0 && _lhsteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3267. continue
  3268. }
  3269. _content = $$("div", {
  3270. className: "U_MD_D_KO",
  3271. "onmousedown": U.UF.C.closure(function (obj) {
  3272. //防止拖動圖標即打開了桌面應用
  3273. U.MD.D.click(this, obj);
  3274. }, [_lhsteacherDesktopIconInfo[i]]),
  3275. "onclick": U.UF.C.closure(function (obj) {
  3276. //防止拖動圖標即打開了桌面應用
  3277. U.MD.D.click(this, obj);
  3278. }, [_lhsteacherDesktopIconInfo[i]])
  3279. }, _frag); //
  3280. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3281. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  3282. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  3283. }
  3284. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  3285. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  3286. if(_role === 0 && _zhoujiateacherDesktopIconInfo[i].Url == 'testTeacher'){
  3287. continue
  3288. }
  3289. _content = $$("div", {
  3290. className: "U_MD_D_KO",
  3291. "onmousedown": U.UF.C.closure(function (obj) {
  3292. //防止拖動圖標即打開了桌面應用
  3293. U.MD.D.click(this, obj);
  3294. }, [_zhoujiateacherDesktopIconInfo[i]]),
  3295. "onclick": U.UF.C.closure(function (obj) {
  3296. //防止拖動圖標即打開了桌面應用
  3297. U.MD.D.click(this, obj);
  3298. }, [_zhoujiateacherDesktopIconInfo[i]])
  3299. }, _frag); //
  3300. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3301. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  3302. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  3303. }
  3304. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  3305. for (i = 0; i < _hanDeskIcon.length; i++) {
  3306. if(_role === 0 && _hanDeskIcon[i].Url == 'testTeacher'){
  3307. continue
  3308. }
  3309. _content = $$("div", {
  3310. className: "U_MD_D_KO",
  3311. "onmousedown": U.UF.C.closure(function (obj) {
  3312. //防止拖動圖標即打開了桌面應用
  3313. U.MD.D.click(this, obj);
  3314. }, [_hanDeskIcon[i]]),
  3315. "onclick": U.UF.C.closure(function (obj) {
  3316. //防止拖動圖標即打開了桌面應用
  3317. U.MD.D.click(this, obj);
  3318. }, [_hanDeskIcon[i]])
  3319. }, _frag); //
  3320. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3321. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  3322. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  3323. }
  3324. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  3325. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  3326. if(_role === 0 && _orgStemDeskIcon[i].Url == 'testTeacher'){
  3327. continue
  3328. }
  3329. _content = $$("div", {
  3330. className: "U_MD_D_KO",
  3331. "onmousedown": U.UF.C.closure(function (obj) {
  3332. //防止拖動圖標即打開了桌面應用
  3333. U.MD.D.click(this, obj);
  3334. }, [_orgStemDeskIcon[i]]),
  3335. "onclick": U.UF.C.closure(function (obj) {
  3336. //防止拖動圖標即打開了桌面應用
  3337. U.MD.D.click(this, obj);
  3338. }, [_orgStemDeskIcon[i]])
  3339. }, _frag); //
  3340. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3341. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  3342. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  3343. }
  3344. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  3345. for (i = 0; i < _szulsDeskIcon.length; i++) {
  3346. if(_role === 0 && _szulsDeskIcon[i].Url == 'testTeacher'){
  3347. continue
  3348. }
  3349. _content = $$("div", {
  3350. className: "U_MD_D_KO",
  3351. "onmousedown": U.UF.C.closure(function (obj) {
  3352. //防止拖動圖標即打開了桌面應用
  3353. U.MD.D.click(this, obj);
  3354. }, [_szulsDeskIcon[i]]),
  3355. "onclick": U.UF.C.closure(function (obj) {
  3356. //防止拖動圖標即打開了桌面應用
  3357. U.MD.D.click(this, obj);
  3358. }, [_szulsDeskIcon[i]])
  3359. }, _frag); //
  3360. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3361. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  3362. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  3363. }
  3364. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  3365. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  3366. if(_role === 0 && _orgDesktopIconInfo[i].Url == 'testTeacher'){
  3367. continue
  3368. }
  3369. _content = $$("div", {
  3370. className: "U_MD_D_KO",
  3371. "onmousedown": U.UF.C.closure(function (obj) {
  3372. //防止拖動圖標即打開了桌面應用
  3373. U.MD.D.click(this, obj);
  3374. }, [_orgDesktopIconInfo[i]]),
  3375. "onclick": U.UF.C.closure(function (obj) {
  3376. //防止拖動圖標即打開了桌面應用
  3377. U.MD.D.click(this, obj);
  3378. }, [_orgDesktopIconInfo[i]])
  3379. }, _frag); //
  3380. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3381. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  3382. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  3383. }
  3384. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3385. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  3386. if(_role === 0 && _schoolDesktopIconInfo[i].Url == 'testTeacher'){
  3387. continue
  3388. }
  3389. _content = $$("div", {
  3390. className: "U_MD_D_KO",
  3391. "onmousedown": U.UF.C.closure(function (obj) {
  3392. //防止拖動圖標即打開了桌面應用
  3393. U.MD.D.click(this, obj);
  3394. }, [_schoolDesktopIconInfo[i]]),
  3395. "onclick": U.UF.C.closure(function (obj) {
  3396. //防止拖動圖標即打開了桌面應用
  3397. U.MD.D.click(this, obj);
  3398. }, [_schoolDesktopIconInfo[i]])
  3399. }, _frag); //
  3400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  3402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  3403. }
  3404. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  3405. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  3406. if(_role === 0 && _GMteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3407. continue
  3408. }
  3409. _content = $$("div", {
  3410. className: "U_MD_D_KO",
  3411. "onmousedown": U.UF.C.closure(function (obj) {
  3412. //防止拖動圖標即打開了桌面應用
  3413. U.MD.D.click(this, obj);
  3414. }, [_GMteacherDesktopIconInfo[i]]),
  3415. "onclick": U.UF.C.closure(function (obj) {
  3416. //防止拖動圖標即打開了桌面應用
  3417. U.MD.D.click(this, obj);
  3418. }, [_GMteacherDesktopIconInfo[i]])
  3419. }, _frag); //
  3420. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3421. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  3422. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  3423. }
  3424. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  3425. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  3426. if(_role === 0 && _SONGteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3427. continue
  3428. }
  3429. _content = $$("div", {
  3430. className: "U_MD_D_KO",
  3431. "onmousedown": U.UF.C.closure(function (obj) {
  3432. //防止拖動圖標即打開了桌面應用
  3433. U.MD.D.click(this, obj);
  3434. }, [_SONGteacherDesktopIconInfo[i]]),
  3435. "onclick": U.UF.C.closure(function (obj) {
  3436. //防止拖動圖標即打開了桌面應用
  3437. U.MD.D.click(this, obj);
  3438. }, [_SONGteacherDesktopIconInfo[i]])
  3439. }, _frag); //
  3440. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3441. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  3442. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  3443. }
  3444. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  3445. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  3446. _content = $$("div", {
  3447. className: "U_MD_D_KO",
  3448. "onmousedown": U.UF.C.closure(function (obj) {
  3449. //防止拖動圖標即打開了桌面應用
  3450. U.MD.D.click(this, obj);
  3451. }, [_GMstudentDesktopIconInfo[i]]),
  3452. "onclick": U.UF.C.closure(function (obj) {
  3453. //防止拖動圖標即打開了桌面應用
  3454. U.MD.D.click(this, obj);
  3455. }, [_GMstudentDesktopIconInfo[i]])
  3456. }, _frag); //
  3457. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3458. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  3459. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  3460. }
  3461. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  3462. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  3463. if(_role === 0 && _tcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3464. continue
  3465. }
  3466. _content = $$("div", {
  3467. className: "U_MD_D_KO",
  3468. "onmousedown": U.UF.C.closure(function (obj) {
  3469. //防止拖動圖標即打開了桌面應用
  3470. U.MD.D.click(this, obj);
  3471. }, [_tcTeacherDeskIconInfo[i]]),
  3472. "onclick": U.UF.C.closure(function (obj) {
  3473. //防止拖動圖標即打開了桌面應用
  3474. U.MD.D.click(this, obj);
  3475. }, [_tcTeacherDeskIconInfo[i]])
  3476. }, _frag); //
  3477. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3478. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  3479. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  3480. }
  3481. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  3482. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  3483. if(_role === 0 && _tcOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  3484. continue
  3485. }
  3486. _content = $$("div", {
  3487. className: "U_MD_D_KO",
  3488. "onmousedown": U.UF.C.closure(function (obj) {
  3489. //防止拖動圖標即打開了桌面應用
  3490. U.MD.D.click(this, obj);
  3491. }, [_tcOrganizerDeskIconInfo[i]]),
  3492. "onclick": U.UF.C.closure(function (obj) {
  3493. //防止拖動圖標即打開了桌面應用
  3494. U.MD.D.click(this, obj);
  3495. }, [_tcOrganizerDeskIconInfo[i]])
  3496. }, _frag); //
  3497. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3498. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  3499. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3500. }
  3501. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  3502. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  3503. if(_role === 0 && _szscTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3504. continue
  3505. }
  3506. _content = $$("div", {
  3507. className: "U_MD_D_KO",
  3508. "onmousedown": U.UF.C.closure(function (obj) {
  3509. //防止拖動圖標即打開了桌面應用
  3510. U.MD.D.click(this, obj);
  3511. }, [_szscTeacherDeskIconInfo[i]]),
  3512. "onclick": U.UF.C.closure(function (obj) {
  3513. //防止拖動圖標即打開了桌面應用
  3514. U.MD.D.click(this, obj);
  3515. }, [_szscTeacherDeskIconInfo[i]])
  3516. }, _frag); //
  3517. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3518. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  3519. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  3520. }
  3521. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  3522. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  3523. if(_role === 0 && _szscOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  3524. continue
  3525. }
  3526. _content = $$("div", {
  3527. className: "U_MD_D_KO",
  3528. "onmousedown": U.UF.C.closure(function (obj) {
  3529. //防止拖動圖標即打開了桌面應用
  3530. U.MD.D.click(this, obj);
  3531. }, [_szscOrganizerDeskIconInfo[i]]),
  3532. "onclick": U.UF.C.closure(function (obj) {
  3533. //防止拖動圖標即打開了桌面應用
  3534. U.MD.D.click(this, obj);
  3535. }, [_szscOrganizerDeskIconInfo[i]])
  3536. }, _frag); //
  3537. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3538. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  3539. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3540. }
  3541. } else if ((_type == 1 || _type == 4) && _oid == "8a352da2-56e1-11ef-b873-005056b86db5") {
  3542. for (i = 0; i < _nsfxTeacherDeskIconInfo.length; i++) {
  3543. if(_role === 0 && _nsfxTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3544. continue
  3545. }
  3546. _content = $$("div", {
  3547. className: "U_MD_D_KO",
  3548. "onmousedown": U.UF.C.closure(function (obj) {
  3549. //防止拖動圖標即打開了桌面應用
  3550. U.MD.D.click(this, obj);
  3551. }, [_nsfxTeacherDeskIconInfo[i]]),
  3552. "onclick": U.UF.C.closure(function (obj) {
  3553. //防止拖動圖標即打開了桌面應用
  3554. U.MD.D.click(this, obj);
  3555. }, [_nsfxTeacherDeskIconInfo[i]])
  3556. }, _frag); //
  3557. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3558. $$("div", { className: "U_MD_D_KOS U_Img", "style": _nsfxTeacherDeskIconInfo[i].style }, _iconcontent);
  3559. $$("div", { className: "U_MD_D_KOX", "innerHTML": _nsfxTeacherDeskIconInfo[i].Name }, _iconcontent);
  3560. }
  3561. } else if ((_type == 1 || _type == 4) && _org == "f3b243b2-75e2-4b00-8f66-7644946a2a25") {
  3562. for (i = 0; i < _stiaTeacherDeskIconInfo.length; i++) {
  3563. if(_role === 0 && _stiaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3564. continue
  3565. }
  3566. _content = $$("div", {
  3567. className: "U_MD_D_KO",
  3568. "onmousedown": U.UF.C.closure(function (obj) {
  3569. //防止拖動圖標即打開了桌面應用
  3570. U.MD.D.click(this, obj);
  3571. }, [_stiaTeacherDeskIconInfo[i]]),
  3572. "onclick": U.UF.C.closure(function (obj) {
  3573. //防止拖動圖標即打開了桌面應用
  3574. U.MD.D.click(this, obj);
  3575. }, [_stiaTeacherDeskIconInfo[i]])
  3576. }, _frag); //
  3577. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3578. $$("div", { className: "U_MD_D_KOS U_Img", "style": _stiaTeacherDeskIconInfo[i].style }, _iconcontent);
  3579. $$("div", { className: "U_MD_D_KOX", "innerHTML": _stiaTeacherDeskIconInfo[i].Name }, _iconcontent);
  3580. }
  3581. } else if ((_type == 1 || _type == 4) && _org == "16ace517-b5c7-4168-a9bb-a9e0035df840") {
  3582. for (i = 0; i < _szdjgTeacherDeskIconInfo.length; i++) {
  3583. if(_role === 0 && _szdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3584. continue
  3585. }
  3586. _content = $$("div", {
  3587. className: "U_MD_D_KO",
  3588. "onmousedown": U.UF.C.closure(function (obj) {
  3589. //防止拖動圖標即打開了桌面應用
  3590. U.MD.D.click(this, obj);
  3591. }, [_szdjgTeacherDeskIconInfo[i]]),
  3592. "onclick": U.UF.C.closure(function (obj) {
  3593. //防止拖動圖標即打開了桌面應用
  3594. U.MD.D.click(this, obj);
  3595. }, [_szdjgTeacherDeskIconInfo[i]])
  3596. }, _frag); //
  3597. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3598. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  3599. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  3600. }
  3601. } else if ((_type == 1 || _type == 4) && _org == "2fe1a080-4425-4620-b7a0-be2f3750ffd4") {
  3602. for (i = 0; i < _x010607TeacherDeskIconInfo.length; i++) {
  3603. if(_role === 0 && _x010607TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3604. continue
  3605. }
  3606. _content = $$("div", {
  3607. className: "U_MD_D_KO",
  3608. "onmousedown": U.UF.C.closure(function (obj) {
  3609. //防止拖動圖標即打開了桌面應用
  3610. U.MD.D.click(this, obj);
  3611. }, [_x010607TeacherDeskIconInfo[i]]),
  3612. "onclick": U.UF.C.closure(function (obj) {
  3613. //防止拖動圖標即打開了桌面應用
  3614. U.MD.D.click(this, obj);
  3615. }, [_x010607TeacherDeskIconInfo[i]])
  3616. }, _frag); //
  3617. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3618. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010607TeacherDeskIconInfo[i].style }, _iconcontent);
  3619. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010607TeacherDeskIconInfo[i].Name }, _iconcontent);
  3620. }
  3621. } else if ((_type == 1 || _type == 4) && _org == "a5efd078-20f6-4185-bef9-6d1c688bee70") {
  3622. for (i = 0; i < _xhlyTeacherDeskIconInfo.length; i++) {
  3623. if(_role === 0 && _xhlyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3624. continue
  3625. }
  3626. _content = $$("div", {
  3627. className: "U_MD_D_KO",
  3628. "onmousedown": U.UF.C.closure(function (obj) {
  3629. //防止拖動圖標即打開了桌面應用
  3630. U.MD.D.click(this, obj);
  3631. }, [_xhlyTeacherDeskIconInfo[i]]),
  3632. "onclick": U.UF.C.closure(function (obj) {
  3633. //防止拖動圖標即打開了桌面應用
  3634. U.MD.D.click(this, obj);
  3635. }, [_xhlyTeacherDeskIconInfo[i]])
  3636. }, _frag); //
  3637. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3638. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xhlyTeacherDeskIconInfo[i].style }, _iconcontent);
  3639. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xhlyTeacherDeskIconInfo[i].Name }, _iconcontent);
  3640. }
  3641. } else if ((_type == 1 || _type == 4) && _org == "23bbe712-e35a-4888-9b4e-8d9e5a4fa2f6") {
  3642. for (i = 0; i < _CUHKEDUTeacherDeskIconInfo.length; i++) {
  3643. if(_role === 0 && _CUHKEDUTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3644. continue
  3645. }
  3646. _content = $$("div", {
  3647. className: "U_MD_D_KO",
  3648. "onmousedown": U.UF.C.closure(function (obj) {
  3649. //防止拖動圖標即打開了桌面應用
  3650. U.MD.D.click(this, obj);
  3651. }, [_CUHKEDUTeacherDeskIconInfo[i]]),
  3652. "onclick": U.UF.C.closure(function (obj) {
  3653. //防止拖動圖標即打開了桌面應用
  3654. U.MD.D.click(this, obj);
  3655. }, [_CUHKEDUTeacherDeskIconInfo[i]])
  3656. }, _frag); //
  3657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _CUHKEDUTeacherDeskIconInfo[i].style }, _iconcontent);
  3659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _CUHKEDUTeacherDeskIconInfo[i].Name }, _iconcontent);
  3660. }
  3661. } else if ((_type == 1 || _type == 4) && _oid == "876030db-7a49-11ef-9b30-005056b86db5") {
  3662. for (i = 0; i < _x010503TeacherDeskIconInfo.length; i++) {
  3663. if(_role === 0 && _x010503TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3664. continue
  3665. }
  3666. _content = $$("div", {
  3667. className: "U_MD_D_KO",
  3668. "onmousedown": U.UF.C.closure(function (obj) {
  3669. //防止拖動圖標即打開了桌面應用
  3670. U.MD.D.click(this, obj);
  3671. }, [_x010503TeacherDeskIconInfo[i]]),
  3672. "onclick": U.UF.C.closure(function (obj) {
  3673. //防止拖動圖標即打開了桌面應用
  3674. U.MD.D.click(this, obj);
  3675. }, [_x010503TeacherDeskIconInfo[i]])
  3676. }, _frag); //
  3677. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3678. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010503TeacherDeskIconInfo[i].style }, _iconcontent);
  3679. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010503TeacherDeskIconInfo[i].Name }, _iconcontent);
  3680. }
  3681. } else if ((_type == 1 || _type == 4) && _oid == "6c16df93-8849-11ef-9b30-005056b86db5") {
  3682. for (i = 0; i < _x010504TeacherDeskIconInfo.length; i++) {
  3683. if(_role === 0 && _x010504TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3684. continue
  3685. }
  3686. _content = $$("div", {
  3687. className: "U_MD_D_KO",
  3688. "onmousedown": U.UF.C.closure(function (obj) {
  3689. //防止拖动图标即打开了桌面应用
  3690. U.MD.D.click(this, obj);
  3691. }, [_x010504TeacherDeskIconInfo[i]]),
  3692. "onclick": U.UF.C.closure(function (obj) {
  3693. //防止拖动图标即打开了桌面应用
  3694. U.MD.D.click(this, obj);
  3695. }, [_x010504TeacherDeskIconInfo[i]])
  3696. }, _frag); //
  3697. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3698. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010504TeacherDeskIconInfo[i].style }, _iconcontent);
  3699. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010504TeacherDeskIconInfo[i].Name }, _iconcontent);
  3700. }
  3701. } else if ((_type == 1 || _type == 4) && _oid == "b97fc213-86a9-11ef-9b30-005056b86db5") {
  3702. for (i = 0; i < _x010204TeacherDeskIconInfo.length; i++) {
  3703. if(_role === 0 && _x010204TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3704. continue
  3705. }
  3706. _content = $$("div", {
  3707. className: "U_MD_D_KO",
  3708. "onmousedown": U.UF.C.closure(function (obj) {
  3709. //防止拖动图标即打开了桌面应用
  3710. U.MD.D.click(this, obj);
  3711. }, [_x010204TeacherDeskIconInfo[i]]),
  3712. "onclick": U.UF.C.closure(function (obj) {
  3713. //防止拖动图标即打开了桌面应用
  3714. U.MD.D.click(this, obj);
  3715. }, [_x010204TeacherDeskIconInfo[i]])
  3716. }, _frag); //
  3717. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3718. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010204TeacherDeskIconInfo[i].style }, _iconcontent);
  3719. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010204TeacherDeskIconInfo[i].Name }, _iconcontent);
  3720. }
  3721. } else if ((_type == 1 || _type == 4) && _oid == "c636f63e-86f4-11ef-9b30-005056b86db5") {
  3722. for (i = 0; i < _trailTeacherDeskIconInfo.length; i++) {
  3723. if(_role === 0 && _trailTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3724. continue
  3725. }
  3726. _content = $$("div", {
  3727. className: "U_MD_D_KO",
  3728. "onmousedown": U.UF.C.closure(function (obj) {
  3729. //防止拖动图标即打开了桌面应用
  3730. U.MD.D.click(this, obj);
  3731. }, [_trailTeacherDeskIconInfo[i]]),
  3732. "onclick": U.UF.C.closure(function (obj) {
  3733. //防止拖动图标即打开了桌面应用
  3734. U.MD.D.click(this, obj);
  3735. }, [_trailTeacherDeskIconInfo[i]])
  3736. }, _frag); //
  3737. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3738. $$("div", { className: "U_MD_D_KOS U_Img", "style": _trailTeacherDeskIconInfo[i].style }, _iconcontent);
  3739. $$("div", { className: "U_MD_D_KOX", "innerHTML": _trailTeacherDeskIconInfo[i].Name }, _iconcontent);
  3740. }
  3741. } else if ((_type == 1 || _type == 4) && _org == "ec84034b-8ea4-4d27-9cba-1adcb4720bb3") {
  3742. for (i = 0; i < _SPROUTLabTeacherDeskIconInfo.length; i++) {
  3743. if(_role === 0 && _SPROUTLabTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3744. continue
  3745. }
  3746. _content = $$("div", {
  3747. className: "U_MD_D_KO",
  3748. "onmousedown": U.UF.C.closure(function (obj) {
  3749. //防止拖動圖標即打開了桌面應用
  3750. U.MD.D.click(this, obj);
  3751. }, [_SPROUTLabTeacherDeskIconInfo[i]]),
  3752. "onclick": U.UF.C.closure(function (obj) {
  3753. //防止拖動圖標即打開了桌面應用
  3754. U.MD.D.click(this, obj);
  3755. }, [_SPROUTLabTeacherDeskIconInfo[i]])
  3756. }, _frag); //
  3757. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3758. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SPROUTLabTeacherDeskIconInfo[i].style }, _iconcontent);
  3759. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SPROUTLabTeacherDeskIconInfo[i].Name }, _iconcontent);
  3760. }
  3761. } else if ((_type == 1 || _type == 4) && _oid == "9b46a3c9-7657-11ef-9b30-005056b86db5") {
  3762. for (i = 0; i < _x010608TeacherDeskIconInfo.length; i++) {
  3763. if(_role === 0 && _x010608TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3764. continue
  3765. }
  3766. _content = $$("div", {
  3767. className: "U_MD_D_KO",
  3768. "onmousedown": U.UF.C.closure(function (obj) {
  3769. //防止拖動圖標即打開了桌面應用
  3770. U.MD.D.click(this, obj);
  3771. }, [_x010608TeacherDeskIconInfo[i]]),
  3772. "onclick": U.UF.C.closure(function (obj) {
  3773. //防止拖動圖標即打開了桌面應用
  3774. U.MD.D.click(this, obj);
  3775. }, [_x010608TeacherDeskIconInfo[i]])
  3776. }, _frag); //
  3777. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3778. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010608TeacherDeskIconInfo[i].style }, _iconcontent);
  3779. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010608TeacherDeskIconInfo[i].Name }, _iconcontent);
  3780. }
  3781. } else {
  3782. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  3783. if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher' && _oid != '45facc0a-1211-11ec-80ad-005056b86db5'){
  3784. continue
  3785. }
  3786. _content = $$("div", {
  3787. className: "U_MD_D_KO",
  3788. "onmousedown": U.UF.C.closure(function (obj) {
  3789. //防止拖動圖標即打開了桌面應用
  3790. U.MD.D.click(this, obj);
  3791. }, [_teacherDesktopIconInfo[i]]),
  3792. "onclick": U.UF.C.closure(function (obj) {
  3793. //防止拖動圖標即打開了桌面應用
  3794. U.MD.D.click(this, obj);
  3795. }, [_teacherDesktopIconInfo[i]])
  3796. }, _frag); //
  3797. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3798. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  3799. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  3800. }
  3801. }
  3802. } else {
  3803. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  3804. _content = $$("div", {
  3805. className: "U_MD_D_KO",
  3806. style: { 'width': '124px', 'height': '145px' },
  3807. "onmousedown": U.UF.C.closure(function (obj) {
  3808. //防止拖動圖標即打開了桌面應用
  3809. U.MD.D.click(this, obj);
  3810. }, [_easyDesktopIconInfo[i]]),
  3811. "onclick": U.UF.C.closure(function (obj) {
  3812. //防止拖動圖標即打開了桌面應用
  3813. U.MD.D.click(this, obj);
  3814. }, [_easyDesktopIconInfo[i]])
  3815. }, _frag); //
  3816. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  3817. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  3818. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  3819. }
  3820. }
  3821. if (type == 1) {
  3822. //加載好後給圖標定位
  3823. U.MD.D.iconPostion($(_frag).Child());
  3824. } else {
  3825. //加載好後給圖標定位
  3826. U.MD.D.iconPostion2($(_frag).Child());
  3827. }
  3828. //把圖標加載到頁面
  3829. el.appendChild(_frag);
  3830. }
  3831. /**
  3832. * 顯示任務欄
  3833. *
  3834. * @param {element} 桌面元素
  3835. */
  3836. U.MD.D.I.displayTaskbar = function (el) {
  3837. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  3838. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  3839. //任務欄位置變化
  3840. U.selectEl(el).css({ "bottom": "0px" });
  3841. //桌面位置變話
  3842. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  3843. }
  3844. }
  3845. //#region 桌面圖標拖動邏輯
  3846. /**
  3847. * 桌面排列圖標
  3848. *
  3849. * @param {element} 桌面元素
  3850. * @param {object} 上下相距的距離
  3851. * @param {object} 左右相距的距離
  3852. * @return {object} 命名空間
  3853. */
  3854. U.MD.D.iconPostion = function (childs, top, left) {
  3855. var i; //用於循環處理
  3856. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  3857. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  3858. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  3859. for (i = 0; i < childs.length; i++) {
  3860. //如果豎排top超過了範圍處理
  3861. if (top + 95 > US.height - 10) {
  3862. //left超過了頁面範圍處理,則向上重疊打印處理
  3863. if ((left + 180) > US.width) {
  3864. top -= 110;
  3865. left -= 90;
  3866. }
  3867. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  3868. else {
  3869. left += 90;
  3870. top = 15;
  3871. };
  3872. }
  3873. //給圖標的位置賦值
  3874. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  3875. if (i < childs.length - 1) {
  3876. //頁面圖標每次向下加95
  3877. top += 95;
  3878. }
  3879. }
  3880. //返回最後調用的圖標的位置
  3881. return [top, left];
  3882. }
  3883. /**
  3884. * 桌面排列圖標
  3885. *
  3886. * @param {element} 桌面元素
  3887. * @param {object} 上下相距的距離
  3888. * @param {object} 左右相距的距離
  3889. * @return {object} 命名空間
  3890. */
  3891. U.MD.D.iconPostion2 = function (childs, top, left) {
  3892. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  3893. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  3894. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  3895. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  3896. for (i = 0; i < childs.length; i++) {
  3897. //如果豎排top超過了範圍處理
  3898. if (left + 150 > US.width - 10) {
  3899. //left超過了頁面範圍處理,則向上重疊打印處理
  3900. if ((top + 180) > US.Height) {
  3901. top -= 150;
  3902. left -= 150;
  3903. }
  3904. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  3905. else {
  3906. top += 150;
  3907. left = ol;
  3908. };
  3909. }
  3910. //給圖標的位置賦值
  3911. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  3912. if (i < childs.length - 1) {
  3913. //頁面圖標每次向下加95
  3914. left += 150;
  3915. }
  3916. }
  3917. //返回最後調用的圖標的位置
  3918. return [top, left];
  3919. }
  3920. /**
  3921. * 桌面點擊事件邏輯
  3922. *
  3923. * @param {element} 桌面元素
  3924. * @param {object} 上下相距的距離
  3925. * @param {object} 左右相距的距離
  3926. * @return {object} 命名空間
  3927. */
  3928. U.MD.D.click = function (el, obj) {
  3929. var _buttonnumber = event.button; //點擊的按鈕的事件值
  3930. var _userinfo = US.userInfo;
  3931. U.UF.EV.stopBubble(); //阻止向上冒泡
  3932. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  3933. if (_buttonnumber < 2) {
  3934. //如果是click事件的處理
  3935. if (event.type == "click") {
  3936. //如果元素在mousemove事件中沒有移動則出發click事件
  3937. if (!U.MD.D.I.IsDrag) {
  3938. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3939. U.alert("請先登錄您的賬號!");
  3940. setTimeout(() => {
  3941. U.MD.U.L.login();
  3942. }, 2000);
  3943. } else {
  3944. //打開應用處理
  3945. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  3946. }
  3947. }
  3948. }
  3949. //如果是mouse事件的處理
  3950. else {
  3951. if (US.Config.type == '1') {
  3952. //拖動處理,添加拖動和拖動結束事件
  3953. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  3954. }
  3955. }
  3956. U.MD.D.I.IsDrag = false;
  3957. }
  3958. }
  3959. /**
  3960. * 拖動的處理
  3961. *
  3962. */
  3963. U.MD.D.iconMove = function () {
  3964. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  3965. U.MD.D.I.IsDrag = true;
  3966. }
  3967. /**
  3968. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  3969. *
  3970. * @param {element} 拖動的元素
  3971. * @return {object} 命名空間
  3972. */
  3973. U.MD.D.iconUp = function (el) {
  3974. var _top = 15,
  3975. _left = 20,
  3976. _margin,
  3977. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  3978. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  3979. if (_positioninfo["OT"] > 15) {
  3980. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  3981. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  3982. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  3983. }
  3984. if (_positioninfo["OL"] > 20) {
  3985. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  3986. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  3987. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  3988. }
  3989. //while循環判斷麼一個重疊的元素
  3990. do {
  3991. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  3992. _top = _positioninfo[0] + 95; //得到定位後的top
  3993. _left = _positioninfo[1]; //得到定位後的left
  3994. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  3995. }
  3996. /**
  3997. * 判斷拖動後圖標是否重疊
  3998. *
  3999. * @param {element} 拖動的元素
  4000. * @param {element} 桌面所有的元素
  4001. * @param {array} 拖動元素的位置
  4002. ----------[0] 上 top
  4003. ----------[1] 左 left
  4004. * @return {object} 命名空間
  4005. */
  4006. U.MD.D.isOverlap = function (el, childs, postionarray) {
  4007. //循環所有的圖標
  4008. for (var i = 0; i < childs.length; i++) {
  4009. //判斷有沒有和該圖標誒子重疊的元素
  4010. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  4011. return childs[i]; //如果有返回
  4012. }
  4013. }
  4014. }
  4015. //#endregion
  4016. //#endregion
  4017. //#region 桌面應用
  4018. /**
  4019. * 打開應用
  4020. *
  4021. * @param {string} 類型
  4022. -----------------Disk 網盤系統
  4023. -----------------PDisk 學習系統網盤
  4024. -----------------Poto 圖片
  4025. -----------------Video 視頻
  4026. -----------------Music 音樂
  4027. -----------------Word word
  4028. -----------------Excel excel
  4029. -----------------Txt 記事本
  4030. -----------------PB 學習系統
  4031. -----------------Blog 朋友圈系統
  4032. -----------------FTP ftp系統
  4033. -----------------Group 好友群
  4034. -----------------SY 首頁系統
  4035. -----------------Set 個人設置
  4036. -----------------XSet 系統設置
  4037. -----------------App 我們所有的app
  4038. -----------------BC c.1473.cn 平臺
  4039. -----------------CWeb d.1473.cn 變成平臺
  4040. -----------------其他的外聯系統 我們統一用iframe打開
  4041. * @param {array} 類型
  4042. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  4043. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  4044. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  4045. 如果第一個參數為其他,則無第二個參數
  4046. * @returns {array}
  4047. */
  4048. window.addEventListener('message', function (e) { // 監聽 message 事件
  4049. // alert(e.data.type);
  4050. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  4051. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  4052. //3是展示全部階段 2學生 1老師 4專家
  4053. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  4054. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  4055. //3是展示全部階段 2學生 1老師 4專家
  4056. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  4057. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  4058. //3是展示全部階段 2學生 1老師 4專家
  4059. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  4060. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  4061. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  4062. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  4063. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  4064. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  4065. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  4066. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  4067. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  4068. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  4069. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  4070. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  4071. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  4072. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  4073. //3是展示全部階段 2學生 1老師 4專家
  4074. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  4075. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  4076. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  4077. U.MD.D.I.selectUser();
  4078. } else if (e.data.allScreen && e.data.allScreen == "1") {
  4079. var _formel = document.getElementById("study");
  4080. U.UF.F.windowZooming(_formel);
  4081. } else if (e.data.allScreen && e.data.allScreen == "2") {
  4082. var _formel = document.getElementById("studyDetail");
  4083. U.UF.F.windowZooming(_formel);
  4084. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  4085. var _formel = document.getElementById("studyDetail");
  4086. U.UF.F.windowZooming(_formel);
  4087. } else if (e.data.allScreen && e.data.allScreen == "3") {
  4088. var _formel = document.getElementById("studentStudy");
  4089. U.UF.F.windowZooming(_formel);
  4090. } else if (e.data.allScreen && e.data.allScreen == "6") {
  4091. // var _formel = document.getElementById("study");
  4092. //如果最大化了,那麼就把他縮小
  4093. // if (_formel.ismaximize) {
  4094. // return;
  4095. // }
  4096. // U.UF.F.windowZooming(_formel);
  4097. // U.UF.F.topWindow(_formel);
  4098. } else if (e.data.allScreen && e.data.allScreen == "4") {
  4099. // var _formel = document.getElementById("studyDetail");
  4100. //如果最大化了,那麼就把他縮小
  4101. // if (_formel.ismaximize) {
  4102. // return;
  4103. // }
  4104. // U.UF.F.windowZooming(_formel);
  4105. // U.UF.F.topWindow(_formel);
  4106. } else if (e.data.allScreen && e.data.allScreen == "5") {
  4107. // var _formel = document.getElementById("studentStudy");
  4108. // if (_formel.ismaximize) {
  4109. // return;
  4110. // }
  4111. // U.UF.F.windowZooming(_formel);
  4112. // U.UF.F.topWindow(_formel);
  4113. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  4114. var _formel = document.getElementById("study");
  4115. // if (_formel.ismaximize) {
  4116. // return;
  4117. // }
  4118. // U.UF.F.windowZooming(_formel);
  4119. U.UF.F.topWindow(_formel);
  4120. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  4121. var _formel = document.getElementById("studentIndex");
  4122. U.UF.F.windowZooming(_formel);
  4123. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  4124. var _formel = document.getElementById("studyDetailS");
  4125. U.UF.F.windowZooming(_formel);
  4126. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  4127. var _formel = document.getElementById("studioIndex");
  4128. U.UF.F.windowZooming(_formel);
  4129. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  4130. var _formel = document.getElementById("studyDetailStudio");
  4131. U.UF.F.windowZooming(_formel);
  4132. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  4133. var _formel = document.getElementById("studyDetailStudio");
  4134. U.UF.F.windowZooming(_formel);
  4135. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  4136. var _formel = document.getElementById("studyDetailNT");
  4137. U.UF.F.windowZooming(_formel);
  4138. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  4139. var _formel = document.getElementById("studyDetailS");
  4140. U.UF.F.windowZooming(_formel);
  4141. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  4142. var _formel = document.getElementById("studyDetailS");
  4143. U.UF.F.topWindow(_formel);
  4144. } else if (e.data.tools && e.data.tools == "1") {
  4145. // U.MD.D.I.openApplication("whiteboard")
  4146. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4147. } else if (e.data.tools && e.data.tools == "2") {
  4148. U.MD.D.I.openApplication("note")
  4149. } else if (e.data.tools && e.data.tools == "3") {
  4150. // U.MD.D.I.openApplication("mind")
  4151. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4152. } else if (e.data.tools && e.data.tools == "4") {
  4153. U.MD.D.I.openApplication("investigation")
  4154. } else if (e.data.tools && e.data.tools == "6") {
  4155. // U.MD.D.I.openApplication("doc")
  4156. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4157. } else if (e.data.tools && e.data.tools == "7") {
  4158. // U.MD.D.I.openApplication("mindNetwork")
  4159. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4160. } else if (e.data.tools && e.data.tools == "8") {
  4161. U.MD.D.I.openApplication("library")
  4162. } else if (e.data.tools && e.data.tools == "17") {
  4163. U.MD.D.I.openApplication("stuLibrary")
  4164. } else if (e.data.tools && e.data.tools == "18") {
  4165. U.MD.D.I.openApplication("train")
  4166. } else if (e.data.tools && e.data.tools == "21") {
  4167. U.MD.D.I.openApplication("program")
  4168. } else if (e.data.tools && e.data.tools == "22") {
  4169. U.MD.D.I.openApplication("AIprogram2")
  4170. } else if (e.data.tools && e.data.tools == "23") {
  4171. U.MD.D.I.openApplication("Pythonprogram")
  4172. } else if (e.data.tools && e.data.tools == "24") {
  4173. U.MD.D.I.openApplication("AIprogram")
  4174. } else if (e.data.tools && e.data.tools == "25") {
  4175. U.MD.D.I.openApplication("sys")
  4176. } else if (e.data.tools && e.data.tools == "26") {
  4177. // U.MD.D.I.openApplication("courseDesign")
  4178. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4179. } else if (e.data.tools && e.data.tools == "31") {
  4180. U.MD.D.I.openApplication("netWorkPanel")
  4181. } else if (e.data.tools && e.data.tools == "32") {
  4182. U.MD.D.I.openApplication("codeEdit")
  4183. } else if (e.data.tools && e.data.tools == "57") {
  4184. U.MD.D.I.openApplication("CocoPi")
  4185. } else if (e.data.tools && e.data.tools == "63") {
  4186. U.MD.D.I.openApplication("Wood")
  4187. } else if (e.data.tools && e.data.tools == "58") {
  4188. U.MD.D.I.openApplication("car")
  4189. } else if (e.data.tools && e.data.tools == "59") {
  4190. U.MD.D.I.openApplication("lineSearch")
  4191. } else if (e.data.tools && e.data.tools == "60") {
  4192. U.MD.D.I.openApplication("deepLearning")
  4193. } else if (e.data.tools && e.data.tools == "61") {
  4194. U.MD.D.I.openApplication("allHistory")
  4195. } else if (e.data.tools && e.data.tools == "28") {
  4196. U.MD.D.I.openApplication("translation")
  4197. } else if (e.data.tools && e.data.tools == "37") {
  4198. U.MD.D.I.openApplication("mohe")
  4199. } else if (e.data.tools && e.data.tools == "38") {
  4200. U.MD.D.I.openApplication("24game")
  4201. } else if (e.data.tools && e.data.tools == "39") {
  4202. U.MD.D.I.openApplication("GeoGebra")
  4203. } else if (e.data.tools && e.data.tools == "43") {
  4204. U.MD.D.I.openApplication("studentEvaluate")
  4205. } else if (e.data.tools && e.data.tools == "44") {
  4206. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  4207. } else if (e.data.tools && e.data.tools == "46") {
  4208. U.MD.D.I.openApplication("project")
  4209. } else if (e.data.tools && e.data.tools == "71") {
  4210. U.MD.D.I.openApplication("aigptCourse")
  4211. } else if (e.data.tools && e.data.tools == "1s") {
  4212. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4213. } else if (e.data.tools && e.data.tools == "3s") {
  4214. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4215. } else if (e.data.tools && e.data.tools == "6s") {
  4216. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4217. } else if (e.data.tools && e.data.tools == "1studio") {
  4218. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4219. } else if (e.data.tools && e.data.tools == "3studio") {
  4220. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4221. } else if (e.data.tools && e.data.tools == "6studio") {
  4222. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4223. } else if (e.data.tools && e.data.tools == "3y") {
  4224. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4225. } else if (e.data.tools && e.data.tools == "1y") {
  4226. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4227. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  4228. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  4229. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  4230. U.MD.D.I.openApplication("AIAnalyse")
  4231. } else if (e.data.tools && e.data.tools == "1teacher") {
  4232. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4233. } else if (e.data.tools && e.data.tools == "3teacher") {
  4234. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4235. } else if (e.data.tools && e.data.tools == "7teacher") {
  4236. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4237. } else if (e.data.tools && e.data.tools == "1teacherE") {
  4238. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4239. } else if (e.data.tools && e.data.tools == "3teacherE") {
  4240. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4241. } else if (e.data.tools && e.data.tools == "1E") {
  4242. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4243. } else if (e.data.tools && e.data.tools == "3E") {
  4244. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4245. } else if (e.data.tools && e.data.tools == "57y") {
  4246. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4247. } else if (e.data.tools && e.data.tools == "57u") {
  4248. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4249. } else if (e.data.tools && e.data.tools == "57teacher") {
  4250. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4251. } else if (e.data.tools && e.data.tools == "64") {
  4252. U.MD.D.I.openApplication("AIChat")
  4253. } else if (e.data.tools && e.data.tools == "66") {
  4254. U.MD.D.I.openApplication("formulaEdi")
  4255. } else if (e.data.tools && e.data.tools == "67") {
  4256. U.MD.D.I.openApplication("molStr")
  4257. } else if (e.data.tools && e.data.tools == "68") {
  4258. U.MD.D.I.openApplication("timeAxis")
  4259. } else if (e.data.tools && e.data.tools == "openCourse") {
  4260. let _data = {
  4261. typea: e.data.typea || '',
  4262. typeb: e.data.typeb || '',
  4263. typed: e.data.typed || '',
  4264. }
  4265. U.MD.D.I.openInApplication("index", _data)
  4266. } else if (e.data.tools && e.data.tools == "openDataClass") {
  4267. let _data = {
  4268. classid: e.data.classid || '',
  4269. }
  4270. U.MD.D.I.openInApplication("dataClass", _data)
  4271. } else if (e.data.tools && e.data.tools == "opencCscl") {
  4272. let _data = {
  4273. cid: e.data.cid || '',
  4274. gid: e.data.gid || '',
  4275. }
  4276. U.MD.D.I.openInApplication("opencCscl", _data)
  4277. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  4278. U.MD.D.I.openApplication("dataBoardTest")
  4279. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  4280. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  4281. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  4282. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  4283. }else if (e.data.tools && e.data.tools == "openCourseAiUpdate") {
  4284. U.MD.D.I.openInApplication("openCourseAiUpdate", e.data.cid)
  4285. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  4286. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  4287. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  4288. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  4289. }else if (e.data.tools && e.data.tools == "loginSz") {
  4290. U.MD.D.I.openInApplication("loginSz")
  4291. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  4292. if($('#classroom_observation_board')[0]){
  4293. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  4294. }
  4295. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  4296. }else if (e.data.tools && e.data.tools == "classroom_observation_ob_comment"){
  4297. if($('#classroom_observation_ob_comment')[0]){
  4298. $('#classroom_observation_ob_comment iframe')[0].contentDocument.location.reload()
  4299. }
  4300. U.MD.D.I.openInApplication("classroom_observation_ob_comment", e.data.type)
  4301. }
  4302. });
  4303. U.MD.D.I.selectUser = function () {
  4304. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  4305. if (res.value[0].length > 0) {
  4306. US.userInfo = res.value[0][0];
  4307. $(".userName")[0].innerHTML = US.userInfo.username;
  4308. }
  4309. }, [], { "type": "GET", "withCredentials": true });
  4310. }
  4311. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  4312. var _userinfo = US.userInfo, //登錄用戶信息
  4313. _userid = US.userInfo.userid, //登錄用戶id
  4314. _oid = _userinfo.organizeid,
  4315. _type = US.userInfo.type,
  4316. _org = US.userInfo.org,
  4317. _role = US.userInfo.role,
  4318. _classId = US.userInfo.classid;
  4319. if (_type == 4) {
  4320. tType = 4
  4321. }
  4322. switch (str) {
  4323. case "studyDetailNT": //無終端模式
  4324. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4325. setTimeout(() => {
  4326. U.MD.U.L.login();
  4327. }, 2000);
  4328. } else {
  4329. _formdiv = new U.UF.UI.form(
  4330. "課程詳情",
  4331. $$("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 }), {
  4332. "id": "studyDetailNT",
  4333. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4334. "onresize": function () { }
  4335. }, {
  4336. closecallback: function () { }
  4337. }, { "style": { "height": "36px" } }).form; //創建窗體
  4338. _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); } }
  4339. break;
  4340. }
  4341. case "studyDetail":
  4342. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4343. setTimeout(() => {
  4344. U.MD.U.L.login();
  4345. }, 2000);
  4346. } else {
  4347. _formdiv = new U.UF.UI.form(
  4348. "課程詳情",
  4349. $$("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 }), {
  4350. "id": "studyDetail",
  4351. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4352. "onresize": function () { }
  4353. }, {
  4354. closecallback: function () { }
  4355. }, { "style": { "height": "36px" } }).form; //創建窗體
  4356. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4357. break;
  4358. }
  4359. case "studyDetailTrain":
  4360. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4361. setTimeout(() => {
  4362. U.MD.U.L.login();
  4363. }, 2000);
  4364. } else {
  4365. _formdiv = new U.UF.UI.form(
  4366. "培訓詳情",
  4367. $$("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 }), {
  4368. "id": "studyDetailTrain",
  4369. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4370. "onresize": function () { }
  4371. }, {
  4372. closecallback: function () { }
  4373. }, { "style": { "height": "36px" } }).form; //創建窗體
  4374. _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); } }
  4375. break;
  4376. }
  4377. case "studyDetailS":
  4378. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4379. setTimeout(() => {
  4380. U.MD.U.L.login();
  4381. }, 2000);
  4382. } else {
  4383. _formdiv = new U.UF.UI.form(
  4384. "項目詳情",
  4385. $$("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 }), {
  4386. "id": "studyDetailS",
  4387. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4388. "onresize": function () { }
  4389. }, {
  4390. closecallback: function () { }
  4391. }, { "style": { "height": "36px" } }).form; //創建窗體
  4392. _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); } }
  4393. break;
  4394. }
  4395. case "studyDetailStudio":
  4396. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4397. setTimeout(() => {
  4398. U.MD.U.L.login();
  4399. }, 2000);
  4400. } else {
  4401. _formdiv = new U.UF.UI.form(
  4402. "工作詳情",
  4403. $$("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 }), {
  4404. "id": "studyDetailStudio",
  4405. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4406. "onresize": function () { }
  4407. }, {
  4408. closecallback: function () { }
  4409. }, { "style": { "height": "36px" } }).form; //創建窗體
  4410. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作詳情", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4411. break;
  4412. }
  4413. case "studyDetailS5":
  4414. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4415. setTimeout(() => {
  4416. U.MD.U.L.login();
  4417. }, 2000);
  4418. } else {
  4419. _formdiv = new U.UF.UI.form(
  4420. "項目詳情",
  4421. $$("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 }), {
  4422. "id": "studyDetailS",
  4423. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4424. "onresize": function () { }
  4425. }, {
  4426. closecallback: function () { }
  4427. }, { "style": { "height": "36px" } }).form; //創建窗體
  4428. _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); } }
  4429. break;
  4430. }
  4431. case "studyDetailGM":
  4432. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4433. setTimeout(() => {
  4434. U.MD.U.L.login();
  4435. }, 2000);
  4436. } else {
  4437. _formdiv = new U.UF.UI.form(
  4438. "課程詳情",
  4439. $$("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 }), {
  4440. "id": "studyDetail",
  4441. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4442. "onresize": function () { }
  4443. }, {
  4444. closecallback: function () { }
  4445. }, { "style": { "height": "36px" } }).form; //創建窗體
  4446. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4447. break;
  4448. }
  4449. case "hanUrl":
  4450. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4451. setTimeout(() => {
  4452. U.MD.U.L.login();
  4453. }, 2000);
  4454. } else {
  4455. _formdiv = new U.UF.UI.form(
  4456. "漢字宮",
  4457. $$("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" }), {
  4458. "id": "hanUrl",
  4459. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4460. "onresize": function () { }
  4461. }, {
  4462. closecallback: function () { }
  4463. }, { "style": { "height": "36px" } }).form; //創建窗體
  4464. _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); } }
  4465. break;
  4466. }
  4467. case "index":
  4468. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4469. setTimeout(() => {
  4470. U.MD.U.L.login();
  4471. }, 2000);
  4472. } else {
  4473. _formdiv = new U.UF.UI.form(
  4474. "課程中心",
  4475. $$("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 }), {
  4476. "id": "study",
  4477. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4478. "onresize": function () { }
  4479. }, {
  4480. closecallback: function () { }
  4481. }, { "style": { "height": "36px" } }).form; //創建窗體
  4482. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4483. break;
  4484. }
  4485. case "dataClass":
  4486. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4487. setTimeout(() => {
  4488. U.MD.U.L.login();
  4489. }, 2000);
  4490. } else {
  4491. _formdiv = new U.UF.UI.form(
  4492. "數據報告",
  4493. $$("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 }), {
  4494. "id": "dataClass",
  4495. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4496. "onresize": function () { }
  4497. }, {
  4498. closecallback: function () { }
  4499. }, { "style": { "height": "36px" } }).form; //創建窗體
  4500. _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); } }
  4501. break;
  4502. }
  4503. case "opencCscl":
  4504. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4505. setTimeout(() => {
  4506. U.MD.U.L.login();
  4507. }, 2000);
  4508. } else {
  4509. _formdiv = new U.UF.UI.form(
  4510. "協同建構",
  4511. $$("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 }), {
  4512. "id": "futureClass",
  4513. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4514. "onresize": function () { }
  4515. }, {
  4516. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  4517. }, { "style": { "height": "36px" } }).form; //創建窗體
  4518. _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); } }
  4519. break;
  4520. }
  4521. case "openCourseUpdate":
  4522. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4523. setTimeout(() => {
  4524. U.MD.U.L.login();
  4525. }, 2000);
  4526. } else {
  4527. _formdiv = new U.UF.UI.form(
  4528. "課程管理",
  4529. $$("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 }), {
  4530. "id": "openCourseUpdate",
  4531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4532. "onresize": function () { }
  4533. }, {
  4534. closecallback: function () { }
  4535. }, { "style": { "height": "36px" } }).form; //創建窗體
  4536. break;
  4537. }
  4538. case "openNewCourseUpdate":
  4539. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4540. setTimeout(() => {
  4541. U.MD.U.L.login();
  4542. }, 2000);
  4543. } else {
  4544. _formdiv = new U.UF.UI.form(
  4545. "課程管理",
  4546. $$("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 }), {
  4547. "id": "openCourseUpdate",
  4548. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4549. "onresize": function () { }
  4550. }, {
  4551. closecallback: function () { }
  4552. }, { "style": { "height": "36px" } }).form; //創建窗體
  4553. break;
  4554. }
  4555. case "openCourseEUpdate":
  4556. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4557. setTimeout(() => {
  4558. U.MD.U.L.login();
  4559. }, 2000);
  4560. } else {
  4561. _formdiv = new U.UF.UI.form(
  4562. "課程管理",
  4563. $$("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 }), {
  4564. "id": "openCourseUpdate",
  4565. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4566. "onresize": function () { }
  4567. }, {
  4568. closecallback: function () { }
  4569. }, { "style": { "height": "36px" } }).form; //創建窗體
  4570. break;
  4571. }
  4572. case "openCourseAiUpdate":
  4573. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4574. setTimeout(() => {
  4575. U.MD.U.L.login();
  4576. }, 2000);
  4577. } else {
  4578. _formdiv = new U.UF.UI.form(
  4579. "課程管理",
  4580. $$("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 }), {
  4581. "id": "openCourseUpdate",
  4582. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4583. "onresize": function () { }
  4584. }, {
  4585. closecallback: function () { }
  4586. }, { "style": { "height": "36px" } }).form; //創建窗體
  4587. break;
  4588. }
  4589. case "openCourseNewUpdate":
  4590. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4591. setTimeout(() => {
  4592. U.MD.U.L.login();
  4593. }, 2000);
  4594. } else {
  4595. _formdiv = new U.UF.UI.form(
  4596. "課程管理",
  4597. $$("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 }), {
  4598. "id": "openCourseUpdate",
  4599. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4600. "onresize": function () { }
  4601. }, {
  4602. closecallback: function () { }
  4603. }, { "style": { "height": "36px" } }).form; //創建窗體
  4604. break;
  4605. }
  4606. case "inviteLoginSz":
  4607. _formdiv = new U.UF.UI.form(
  4608. "隨機碼登錄",
  4609. $$("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 }), {
  4610. "id": "loginSz",
  4611. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4612. "onresize": function () { }
  4613. }, {
  4614. closecallback: function () { }
  4615. }, { "style": { "height": "36px" } }).form; //創建窗體
  4616. break;
  4617. case "loginSz":
  4618. _formdiv = new U.UF.UI.form(
  4619. "教師登錄",
  4620. $$("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" }), {
  4621. "id": "loginSz",
  4622. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4623. "onresize": function () { }
  4624. }, {
  4625. closecallback: function () { }
  4626. }, { "style": { "height": "36px" } }).form; //創建窗體
  4627. break;
  4628. case "teacher":
  4629. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4630. setTimeout(() => {
  4631. U.MD.U.L.login();
  4632. }, 2000);
  4633. } else {
  4634. _formdiv = new U.UF.UI.form(
  4635. "教師管理",
  4636. $$("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 }), {
  4637. "id": "teacher",
  4638. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4639. "onresize": function () { }
  4640. }, {
  4641. closecallback: function () { }
  4642. }, { "style": { "height": "36px" } }).form; //創建窗體
  4643. break;
  4644. }
  4645. case "dataBoardSZArea":
  4646. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4647. setTimeout(() => {
  4648. U.MD.U.L.login();
  4649. }, 2000);
  4650. } else {
  4651. _formdiv = new U.UF.UI.form(
  4652. "綜合數據看板",
  4653. $$("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 }), {
  4654. "id": "dataBoardSZArea",
  4655. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4656. "onresize": function () { }
  4657. }, {
  4658. closecallback: function () { }
  4659. }, { "style": { "height": "36px" } }).form; //創建窗體
  4660. break;
  4661. }
  4662. case "dataBoardSZCity":
  4663. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4664. setTimeout(() => {
  4665. U.MD.U.L.login();
  4666. }, 2000);
  4667. } else {
  4668. _formdiv = new U.UF.UI.form(
  4669. "綜合數據看板",
  4670. $$("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 }), {
  4671. "id": "dataBoardSZCity",
  4672. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4673. "onresize": function () { }
  4674. }, {
  4675. closecallback: function () { }
  4676. }, { "style": { "height": "36px" } }).form; //創建窗體
  4677. break;
  4678. }
  4679. case "classroom_observation_board":
  4680. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4681. setTimeout(() => {
  4682. U.MD.U.L.login();
  4683. }, 2000);
  4684. } else {
  4685. _formdiv = new U.UF.UI.form(
  4686. "課堂觀察",
  4687. $$("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 }), {
  4688. "id": "classroom_observation_board",
  4689. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4690. "onresize": function () { }
  4691. }, {
  4692. closecallback: function () { }
  4693. }, { "style": { "height": "36px" } }).form; //創建窗體
  4694. break;
  4695. }
  4696. case "classroom_observation_ob_comment":
  4697. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4698. setTimeout(() => {
  4699. U.MD.U.L.login();
  4700. }, 2000);
  4701. } else {
  4702. _formdiv = new U.UF.UI.form(
  4703. "課堂審核",
  4704. $$("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 }), {
  4705. "id": "classroom_observation_ob_comment",
  4706. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4707. "onresize": function () { }
  4708. }, {
  4709. closecallback: function () { }
  4710. }, { "style": { "height": "36px" } }).form; //創建窗體
  4711. break;
  4712. }
  4713. }
  4714. }
  4715. U.MD.D.I.openApplication = function (str, obj, info) {
  4716. obj = obj || {};
  4717. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  4718. _formdiv, //創建任務欄時同時彈出的窗體元素。
  4719. _userinfo = US.userInfo, //登錄用戶信息
  4720. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  4721. _oid = obj.organizeid || _userinfo.organizeid,
  4722. _type = US.userInfo.type,
  4723. _org = US.userInfo.org,
  4724. _role = US.userInfo.role,
  4725. _classId = US.userInfo.classid,
  4726. _TscreenType = 1
  4727. _screenType = 2,
  4728. _SscreenType = 3;
  4729. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  4730. return;
  4731. }
  4732. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4733. switch (str) {
  4734. case "studnetProject": //好友打開
  4735. _formdiv = new U.UF.UI.form(
  4736. "我的項目",
  4737. $$("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 }), {
  4738. "id": "studnetProject",
  4739. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4740. "onresize": function () { }
  4741. }, {
  4742. closecallback: function () { }
  4743. }, { "style": { "height": "36px" } }).form; //創建窗體
  4744. _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); } }
  4745. break;
  4746. case "studentEvaluate": //好友打開
  4747. _formdiv = new U.UF.UI.form(
  4748. "我的評價",
  4749. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4750. "id": "studentEvaluate",
  4751. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4752. "onresize": function () { }
  4753. }, {
  4754. closecallback: function () { }
  4755. }, { "style": { "height": "36px" } }).form; //創建窗體
  4756. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4757. break;
  4758. case "my":
  4759. _formdiv = new U.UF.UI.form(
  4760. "我的資料",
  4761. $$("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 }), {
  4762. "id": "my",
  4763. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4764. "onresize": function () { }
  4765. }, {
  4766. closecallback: function () { }
  4767. }, { "style": { "height": "36px" } }).form; //創建窗體
  4768. _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); } }
  4769. break;
  4770. case "program":
  4771. _formdiv = new U.UF.UI.form(
  4772. "編程平臺",
  4773. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4774. "id": "program",
  4775. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4776. "onresize": function () { }
  4777. }, {
  4778. closecallback: function () { }
  4779. }, { "style": { "height": "36px" } }).form; //創建窗體
  4780. _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); } }
  4781. break;
  4782. case "library":
  4783. _formdiv = new U.UF.UI.form(
  4784. "素材庫",
  4785. $$("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 }), {
  4786. "id": "library",
  4787. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4788. "onresize": function () { }
  4789. }, {
  4790. closecallback: function () { }
  4791. }, { "style": { "height": "36px" } }).form; //創建窗體
  4792. _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); } }
  4793. break;
  4794. case "whiteboard":
  4795. _formdiv = new U.UF.UI.form(
  4796. "電子白板",
  4797. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4798. "id": "whiteboard",
  4799. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4800. "onresize": function () { }
  4801. }, {
  4802. closecallback: function () { }
  4803. }, { "style": { "height": "36px" } }).form; //創建窗體
  4804. _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); } }
  4805. break;
  4806. case "investigation":
  4807. _formdiv = new U.UF.UI.form(
  4808. "問卷調查",
  4809. $$("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 }), {
  4810. "id": "investigation",
  4811. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4812. "onresize": function () { }
  4813. }, {
  4814. closecallback: function () { }
  4815. }, { "style": { "height": "36px" } }).form; //創建窗體
  4816. _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); } }
  4817. break;
  4818. case "note":
  4819. _formdiv = new U.UF.UI.form(
  4820. "便簽分類",
  4821. $$("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 }), {
  4822. "id": "note",
  4823. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4824. "onresize": function () { }
  4825. }, {
  4826. closecallback: function () { }
  4827. }, { "style": { "height": "36px" } }).form; //創建窗體
  4828. _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); } }
  4829. break;
  4830. // case "score":
  4831. // _formdiv = new U.UF.UI.form(
  4832. // "量規評分",
  4833. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4834. // "id": "score",
  4835. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4836. // "onresize": function() {}
  4837. // }, {
  4838. // closecallback: function() {}
  4839. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4840. // _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); } }
  4841. // break;
  4842. case "mind":
  4843. _formdiv = new U.UF.UI.form(
  4844. "思維導圖",
  4845. $$("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"
  4846. "id": "mind",
  4847. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4848. "onresize": function () { }
  4849. }, {
  4850. closecallback: function () { }
  4851. }, { "style": { "height": "36px" } }).form; //創建窗體
  4852. _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); } }
  4853. break;
  4854. case "doc":
  4855. // U.MD.D.I.isRoom();
  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": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  4859. "id": "doc",
  4860. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4861. "onresize": function () { }
  4862. }, {
  4863. closecallback: function () { }
  4864. }, { "style": { "height": "36px" } }).form; //創建窗體
  4865. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4866. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4867. // })
  4868. _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); } }
  4869. break;
  4870. case "studentStudy":
  4871. _formdiv = new U.UF.UI.form(
  4872. "課程中心",
  4873. $$("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
  4874. "id": "studentStudy",
  4875. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4876. "onresize": function () { }
  4877. }, {
  4878. closecallback: function () { }
  4879. }, { "style": { "height": "36px" } }).form; //創建窗體
  4880. _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); } }
  4881. break;
  4882. case "train": //好友打開
  4883. _formdiv = new U.UF.UI.form(
  4884. "訓練平臺",
  4885. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4886. "id": "train",
  4887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4888. "onresize": function () { }
  4889. }, {
  4890. closecallback: function () { }
  4891. }, { "style": { "height": "36px" } }).form; //創建窗體
  4892. _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); } }
  4893. break;
  4894. case "mindNetwork": //好友打開
  4895. _formdiv = new U.UF.UI.form(
  4896. "思維網格",
  4897. $$("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 }), {
  4898. "id": "mindNetwork",
  4899. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4900. "onresize": function () { }
  4901. }, {
  4902. closecallback: function () { }
  4903. }, { "style": { "height": "36px" } }).form; //創建窗體
  4904. _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); } }
  4905. break;
  4906. case "studentClassRoom": //好友打開
  4907. _formdiv = new U.UF.UI.form(
  4908. "實時課堂",
  4909. $$("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 }), {
  4910. "id": "studentClassRoom",
  4911. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4912. "onresize": function () { }
  4913. }, {
  4914. closecallback: function () { }
  4915. }, { "style": { "height": "36px" } }).form; //創建窗體
  4916. _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); } }
  4917. setTimeout(() => {
  4918. U.UF.F.windowZooming(_formdiv)
  4919. }, 0);
  4920. break;
  4921. }
  4922. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4923. switch (str) {
  4924. case "studnetProject": //好友打開
  4925. _formdiv = new U.UF.UI.form(
  4926. "我的項目",
  4927. $$("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 }), {
  4928. "id": "studnetProject",
  4929. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4930. "onresize": function () { }
  4931. }, {
  4932. closecallback: function () { }
  4933. }, { "style": { "height": "36px" } }).form; //創建窗體
  4934. _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); } }
  4935. break;
  4936. case "studentEvaluate": //好友打開
  4937. _formdiv = new U.UF.UI.form(
  4938. "我的評價",
  4939. $$("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 }), {
  4940. "id": "studentEvaluate",
  4941. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4942. "onresize": function () { }
  4943. }, {
  4944. closecallback: function () { }
  4945. }, { "style": { "height": "36px" } }).form; //創建窗體
  4946. _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); } }
  4947. break;
  4948. case "my":
  4949. _formdiv = new U.UF.UI.form(
  4950. "我的資料",
  4951. $$("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 }), {
  4952. "id": "my",
  4953. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4954. "onresize": function () { }
  4955. }, {
  4956. closecallback: function () { }
  4957. }, { "style": { "height": "36px" } }).form; //創建窗體
  4958. _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); } }
  4959. break;
  4960. case "program":
  4961. _formdiv = new U.UF.UI.form(
  4962. "編程平臺",
  4963. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4964. "id": "program",
  4965. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4966. "onresize": function () { }
  4967. }, {
  4968. closecallback: function () { }
  4969. }, { "style": { "height": "36px" } }).form; //創建窗體
  4970. _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); } }
  4971. break;
  4972. case "library":
  4973. _formdiv = new U.UF.UI.form(
  4974. "素材庫",
  4975. $$("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 }), {
  4976. "id": "library",
  4977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4978. "onresize": function () { }
  4979. }, {
  4980. closecallback: function () { }
  4981. }, { "style": { "height": "36px" } }).form; //創建窗體
  4982. _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); } }
  4983. break;
  4984. case "whiteboard":
  4985. _formdiv = new U.UF.UI.form(
  4986. "電子白板",
  4987. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4988. "id": "whiteboard",
  4989. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4990. "onresize": function () { }
  4991. }, {
  4992. closecallback: function () { }
  4993. }, { "style": { "height": "36px" } }).form; //創建窗體
  4994. _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); } }
  4995. break;
  4996. case "investigation":
  4997. _formdiv = new U.UF.UI.form(
  4998. "問卷調查",
  4999. $$("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 }), {
  5000. "id": "investigation",
  5001. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5002. "onresize": function () { }
  5003. }, {
  5004. closecallback: function () { }
  5005. }, { "style": { "height": "36px" } }).form; //創建窗體
  5006. _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); } }
  5007. break;
  5008. case "note":
  5009. _formdiv = new U.UF.UI.form(
  5010. "便簽分類",
  5011. $$("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 }), {
  5012. "id": "note",
  5013. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  5014. "onresize": function () { }
  5015. }, {
  5016. closecallback: function () { }
  5017. }, { "style": { "height": "36px" } }).form; //創建窗體
  5018. _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); } }
  5019. break;
  5020. // case "score":
  5021. // _formdiv = new U.UF.UI.form(
  5022. // "量規評分",
  5023. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  5024. // "id": "score",
  5025. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5026. // "onresize": function() {}
  5027. // }, {
  5028. // closecallback: function() {}
  5029. // }, { "style": { "height": "36px" } }).form; //創建窗體
  5030. // _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); } }
  5031. // break;
  5032. case "mind":
  5033. _formdiv = new U.UF.UI.form(
  5034. "思維導圖",
  5035. $$("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"
  5036. "id": "mind",
  5037. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5038. "onresize": function () { }
  5039. }, {
  5040. closecallback: function () { }
  5041. }, { "style": { "height": "36px" } }).form; //創建窗體
  5042. _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); } }
  5043. break;
  5044. case "doc":
  5045. // U.MD.D.I.isRoom();
  5046. _formdiv = new U.UF.UI.form(
  5047. "協同文檔",
  5048. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  5049. "id": "doc",
  5050. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5051. "onresize": function () { }
  5052. }, {
  5053. closecallback: function () { }
  5054. }, { "style": { "height": "36px" } }).form; //創建窗體
  5055. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5056. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  5057. })
  5058. _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); } }
  5059. break;
  5060. case "train": //好友打開
  5061. _formdiv = new U.UF.UI.form(
  5062. "訓練平臺",
  5063. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  5064. "id": "train",
  5065. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5066. "onresize": function () { }
  5067. }, {
  5068. closecallback: function () { }
  5069. }, { "style": { "height": "36px" } }).form; //創建窗體
  5070. _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); } }
  5071. break;
  5072. case "studentStudy":
  5073. _formdiv = new U.UF.UI.form(
  5074. "課程中心",
  5075. $$("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
  5076. "id": "studentStudy",
  5077. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5078. "onresize": function () { }
  5079. }, {
  5080. closecallback: function () { }
  5081. }, { "style": { "height": "36px" } }).form; //創建窗體
  5082. _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); } }
  5083. break;
  5084. case "mindNetwork": //好友打開
  5085. _formdiv = new U.UF.UI.form(
  5086. "思維網格",
  5087. $$("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 }), {
  5088. "id": "mindNetwork",
  5089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5090. "onresize": function () { }
  5091. }, {
  5092. closecallback: function () { }
  5093. }, { "style": { "height": "36px" } }).form; //創建窗體
  5094. _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); } }
  5095. break;
  5096. case "studentClassRoom": //好友打開
  5097. _formdiv = new U.UF.UI.form(
  5098. "實時課堂",
  5099. $$("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 }), {
  5100. "id": "studentClassRoom",
  5101. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5102. "onresize": function () { }
  5103. }, {
  5104. closecallback: function () { }
  5105. }, { "style": { "height": "36px" } }).form; //創建窗體
  5106. _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); } }
  5107. setTimeout(() => {
  5108. U.UF.F.windowZooming(_formdiv)
  5109. }, 0);
  5110. break;
  5111. }
  5112. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  5113. //選擇應用處理
  5114. switch (str) {
  5115. case "project": //好友打開
  5116. _formdiv = new U.UF.UI.form(
  5117. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  5118. $$("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 }), {
  5119. "id": "project",
  5120. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5121. "onresize": function () { }
  5122. }, {
  5123. closecallback: function () { }
  5124. }, { "style": { "height": "36px" } }).form; //創建窗體
  5125. _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); } }
  5126. break;
  5127. case "student":
  5128. _formdiv = new U.UF.UI.form(
  5129. "學生管理",
  5130. $$("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 }), {
  5131. "id": "student",
  5132. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5133. "onresize": function () { }
  5134. }, {
  5135. closecallback: function () { }
  5136. }, { "style": { "height": "36px" } }).form; //創建窗體
  5137. _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); } }
  5138. break;
  5139. case "evaluate":
  5140. _formdiv = new U.UF.UI.form(
  5141. "學生評價",
  5142. $$("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 }), {
  5143. "id": "evaluate",
  5144. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5145. "onresize": function () { }
  5146. }, {
  5147. closecallback: function () { }
  5148. }, { "style": { "height": "36px" } }).form; //創建窗體
  5149. _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); } }
  5150. break;
  5151. case "sys":
  5152. _formdiv = new U.UF.UI.form(
  5153. "目標管理",
  5154. $$("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 }), {
  5155. "id": "sys",
  5156. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5157. "onresize": function () { }
  5158. }, {
  5159. closecallback: function () { }
  5160. }, { "style": { "height": "36px" } }).form; //創建窗體
  5161. _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); } }
  5162. break;
  5163. case "courseDesign":
  5164. _formdiv = new U.UF.UI.form(
  5165. "項目設計",
  5166. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  5167. "id": "courseDesign",
  5168. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5169. "onresize": function () { }
  5170. }, {
  5171. closecallback: function () { }
  5172. }, { "style": { "height": "36px" } }).form; //創建窗體
  5173. _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); } }
  5174. break;
  5175. case "program":
  5176. _formdiv = new U.UF.UI.form(
  5177. "編程平臺",
  5178. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  5179. "id": "program",
  5180. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5181. "onresize": function () { }
  5182. }, {
  5183. closecallback: function () { }
  5184. }, { "style": { "height": "36px" } }).form; //創建窗體
  5185. _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); } }
  5186. break;
  5187. case "class":
  5188. _formdiv = new U.UF.UI.form(
  5189. "班級管理",
  5190. $$("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 }), {
  5191. "id": "class",
  5192. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5193. "onresize": function () { }
  5194. }, {
  5195. closecallback: function () { }
  5196. }, { "style": { "height": "36px" } }).form; //創建窗體
  5197. _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); } }
  5198. break;
  5199. case "Grade":
  5200. _formdiv = new U.UF.UI.form(
  5201. "年級管理",
  5202. $$("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 }), {
  5203. "id": "Grade",
  5204. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5205. "onresize": function () { }
  5206. }, {
  5207. closecallback: function () { }
  5208. }, { "style": { "height": "36px" } }).form; //創建窗體
  5209. _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); } }
  5210. break;
  5211. case "teacherOffice":
  5212. _formdiv = new U.UF.UI.form(
  5213. "教研室",
  5214. $$("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 }), {
  5215. "id": "teacherOffice",
  5216. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5217. "onresize": function () { }
  5218. }, {
  5219. closecallback: function () { }
  5220. }, { "style": { "height": "36px" } }).form; //創建窗體
  5221. _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); } }
  5222. break;
  5223. case "my":
  5224. _formdiv = new U.UF.UI.form(
  5225. "我的資料",
  5226. $$("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 }), {
  5227. "id": "my",
  5228. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5229. "onresize": function () { }
  5230. }, {
  5231. closecallback: function () { }
  5232. }, { "style": { "height": "36px" } }).form; //創建窗體
  5233. _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); } }
  5234. break;
  5235. case "notice":
  5236. _formdiv = new U.UF.UI.form(
  5237. "通知公告",
  5238. $$("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 }), {
  5239. "id": "notice",
  5240. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5241. "onresize": function () { }
  5242. }, {
  5243. closecallback: function () { }
  5244. }, { "style": { "height": "36px" } }).form; //創建窗體
  5245. _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); } }
  5246. break;
  5247. case "library":
  5248. _formdiv = new U.UF.UI.form(
  5249. "素材庫",
  5250. $$("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 }), {
  5251. "id": "library",
  5252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5253. "onresize": function () { }
  5254. }, {
  5255. closecallback: function () { }
  5256. }, { "style": { "height": "36px" } }).form; //創建窗體
  5257. _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); } }
  5258. break;
  5259. case "whiteboard":
  5260. _formdiv = new U.UF.UI.form(
  5261. "電子白板",
  5262. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  5263. "id": "whiteboard",
  5264. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5265. "onresize": function () { }
  5266. }, {
  5267. closecallback: function () { }
  5268. }, { "style": { "height": "36px" } }).form; //創建窗體
  5269. _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); } }
  5270. break;
  5271. case "investigation":
  5272. _formdiv = new U.UF.UI.form(
  5273. "問卷調查",
  5274. $$("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 }), {
  5275. "id": "investigation",
  5276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5277. "onresize": function () { }
  5278. }, {
  5279. closecallback: function () { }
  5280. }, { "style": { "height": "36px" } }).form; //創建窗體
  5281. _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); } }
  5282. break;
  5283. case "note":
  5284. _formdiv = new U.UF.UI.form(
  5285. "便簽分類",
  5286. $$("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 }), {
  5287. "id": "note",
  5288. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  5289. "onresize": function () { }
  5290. }, {
  5291. closecallback: function () { }
  5292. }, { "style": { "height": "36px" } }).form; //創建窗體
  5293. _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); } }
  5294. break;
  5295. // case "score":
  5296. // _formdiv = new U.UF.UI.form(
  5297. // "量規評分",
  5298. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  5299. // "id": "score",
  5300. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5301. // "onresize": function() {}
  5302. // }, {
  5303. // closecallback: function() {}
  5304. // }, { "style": { "height": "36px" } }).form; //創建窗體
  5305. // _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); } }
  5306. // break;
  5307. case "mind":
  5308. _formdiv = new U.UF.UI.form(
  5309. "思維導圖",
  5310. $$("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"
  5311. "id": "mind",
  5312. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5313. "onresize": function () { }
  5314. }, {
  5315. closecallback: function () { }
  5316. }, { "style": { "height": "36px" } }).form; //創建窗體
  5317. _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); } }
  5318. break;
  5319. case "doc":
  5320. // U.MD.D.I.isRoom();
  5321. _formdiv = new U.UF.UI.form(
  5322. "協同文檔",
  5323. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  5324. "id": "doc",
  5325. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5326. "onresize": function () { }
  5327. }, {
  5328. closecallback: function () { }
  5329. }, { "style": { "height": "36px" } }).form; //創建窗體
  5330. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5331. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  5332. })
  5333. _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); } }
  5334. break;
  5335. case "study":
  5336. _formdiv = new U.UF.UI.form(
  5337. "課程中心",
  5338. $$("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
  5339. "id": "study",
  5340. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5341. "onresize": function () { }
  5342. }, {
  5343. closecallback: function () { }
  5344. }, { "style": { "height": "36px" } }).form; //創建窗體
  5345. _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); } }
  5346. break;
  5347. case "mindNetwork": //好友打開
  5348. _formdiv = new U.UF.UI.form(
  5349. "思維網格",
  5350. $$("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 }), {
  5351. "id": "mindNetwork",
  5352. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5353. "onresize": function () { }
  5354. }, {
  5355. closecallback: function () { }
  5356. }, { "style": { "height": "36px" } }).form; //創建窗體
  5357. _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); } }
  5358. break;
  5359. case "train": //好友打開
  5360. _formdiv = new U.UF.UI.form(
  5361. "訓練平臺",
  5362. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  5363. "id": "mindNetwork",
  5364. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5365. "onresize": function () { }
  5366. }, {
  5367. closecallback: function () { }
  5368. }, { "style": { "height": "36px" } }).form; //創建窗體
  5369. _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); } }
  5370. break;
  5371. case "teacherClassRoom": //好友打開
  5372. _formdiv = new U.UF.UI.form(
  5373. "實時課堂",
  5374. $$("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 }), {
  5375. "id": "teacherClassRoom",
  5376. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5377. "onresize": function () { }
  5378. }, {
  5379. closecallback: function () { }
  5380. }, { "style": { "height": "36px" } }).form; //創建窗體
  5381. _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); } }
  5382. setTimeout(() => {
  5383. U.UF.F.windowZooming(_formdiv)
  5384. }, 0);
  5385. break;
  5386. }
  5387. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  5388. switch (str) {
  5389. case "project": //好友打開
  5390. _formdiv = new U.UF.UI.form(
  5391. "課程管理",
  5392. $$("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 }), {
  5393. "id": "project",
  5394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5395. "onresize": function () { }
  5396. }, {
  5397. closecallback: function () { }
  5398. }, { "style": { "height": "36px" } }).form; //創建窗體
  5399. _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); } }
  5400. break;
  5401. case "evaluate":
  5402. _formdiv = new U.UF.UI.form(
  5403. "學生評價",
  5404. $$("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 }), {
  5405. "id": "evaluate",
  5406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5407. "onresize": function () { }
  5408. }, {
  5409. closecallback: function () { }
  5410. }, { "style": { "height": "36px" } }).form; //創建窗體
  5411. _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); } }
  5412. break;
  5413. case "notice":
  5414. _formdiv = new U.UF.UI.form(
  5415. "通知公告",
  5416. $$("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 }), {
  5417. "id": "notice",
  5418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5419. "onresize": function () { }
  5420. }, {
  5421. closecallback: function () { }
  5422. }, { "style": { "height": "36px" } }).form; //創建窗體
  5423. _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); } }
  5424. break;
  5425. case "stuLibrary":
  5426. _formdiv = new U.UF.UI.form(
  5427. "學習資料",
  5428. $$("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 }), {
  5429. "id": "stuLibrary",
  5430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5431. "onresize": function () { }
  5432. }, {
  5433. closecallback: function () { }
  5434. }, { "style": { "height": "36px" } }).form; //創建窗體
  5435. _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); } }
  5436. break;
  5437. case "program":
  5438. _formdiv = new U.UF.UI.form(
  5439. "編程平臺",
  5440. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  5441. "id": "program",
  5442. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5443. "onresize": function () { }
  5444. }, {
  5445. closecallback: function () { }
  5446. }, { "style": { "height": "36px" } }).form; //創建窗體
  5447. _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); } }
  5448. break;
  5449. case "whiteboard":
  5450. _formdiv = new U.UF.UI.form(
  5451. "電子白板",
  5452. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  5453. "id": "whiteboard",
  5454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5455. "onresize": function () { }
  5456. }, {
  5457. closecallback: function () { }
  5458. }, { "style": { "height": "36px" } }).form; //創建窗體
  5459. _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); } }
  5460. break;
  5461. case "investigation":
  5462. _formdiv = new U.UF.UI.form(
  5463. "問卷調查",
  5464. $$("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 }), {
  5465. "id": "investigation",
  5466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5467. "onresize": function () { }
  5468. }, {
  5469. closecallback: function () { }
  5470. }, { "style": { "height": "36px" } }).form; //創建窗體
  5471. _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); } }
  5472. break;
  5473. case "mind":
  5474. _formdiv = new U.UF.UI.form(
  5475. "思維導圖",
  5476. $$("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"
  5477. "id": "mind",
  5478. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5479. "onresize": function () { }
  5480. }, {
  5481. closecallback: function () { }
  5482. }, { "style": { "height": "36px" } }).form; //創建窗體
  5483. _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); } }
  5484. break;
  5485. case "doc":
  5486. // U.MD.D.I.isRoom();
  5487. _formdiv = new U.UF.UI.form(
  5488. "協同文檔",
  5489. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  5490. "id": "doc",
  5491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5492. "onresize": function () { }
  5493. }, {
  5494. closecallback: function () { }
  5495. }, { "style": { "height": "36px" } }).form; //創建窗體
  5496. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5497. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  5498. })
  5499. _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); } }
  5500. break;
  5501. case "study":
  5502. _formdiv = new U.UF.UI.form(
  5503. "課程中心",
  5504. $$("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
  5505. "id": "study",
  5506. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5507. "onresize": function () { }
  5508. }, {
  5509. closecallback: function () { }
  5510. }, { "style": { "height": "36px" } }).form; //創建窗體
  5511. _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); } }
  5512. break;
  5513. case "mindNetwork": //好友打開
  5514. _formdiv = new U.UF.UI.form(
  5515. "思維網格",
  5516. $$("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 }), {
  5517. "id": "mindNetwork",
  5518. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5519. "onresize": function () { }
  5520. }, {
  5521. closecallback: function () { }
  5522. }, { "style": { "height": "36px" } }).form; //創建窗體
  5523. _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); } }
  5524. break;
  5525. case "train": //好友打開
  5526. _formdiv = new U.UF.UI.form(
  5527. "訓練平臺",
  5528. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  5529. "id": "train",
  5530. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5531. "onresize": function () { }
  5532. }, {
  5533. closecallback: function () { }
  5534. }, { "style": { "height": "36px" } }).form; //創建窗體
  5535. _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); } }
  5536. break;
  5537. case "sys":
  5538. _formdiv = new U.UF.UI.form(
  5539. "目標管理",
  5540. $$("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 }), {
  5541. "id": "sys",
  5542. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5543. "onresize": function () { }
  5544. }, {
  5545. closecallback: function () { }
  5546. }, { "style": { "height": "36px" } }).form; //創建窗體
  5547. _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); } }
  5548. break;
  5549. case "courseDesign":
  5550. _formdiv = new U.UF.UI.form(
  5551. "項目設計",
  5552. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  5553. "id": "courseDesign",
  5554. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5555. "onresize": function () { }
  5556. }, {
  5557. closecallback: function () { }
  5558. }, { "style": { "height": "36px" } }).form; //創建窗體
  5559. _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); } }
  5560. break;
  5561. }
  5562. } else if (!_type) {
  5563. switch (str) {
  5564. case "my":
  5565. _formdiv = new U.UF.UI.form(
  5566. "我的資料",
  5567. $$("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 }), {
  5568. "id": "my",
  5569. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5570. "onresize": function () { }
  5571. }, {
  5572. closecallback: function () { }
  5573. }, { "style": { "height": "36px" } }).form; //創建窗體
  5574. _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); } }
  5575. break;
  5576. }
  5577. }
  5578. switch (str) {
  5579. // AIprogram2 AI體驗 aihub.cocorobo.cn
  5580. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  5581. // AIprogram AI編程 ai-blockly.cocorobo.cn
  5582. case "formulaEdi": //公式編輯
  5583. _formdiv = new U.UF.UI.form(
  5584. "公式編輯",
  5585. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  5586. "id": "formulaEdi",
  5587. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5588. "onresize": function () { }
  5589. }, {
  5590. closecallback: function () { }
  5591. }, { "style": { "height": "36px" } }).form; //創建窗體
  5592. _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); } }
  5593. break;
  5594. case "molStr": //分子結構
  5595. _formdiv = new U.UF.UI.form(
  5596. "分子結構",
  5597. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  5598. "id": "molStr",
  5599. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5600. "onresize": function () { }
  5601. }, {
  5602. closecallback: function () { }
  5603. }, { "style": { "height": "36px" } }).form; //創建窗體
  5604. _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); } }
  5605. break;
  5606. case "timeAxis": //時間軸
  5607. _formdiv = new U.UF.UI.form(
  5608. "時間軸",
  5609. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  5610. "id": "timeAxis",
  5611. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5612. "onresize": function () { }
  5613. }, {
  5614. closecallback: function () { }
  5615. }, { "style": { "height": "36px" } }).form; //創建窗體
  5616. _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); } }
  5617. break;
  5618. case "AIprogram2": //AI體驗
  5619. _formdiv = new U.UF.UI.form(
  5620. "AI體驗",
  5621. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  5622. "id": "AIprogram2",
  5623. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5624. "onresize": function () { }
  5625. }, {
  5626. closecallback: function () { }
  5627. }, { "style": { "height": "36px" } }).form; //創建窗體
  5628. _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); } }
  5629. break;
  5630. case "Pythonprogram": //python編程
  5631. _formdiv = new U.UF.UI.form(
  5632. "Python編程",
  5633. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  5634. "id": "Pythonprogram",
  5635. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5636. "onresize": function () { }
  5637. }, {
  5638. closecallback: function () { }
  5639. }, { "style": { "height": "36px" } }).form; //創建窗體
  5640. _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); } }
  5641. break;
  5642. case "AIprogram": //ai編程
  5643. _formdiv = new U.UF.UI.form(
  5644. "AI編程平臺",
  5645. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  5646. "id": "AIprogram",
  5647. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5648. "onresize": function () { }
  5649. }, {
  5650. closecallback: function () { }
  5651. }, { "style": { "height": "36px" } }).form; //創建窗體
  5652. _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); } }
  5653. break;
  5654. case "CocoPi": //CocoPi
  5655. _formdiv = new U.UF.UI.form(
  5656. "CocoPi",
  5657. $$("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" }), {
  5658. "id": "CocoPi",
  5659. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5660. "onresize": function () { }
  5661. }, {
  5662. closecallback: function () { }
  5663. }, { "style": { "height": "36px" } }).form; //創建窗體
  5664. _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); } }
  5665. break;
  5666. case "Wood": //Wood
  5667. _formdiv = new U.UF.UI.form(
  5668. "海龜編程",
  5669. $$("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/" }), {
  5670. "id": "Wood",
  5671. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5672. "onresize": function () { }
  5673. }, {
  5674. closecallback: function () { }
  5675. }, { "style": { "height": "36px" } }).form; //創建窗體
  5676. _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); } }
  5677. break;
  5678. case "car": //模擬駕駛
  5679. _formdiv = new U.UF.UI.form(
  5680. "模擬駕駛",
  5681. $$("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/" }), {
  5682. "id": "car",
  5683. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5684. "onresize": function () { }
  5685. }, {
  5686. closecallback: function () { }
  5687. }, { "style": { "height": "36px" } }).form; //創建窗體
  5688. _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); } }
  5689. break;
  5690. case "lineSearch": //路徑搜索
  5691. _formdiv = new U.UF.UI.form(
  5692. "路徑搜索",
  5693. $$("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/" }), {
  5694. "id": "lineSearch",
  5695. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5696. "onresize": function () { }
  5697. }, {
  5698. closecallback: function () { }
  5699. }, { "style": { "height": "36px" } }).form; //創建窗體
  5700. _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); } }
  5701. break;
  5702. case "deepLearning": //深度學習
  5703. _formdiv = new U.UF.UI.form(
  5704. "深度學習",
  5705. $$("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/#" }), {
  5706. "id": "deepLearning",
  5707. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5708. "onresize": function () { }
  5709. }, {
  5710. closecallback: function () { }
  5711. }, { "style": { "height": "36px" } }).form; //創建窗體
  5712. _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); } }
  5713. break;
  5714. case "allHistory": //深度學習
  5715. _formdiv = new U.UF.UI.form(
  5716. "全歷史",
  5717. $$("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/" }), {
  5718. "id": "allHistory",
  5719. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5720. "onresize": function () { }
  5721. }, {
  5722. closecallback: function () { }
  5723. }, { "style": { "height": "36px" } }).form; //創建窗體
  5724. _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); } }
  5725. break;
  5726. case "chatPDF": //ai編程
  5727. _formdiv = new U.UF.UI.form(
  5728. "chatPDF",
  5729. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  5730. "id": "chatPDF",
  5731. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5732. "onresize": function () { }
  5733. }, {
  5734. closecallback: function () { }
  5735. }, { "style": { "height": "36px" } }).form; //創建窗體
  5736. _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); } }
  5737. break;
  5738. case "resources": //國家教育
  5739. _formdiv = new U.UF.UI.form(
  5740. "國家教育",
  5741. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  5742. "id": "resources",
  5743. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5744. "onresize": function () { }
  5745. }, {
  5746. closecallback: function () { }
  5747. }, { "style": { "height": "36px" } }).form; //創建窗體
  5748. _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); } }
  5749. break;
  5750. case "codeEdit": //源碼編輯
  5751. _formdiv = new U.UF.UI.form(
  5752. "源碼編輯",
  5753. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  5754. "id": "codeEdit",
  5755. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5756. "onresize": function () { }
  5757. }, {
  5758. closecallback: function () { }
  5759. }, { "style": { "height": "36px" } }).form; //創建窗體
  5760. _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); } }
  5761. break; //
  5762. case "MindMap": //MindMap
  5763. _formdiv = new U.UF.UI.form(
  5764. "MindMap",
  5765. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  5766. "id": "MindMap",
  5767. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5768. "onresize": function () { }
  5769. }, {
  5770. closecallback: function () { }
  5771. }, { "style": { "height": "36px" } }).form; //創建窗體
  5772. _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); } }
  5773. break;
  5774. case "netWorkPanel": //netWorkPanel
  5775. _formdiv = new U.UF.UI.form(
  5776. "netWorkPanel",
  5777. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  5778. "id": "netWorkPanel",
  5779. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5780. "onresize": function () { }
  5781. }, {
  5782. closecallback: function () { }
  5783. }, { "style": { "height": "36px" } }).form; //創建窗體
  5784. _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); } }
  5785. break;
  5786. case "GeoGebra": //GeoGebra
  5787. _formdiv = new U.UF.UI.form(
  5788. "GeoGebra",
  5789. $$("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" }), {
  5790. "id": "GeoGebra",
  5791. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5792. "onresize": function () { }
  5793. }, {
  5794. closecallback: function () { }
  5795. }, { "style": { "height": "36px" } }).form; //創建窗體
  5796. _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); } }
  5797. break;
  5798. case "translation": //翻譯
  5799. _formdiv = new U.UF.UI.form(
  5800. "翻譯",
  5801. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  5802. "id": "translation",
  5803. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5804. "onresize": function () { }
  5805. }, {
  5806. closecallback: function () { }
  5807. }, { "style": { "height": "36px" } }).form; //創建窗體
  5808. _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); } }
  5809. break;
  5810. case "mohe": //魔盒
  5811. _formdiv = new U.UF.UI.form(
  5812. "魔盒識字",
  5813. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  5814. "id": "mohe",
  5815. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5816. "onresize": function () { }
  5817. }, {
  5818. closecallback: function () { }
  5819. }, { "style": { "height": "36px" } }).form; //創建窗體
  5820. _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); } }
  5821. break;
  5822. case "24game": //24點
  5823. _formdiv = new U.UF.UI.form(
  5824. "24點",
  5825. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  5826. "id": "24game",
  5827. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5828. "onresize": function () { }
  5829. }, {
  5830. closecallback: function () { }
  5831. }, { "style": { "height": "36px" } }).form; //創建窗體
  5832. _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); } }
  5833. break;
  5834. case "case":
  5835. _formdiv = new U.UF.UI.form(
  5836. "課程進展",
  5837. $$("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 }), {
  5838. "id": "case",
  5839. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5840. "onresize": function () { }
  5841. }, {
  5842. closecallback: function () { }
  5843. }, { "style": { "height": "36px" } }).form; //創建窗體
  5844. _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); } }
  5845. break;
  5846. case "snf":
  5847. _formdiv = new U.UF.UI.form(
  5848. "賽諾梵",
  5849. $$("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" }), {
  5850. "id": "snf",
  5851. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5852. "onresize": function () { }
  5853. }, {
  5854. closecallback: function () { }
  5855. }, { "style": { "height": "36px" } }).form; //創建窗體
  5856. _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); } }
  5857. break;
  5858. case "hanFamily":
  5859. _formdiv = new U.UF.UI.form(
  5860. "漢字家族",
  5861. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  5862. "id": "hanFamily",
  5863. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5864. "onresize": function () { }
  5865. }, {
  5866. closecallback: function () { }
  5867. }, { "style": { "height": "36px" } }).form; //創建窗體
  5868. _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); } }
  5869. break;
  5870. case "hanClassics":
  5871. _formdiv = new U.UF.UI.form(
  5872. "國學經典",
  5873. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  5874. "id": "hanClassics",
  5875. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5876. "onresize": function () { }
  5877. }, {
  5878. closecallback: function () { }
  5879. }, { "style": { "height": "36px" } }).form; //創建窗體
  5880. _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); } }
  5881. break;
  5882. case "hanTraining":
  5883. _formdiv = new U.UF.UI.form(
  5884. "筆畫訓練",
  5885. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  5886. "id": "hanTraining",
  5887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5888. "onresize": function () { }
  5889. }, {
  5890. closecallback: function () { }
  5891. }, { "style": { "height": "36px" } }).form; //創建窗體
  5892. _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); } }
  5893. break;
  5894. case "hanClass":
  5895. _formdiv = new U.UF.UI.form(
  5896. "書法課堂",
  5897. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  5898. "id": "hanClass",
  5899. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5900. "onresize": function () { }
  5901. }, {
  5902. closecallback: function () { }
  5903. }, { "style": { "height": "36px" } }).form; //創建窗體
  5904. _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); } }
  5905. break;
  5906. case "han":
  5907. _formdiv = new U.UF.UI.form(
  5908. "漢字宮",
  5909. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  5910. "id": "han",
  5911. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5912. "onresize": function () { }
  5913. }, {
  5914. closecallback: function () { }
  5915. }, { "style": { "height": "36px" } }).form; //創建窗體
  5916. _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); } }
  5917. break;
  5918. case "projectGM": //課程管理
  5919. _formdiv = new U.UF.UI.form(
  5920. "課程管理",
  5921. $$("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 }), {
  5922. "id": "projectGM",
  5923. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5924. "onresize": function () { }
  5925. }, {
  5926. closecallback: function () { }
  5927. }, { "style": { "height": "36px" } }).form; //創建窗體
  5928. _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); } }
  5929. break;
  5930. case "studyGM": //課程中心
  5931. _formdiv = new U.UF.UI.form(
  5932. "課程中心",
  5933. $$("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
  5934. "id": "study",
  5935. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5936. "onresize": function () { }
  5937. }, {
  5938. closecallback: function () { }
  5939. }, { "style": { "height": "36px" } }).form; //創建窗體
  5940. _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); } }
  5941. break;
  5942. // studentGM
  5943. case "studentGM": //學生管理
  5944. _formdiv = new U.UF.UI.form(
  5945. "學生管理",
  5946. $$("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 }), {
  5947. "id": "studentGM",
  5948. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5949. "onresize": function () { }
  5950. }, {
  5951. closecallback: function () { }
  5952. }, { "style": { "height": "36px" } }).form; //創建窗體
  5953. _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); } }
  5954. break;
  5955. case "evaluateGM": //學生評價
  5956. _formdiv = new U.UF.UI.form(
  5957. "學生評價",
  5958. $$("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 }), {
  5959. "id": "evaluateGM",
  5960. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5961. "onresize": function () { }
  5962. }, {
  5963. closecallback: function () { }
  5964. }, { "style": { "height": "36px" } }).form; //創建窗體
  5965. _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); } }
  5966. break;
  5967. // classGM
  5968. case "classGM": //班級管理
  5969. _formdiv = new U.UF.UI.form(
  5970. "班級管理",
  5971. $$("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 }), {
  5972. "id": "classGM",
  5973. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5974. "onresize": function () { }
  5975. }, {
  5976. closecallback: function () { }
  5977. }, { "style": { "height": "36px" } }).form; //創建窗體
  5978. _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); } }
  5979. break;
  5980. // dataGM
  5981. case "dataGM":
  5982. _formdiv = new U.UF.UI.form(
  5983. "我的資料",
  5984. $$("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 }), {
  5985. "id": "dataGM",
  5986. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5987. "onresize": function () { }
  5988. }, {
  5989. closecallback: function () { }
  5990. }, { "style": { "height": "36px" } }).form; //創建窗體
  5991. _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); } }
  5992. break;
  5993. // caseGM
  5994. case "caseGM": //課程進展
  5995. _formdiv = new U.UF.UI.form(
  5996. "課程進展",
  5997. $$("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 }), {
  5998. "id": "caseGM",
  5999. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6000. "onresize": function () { }
  6001. }, {
  6002. closecallback: function () { }
  6003. }, { "style": { "height": "36px" } }).form; //創建窗體
  6004. _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); } }
  6005. break;
  6006. // meterialGM
  6007. case "meterialGM": //素材庫
  6008. _formdiv = new U.UF.UI.form(
  6009. "素材庫",
  6010. $$("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 }), {
  6011. "id": "meterialGM",
  6012. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6013. "onresize": function () { }
  6014. }, {
  6015. closecallback: function () { }
  6016. }, { "style": { "height": "36px" } }).form; //創建窗體
  6017. _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); } }
  6018. break;
  6019. // evaluateSGM
  6020. case "evaluateSGM": //我的評價
  6021. _formdiv = new U.UF.UI.form(
  6022. "我的評價",
  6023. $$("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 }), {
  6024. "id": "evaluateSGM",
  6025. "style": { "width": "70%", "height": "90%", "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/gm/evaluate.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6031. break;
  6032. case "jupyter": //jupyter
  6033. _formdiv = new U.UF.UI.form(
  6034. "jupyter",
  6035. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  6036. "id": "jupyter",
  6037. "style": { "width": "90%", "height": "90%", "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/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6043. break;
  6044. case "number": //數字實驗室
  6045. _formdiv = new U.UF.UI.form(
  6046. "數字實驗室",
  6047. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  6048. "id": "number",
  6049. "style": { "width": "90%", "height": "90%", "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/number.png)" }, "name": "數字實驗室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6055. break;
  6056. case "studentCourse": //項目管理 學生
  6057. _formdiv = new U.UF.UI.form(
  6058. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  6059. $$("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 }), {
  6060. "id": "studentCourse",
  6061. "style": { "width": "90%", "height": "90%", "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/studentCourse.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6067. break;
  6068. case "studentCourseS": //項目管理 老師
  6069. _formdiv = new U.UF.UI.form(
  6070. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  6071. $$("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 }), {
  6072. "id": "studentCourseS",
  6073. "style": { "width": "90%", "height": "90%", "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/studentCourse.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6079. break;
  6080. case "studentIndex": //項目中心
  6081. _formdiv = new U.UF.UI.form(
  6082. "項目中心",
  6083. $$("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 }), {
  6084. "id": "studentIndex",
  6085. "style": { "width": "90%", "height": "90%", "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/studentIndex.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6091. break;
  6092. case "CaseDesignS":
  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/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  6096. "id": "case",
  6097. "style": { "width": "90%", "height": "90%", "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/CaseDesignS.png)" }, "name": "項目進展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6103. break;
  6104. case "tcStudent": //騰訊學生管理
  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/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  6108. "id": "tcStudent",
  6109. "style": { "width": "90%", "height": "90%", "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/student.png)" }, "name": "學生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6115. break;
  6116. case "tcSchool": //騰訊學校管理
  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/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  6120. "id": "tcSchool",
  6121. "style": { "width": "90%", "height": "90%", "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/school.png)" }, "name": "學校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6127. break;
  6128. case "tcTeacher": //騰訊學校管理
  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/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  6132. "id": "tcTeacher",
  6133. "style": { "width": "90%", "height": "90%", "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/teacher.png)" }, "name": "教師管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6139. break;
  6140. case "tcData": //騰訊我的資料
  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/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  6144. "id": "tcData",
  6145. "style": { "width": "42%", "height": "90%", "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/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6151. break;
  6152. case "tcNotice": //騰訊消息通知
  6153. _formdiv = new U.UF.UI.form(
  6154. "消息通知",
  6155. $$("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 }), {
  6156. "id": "tcNotice",
  6157. "style": { "width": "90%", "height": "90%", "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/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6163. break;
  6164. case "myReport": //好友打開
  6165. _formdiv = new U.UF.UI.form(
  6166. "我的評價",
  6167. $$("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 }), {
  6168. "id": "myReport",
  6169. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6170. "onresize": function () { }
  6171. }, {
  6172. closecallback: function () { }
  6173. }, { "style": { "height": "36px" } }).form; //創建窗體
  6174. _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); } }
  6175. break;
  6176. case "learnAna": //好友打開
  6177. _formdiv = new U.UF.UI.form(
  6178. "學習分析",
  6179. $$("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 }), {
  6180. "id": "learnAna",
  6181. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6182. "onresize": function () { }
  6183. }, {
  6184. closecallback: function () { }
  6185. }, { "style": { "height": "36px" } }).form; //創建窗體
  6186. _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); } }
  6187. break;
  6188. case "AIChat": //AI共創
  6189. _formdiv = new U.UF.UI.form(
  6190. "AI共創",
  6191. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  6192. "id": "AIChat",
  6193. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  6194. "onresize": function () { }
  6195. }, {
  6196. istop: true,
  6197. closecallback: function () { $("#aichat_icon").remove(); },
  6198. narrowcallback: function () {
  6199. if (!$("#aichat_icon")[0]) {
  6200. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  6201. }
  6202. },
  6203. }, { "style": { "height": "36px" } }).form; //創建窗體
  6204. _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); } }
  6205. break;
  6206. case "ainew": //AI共創
  6207. _formdiv = new U.UF.UI.form(
  6208. "AI協同",
  6209. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  6210. "id": "ainew",
  6211. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6212. "onresize": function () { }
  6213. }, {
  6214. closecallback: function () { }
  6215. }, { "style": { "height": "36px" } }).form; //創建窗體
  6216. _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); } }
  6217. break;
  6218. case "gpt4": //gpt4
  6219. _formdiv = new U.UF.UI.form(
  6220. "AI助手",
  6221. $$("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 }), {
  6222. "id": "gpt4",
  6223. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6224. "onresize": function () { }
  6225. }, {
  6226. closecallback: function () { }
  6227. }, { "style": { "height": "36px" } }).form; //創建窗體
  6228. _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); } }
  6229. break;
  6230. case "aigpt": //gpt4
  6231. _formdiv = new U.UF.UI.form(
  6232. "AI助手+",
  6233. $$("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 }), {
  6234. "id": "aigpt",
  6235. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6236. "onresize": function () { }
  6237. }, {
  6238. closecallback: function () {
  6239. $("iframe", _formdiv)[0].contentWindow.app.log_out();
  6240. }
  6241. }, { "style": { "height": "36px" } }).form; //创建窗体
  6242. _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); } }
  6243. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6244. $("iframe", _formdiv)[0].contentWindow.app.log_in();
  6245. })
  6246. break;
  6247. case "aiKnowledge": //aiKnowledge
  6248. _formdiv = new U.UF.UI.form(
  6249. "知識建構",
  6250. $$("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 }), {
  6251. "id": "aiKnowledge",
  6252. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6253. "onresize": function () { }
  6254. }, {
  6255. closecallback: function () { }
  6256. }, { "style": { "height": "36px" } }).form; //創建窗體
  6257. _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); } }
  6258. break;
  6259. case "futureClass": //AI共創
  6260. _formdiv = new U.UF.UI.form(
  6261. "協同建構",
  6262. $$("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
  6263. "id": "synergyCourse",
  6264. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6265. "onresize": function () { }
  6266. }, {
  6267. closecallback: function () {
  6268. $("iframe", _formdiv)[0].contentWindow.loginout();
  6269. }
  6270. }, { "style": { "height": "36px" } }).form; //創建窗體
  6271. _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); } }
  6272. break;
  6273. case "aiagent": //ai agent
  6274. _formdiv = new U.UF.UI.form(
  6275. "AI Agent",
  6276. $$("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" }), {
  6277. "id": "AIAgent",
  6278. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6279. "onresize": function () { }
  6280. }, {
  6281. closecallback: function () { }
  6282. }, { "style": { "height": "36px" } }).form; //創建窗體
  6283. _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); } }
  6284. break;
  6285. case "dataBoard": //數據看板
  6286. _formdiv = new U.UF.UI.form(
  6287. "數據看板",
  6288. $$("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 }), {
  6289. "id": "dataBoard",
  6290. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6291. "onresize": function () { }
  6292. }, {
  6293. closecallback: function () { }
  6294. }, { "style": { "height": "36px" } }).form; //創建窗體
  6295. _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); } }
  6296. break;
  6297. case "dataBoardSies": //數據融合
  6298. _formdiv = new U.UF.UI.form(
  6299. "數據融合",
  6300. $$("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 }), {
  6301. "id": "dataBoardSies",
  6302. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6303. "onresize": function () { }
  6304. }, {
  6305. closecallback: function () { }
  6306. }, { "style": { "height": "36px" } }).form; //創建窗體
  6307. _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); } }
  6308. break;
  6309. case "dataBoardNew": //數據看板
  6310. _formdiv = new U.UF.UI.form(
  6311. "綜合看板",
  6312. $$("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 }), {
  6313. "id": "dataBoardNew",
  6314. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6315. "onresize": function () { }
  6316. }, {
  6317. closecallback: function () { }
  6318. }, { "style": { "height": "36px" } }).form; //創建窗體
  6319. _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); } }
  6320. break;
  6321. case "dataBoardTest": //數據看板
  6322. _formdiv = new U.UF.UI.form(
  6323. "評測看板",
  6324. $$("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 }), {
  6325. "id": "dataBoardTest",
  6326. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6327. "onresize": function () { }
  6328. }, {
  6329. closecallback: function () { }
  6330. }, { "style": { "height": "36px" } }).form; //創建窗體
  6331. _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); } }
  6332. break;
  6333. case "AIAnalyse": //AI共創
  6334. _formdiv = new U.UF.UI.form(
  6335. "AI分析",
  6336. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  6337. "id": "AIAnalyse",
  6338. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6339. "onresize": function () { }
  6340. }, {
  6341. closecallback: function () { }
  6342. }, { "style": { "height": "36px" } }).form; //創建窗體
  6343. _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); } }
  6344. break;
  6345. case "studioCourse": //AI共創
  6346. _formdiv = new U.UF.UI.form(
  6347. "工作管理",
  6348. $$("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 }), {
  6349. "id": "studioCourse",
  6350. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6351. "onresize": function () { }
  6352. }, {
  6353. closecallback: function () { }
  6354. }, { "style": { "height": "36px" } }).form; //創建窗體
  6355. _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); } }
  6356. break;
  6357. case "studioIndex": //AI共創
  6358. _formdiv = new U.UF.UI.form(
  6359. "工作中心",
  6360. $$("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 }), {
  6361. "id": "studioIndex",
  6362. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6363. "onresize": function () { }
  6364. }, {
  6365. closecallback: function () { }
  6366. }, { "style": { "height": "36px" } }).form; //創建窗體
  6367. _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); } }
  6368. break;
  6369. case "source":
  6370. _formdiv = new U.UF.UI.form(
  6371. "教學資源",
  6372. $$("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 }), {
  6373. "id": "source",
  6374. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6375. "onresize": function () { }
  6376. }, {
  6377. closecallback: function () { }
  6378. }, { "style": { "height": "36px" } }).form; //創建窗體
  6379. _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); } }
  6380. break;
  6381. case "testTeacher":
  6382. _formdiv = new U.UF.UI.form(
  6383. "教師管理",
  6384. $$("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 }), {
  6385. "id": "testTeacher",
  6386. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6387. "onresize": function () { }
  6388. }, {
  6389. closecallback: function () { }
  6390. }, { "style": { "height": "36px" } }).form; //創建窗體
  6391. _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); } }
  6392. break;
  6393. case "testStudent":
  6394. _formdiv = new U.UF.UI.form(
  6395. "教師中心",
  6396. $$("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 }), {
  6397. "id": "testStudent",
  6398. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6399. "onresize": function () { }
  6400. }, {
  6401. closecallback: function () { }
  6402. }, { "style": { "height": "36px" } }).form; //創建窗體
  6403. _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); } }
  6404. break;
  6405. case "testTeacherSies":
  6406. _formdiv = new U.UF.UI.form(
  6407. "教師管理",
  6408. $$("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/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  6409. "id": "testTeacherSies",
  6410. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6411. "onresize": function () { }
  6412. }, {
  6413. closecallback: function () { }
  6414. }, { "style": { "height": "36px" } }).form; //創建窗體
  6415. _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); } }
  6416. break;
  6417. case "testStudentSies":
  6418. _formdiv = new U.UF.UI.form(
  6419. "教師中心",
  6420. $$("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 }), {
  6421. "id": "testStudentSies",
  6422. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6423. "onresize": function () { }
  6424. }, {
  6425. closecallback: function () { }
  6426. }, { "style": { "height": "36px" } }).form; //創建窗體
  6427. _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); } }
  6428. break;
  6429. case "ytpbl": //消息通知
  6430. _formdiv = new U.UF.UI.form(
  6431. "案例征集",
  6432. $$("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 }), {
  6433. "id": "ytpbl",
  6434. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6435. "onresize": function () { }
  6436. }, {
  6437. closecallback: function () { }
  6438. }, { "style": { "height": "36px" } }).form; //創建窗體
  6439. _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); } }
  6440. // 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");
  6441. break;
  6442. case "aiCourseResource": //人工智能窗體
  6443. _formdiv = new U.UF.UI.form(
  6444. false,
  6445. $$("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 }), {
  6446. "id": "aiCourseResource",
  6447. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6448. "onresize": function () { },
  6449. "isdrag": false,
  6450. }, {
  6451. closecallback: function () { }
  6452. }, { "style": { "height": "36px" } }).form; //創建窗體
  6453. _taskbar = ''
  6454. break;
  6455. case "szdjgCocooroboX": //圖形化編程
  6456. _formdiv = new U.UF.UI.form(
  6457. "圖形化編程",
  6458. $$("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" }), {
  6459. "id": "szdjgCocooroboX",
  6460. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6461. "onresize": function () { }
  6462. }, {
  6463. closecallback: function () { }
  6464. }, { "style": { "height": "36px" } }).form; //創建窗體
  6465. _taskbar = ''
  6466. break;
  6467. case "szdjgPython": //python編程
  6468. _formdiv = new U.UF.UI.form(
  6469. "Python編程",
  6470. $$("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" }), {
  6471. "id": "szdjgPython",
  6472. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6473. "onresize": function () { }
  6474. }, {
  6475. closecallback: function () { }
  6476. }, { "style": { "height": "36px" } }).form; //創建窗體
  6477. _taskbar = ''
  6478. break;
  6479. case "Record":
  6480. _formdiv = new U.UF.UI.form(
  6481. "觀察記錄",
  6482. $$("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 }), {
  6483. "id": "Record",
  6484. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6485. "onresize": function () { }
  6486. }, {
  6487. closecallback: function () { }
  6488. }, { "style": { "height": "36px" } }).form; //創建窗體
  6489. _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); } }
  6490. break;
  6491. case "aigptCourse":
  6492. _formdiv = new U.UF.UI.form(
  6493. "AI智能體",
  6494. $$("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' }), {
  6495. "id": "aigptCourse",
  6496. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6497. "onresize": function () { }
  6498. }, {
  6499. closecallback: function () { }
  6500. }, { "style": { "height": "36px" } }).form; //創建窗體
  6501. _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); } }
  6502. break;
  6503. case "classroomObservation":
  6504. _formdiv = new U.UF.UI.form(
  6505. "課堂觀察",
  6506. $$("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 }), {
  6507. "id": "classroomObservation",
  6508. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6509. "onresize": function () { }
  6510. }, {
  6511. closecallback: function () { }
  6512. }, { "style": { "height": "36px" } }).form; //創建窗體
  6513. _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); } }
  6514. break;
  6515. case "pblCourse":
  6516. _formdiv = new U.UF.UI.form(
  6517. "學生PBL",
  6518. $$("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 }), {
  6519. "id": "pblCourse",
  6520. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6521. "onresize": function () { }
  6522. }, {
  6523. closecallback: function () { }
  6524. }, { "style": { "height": "36px" } }).form; //創建窗體
  6525. _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); } }
  6526. break;
  6527. }
  6528. //U.MD.D.I.openClick(str);
  6529. //如果有任務欄信息
  6530. if (_taskbar) {
  6531. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6532. }
  6533. }
  6534. // U.MD.D.I.openClick = function(str){
  6535. // var click = '';
  6536. // switch(str){
  6537. // case 'friend':
  6538. // click = '我的好友';
  6539. // break;
  6540. // case 'domain':
  6541. // click = '域名管理';
  6542. // break;
  6543. // case 'disk':
  6544. // click = '我的雲盤';
  6545. // break;
  6546. // case 'word':
  6547. // click = 'Word';
  6548. // break;
  6549. // case 'excel':
  6550. // click = 'Execl';
  6551. // break;
  6552. // case 'txt':
  6553. // click = '文本文件';
  6554. // break;
  6555. // case 'lookupFriend':
  6556. // click = '查找好友';
  6557. // break;
  6558. // case 'ftp':
  6559. // click = 'FTP';
  6560. // break;
  6561. // case 'group':
  6562. // click = '群組';
  6563. // break;
  6564. // case 'set':
  6565. // click = '我的設置';
  6566. // break;
  6567. // case 'systemSet':
  6568. // click = '系統設置';
  6569. // break;
  6570. // case 'boomYun':
  6571. // click = '互聯辦公';
  6572. // break;
  6573. // case 'xz':
  6574. // click = '雲端下載';
  6575. // break;
  6576. // case 'client':
  6577. // click = '有思瀏覽器';
  6578. // break;
  6579. // case 'backEndProgramming':
  6580. // click = '在線後臺編程';
  6581. // break;
  6582. // case 'frontEndProgramming':
  6583. // click = '在線前端編程';
  6584. // break;
  6585. // default: break;
  6586. // }
  6587. // if(U.MD.D.I.Ip && click){
  6588. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  6589. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  6590. // })
  6591. // }
  6592. // }
  6593. /**
  6594. *函數作用:ajax簡易函數,使用post格式
  6595. *@param url {data} 後臺地址
  6596. *@param data {data} 參數json
  6597. *@param fn {data} 回調函數
  6598. *
  6599. */
  6600. // U.MD.D.I.Mysqlrequest = function(url,fn){
  6601. // var xhr = new XMLHttpRequest();
  6602. // xhr.open("GET",url,true);
  6603. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  6604. // xhr.onreadystatechange = function(){
  6605. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  6606. // fn.call(this,xhr.responseText);
  6607. // }
  6608. // };
  6609. // xhr.send();
  6610. // }
  6611. /*判斷是否是內網IP*/
  6612. // U.MD.D.I.isInnerIPFn = function(str){
  6613. // var curPageUrl = str;
  6614. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  6615. // curPageUrl =curPageUrl.replace(reg1,'');
  6616. // // console.log('curPageUrl-1 '+curPageUrl);
  6617. // var reg2 = /\:+/g;//替換冒號為一點
  6618. // curPageUrl =curPageUrl.replace(reg2,'.');
  6619. // // console.log('curPageUrl-2 '+curPageUrl);
  6620. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  6621. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  6622. // if(curPageUrl[2] != '16'){
  6623. // return ipAddress;
  6624. // }else{
  6625. // return false;
  6626. // }
  6627. // }
  6628. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  6629. // //compatibility for firefox and chrome
  6630. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  6631. // var pc = new myPeerConnection({
  6632. // iceServers: []
  6633. // }),
  6634. // noop = function() {},
  6635. // localIPs = {},
  6636. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  6637. // key;
  6638. // function iterateIP(ip) {
  6639. // if (!localIPs[ip]) onNewIP(ip);
  6640. // localIPs[ip] = true;
  6641. // }
  6642. // //create a bogus data channel
  6643. // pc.createDataChannel("");
  6644. // // create offer and set local description
  6645. // pc.createOffer().then(function(sdp) {
  6646. // sdp.sdp.split('\n').forEach(function(line) {
  6647. // if (line.indexOf('candidate') < 0) return;
  6648. // line.match(ipRegex).forEach(iterateIP);
  6649. // });
  6650. // pc.setLocalDescription(sdp, noop, noop);
  6651. // }).catch(function(reason) {
  6652. // // An error occurred, so handle the failure to connect
  6653. // });
  6654. // //sten for candidate events
  6655. // pc.onicecandidate = function(ice) {
  6656. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  6657. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  6658. // };
  6659. // }
  6660. // U.MD.D.I.getUserIpBool = function(callback){
  6661. // U.MD.D.I.getUserIP(function(ip){
  6662. // alert("Got IP! :" + ip);
  6663. // });
  6664. //}
  6665. //#endregion
  6666. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  6667. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6668. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6669. _userinfo = US.userInfo, //登錄用戶信息
  6670. _userid = US.userInfo.userid //登錄用戶id
  6671. let _iframe;
  6672. let _cid = cid,
  6673. _stage = stage,
  6674. _task = task,
  6675. _tool = tool;
  6676. var _jie = $$("div", {
  6677. "style": {
  6678. "position": "absolute",
  6679. "bottom": "50px",
  6680. "right": "50px",
  6681. "zIndex": "9999",
  6682. "backgroundColor": "#2268bc",
  6683. "color": "#fff",
  6684. "padding": "12px 20px",
  6685. "cursor": "pointer",
  6686. "borderRadius": "4px",
  6687. },
  6688. "innerHTML": "提交作業"
  6689. })
  6690. let aTool = ''
  6691. let _loading = document.createElement('div')
  6692. _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;"
  6693. // _loading.id = "";
  6694. let _lchild = document.createElement('div')
  6695. let _limg = document.createElement('img')
  6696. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6697. _limg.style = "width: 26px;margin-right: 10px;"
  6698. _lchild.appendChild(_limg)
  6699. let _lspan = document.createElement('span')
  6700. _lspan.innerHTML = "上傳中..."
  6701. _lchild.appendChild(_lspan)
  6702. _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%);"
  6703. _loading.appendChild(_lchild)
  6704. var _box = $$('div', {
  6705. "style": {
  6706. "position": "relative",
  6707. "width": "100%",
  6708. "height": "100%",
  6709. },
  6710. })
  6711. _box.appendChild(_loading)
  6712. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  6713. switch (str) {
  6714. case "whiteboard":
  6715. aTool = 1;
  6716. _iframe = $$("iframe", {
  6717. "frameborder": "no",
  6718. "border": "0",
  6719. "scrolling ": "no",
  6720. "style": {
  6721. "cssText": "border:0;width:100%;height:100%"
  6722. },
  6723. "src": "https://iwb.cocorobo.hk/"
  6724. })
  6725. _box.appendChild(_iframe);
  6726. _box.appendChild(_jie);
  6727. _formdiv = new U.UF.UI.form(
  6728. "電子白板",
  6729. _box, {
  6730. "id": "whiteboard" + cid + stage + task + tool,
  6731. "style": {
  6732. "width": "90%",
  6733. "height": "90%",
  6734. "overflow": 'hidden'
  6735. },
  6736. "onresize": function () { }
  6737. }, {
  6738. closecallback: function () { }
  6739. }, {
  6740. "style": {
  6741. "height": "36px"
  6742. }
  6743. }).form; //創建窗體
  6744. _taskbar = {
  6745. "id": str + _formdiv.id,
  6746. "style": {
  6747. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6748. },
  6749. "name": "電子白板",
  6750. "forms": _formdiv,
  6751. "click": function () {
  6752. U.MD.D.I.openApplication(str, obj, info);
  6753. }
  6754. }
  6755. break;
  6756. case "mind":
  6757. aTool = 3;
  6758. _iframe = $$("iframe", {
  6759. "frameborder": "no",
  6760. "border": "0",
  6761. "scrolling ": "no",
  6762. "style": {
  6763. "cssText": "border:0;width:100%;height:100%"
  6764. },
  6765. "src": "/kityminder-editor/dist/index.html"
  6766. })
  6767. _box.appendChild(_iframe);
  6768. _box.appendChild(_jie);
  6769. _formdiv = new U.UF.UI.form(
  6770. "思維導圖",
  6771. _box, { //"/jsmind/example/demo.html"
  6772. "id": "mind" + cid + stage + task + tool,
  6773. "style": {
  6774. "width": "90%",
  6775. "height": "90%",
  6776. "overflow": 'hidden'
  6777. },
  6778. "onresize": function () { }
  6779. }, {
  6780. closecallback: function () { }
  6781. }, {
  6782. "style": {
  6783. "height": "36px"
  6784. }
  6785. }).form; //創建窗體
  6786. _taskbar = {
  6787. "id": str + _formdiv.id,
  6788. "style": {
  6789. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6790. },
  6791. "name": "思維導圖",
  6792. "forms": _formdiv,
  6793. "click": function () {
  6794. U.MD.D.I.openApplication(str, obj, info);
  6795. }
  6796. }
  6797. break;
  6798. case "MindMap":
  6799. aTool = 3;
  6800. _iframe = $$("iframe", {
  6801. "frameborder": "no",
  6802. "border": "0",
  6803. "scrolling ": "no",
  6804. "style": {
  6805. "cssText": "border:0;width:100%;height:100%"
  6806. },
  6807. "src": "//cloud.cocorobo.hk/mind/"
  6808. })
  6809. _box.appendChild(_iframe);
  6810. _box.appendChild(_jie);
  6811. _formdiv = new U.UF.UI.form(
  6812. "思維導圖",
  6813. _box, { //"/jsmind/example/demo.html"
  6814. "id": "mind" + cid + stage + task + tool,
  6815. "style": {
  6816. "width": "90%",
  6817. "height": "90%",
  6818. "overflow": 'hidden'
  6819. },
  6820. "onresize": function () { }
  6821. }, {
  6822. closecallback: function () { }
  6823. }, {
  6824. "style": {
  6825. "height": "36px"
  6826. }
  6827. }).form; //創建窗體
  6828. _taskbar = {
  6829. "id": str + _formdiv.id,
  6830. "style": {
  6831. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6832. },
  6833. "name": "思維導圖",
  6834. "forms": _formdiv,
  6835. "click": function () {
  6836. U.MD.D.I.openApplication(str, obj, info);
  6837. }
  6838. }
  6839. break;
  6840. case "doc":
  6841. aTool = 6;
  6842. _iframe = $$("iframe", {
  6843. "frameborder": "no",
  6844. "border": "0",
  6845. "scrolling ": "no",
  6846. "style": {
  6847. "cssText": "border:0;width:100%;height:100%"
  6848. },
  6849. "src": "/Office/Word/WordEditArea.htm"
  6850. })
  6851. _box.appendChild(_iframe);
  6852. _box.appendChild(_jie);
  6853. _formdiv = new U.UF.UI.form(
  6854. "協同文檔",
  6855. _box, {
  6856. "id": "doc" + cid + stage + task + tool,
  6857. "style": {
  6858. "width": "90%",
  6859. "height": "90%",
  6860. "overflow": 'hidden'
  6861. },
  6862. "onresize": function () { }
  6863. }, {
  6864. closecallback: function () { }
  6865. }, {
  6866. "style": {
  6867. "height": "36px"
  6868. }
  6869. }).form; //創建窗體
  6870. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6871. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6872. })
  6873. _taskbar = {
  6874. "id": str + _formdiv.id,
  6875. "style": {
  6876. "backgroundImage": "url(/img/icon/doc.png)"
  6877. },
  6878. "name": "協同文檔",
  6879. "forms": _formdiv,
  6880. "click": function () {
  6881. U.MD.D.I.openApplication(str, obj, info);
  6882. }
  6883. }
  6884. break;
  6885. case "mindNetwork": //好友打開
  6886. aTool = 7;
  6887. _iframe = $$("iframe", {
  6888. "webkitallowfullscreen": "",
  6889. "mozallowfullscreen": "",
  6890. "allowfullscreen": "",
  6891. "frameborder": "no",
  6892. "border": "0",
  6893. "scrolling ": "no",
  6894. "style": {
  6895. "cssText": "border:0; width:100%; height:100%;"
  6896. },
  6897. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6898. })
  6899. _box.appendChild(_iframe);
  6900. _box.appendChild(_jie);
  6901. _formdiv = new U.UF.UI.form(
  6902. "思維網格",
  6903. _box, {
  6904. "id": "mindNetwork" + cid + stage + task + tool,
  6905. "style": {
  6906. "width": "90%",
  6907. "height": "90%",
  6908. "overflow": 'hidden'
  6909. },
  6910. "onresize": function () { }
  6911. }, {
  6912. closecallback: function () { }
  6913. }, {
  6914. "style": {
  6915. "height": "36px"
  6916. }
  6917. }).form; //創建窗體
  6918. _taskbar = {
  6919. "id": str + _formdiv.id,
  6920. "style": {
  6921. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6922. },
  6923. "name": "思維網格",
  6924. "forms": _formdiv,
  6925. "click": function () {
  6926. U.MD.D.I.openApplication(str, obj, info);
  6927. }
  6928. }
  6929. break;
  6930. case "courseDesign":
  6931. _iframe = $$("iframe", {
  6932. "webkitallowfullscreen": "",
  6933. "mozallowfullscreen": "",
  6934. "allowfullscreen": "",
  6935. "frameborder": "no",
  6936. "border": "0",
  6937. "scrolling ": "no",
  6938. "style": {
  6939. "cssText": "border:0; width:100%; height:100%;"
  6940. },
  6941. "src": "/course-design-vue"
  6942. })
  6943. _box.appendChild(_iframe);
  6944. _box.appendChild(_jie);
  6945. _formdiv = new U.UF.UI.form(
  6946. "項目設計",
  6947. _box, {
  6948. "id": "courseDesign" + cid + stage + task + tool,
  6949. "style": {
  6950. "width": "90%",
  6951. "height": "90%",
  6952. "overflow": 'hidden'
  6953. },
  6954. "onresize": function () { }
  6955. }, {
  6956. closecallback: function () { }
  6957. }, {
  6958. "style": {
  6959. "height": "36px"
  6960. }
  6961. }).form; //創建窗體
  6962. _taskbar = {
  6963. "id": str + _formdiv.id,
  6964. "style": {
  6965. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6966. },
  6967. "name": "項目設計",
  6968. "forms": _formdiv,
  6969. "click": function () {
  6970. U.MD.D.I.openApplication(str, obj, info);
  6971. }
  6972. }
  6973. break;
  6974. }
  6975. const script1 = document.createElement("script");
  6976. script1.type = "text/javascript";
  6977. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6978. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6979. const script2 = document.createElement("script");
  6980. script2.type = "text/javascript";
  6981. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6982. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6983. const script3 = document.createElement("script");
  6984. script3.type = "text/javascript";
  6985. script3.charset = "UTF-8";
  6986. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6987. const script4 = document.createElement("script");
  6988. script4.type = "text/javascript";
  6989. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6990. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6991. if (_iframe) {
  6992. if (str == 'doc') {
  6993. _iframe = _formdiv.querySelector('iframe')
  6994. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6995. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6996. _iframe.contentWindow.document.body.appendChild(script1);
  6997. _iframe.contentWindow.document.body.appendChild(script2);
  6998. // _iframe.contentWindow.document.body.appendChild(script3);
  6999. _iframe.contentWindow.document.body.appendChild(script4);
  7000. })
  7001. if (onloadListener) {
  7002. _iframe.contentDocument.location.reload()
  7003. } else {
  7004. _iframe.contentDocument.location.reload()
  7005. }
  7006. } else if (str == 'courseDesign') {
  7007. U.UF.DL.iframeLoad(_iframe, function () {
  7008. // _iframe.contentWindow.U.MD.O.W.load();
  7009. // _iframe.contentWindow.document.body.appendChild(script1);
  7010. _iframe.contentWindow.document.body.appendChild(script2);
  7011. _iframe.contentWindow.document.body.appendChild(script4);
  7012. })
  7013. } else if (str == 'mind') {
  7014. _iframe = _formdiv.querySelector('iframe')
  7015. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7016. //
  7017. _iframe.contentWindow.document.body.appendChild(script1);
  7018. _iframe.contentWindow.document.body.appendChild(script2);
  7019. _iframe.contentWindow.document.body.appendChild(script4);
  7020. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7021. })
  7022. if (onloadListener) {
  7023. _iframe.contentDocument.location.reload()
  7024. } else {
  7025. _iframe.contentDocument.location.reload()
  7026. }
  7027. } else if (str == 'whiteboard') {
  7028. _iframe = _formdiv.querySelector('iframe')
  7029. let onloadListener = _iframe.onload = () => {
  7030. _iframe.contentWindow.document.body.appendChild(script1);
  7031. _iframe.contentWindow.document.body.appendChild(script2);
  7032. _iframe.contentWindow.document.body.appendChild(script4);
  7033. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7034. };
  7035. // if (onloadListener) {
  7036. // try {
  7037. // _iframe.src += "?cocorobo="+new Date().getTime()
  7038. // _iframe.contentWindow.document.location.reload()
  7039. // } catch (error) {
  7040. // }
  7041. // } else {
  7042. // _iframe.contentDocument.location.reload()
  7043. // }
  7044. } else {
  7045. _iframe.onload = () => {
  7046. _iframe.contentWindow.document.body.appendChild(script1);
  7047. _iframe.contentWindow.document.body.appendChild(script2);
  7048. // _iframe.contentWindow.document.body.appendChild(script3);
  7049. _iframe.contentWindow.document.body.appendChild(script4);
  7050. };
  7051. }
  7052. _jie.onclick = async () => {
  7053. let text = ''
  7054. if (aTool == 1) {
  7055. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7056. } else if (aTool == 6) {
  7057. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7058. } else if (aTool == 3) {
  7059. text = await U.MD.D.I.getEditorContent(_iframe);
  7060. }
  7061. _loading.style.display = 'flex'
  7062. console.log(_loading);
  7063. var _ajs = _iframe.contentWindow.document.createElement("script");
  7064. _ajs.type = "text/javascript";
  7065. _ajs.innerHTML =
  7066. // 'console.log(' + _loading + ');\n' +
  7067. 'var _js = document.createElement("script");\n' +
  7068. '_js.type="text/javascript";\n' +
  7069. '_js.charset="UTF-8";\n' +
  7070. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7071. "_js.onload = function(){\n" +
  7072. ' var a = document.getElementsByTagName("img")\n' +
  7073. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7074. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7075. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7076. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7077. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7078. "beforeUpload_shishi(file," +
  7079. "'" +
  7080. _userid +
  7081. "'" +
  7082. ", " +
  7083. "'" +
  7084. _cid +
  7085. "'" +
  7086. ", " +
  7087. "'" +
  7088. _stage +
  7089. "'" +
  7090. ", " +
  7091. "'" +
  7092. _task +
  7093. "'" +
  7094. ", " +
  7095. "'" +
  7096. _tool +
  7097. "'" +
  7098. ", " +
  7099. "'" +
  7100. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  7101. "'" +
  7102. ", " +
  7103. "'" +
  7104. aTool +
  7105. "'" +
  7106. ", " +
  7107. "`" +
  7108. text +
  7109. "`" +
  7110. ")\n" +
  7111. " });\n" +
  7112. "}\n" +
  7113. "document.head.appendChild(_js);\n";
  7114. _iframe.contentWindow.document.head.appendChild(_ajs);
  7115. }
  7116. }
  7117. //U.MD.D.I.openClick(str);
  7118. //如果有任務欄信息
  7119. // if (_taskbar) {
  7120. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7121. // }
  7122. }
  7123. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  7124. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7125. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7126. _userinfo = US.userInfo, //登錄用戶信息
  7127. _userid = US.userInfo.userid //登錄用戶id
  7128. let _iframe;
  7129. let _cid = cid,
  7130. _stage = stage,
  7131. _task = task,
  7132. _tool = tool;
  7133. var _jie = $$("div", {
  7134. "style": {
  7135. "position": "absolute",
  7136. "bottom": "50px",
  7137. "right": "50px",
  7138. "zIndex": "9999",
  7139. "backgroundColor": "#2268bc",
  7140. "color": "#fff",
  7141. "padding": "12px 20px",
  7142. "cursor": "pointer",
  7143. "borderRadius": "4px",
  7144. },
  7145. "innerHTML": "提交作業"
  7146. })
  7147. let aTool = ''
  7148. let _loading = document.createElement('div')
  7149. _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;"
  7150. // _loading.id = "";
  7151. let _lchild = document.createElement('div')
  7152. let _limg = document.createElement('img')
  7153. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7154. _limg.style = "width: 26px;margin-right: 10px;"
  7155. _lchild.appendChild(_limg)
  7156. let _lspan = document.createElement('span')
  7157. _lspan.innerHTML = "上傳中..."
  7158. _lchild.appendChild(_lspan)
  7159. _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%);"
  7160. _loading.appendChild(_lchild)
  7161. let _box = $$('div', {
  7162. "style": {
  7163. "position": "relative",
  7164. "width": "100%",
  7165. "height": "100%",
  7166. },
  7167. })
  7168. _box.appendChild(_loading)
  7169. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  7170. switch (str) {
  7171. case "whiteboard":
  7172. aTool = 1;
  7173. _iframe = $$("iframe", {
  7174. "frameborder": "no",
  7175. "border": "0",
  7176. "scrolling ": "no",
  7177. "style": {
  7178. "cssText": "border:0;width:100%;height:100%"
  7179. },
  7180. "src": "https://iwb.cocorobo.hk/"
  7181. })
  7182. _box.appendChild(_iframe);
  7183. _box.appendChild(_jie);
  7184. _formdiv = new U.UF.UI.form(
  7185. "電子白板",
  7186. _box, {
  7187. "id": "whiteboard" + cid + stage + task + tool,
  7188. "style": {
  7189. "width": "90%",
  7190. "height": "90%",
  7191. "overflow": 'hidden'
  7192. },
  7193. "onresize": function () { }
  7194. }, {
  7195. closecallback: function () { }
  7196. }, {
  7197. "style": {
  7198. "height": "36px"
  7199. }
  7200. }).form; //創建窗體
  7201. _taskbar = {
  7202. "id": str + _formdiv.id,
  7203. "style": {
  7204. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7205. },
  7206. "name": "電子白板",
  7207. "forms": _formdiv,
  7208. "click": function () {
  7209. U.MD.D.I.openApplication(str, obj, info);
  7210. }
  7211. }
  7212. break;
  7213. case "mind":
  7214. aTool = 3;
  7215. _iframe = $$("iframe", {
  7216. "frameborder": "no",
  7217. "border": "0",
  7218. "scrolling ": "no",
  7219. "style": {
  7220. "cssText": "border:0;width:100%;height:100%"
  7221. },
  7222. "src": "/kityminder-editor/dist/index.html"
  7223. })
  7224. _box.appendChild(_iframe);
  7225. _box.appendChild(_jie);
  7226. _formdiv = new U.UF.UI.form(
  7227. "思維導圖",
  7228. _box, { //"/jsmind/example/demo.html"
  7229. "id": "mind" + cid + stage + task + tool,
  7230. "style": {
  7231. "width": "90%",
  7232. "height": "90%",
  7233. "overflow": 'hidden'
  7234. },
  7235. "onresize": function () { }
  7236. }, {
  7237. closecallback: function () { }
  7238. }, {
  7239. "style": {
  7240. "height": "36px"
  7241. }
  7242. }).form; //創建窗體
  7243. _taskbar = {
  7244. "id": str + _formdiv.id,
  7245. "style": {
  7246. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7247. },
  7248. "name": "思維導圖",
  7249. "forms": _formdiv,
  7250. "click": function () {
  7251. U.MD.D.I.openApplication(str, obj, info);
  7252. }
  7253. }
  7254. break;
  7255. case "MindMap":
  7256. aTool = 3;
  7257. _iframe = $$("iframe", {
  7258. "frameborder": "no",
  7259. "border": "0",
  7260. "scrolling ": "no",
  7261. "style": {
  7262. "cssText": "border:0;width:100%;height:100%"
  7263. },
  7264. "src": "//cloud.cocorobo.hk/mind/"
  7265. })
  7266. _box.appendChild(_iframe);
  7267. _box.appendChild(_jie);
  7268. _formdiv = new U.UF.UI.form(
  7269. "思維導圖",
  7270. _box, { //"/jsmind/example/demo.html"
  7271. "id": "mind" + cid + stage + task + tool,
  7272. "style": {
  7273. "width": "90%",
  7274. "height": "90%",
  7275. "overflow": 'hidden'
  7276. },
  7277. "onresize": function () { }
  7278. }, {
  7279. closecallback: function () { }
  7280. }, {
  7281. "style": {
  7282. "height": "36px"
  7283. }
  7284. }).form; //創建窗體
  7285. _taskbar = {
  7286. "id": str + _formdiv.id,
  7287. "style": {
  7288. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7289. },
  7290. "name": "思維導圖",
  7291. "forms": _formdiv,
  7292. "click": function () {
  7293. U.MD.D.I.openApplication(str, obj, info);
  7294. }
  7295. }
  7296. break;
  7297. case "doc":
  7298. aTool = 6;
  7299. _iframe = $$("iframe", {
  7300. "frameborder": "no",
  7301. "border": "0",
  7302. "scrolling ": "no",
  7303. "style": {
  7304. "cssText": "border:0;width:100%;height:100%"
  7305. },
  7306. "src": "/Office/Word/WordEditArea.htm"
  7307. })
  7308. _box.appendChild(_iframe);
  7309. _box.appendChild(_jie);
  7310. _formdiv = new U.UF.UI.form(
  7311. "協同文檔",
  7312. _box, {
  7313. "id": "doc" + cid + stage + task + tool,
  7314. "style": {
  7315. "width": "90%",
  7316. "height": "90%",
  7317. "overflow": 'hidden'
  7318. },
  7319. "onresize": function () { }
  7320. }, {
  7321. closecallback: function () { }
  7322. }, {
  7323. "style": {
  7324. "height": "36px"
  7325. }
  7326. }).form; //創建窗體
  7327. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7328. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7329. })
  7330. _taskbar = {
  7331. "id": str + _formdiv.id,
  7332. "style": {
  7333. "backgroundImage": "url(/img/icon/doc.png)"
  7334. },
  7335. "name": "協同文檔",
  7336. "forms": _formdiv,
  7337. "click": function () {
  7338. U.MD.D.I.openApplication(str, obj, info);
  7339. }
  7340. }
  7341. break;
  7342. case "mindNetwork": //好友打開
  7343. aTool = 7;
  7344. _iframe = $$("iframe", {
  7345. "webkitallowfullscreen": "",
  7346. "mozallowfullscreen": "",
  7347. "allowfullscreen": "",
  7348. "frameborder": "no",
  7349. "border": "0",
  7350. "scrolling ": "no",
  7351. "style": {
  7352. "cssText": "border:0; width:100%; height:100%;"
  7353. },
  7354. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7355. })
  7356. _box.appendChild(_iframe);
  7357. _box.appendChild(_jie);
  7358. _formdiv = new U.UF.UI.form(
  7359. "思維網格",
  7360. _box, {
  7361. "id": "mindNetwork" + cid + stage + task + tool,
  7362. "style": {
  7363. "width": "90%",
  7364. "height": "90%",
  7365. "overflow": 'hidden'
  7366. },
  7367. "onresize": function () { }
  7368. }, {
  7369. closecallback: function () { }
  7370. }, {
  7371. "style": {
  7372. "height": "36px"
  7373. }
  7374. }).form; //創建窗體
  7375. _taskbar = {
  7376. "id": str + _formdiv.id,
  7377. "style": {
  7378. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7379. },
  7380. "name": "思維網格",
  7381. "forms": _formdiv,
  7382. "click": function () {
  7383. U.MD.D.I.openApplication(str, obj, info);
  7384. }
  7385. }
  7386. break;
  7387. case "courseDesign":
  7388. _iframe = $$("iframe", {
  7389. "webkitallowfullscreen": "",
  7390. "mozallowfullscreen": "",
  7391. "allowfullscreen": "",
  7392. "frameborder": "no",
  7393. "border": "0",
  7394. "scrolling ": "no",
  7395. "style": {
  7396. "cssText": "border:0; width:100%; height:100%;"
  7397. },
  7398. "src": "/course-design-vue"
  7399. })
  7400. _box.appendChild(_iframe);
  7401. _box.appendChild(_jie);
  7402. _formdiv = new U.UF.UI.form(
  7403. "項目設計",
  7404. _box, {
  7405. "id": "courseDesign" + cid + stage + task + tool,
  7406. "style": {
  7407. "width": "90%",
  7408. "height": "90%",
  7409. "overflow": 'hidden'
  7410. },
  7411. "onresize": function () { }
  7412. }, {
  7413. closecallback: function () { }
  7414. }, {
  7415. "style": {
  7416. "height": "36px"
  7417. }
  7418. }).form; //創建窗體
  7419. _taskbar = {
  7420. "id": str + _formdiv.id,
  7421. "style": {
  7422. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7423. },
  7424. "name": "項目設計",
  7425. "forms": _formdiv,
  7426. "click": function () {
  7427. U.MD.D.I.openApplication(str, obj, info);
  7428. }
  7429. }
  7430. break;
  7431. }
  7432. const script1 = document.createElement("script");
  7433. script1.type = "text/javascript";
  7434. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7435. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7436. const script2 = document.createElement("script");
  7437. script2.type = "text/javascript";
  7438. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7439. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7440. const script3 = document.createElement("script");
  7441. script3.type = "text/javascript";
  7442. script3.charset = "UTF-8";
  7443. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7444. const script4 = document.createElement("script");
  7445. script4.type = "text/javascript";
  7446. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7447. script4.src = window.origin + "/js/Common/jietu2E.js";
  7448. if (_iframe) {
  7449. if (str == 'doc') {
  7450. _iframe = _formdiv.querySelector('iframe')
  7451. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7452. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7453. _iframe.contentWindow.document.body.appendChild(script1);
  7454. _iframe.contentWindow.document.body.appendChild(script2);
  7455. // _iframe.contentWindow.document.body.appendChild(script3);
  7456. _iframe.contentWindow.document.body.appendChild(script4);
  7457. })
  7458. if (onloadListener) {
  7459. _iframe.contentDocument.location.reload()
  7460. } else {
  7461. _iframe.contentDocument.location.reload()
  7462. }
  7463. } else if (str == 'courseDesign') {
  7464. U.UF.DL.iframeLoad(_iframe, function () {
  7465. // _iframe.contentWindow.U.MD.O.W.load();
  7466. // _iframe.contentWindow.document.body.appendChild(script1);
  7467. _iframe.contentWindow.document.body.appendChild(script2);
  7468. _iframe.contentWindow.document.body.appendChild(script4);
  7469. })
  7470. } else if (str == 'mind') {
  7471. _iframe = _formdiv.querySelector('iframe')
  7472. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7473. //
  7474. _iframe.contentWindow.document.body.appendChild(script1);
  7475. _iframe.contentWindow.document.body.appendChild(script2);
  7476. _iframe.contentWindow.document.body.appendChild(script4);
  7477. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7478. })
  7479. if (onloadListener) {
  7480. _iframe.contentDocument.location.reload()
  7481. } else {
  7482. _iframe.contentDocument.location.reload()
  7483. }
  7484. } else if (str == 'whiteboard') {
  7485. _iframe = _formdiv.querySelector('iframe')
  7486. let onloadListener = _iframe.onload = () => {
  7487. _iframe.contentWindow.document.body.appendChild(script1);
  7488. _iframe.contentWindow.document.body.appendChild(script2);
  7489. _iframe.contentWindow.document.body.appendChild(script4);
  7490. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7491. };
  7492. // if (onloadListener) {
  7493. // try {
  7494. // _iframe.src += "?cocorobo="+new Date().getTime()
  7495. // _iframe.contentWindow.document.location.reload()
  7496. // } catch (error) {
  7497. // }
  7498. // } else {
  7499. // _iframe.contentDocument.location.reload()
  7500. // }
  7501. } else {
  7502. _iframe.onload = () => {
  7503. _iframe.contentWindow.document.body.appendChild(script1);
  7504. _iframe.contentWindow.document.body.appendChild(script2);
  7505. // _iframe.contentWindow.document.body.appendChild(script3);
  7506. _iframe.contentWindow.document.body.appendChild(script4);
  7507. };
  7508. }
  7509. _jie.onclick = async () => {
  7510. let text = ''
  7511. if (aTool == 1) {
  7512. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7513. } else if (aTool == 6) {
  7514. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7515. } else if (aTool == 3) {
  7516. text = await U.MD.D.I.getEditorContent(_iframe);
  7517. }
  7518. _loading.style.display = 'flex'
  7519. console.log(_loading);
  7520. var _ajs = _iframe.contentWindow.document.createElement("script");
  7521. _ajs.type = "text/javascript";
  7522. _ajs.innerHTML =
  7523. // 'console.log(' + _loading + ');\n' +
  7524. 'var _js = document.createElement("script");\n' +
  7525. '_js.type="text/javascript";\n' +
  7526. '_js.charset="UTF-8";\n' +
  7527. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7528. "_js.onload = function(){\n" +
  7529. ' var a = document.getElementsByTagName("img")\n' +
  7530. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7531. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7532. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7533. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7534. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7535. "beforeUpload_shishi(file," +
  7536. "'" +
  7537. _userid +
  7538. "'" +
  7539. ", " +
  7540. "'" +
  7541. _cid +
  7542. "'" +
  7543. ", " +
  7544. "'" +
  7545. _stage +
  7546. "'" +
  7547. ", " +
  7548. "'" +
  7549. _task +
  7550. "'" +
  7551. ", " +
  7552. "'" +
  7553. _tool +
  7554. "'" +
  7555. ", " +
  7556. "'" +
  7557. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  7558. "'" +
  7559. ", " +
  7560. "'" +
  7561. aTool +
  7562. "'" +
  7563. ", " +
  7564. "`" +
  7565. text +
  7566. "`" +
  7567. ")\n" +
  7568. " });\n" +
  7569. "}\n" +
  7570. "document.head.appendChild(_js);\n";
  7571. _iframe.contentWindow.document.head.appendChild(_ajs);
  7572. }
  7573. }
  7574. //U.MD.D.I.openClick(str);
  7575. //如果有任務欄信息
  7576. // if (_taskbar) {
  7577. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7578. // }
  7579. }
  7580. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  7581. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7582. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7583. _userid = student.userid, //登錄用戶id
  7584. _username = student.student //用戶名字
  7585. let _iframe;
  7586. let _cid = cid,
  7587. _stage = stage,
  7588. _task = task,
  7589. _tool = tool;
  7590. var _jie = $$("div", {
  7591. "style": {
  7592. "position": "absolute",
  7593. "bottom": "50px",
  7594. "right": "50px",
  7595. "zIndex": "9999",
  7596. "backgroundColor": "#2268bc",
  7597. "color": "#fff",
  7598. "padding": "12px 20px",
  7599. "cursor": "pointer",
  7600. "borderRadius": "4px",
  7601. },
  7602. "innerHTML": "提交作業"
  7603. })
  7604. let aTool = ''
  7605. let _loading = document.createElement('div')
  7606. _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;"
  7607. // _loading.id = "";
  7608. let _lchild = document.createElement('div')
  7609. let _limg = document.createElement('img')
  7610. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7611. _limg.style = "width: 26px;margin-right: 10px;"
  7612. _lchild.appendChild(_limg)
  7613. let _lspan = document.createElement('span')
  7614. _lspan.innerHTML = "上傳中..."
  7615. _lchild.appendChild(_lspan)
  7616. _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%);"
  7617. _loading.appendChild(_lchild)
  7618. var _box = $$('div', {
  7619. "style": {
  7620. "position": "relative",
  7621. "width": "100%",
  7622. "height": "100%",
  7623. },
  7624. })
  7625. _box.appendChild(_loading)
  7626. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  7627. switch (str) {
  7628. case "whiteboard":
  7629. aTool = 1;
  7630. _iframe = $$("iframe", {
  7631. "frameborder": "no",
  7632. "border": "0",
  7633. "scrolling ": "no",
  7634. "style": {
  7635. "cssText": "border:0;width:100%;height:100%"
  7636. },
  7637. "src": "https://iwb.cocorobo.hk/"
  7638. })
  7639. _box.appendChild(_iframe);
  7640. _box.appendChild(_jie);
  7641. _formdiv = new U.UF.UI.form(
  7642. "電子白板-" + _username,
  7643. _box, {
  7644. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7645. "style": {
  7646. "width": "90%",
  7647. "height": "90%",
  7648. "overflow": 'hidden'
  7649. },
  7650. "onresize": function () { }
  7651. }, {
  7652. closecallback: function () { }
  7653. }, {
  7654. "style": {
  7655. "height": "36px"
  7656. }
  7657. }).form; //創建窗體
  7658. _taskbar = {
  7659. "id": str + _formdiv.id,
  7660. "style": {
  7661. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7662. },
  7663. "name": "電子白板",
  7664. "forms": _formdiv,
  7665. "click": function () {
  7666. U.MD.D.I.openApplication(str, obj, info);
  7667. }
  7668. }
  7669. break;
  7670. case "mind":
  7671. aTool = 3;
  7672. _iframe = $$("iframe", {
  7673. "frameborder": "no",
  7674. "border": "0",
  7675. "scrolling ": "no",
  7676. "style": {
  7677. "cssText": "border:0;width:100%;height:100%"
  7678. },
  7679. "src": "/kityminder-editor/dist/index.html"
  7680. })
  7681. _box.appendChild(_iframe);
  7682. _box.appendChild(_jie);
  7683. _formdiv = new U.UF.UI.form(
  7684. "思維導圖-" + _username,
  7685. _box, { //"/jsmind/example/demo.html"
  7686. "id": "mind" + cid + stage + task + tool + _userid,
  7687. "style": {
  7688. "width": "90%",
  7689. "height": "90%",
  7690. "overflow": 'hidden'
  7691. },
  7692. "onresize": function () { }
  7693. }, {
  7694. closecallback: function () { }
  7695. }, {
  7696. "style": {
  7697. "height": "36px"
  7698. }
  7699. }).form; //創建窗體
  7700. _taskbar = {
  7701. "id": str + _formdiv.id,
  7702. "style": {
  7703. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7704. },
  7705. "name": "思維導圖",
  7706. "forms": _formdiv,
  7707. "click": function () {
  7708. U.MD.D.I.openApplication(str, obj, info);
  7709. }
  7710. }
  7711. break;
  7712. case "MindMap":
  7713. aTool = 3;
  7714. _iframe = $$("iframe", {
  7715. "frameborder": "no",
  7716. "border": "0",
  7717. "scrolling ": "no",
  7718. "style": {
  7719. "cssText": "border:0;width:100%;height:100%"
  7720. },
  7721. "src": "//cloud.cocorobo.hk/mind/"
  7722. })
  7723. _box.appendChild(_iframe);
  7724. _box.appendChild(_jie);
  7725. _formdiv = new U.UF.UI.form(
  7726. "思維導圖-" + _username,
  7727. _box, { //"/jsmind/example/demo.html"
  7728. "id": "mind" + cid + stage + task + tool + _userid,
  7729. "style": {
  7730. "width": "90%",
  7731. "height": "90%",
  7732. "overflow": 'hidden'
  7733. },
  7734. "onresize": function () { }
  7735. }, {
  7736. closecallback: function () { }
  7737. }, {
  7738. "style": {
  7739. "height": "36px"
  7740. }
  7741. }).form; //創建窗體
  7742. _taskbar = {
  7743. "id": str + _formdiv.id,
  7744. "style": {
  7745. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7746. },
  7747. "name": "思維導圖",
  7748. "forms": _formdiv,
  7749. "click": function () {
  7750. U.MD.D.I.openApplication(str, obj, info);
  7751. }
  7752. }
  7753. break;
  7754. case "doc":
  7755. aTool = 6;
  7756. _iframe = $$("iframe", {
  7757. "frameborder": "no",
  7758. "border": "0",
  7759. "scrolling ": "no",
  7760. "style": {
  7761. "cssText": "border:0;width:100%;height:100%"
  7762. },
  7763. "src": "/Office/Word/WordEditArea.htm"
  7764. })
  7765. _box.appendChild(_iframe);
  7766. _box.appendChild(_jie);
  7767. _formdiv = new U.UF.UI.form(
  7768. "協同文檔-" + _username,
  7769. _box, {
  7770. "id": "doc" + cid + stage + task + tool + _userid,
  7771. "style": {
  7772. "width": "90%",
  7773. "height": "90%",
  7774. "overflow": 'hidden'
  7775. },
  7776. "onresize": function () { }
  7777. }, {
  7778. closecallback: function () { }
  7779. }, {
  7780. "style": {
  7781. "height": "36px"
  7782. }
  7783. }).form; //創建窗體
  7784. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7785. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7786. })
  7787. _taskbar = {
  7788. "id": str + _formdiv.id,
  7789. "style": {
  7790. "backgroundImage": "url(/img/icon/doc.png)"
  7791. },
  7792. "name": "協同文檔",
  7793. "forms": _formdiv,
  7794. "click": function () {
  7795. U.MD.D.I.openApplication(str, obj, info);
  7796. }
  7797. }
  7798. break;
  7799. case "mindNetwork": //好友打開
  7800. aTool = 7;
  7801. _iframe = $$("iframe", {
  7802. "webkitallowfullscreen": "",
  7803. "mozallowfullscreen": "",
  7804. "allowfullscreen": "",
  7805. "frameborder": "no",
  7806. "border": "0",
  7807. "scrolling ": "no",
  7808. "style": {
  7809. "cssText": "border:0; width:100%; height:100%;"
  7810. },
  7811. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7812. })
  7813. _box.appendChild(_iframe);
  7814. _box.appendChild(_jie);
  7815. _formdiv = new U.UF.UI.form(
  7816. "思維網格-" + _username,
  7817. _box, {
  7818. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7819. "style": {
  7820. "width": "90%",
  7821. "height": "90%",
  7822. "overflow": 'hidden'
  7823. },
  7824. "onresize": function () { }
  7825. }, {
  7826. closecallback: function () { }
  7827. }, {
  7828. "style": {
  7829. "height": "36px"
  7830. }
  7831. }).form; //創建窗體
  7832. _taskbar = {
  7833. "id": str + _formdiv.id,
  7834. "style": {
  7835. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7836. },
  7837. "name": "思維網格",
  7838. "forms": _formdiv,
  7839. "click": function () {
  7840. U.MD.D.I.openApplication(str, obj, info);
  7841. }
  7842. }
  7843. break;
  7844. case "courseDesign":
  7845. _iframe = $$("iframe", {
  7846. "webkitallowfullscreen": "",
  7847. "mozallowfullscreen": "",
  7848. "allowfullscreen": "",
  7849. "frameborder": "no",
  7850. "border": "0",
  7851. "scrolling ": "no",
  7852. "style": {
  7853. "cssText": "border:0; width:100%; height:100%;"
  7854. },
  7855. "src": "/course-design-vue"
  7856. })
  7857. _box.appendChild(_iframe);
  7858. _box.appendChild(_jie);
  7859. _formdiv = new U.UF.UI.form(
  7860. "項目設計-" + _username,
  7861. _box, {
  7862. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7863. "style": {
  7864. "width": "90%",
  7865. "height": "90%",
  7866. "overflow": 'hidden'
  7867. },
  7868. "onresize": function () { }
  7869. }, {
  7870. closecallback: function () { }
  7871. }, {
  7872. "style": {
  7873. "height": "36px"
  7874. }
  7875. }).form; //創建窗體
  7876. _taskbar = {
  7877. "id": str + _formdiv.id,
  7878. "style": {
  7879. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7880. },
  7881. "name": "項目設計",
  7882. "forms": _formdiv,
  7883. "click": function () {
  7884. U.MD.D.I.openApplication(str, obj, info);
  7885. }
  7886. }
  7887. break;
  7888. }
  7889. const script1 = document.createElement("script");
  7890. script1.type = "text/javascript";
  7891. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7892. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7893. const script2 = document.createElement("script");
  7894. script2.type = "text/javascript";
  7895. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7896. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7897. const script3 = document.createElement("script");
  7898. script3.type = "text/javascript";
  7899. script3.charset = "UTF-8";
  7900. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7901. const script4 = document.createElement("script");
  7902. script4.type = "text/javascript";
  7903. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7904. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  7905. if (_iframe) {
  7906. if (str == 'doc') {
  7907. _iframe = _formdiv.querySelector('iframe')
  7908. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7909. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7910. _iframe.contentWindow.document.body.appendChild(script1);
  7911. _iframe.contentWindow.document.body.appendChild(script2);
  7912. // _iframe.contentWindow.document.body.appendChild(script3);
  7913. _iframe.contentWindow.document.body.appendChild(script4);
  7914. })
  7915. if (onloadListener) {
  7916. _iframe.contentDocument.location.reload()
  7917. } else {
  7918. _iframe.contentDocument.location.reload()
  7919. }
  7920. } else if (str == 'courseDesign') {
  7921. U.UF.DL.iframeLoad(_iframe, function () {
  7922. // _iframe.contentWindow.U.MD.O.W.load();
  7923. // _iframe.contentWindow.document.body.appendChild(script1);
  7924. _iframe.contentWindow.document.body.appendChild(script2);
  7925. _iframe.contentWindow.document.body.appendChild(script4);
  7926. })
  7927. } else if (str == 'mind') {
  7928. _iframe = _formdiv.querySelector('iframe')
  7929. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7930. //
  7931. _iframe.contentWindow.document.body.appendChild(script1);
  7932. _iframe.contentWindow.document.body.appendChild(script2);
  7933. _iframe.contentWindow.document.body.appendChild(script4);
  7934. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7935. })
  7936. if (onloadListener) {
  7937. _iframe.contentDocument.location.reload()
  7938. } else {
  7939. _iframe.contentDocument.location.reload()
  7940. }
  7941. } else if (str == 'whiteboard') {
  7942. _iframe = _formdiv.querySelector('iframe')
  7943. let onloadListener = _iframe.onload = () => {
  7944. _iframe.contentWindow.document.body.appendChild(script1);
  7945. _iframe.contentWindow.document.body.appendChild(script2);
  7946. _iframe.contentWindow.document.body.appendChild(script4);
  7947. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7948. };
  7949. // if (onloadListener) {
  7950. // try {
  7951. // _iframe.src += "?cocorobo="+new Date().getTime()
  7952. // _iframe.contentWindow.document.location.reload()
  7953. // } catch (error) {
  7954. // }
  7955. // } else {
  7956. // _iframe.contentDocument.location.reload()
  7957. // }
  7958. } else {
  7959. _iframe.onload = () => {
  7960. _iframe.contentWindow.document.body.appendChild(script1);
  7961. _iframe.contentWindow.document.body.appendChild(script2);
  7962. // _iframe.contentWindow.document.body.appendChild(script3);
  7963. _iframe.contentWindow.document.body.appendChild(script4);
  7964. };
  7965. }
  7966. _jie.onclick = async () => {
  7967. let text = ''
  7968. if (aTool == 1) {
  7969. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7970. } else if (aTool == 6) {
  7971. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7972. } else if (aTool == 3) {
  7973. text = await U.MD.D.I.getEditorContent(_iframe);
  7974. }
  7975. _loading.style.display = 'flex'
  7976. console.log(_loading);
  7977. var _ajs = _iframe.contentWindow.document.createElement("script");
  7978. _ajs.type = "text/javascript";
  7979. _ajs.innerHTML =
  7980. // 'console.log(' + _loading + ');\n' +
  7981. 'var _js = document.createElement("script");\n' +
  7982. '_js.type="text/javascript";\n' +
  7983. '_js.charset="UTF-8";\n' +
  7984. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7985. "_js.onload = function(){\n" +
  7986. ' var a = document.getElementsByTagName("img")\n' +
  7987. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7988. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7989. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7990. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7991. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7992. "beforeUpload_shishi(file," +
  7993. "'" +
  7994. _userid +
  7995. "'" +
  7996. ", " +
  7997. "'" +
  7998. _cid +
  7999. "'" +
  8000. ", " +
  8001. "'" +
  8002. _stage +
  8003. "'" +
  8004. ", " +
  8005. "'" +
  8006. _task +
  8007. "'" +
  8008. ", " +
  8009. "'" +
  8010. _tool +
  8011. "'" +
  8012. ", " +
  8013. "'" +
  8014. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  8015. "'" +
  8016. ", " +
  8017. "'" +
  8018. aTool +
  8019. "'" +
  8020. ", " +
  8021. "`" +
  8022. text +
  8023. "`" +
  8024. ")\n" +
  8025. " });\n" +
  8026. "}\n" +
  8027. "document.head.appendChild(_js);\n";
  8028. _iframe.contentWindow.document.head.appendChild(_ajs);
  8029. }
  8030. }
  8031. }
  8032. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  8033. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8034. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8035. _userid = student.userid, //登錄用戶id
  8036. _username = student.student //用戶名字
  8037. let _iframe;
  8038. let _cid = cid,
  8039. _stage = stage,
  8040. _task = task,
  8041. _tool = tool;
  8042. var _jie = $$("div", {
  8043. "style": {
  8044. "position": "absolute",
  8045. "bottom": "50px",
  8046. "right": "50px",
  8047. "zIndex": "9999",
  8048. "backgroundColor": "#2268bc",
  8049. "color": "#fff",
  8050. "padding": "12px 20px",
  8051. "cursor": "pointer",
  8052. "borderRadius": "4px",
  8053. },
  8054. "innerHTML": "提交作業"
  8055. })
  8056. let aTool = ''
  8057. let _loading = document.createElement('div')
  8058. _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;"
  8059. // _loading.id = "";
  8060. let _lchild = document.createElement('div')
  8061. let _limg = document.createElement('img')
  8062. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8063. _limg.style = "width: 26px;margin-right: 10px;"
  8064. _lchild.appendChild(_limg)
  8065. let _lspan = document.createElement('span')
  8066. _lspan.innerHTML = "上傳中..."
  8067. _lchild.appendChild(_lspan)
  8068. _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%);"
  8069. _loading.appendChild(_lchild)
  8070. var _box = $$('div', {
  8071. "style": {
  8072. "position": "relative",
  8073. "width": "100%",
  8074. "height": "100%",
  8075. },
  8076. })
  8077. _box.appendChild(_loading)
  8078. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  8079. switch (str) {
  8080. case "whiteboard":
  8081. aTool = 1;
  8082. _iframe = $$("iframe", {
  8083. "frameborder": "no",
  8084. "border": "0",
  8085. "scrolling ": "no",
  8086. "style": {
  8087. "cssText": "border:0;width:100%;height:100%"
  8088. },
  8089. "src": "https://iwb.cocorobo.hk/"
  8090. })
  8091. _box.appendChild(_iframe);
  8092. _box.appendChild(_jie);
  8093. _formdiv = new U.UF.UI.form(
  8094. "電子白板-" + _username,
  8095. _box, {
  8096. "id": "whiteboard" + cid + stage + task + tool + _userid,
  8097. "style": {
  8098. "width": "90%",
  8099. "height": "90%",
  8100. "overflow": 'hidden'
  8101. },
  8102. "onresize": function () { }
  8103. }, {
  8104. closecallback: function () { }
  8105. }, {
  8106. "style": {
  8107. "height": "36px"
  8108. }
  8109. }).form; //創建窗體
  8110. _taskbar = {
  8111. "id": str + _formdiv.id,
  8112. "style": {
  8113. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8114. },
  8115. "name": "電子白板",
  8116. "forms": _formdiv,
  8117. "click": function () {
  8118. U.MD.D.I.openApplication(str, obj, info);
  8119. }
  8120. }
  8121. break;
  8122. case "mind":
  8123. aTool = 3;
  8124. _iframe = $$("iframe", {
  8125. "frameborder": "no",
  8126. "border": "0",
  8127. "scrolling ": "no",
  8128. "style": {
  8129. "cssText": "border:0;width:100%;height:100%"
  8130. },
  8131. "src": "/kityminder-editor/dist/index.html"
  8132. })
  8133. _box.appendChild(_iframe);
  8134. _box.appendChild(_jie);
  8135. _formdiv = new U.UF.UI.form(
  8136. "思維導圖-" + _username,
  8137. _box, { //"/jsmind/example/demo.html"
  8138. "id": "mind" + cid + stage + task + tool + _userid,
  8139. "style": {
  8140. "width": "90%",
  8141. "height": "90%",
  8142. "overflow": 'hidden'
  8143. },
  8144. "onresize": function () { }
  8145. }, {
  8146. closecallback: function () { }
  8147. }, {
  8148. "style": {
  8149. "height": "36px"
  8150. }
  8151. }).form; //創建窗體
  8152. _taskbar = {
  8153. "id": str + _formdiv.id,
  8154. "style": {
  8155. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8156. },
  8157. "name": "思維導圖",
  8158. "forms": _formdiv,
  8159. "click": function () {
  8160. U.MD.D.I.openApplication(str, obj, info);
  8161. }
  8162. }
  8163. break;
  8164. case "MindMap":
  8165. aTool = 3;
  8166. _iframe = $$("iframe", {
  8167. "frameborder": "no",
  8168. "border": "0",
  8169. "scrolling ": "no",
  8170. "style": {
  8171. "cssText": "border:0;width:100%;height:100%"
  8172. },
  8173. "src": "//cloud.cocorobo.hk/mind/"
  8174. })
  8175. _box.appendChild(_iframe);
  8176. _box.appendChild(_jie);
  8177. _formdiv = new U.UF.UI.form(
  8178. "思維導圖-" + _username,
  8179. _box, { //"/jsmind/example/demo.html"
  8180. "id": "mind" + cid + stage + task + tool + _userid,
  8181. "style": {
  8182. "width": "90%",
  8183. "height": "90%",
  8184. "overflow": 'hidden'
  8185. },
  8186. "onresize": function () { }
  8187. }, {
  8188. closecallback: function () { }
  8189. }, {
  8190. "style": {
  8191. "height": "36px"
  8192. }
  8193. }).form; //創建窗體
  8194. _taskbar = {
  8195. "id": str + _formdiv.id,
  8196. "style": {
  8197. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8198. },
  8199. "name": "思維導圖",
  8200. "forms": _formdiv,
  8201. "click": function () {
  8202. U.MD.D.I.openApplication(str, obj, info);
  8203. }
  8204. }
  8205. break;
  8206. case "doc":
  8207. aTool = 6;
  8208. _iframe = $$("iframe", {
  8209. "frameborder": "no",
  8210. "border": "0",
  8211. "scrolling ": "no",
  8212. "style": {
  8213. "cssText": "border:0;width:100%;height:100%"
  8214. },
  8215. "src": "/Office/Word/WordEditArea.htm"
  8216. })
  8217. _box.appendChild(_iframe);
  8218. _box.appendChild(_jie);
  8219. _formdiv = new U.UF.UI.form(
  8220. "協同文檔-" + _username,
  8221. _box, {
  8222. "id": "doc" + cid + stage + task + tool + _userid,
  8223. "style": {
  8224. "width": "90%",
  8225. "height": "90%",
  8226. "overflow": 'hidden'
  8227. },
  8228. "onresize": function () { }
  8229. }, {
  8230. closecallback: function () { }
  8231. }, {
  8232. "style": {
  8233. "height": "36px"
  8234. }
  8235. }).form; //創建窗體
  8236. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8237. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  8238. })
  8239. _taskbar = {
  8240. "id": str + _formdiv.id,
  8241. "style": {
  8242. "backgroundImage": "url(/img/icon/doc.png)"
  8243. },
  8244. "name": "協同文檔",
  8245. "forms": _formdiv,
  8246. "click": function () {
  8247. U.MD.D.I.openApplication(str, obj, info);
  8248. }
  8249. }
  8250. break;
  8251. case "mindNetwork": //好友打開
  8252. aTool = 7;
  8253. _iframe = $$("iframe", {
  8254. "webkitallowfullscreen": "",
  8255. "mozallowfullscreen": "",
  8256. "allowfullscreen": "",
  8257. "frameborder": "no",
  8258. "border": "0",
  8259. "scrolling ": "no",
  8260. "style": {
  8261. "cssText": "border:0; width:100%; height:100%;"
  8262. },
  8263. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  8264. })
  8265. _box.appendChild(_iframe);
  8266. _box.appendChild(_jie);
  8267. _formdiv = new U.UF.UI.form(
  8268. "思維網格-" + _username,
  8269. _box, {
  8270. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  8271. "style": {
  8272. "width": "90%",
  8273. "height": "90%",
  8274. "overflow": 'hidden'
  8275. },
  8276. "onresize": function () { }
  8277. }, {
  8278. closecallback: function () { }
  8279. }, {
  8280. "style": {
  8281. "height": "36px"
  8282. }
  8283. }).form; //創建窗體
  8284. _taskbar = {
  8285. "id": str + _formdiv.id,
  8286. "style": {
  8287. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  8288. },
  8289. "name": "思維網格",
  8290. "forms": _formdiv,
  8291. "click": function () {
  8292. U.MD.D.I.openApplication(str, obj, info);
  8293. }
  8294. }
  8295. break;
  8296. case "courseDesign":
  8297. _iframe = $$("iframe", {
  8298. "webkitallowfullscreen": "",
  8299. "mozallowfullscreen": "",
  8300. "allowfullscreen": "",
  8301. "frameborder": "no",
  8302. "border": "0",
  8303. "scrolling ": "no",
  8304. "style": {
  8305. "cssText": "border:0; width:100%; height:100%;"
  8306. },
  8307. "src": "/course-design-vue"
  8308. })
  8309. _box.appendChild(_iframe);
  8310. _box.appendChild(_jie);
  8311. _formdiv = new U.UF.UI.form(
  8312. "項目設計-" + _username,
  8313. _box, {
  8314. "id": "courseDesign" + cid + stage + task + tool + _userid,
  8315. "style": {
  8316. "width": "90%",
  8317. "height": "90%",
  8318. "overflow": 'hidden'
  8319. },
  8320. "onresize": function () { }
  8321. }, {
  8322. closecallback: function () { }
  8323. }, {
  8324. "style": {
  8325. "height": "36px"
  8326. }
  8327. }).form; //創建窗體
  8328. _taskbar = {
  8329. "id": str + _formdiv.id,
  8330. "style": {
  8331. "backgroundImage": "url(/img/icon/courseDesign.png)"
  8332. },
  8333. "name": "項目設計",
  8334. "forms": _formdiv,
  8335. "click": function () {
  8336. U.MD.D.I.openApplication(str, obj, info);
  8337. }
  8338. }
  8339. break;
  8340. }
  8341. const script1 = document.createElement("script");
  8342. script1.type = "text/javascript";
  8343. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8344. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8345. const script2 = document.createElement("script");
  8346. script2.type = "text/javascript";
  8347. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8348. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8349. const script3 = document.createElement("script");
  8350. script3.type = "text/javascript";
  8351. script3.charset = "UTF-8";
  8352. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8353. const script4 = document.createElement("script");
  8354. script4.type = "text/javascript";
  8355. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  8356. script4.src = window.origin + "/js/Common/jietu2E.js";
  8357. if (_iframe) {
  8358. if (str == 'doc') {
  8359. _iframe = _formdiv.querySelector('iframe')
  8360. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8361. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  8362. _iframe.contentWindow.document.body.appendChild(script1);
  8363. _iframe.contentWindow.document.body.appendChild(script2);
  8364. // _iframe.contentWindow.document.body.appendChild(script3);
  8365. _iframe.contentWindow.document.body.appendChild(script4);
  8366. })
  8367. if (onloadListener) {
  8368. _iframe.contentDocument.location.reload()
  8369. } else {
  8370. _iframe.contentDocument.location.reload()
  8371. }
  8372. } else if (str == 'courseDesign') {
  8373. U.UF.DL.iframeLoad(_iframe, function () {
  8374. // _iframe.contentWindow.U.MD.O.W.load();
  8375. // _iframe.contentWindow.document.body.appendChild(script1);
  8376. _iframe.contentWindow.document.body.appendChild(script2);
  8377. _iframe.contentWindow.document.body.appendChild(script4);
  8378. })
  8379. } else if (str == 'mind') {
  8380. _iframe = _formdiv.querySelector('iframe')
  8381. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8382. //
  8383. _iframe.contentWindow.document.body.appendChild(script1);
  8384. _iframe.contentWindow.document.body.appendChild(script2);
  8385. _iframe.contentWindow.document.body.appendChild(script4);
  8386. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  8387. })
  8388. if (onloadListener) {
  8389. _iframe.contentDocument.location.reload()
  8390. } else {
  8391. _iframe.contentDocument.location.reload()
  8392. }
  8393. } else if (str == 'whiteboard') {
  8394. _iframe = _formdiv.querySelector('iframe')
  8395. let onloadListener = _iframe.onload = () => {
  8396. _iframe.contentWindow.document.body.appendChild(script1);
  8397. _iframe.contentWindow.document.body.appendChild(script2);
  8398. _iframe.contentWindow.document.body.appendChild(script4);
  8399. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  8400. };
  8401. // if (onloadListener) {
  8402. // try {
  8403. // _iframe.src += "?cocorobo="+new Date().getTime()
  8404. // _iframe.contentWindow.document.location.reload()
  8405. // } catch (error) {
  8406. // }
  8407. // } else {
  8408. // _iframe.contentDocument.location.reload()
  8409. // }
  8410. } else {
  8411. _iframe.onload = () => {
  8412. _iframe.contentWindow.document.body.appendChild(script1);
  8413. _iframe.contentWindow.document.body.appendChild(script2);
  8414. // _iframe.contentWindow.document.body.appendChild(script3);
  8415. _iframe.contentWindow.document.body.appendChild(script4);
  8416. };
  8417. }
  8418. _jie.onclick = async () => {
  8419. let text = ''
  8420. if (aTool == 1) {
  8421. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8422. } else if (aTool == 6) {
  8423. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8424. } else if (aTool == 3) {
  8425. text = await U.MD.D.I.getEditorContent(_iframe);
  8426. }
  8427. _loading.style.display = 'flex'
  8428. console.log(_loading);
  8429. var _ajs = _iframe.contentWindow.document.createElement("script");
  8430. _ajs.type = "text/javascript";
  8431. _ajs.innerHTML =
  8432. // 'console.log(' + _loading + ');\n' +
  8433. 'var _js = document.createElement("script");\n' +
  8434. '_js.type="text/javascript";\n' +
  8435. '_js.charset="UTF-8";\n' +
  8436. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8437. "_js.onload = function(){\n" +
  8438. ' var a = document.getElementsByTagName("img")\n' +
  8439. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8440. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8441. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8442. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8443. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8444. "beforeUpload_shishi(file," +
  8445. "'" +
  8446. _userid +
  8447. "'" +
  8448. ", " +
  8449. "'" +
  8450. _cid +
  8451. "'" +
  8452. ", " +
  8453. "'" +
  8454. _stage +
  8455. "'" +
  8456. ", " +
  8457. "'" +
  8458. _task +
  8459. "'" +
  8460. ", " +
  8461. "'" +
  8462. _tool +
  8463. "'" +
  8464. ", " +
  8465. "'" +
  8466. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  8467. "'" +
  8468. ", " +
  8469. "'" +
  8470. aTool +
  8471. "'" +
  8472. ", " +
  8473. "`" +
  8474. text +
  8475. "`" +
  8476. ")\n" +
  8477. " });\n" +
  8478. "}\n" +
  8479. "document.head.appendChild(_js);\n";
  8480. _iframe.contentWindow.document.head.appendChild(_ajs);
  8481. }
  8482. }
  8483. }
  8484. U.MD.D.I.getEditorContent = function (iframe) {
  8485. return new Promise((resolve, reject) => {
  8486. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  8487. console.log(content);
  8488. resolve(content)
  8489. });
  8490. });
  8491. }
  8492. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  8493. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  8494. // if (res.value[0].length > 0) {
  8495. // // resolve(res.value[0][0].text);
  8496. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  8497. // $(fileInput).val('');
  8498. // });
  8499. // }
  8500. // }, [], { "type": "GET", "withCredentials": true });
  8501. var xmlhttp;
  8502. var Mac, Sn, DeviceId
  8503. if (window.XMLHttpRequest) {
  8504. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8505. xmlhttp = new XMLHttpRequest();
  8506. }
  8507. else {
  8508. // IE6, IE5 瀏覽器執行代碼
  8509. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8510. }
  8511. xmlhttp.onreadystatechange = function () {
  8512. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8513. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8514. // resolve(res.value[0][0].text);
  8515. if (type == '2') {
  8516. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8517. } else if (type == '3') {
  8518. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8519. }
  8520. } else {
  8521. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  8522. }
  8523. }
  8524. }
  8525. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8526. xmlhttp.send();
  8527. }
  8528. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  8529. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8530. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8531. _userinfo = US.userInfo, //登錄用戶信息
  8532. _userid = US.userInfo.userid //登錄用戶id
  8533. let _iframe;
  8534. let _cid = cid,
  8535. _stage = stage,
  8536. _task = task,
  8537. _tool = tool;
  8538. var _jie = $$("div", {
  8539. "style": {
  8540. "position": "absolute",
  8541. "bottom": "50px",
  8542. "right": "50px",
  8543. "zIndex": "9999",
  8544. "backgroundColor": "#2268bc",
  8545. "color": "#fff",
  8546. "padding": "12px 20px",
  8547. "cursor": "pointer",
  8548. "borderRadius": "4px",
  8549. },
  8550. "innerHTML": "確認並提交"
  8551. })
  8552. let aTool = ''
  8553. let _loading = document.createElement('div')
  8554. _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;"
  8555. // _loading.id = "";
  8556. let _lchild = document.createElement('div')
  8557. let _limg = document.createElement('img')
  8558. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8559. _limg.style = "width: 26px;margin-right: 10px;"
  8560. _lchild.appendChild(_limg)
  8561. let _lspan = document.createElement('span')
  8562. _lspan.innerHTML = "上傳中..."
  8563. _lchild.appendChild(_lspan)
  8564. _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%);"
  8565. _loading.appendChild(_lchild)
  8566. var _box = $$('div', {
  8567. "style": {
  8568. "position": "relative",
  8569. "width": "100%",
  8570. "height": "100%",
  8571. },
  8572. })
  8573. _box.appendChild(_loading)
  8574. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  8575. switch (str) {
  8576. case "whiteboard":
  8577. aTool = 1;
  8578. _iframe = $$("iframe", {
  8579. "frameborder": "no",
  8580. "border": "0",
  8581. "scrolling ": "no",
  8582. "style": {
  8583. "cssText": "border:0;width:100%;height:100%"
  8584. },
  8585. "src": "https://iwb.cocorobo.hk/"
  8586. })
  8587. _box.appendChild(_iframe);
  8588. _box.appendChild(_jie);
  8589. _formdiv = new U.UF.UI.form(
  8590. "電子白板",
  8591. _box, {
  8592. "id": "whiteboards" + cid + stage + task + tool,
  8593. "style": {
  8594. "width": "90%",
  8595. "height": "90%",
  8596. "overflow": 'hidden'
  8597. },
  8598. "onresize": function () { }
  8599. }, {
  8600. closecallback: function () { }
  8601. }, {
  8602. "style": {
  8603. "height": "36px"
  8604. }
  8605. }).form; //創建窗體
  8606. _taskbar = {
  8607. "id": str + _formdiv.id,
  8608. "style": {
  8609. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8610. },
  8611. "name": "電子白板",
  8612. "forms": _formdiv,
  8613. "click": function () {
  8614. U.MD.D.I.openApplication(str, obj, info);
  8615. }
  8616. }
  8617. break;
  8618. case "mind":
  8619. aTool = 3;
  8620. _iframe = $$("iframe", {
  8621. "frameborder": "no",
  8622. "border": "0",
  8623. "scrolling ": "no",
  8624. "style": {
  8625. "cssText": "border:0;width:100%;height:100%"
  8626. },
  8627. "src": "/kityminder-editor/dist/index.html"
  8628. });
  8629. _box.appendChild(_iframe);
  8630. _box.appendChild(_jie);
  8631. _formdiv = new U.UF.UI.form(
  8632. "思維導圖",
  8633. _box, { //"/jsmind/example/demo.html"
  8634. "id": "minds" + cid + stage + task + tool,
  8635. "style": {
  8636. "width": "90%",
  8637. "height": "90%",
  8638. "overflow": 'hidden'
  8639. },
  8640. "onresize": function () { }
  8641. }, {
  8642. closecallback: function () { }
  8643. }, {
  8644. "style": {
  8645. "height": "36px"
  8646. }
  8647. }).form; //創建窗體
  8648. _taskbar = {
  8649. "id": str + _formdiv.id,
  8650. "style": {
  8651. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8652. },
  8653. "name": "思維導圖",
  8654. "forms": _formdiv,
  8655. "click": function () {
  8656. U.MD.D.I.openApplication(str, obj, info);
  8657. }
  8658. }
  8659. break;
  8660. case "doc":
  8661. aTool = 6;
  8662. _iframe = $$("iframe", {
  8663. "frameborder": "no",
  8664. "border": "0",
  8665. "scrolling ": "no",
  8666. "style": {
  8667. "cssText": "border:0;width:100%;height:100%"
  8668. },
  8669. "src": "/Office/Word/WordEditArea.htm"
  8670. })
  8671. _box.appendChild(_iframe);
  8672. _box.appendChild(_jie);
  8673. _formdiv = new U.UF.UI.form(
  8674. "協同文檔",
  8675. _box, {
  8676. "id": "docs" + cid + stage + task + tool,
  8677. "style": {
  8678. "width": "90%",
  8679. "height": "90%",
  8680. "overflow": 'hidden'
  8681. },
  8682. "onresize": function () { }
  8683. }, {
  8684. closecallback: function () { }
  8685. }, {
  8686. "style": {
  8687. "height": "36px"
  8688. }
  8689. }).form; //創建窗體
  8690. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8691. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8692. })
  8693. _taskbar = {
  8694. "id": str + _formdiv.id,
  8695. "style": {
  8696. "backgroundImage": "url(/img/icon/doc.png)"
  8697. },
  8698. "name": "協同文檔",
  8699. "forms": _formdiv,
  8700. "click": function () {
  8701. U.MD.D.I.openApplication(str, obj, info);
  8702. }
  8703. }
  8704. break;
  8705. }
  8706. const script1 = document.createElement("script");
  8707. script1.type = "text/javascript";
  8708. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8709. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8710. const script2 = document.createElement("script");
  8711. script2.type = "text/javascript";
  8712. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8713. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8714. const script3 = document.createElement("script");
  8715. script3.type = "text/javascript";
  8716. script3.charset = "UTF-8";
  8717. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8718. const script4 = document.createElement("script");
  8719. script4.type = "text/javascript";
  8720. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8721. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  8722. if (_iframe) {
  8723. if (str == 'doc') {
  8724. _iframe = _formdiv.querySelector('iframe')
  8725. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8726. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8727. _iframe.contentWindow.document.body.appendChild(script1);
  8728. _iframe.contentWindow.document.body.appendChild(script2);
  8729. // _iframe.contentWindow.document.body.appendChild(script3);
  8730. _iframe.contentWindow.document.body.appendChild(script4);
  8731. })
  8732. if (onloadListener) {
  8733. _iframe.contentDocument.location.reload()
  8734. } else {
  8735. _iframe.contentDocument.location.reload()
  8736. }
  8737. } else if (str == 'mind') {
  8738. _iframe = _formdiv.querySelector('iframe')
  8739. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8740. _iframe.contentWindow.document.body.appendChild(script1);
  8741. _iframe.contentWindow.document.body.appendChild(script2);
  8742. _iframe.contentWindow.document.body.appendChild(script4);
  8743. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8744. })
  8745. if (onloadListener) {
  8746. _iframe.contentDocument.location.reload()
  8747. } else {
  8748. _iframe.contentDocument.location.reload()
  8749. }
  8750. } else {
  8751. _iframe.onload = () => {
  8752. _iframe.contentWindow.document.body.appendChild(script1);
  8753. _iframe.contentWindow.document.body.appendChild(script2);
  8754. // _iframe.contentWindow.document.body.appendChild(script3);
  8755. _iframe.contentWindow.document.body.appendChild(script4);
  8756. };
  8757. }
  8758. _jie.onclick = async () => {
  8759. let text = ''
  8760. if (aTool == 6) {
  8761. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8762. } else if (aTool == 3) {
  8763. text = await U.MD.D.I.getEditorContent(_iframe);
  8764. }
  8765. _loading.style.display = 'flex'
  8766. console.log(_loading);
  8767. var _ajs = _iframe.contentWindow.document.createElement("script");
  8768. _ajs.type = "text/javascript";
  8769. _ajs.innerHTML =
  8770. // 'console.log(' + _loading + ');\n' +
  8771. 'var _js = document.createElement("script");\n' +
  8772. '_js.type="text/javascript";\n' +
  8773. '_js.charset="UTF-8";\n' +
  8774. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8775. "_js.onload = function(){\n" +
  8776. ' var a = document.getElementsByTagName("img")\n' +
  8777. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8778. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8779. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8780. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8781. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8782. "beforeUpload_shishi(file," +
  8783. "'" +
  8784. _userid +
  8785. "'" +
  8786. ", " +
  8787. "'" +
  8788. _cid +
  8789. "'" +
  8790. ", " +
  8791. "'" +
  8792. _stage +
  8793. "'" +
  8794. ", " +
  8795. "'" +
  8796. _task +
  8797. "'" +
  8798. ", " +
  8799. "'" +
  8800. _tool +
  8801. "'" +
  8802. ", " +
  8803. "'" +
  8804. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  8805. "'" +
  8806. ", " +
  8807. "'" +
  8808. aTool +
  8809. "'" +
  8810. ", " +
  8811. "`" +
  8812. text +
  8813. "`" +
  8814. ")\n" +
  8815. " });\n" +
  8816. "}\n" +
  8817. "document.head.appendChild(_js);\n";
  8818. _iframe.contentWindow.document.head.appendChild(_ajs);
  8819. }
  8820. }
  8821. //U.MD.D.I.openClick(str);
  8822. //如果有任務欄信息
  8823. // if (_taskbar) {
  8824. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8825. // }
  8826. }
  8827. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  8828. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8829. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8830. _userinfo = US.userInfo, //登錄用戶信息
  8831. _userid = US.userInfo.userid //登錄用戶id
  8832. let _iframe;
  8833. let _cid = cid,
  8834. _stage = stage,
  8835. _task = task,
  8836. _tool = tool;
  8837. var _jie = $$("div", {
  8838. "style": {
  8839. "position": "absolute",
  8840. "bottom": "50px",
  8841. "right": "50px",
  8842. "zIndex": "9999",
  8843. "backgroundColor": "#2268bc",
  8844. "color": "#fff",
  8845. "padding": "12px 20px",
  8846. "cursor": "pointer",
  8847. "borderRadius": "4px",
  8848. },
  8849. "innerHTML": "確認並提交"
  8850. })
  8851. let aTool = ''
  8852. let _loading = document.createElement('div')
  8853. _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;"
  8854. // _loading.id = "";
  8855. let _lchild = document.createElement('div')
  8856. let _limg = document.createElement('img')
  8857. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8858. _limg.style = "width: 26px;margin-right: 10px;"
  8859. _lchild.appendChild(_limg)
  8860. let _lspan = document.createElement('span')
  8861. _lspan.innerHTML = "上傳中..."
  8862. _lchild.appendChild(_lspan)
  8863. _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%);"
  8864. _loading.appendChild(_lchild)
  8865. var _box = $$('div', {
  8866. "style": {
  8867. "position": "relative",
  8868. "width": "100%",
  8869. "height": "100%",
  8870. },
  8871. })
  8872. _box.appendChild(_loading)
  8873. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  8874. switch (str) {
  8875. case "whiteboard":
  8876. aTool = 1;
  8877. _iframe = $$("iframe", {
  8878. "frameborder": "no",
  8879. "border": "0",
  8880. "scrolling ": "no",
  8881. "style": {
  8882. "cssText": "border:0;width:100%;height:100%"
  8883. },
  8884. "src": "https://iwb.cocorobo.hk/"
  8885. })
  8886. _box.appendChild(_iframe);
  8887. _box.appendChild(_jie);
  8888. _formdiv = new U.UF.UI.form(
  8889. "電子白板",
  8890. _box, {
  8891. "id": "whiteboards" + cid + stage + task + tool,
  8892. "style": {
  8893. "width": "90%",
  8894. "height": "90%",
  8895. "overflow": 'hidden'
  8896. },
  8897. "onresize": function () { }
  8898. }, {
  8899. closecallback: function () { }
  8900. }, {
  8901. "style": {
  8902. "height": "36px"
  8903. }
  8904. }).form; //創建窗體
  8905. _taskbar = {
  8906. "id": str + _formdiv.id,
  8907. "style": {
  8908. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8909. },
  8910. "name": "電子白板",
  8911. "forms": _formdiv,
  8912. "click": function () {
  8913. U.MD.D.I.openApplication(str, obj, info);
  8914. }
  8915. }
  8916. break;
  8917. case "mind":
  8918. aTool = 3;
  8919. _iframe = $$("iframe", {
  8920. "frameborder": "no",
  8921. "border": "0",
  8922. "scrolling ": "no",
  8923. "style": {
  8924. "cssText": "border:0;width:100%;height:100%"
  8925. },
  8926. "src": "/kityminder-editor/dist/index.html"
  8927. });
  8928. _box.appendChild(_iframe);
  8929. _box.appendChild(_jie);
  8930. _formdiv = new U.UF.UI.form(
  8931. "思維導圖",
  8932. _box, { //"/jsmind/example/demo.html"
  8933. "id": "minds" + cid + stage + task + tool,
  8934. "style": {
  8935. "width": "90%",
  8936. "height": "90%",
  8937. "overflow": 'hidden'
  8938. },
  8939. "onresize": function () { }
  8940. }, {
  8941. closecallback: function () { }
  8942. }, {
  8943. "style": {
  8944. "height": "36px"
  8945. }
  8946. }).form; //創建窗體
  8947. _taskbar = {
  8948. "id": str + _formdiv.id,
  8949. "style": {
  8950. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8951. },
  8952. "name": "思維導圖",
  8953. "forms": _formdiv,
  8954. "click": function () {
  8955. U.MD.D.I.openApplication(str, obj, info);
  8956. }
  8957. }
  8958. break;
  8959. case "doc":
  8960. aTool = 6;
  8961. _iframe = $$("iframe", {
  8962. "frameborder": "no",
  8963. "border": "0",
  8964. "scrolling ": "no",
  8965. "style": {
  8966. "cssText": "border:0;width:100%;height:100%"
  8967. },
  8968. "src": "/Office/Word/WordEditArea.htm"
  8969. })
  8970. _box.appendChild(_iframe);
  8971. _box.appendChild(_jie);
  8972. _formdiv = new U.UF.UI.form(
  8973. "協同文檔",
  8974. _box, {
  8975. "id": "docs" + cid + stage + task + tool,
  8976. "style": {
  8977. "width": "90%",
  8978. "height": "90%",
  8979. "overflow": 'hidden'
  8980. },
  8981. "onresize": function () { }
  8982. }, {
  8983. closecallback: function () { }
  8984. }, {
  8985. "style": {
  8986. "height": "36px"
  8987. }
  8988. }).form; //創建窗體
  8989. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8990. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8991. })
  8992. _taskbar = {
  8993. "id": str + _formdiv.id,
  8994. "style": {
  8995. "backgroundImage": "url(/img/icon/doc.png)"
  8996. },
  8997. "name": "協同文檔",
  8998. "forms": _formdiv,
  8999. "click": function () {
  9000. U.MD.D.I.openApplication(str, obj, info);
  9001. }
  9002. }
  9003. break;
  9004. }
  9005. const script1 = document.createElement("script");
  9006. script1.type = "text/javascript";
  9007. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  9008. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  9009. const script2 = document.createElement("script");
  9010. script2.type = "text/javascript";
  9011. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  9012. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  9013. const script3 = document.createElement("script");
  9014. script3.type = "text/javascript";
  9015. script3.charset = "UTF-8";
  9016. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  9017. const script4 = document.createElement("script");
  9018. script4.type = "text/javascript";
  9019. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  9020. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  9021. if (_iframe) {
  9022. if (str == 'doc') {
  9023. _iframe = _formdiv.querySelector('iframe')
  9024. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9025. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  9026. _iframe.contentWindow.document.body.appendChild(script1);
  9027. _iframe.contentWindow.document.body.appendChild(script2);
  9028. // _iframe.contentWindow.document.body.appendChild(script3);
  9029. _iframe.contentWindow.document.body.appendChild(script4);
  9030. })
  9031. if (onloadListener) {
  9032. _iframe.contentDocument.location.reload()
  9033. } else {
  9034. _iframe.contentDocument.location.reload()
  9035. }
  9036. } else if (str == 'mind') {
  9037. _iframe = _formdiv.querySelector('iframe')
  9038. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9039. _iframe.contentWindow.document.body.appendChild(script1);
  9040. _iframe.contentWindow.document.body.appendChild(script2);
  9041. _iframe.contentWindow.document.body.appendChild(script4);
  9042. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  9043. })
  9044. if (onloadListener) {
  9045. _iframe.contentDocument.location.reload()
  9046. } else {
  9047. _iframe.contentDocument.location.reload()
  9048. }
  9049. } else {
  9050. _iframe.onload = () => {
  9051. _iframe.contentWindow.document.body.appendChild(script1);
  9052. _iframe.contentWindow.document.body.appendChild(script2);
  9053. // _iframe.contentWindow.document.body.appendChild(script3);
  9054. _iframe.contentWindow.document.body.appendChild(script4);
  9055. };
  9056. }
  9057. _jie.onclick = async () => {
  9058. let text = ''
  9059. if (aTool == 6) {
  9060. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  9061. } else if (aTool == 3) {
  9062. text = await U.MD.D.I.getEditorContent(_iframe);
  9063. }
  9064. _loading.style.display = 'flex'
  9065. console.log(_loading);
  9066. var _ajs = _iframe.contentWindow.document.createElement("script");
  9067. _ajs.type = "text/javascript";
  9068. _ajs.innerHTML =
  9069. // 'console.log(' + _loading + ');\n' +
  9070. 'var _js = document.createElement("script");\n' +
  9071. '_js.type="text/javascript";\n' +
  9072. '_js.charset="UTF-8";\n' +
  9073. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  9074. "_js.onload = function(){\n" +
  9075. ' var a = document.getElementsByTagName("img")\n' +
  9076. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  9077. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  9078. '  var base64Url = canvas.toDataURL("image/png");\n' +
  9079. 'var base64 = "<img src=" + base64Url + " />"\n' +
  9080. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  9081. "beforeUpload_shishi(file," +
  9082. "'" +
  9083. _userid +
  9084. "'" +
  9085. ", " +
  9086. "'" +
  9087. _cid +
  9088. "'" +
  9089. ", " +
  9090. "'" +
  9091. _stage +
  9092. "'" +
  9093. ", " +
  9094. "'" +
  9095. _task +
  9096. "'" +
  9097. ", " +
  9098. "'" +
  9099. _tool +
  9100. "'" +
  9101. ", " +
  9102. "'" +
  9103. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  9104. "'" +
  9105. ", " +
  9106. "'" +
  9107. aTool +
  9108. "'" +
  9109. ", " +
  9110. "`" +
  9111. text +
  9112. "`" +
  9113. ")\n" +
  9114. " });\n" +
  9115. "}\n" +
  9116. "document.head.appendChild(_js);\n";
  9117. _iframe.contentWindow.document.head.appendChild(_ajs);
  9118. }
  9119. }
  9120. //U.MD.D.I.openClick(str);
  9121. //如果有任務欄信息
  9122. // if (_taskbar) {
  9123. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  9124. // }
  9125. }
  9126. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  9127. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  9128. _formdiv, //創建任務欄時同時彈出的窗體元素。
  9129. _userinfo = US.userInfo, //登錄用戶信息
  9130. _userid = US.userInfo.userid //登錄用戶id
  9131. let _iframe;
  9132. let _cid = cid,
  9133. _stage = stage,
  9134. _task = task,
  9135. _tool = tool;
  9136. var _jie = $$("div", {
  9137. "style": {
  9138. "position": "absolute",
  9139. "bottom": "50px",
  9140. "right": "50px",
  9141. "zIndex": "9999",
  9142. "backgroundColor": "#2268bc",
  9143. "color": "#fff",
  9144. "padding": "12px 20px",
  9145. "cursor": "pointer",
  9146. "borderRadius": "4px",
  9147. },
  9148. "innerHTML": "上傳模板"
  9149. })
  9150. let aTool = ''
  9151. let _loading = document.createElement('div')
  9152. _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;"
  9153. // _loading.id = "";
  9154. let _lchild = document.createElement('div')
  9155. let _limg = document.createElement('img')
  9156. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  9157. _limg.style = "width: 26px;margin-right: 10px;"
  9158. _lchild.appendChild(_limg)
  9159. let _lspan = document.createElement('span')
  9160. _lspan.innerHTML = "上傳中..."
  9161. _lchild.appendChild(_lspan)
  9162. _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%);"
  9163. _loading.appendChild(_lchild)
  9164. var _box = $$('div', {
  9165. "style": {
  9166. "position": "relative",
  9167. "width": "100%",
  9168. "height": "100%",
  9169. },
  9170. })
  9171. _box.appendChild(_loading)
  9172. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  9173. switch (str) {
  9174. case "whiteboard":
  9175. aTool = 1;
  9176. _iframe = $$("iframe", {
  9177. "frameborder": "no",
  9178. "border": "0",
  9179. "scrolling ": "no",
  9180. "style": {
  9181. "cssText": "border:0;width:100%;height:100%"
  9182. },
  9183. "src": "https://iwb.cocorobo.hk/"
  9184. })
  9185. _box.appendChild(_iframe);
  9186. _box.appendChild(_jie);
  9187. _formdiv = new U.UF.UI.form(
  9188. "電子白板",
  9189. _box, {
  9190. "id": "whiteboards_Yu" + cid + stage + task + tool,
  9191. "style": {
  9192. "width": "90%",
  9193. "height": "90%",
  9194. "overflow": 'hidden'
  9195. },
  9196. "onresize": function () { }
  9197. }, {
  9198. closecallback: function () { }
  9199. }, {
  9200. "style": {
  9201. "height": "36px"
  9202. }
  9203. }).form; //創建窗體
  9204. _taskbar = {
  9205. "id": str + _formdiv.id,
  9206. "style": {
  9207. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  9208. },
  9209. "name": "電子白板",
  9210. "forms": _formdiv,
  9211. "click": function () {
  9212. U.MD.D.I.openApplication(str, obj, info);
  9213. }
  9214. }
  9215. break;
  9216. case "mind":
  9217. aTool = 3;
  9218. _iframe = $$("iframe", {
  9219. "frameborder": "no",
  9220. "border": "0",
  9221. "scrolling ": "no",
  9222. "style": {
  9223. "cssText": "border:0;width:100%;height:100%"
  9224. },
  9225. "src": "/kityminder-editor/dist/index.html"
  9226. });
  9227. _box.appendChild(_iframe);
  9228. _box.appendChild(_jie);
  9229. _formdiv = new U.UF.UI.form(
  9230. "思維導圖",
  9231. _box, { //"/jsmind/example/demo.html"
  9232. "id": "minds_Yu" + cid + stage + task + tool,
  9233. "style": {
  9234. "width": "90%",
  9235. "height": "90%",
  9236. "overflow": 'hidden'
  9237. },
  9238. "onresize": function () { }
  9239. }, {
  9240. closecallback: function () { }
  9241. }, {
  9242. "style": {
  9243. "height": "36px"
  9244. }
  9245. }).form; //創建窗體
  9246. _taskbar = {
  9247. "id": str + _formdiv.id,
  9248. "style": {
  9249. "backgroundImage": "url(/img/icon/mindMapping.png)"
  9250. },
  9251. "name": "思維導圖",
  9252. "forms": _formdiv,
  9253. "click": function () {
  9254. U.MD.D.I.openApplication(str, obj, info);
  9255. }
  9256. }
  9257. break;
  9258. case "doc":
  9259. aTool = 6;
  9260. _iframe = $$("iframe", {
  9261. "frameborder": "no",
  9262. "border": "0",
  9263. "scrolling ": "no",
  9264. "style": {
  9265. "cssText": "border:0;width:100%;height:100%"
  9266. },
  9267. "src": "/Office/Word/WordEditArea.htm"
  9268. })
  9269. _box.appendChild(_iframe);
  9270. _box.appendChild(_jie);
  9271. _formdiv = new U.UF.UI.form(
  9272. "協同文檔",
  9273. _box, {
  9274. "id": "docs_Yu" + cid + stage + task + tool,
  9275. "style": {
  9276. "width": "90%",
  9277. "height": "90%",
  9278. "overflow": 'hidden'
  9279. },
  9280. "onresize": function () { }
  9281. }, {
  9282. closecallback: function () { }
  9283. }, {
  9284. "style": {
  9285. "height": "36px"
  9286. }
  9287. }).form; //創建窗體
  9288. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  9289. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  9290. })
  9291. _taskbar = {
  9292. "id": str + _formdiv.id,
  9293. "style": {
  9294. "backgroundImage": "url(/img/icon/doc.png)"
  9295. },
  9296. "name": "協同文檔",
  9297. "forms": _formdiv,
  9298. "click": function () {
  9299. U.MD.D.I.openApplication(str, obj, info);
  9300. }
  9301. }
  9302. break;
  9303. case "CocoPi":
  9304. aTool = 57;
  9305. _iframe = $$("iframe", {
  9306. "allowpaymentrequest": "allowpaymentrequest",
  9307. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9308. "webkitallowfullscreen": "",
  9309. "mozallowfullscreen": "",
  9310. "frameborder": "no",
  9311. "border": "0",
  9312. "scrolling ": "no",
  9313. "style": {
  9314. "cssText": "border:0;width:100%;height:100%"
  9315. },
  9316. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9317. })
  9318. _box.appendChild(_iframe);
  9319. _box.appendChild(_jie);
  9320. _formdiv = new U.UF.UI.form(
  9321. "CocoPi",
  9322. _box, {
  9323. "id": "CocoPi_Yu" + cid + stage + task + tool,
  9324. "style": {
  9325. "width": "90%",
  9326. "height": "90%",
  9327. "overflow": 'hidden'
  9328. },
  9329. "onresize": function () { }
  9330. }, {
  9331. closecallback: function () { }
  9332. }, {
  9333. "style": {
  9334. "height": "36px"
  9335. }
  9336. }).form; //創建窗體
  9337. _taskbar = {
  9338. "id": str + _formdiv.id,
  9339. "style": {
  9340. "backgroundImage": "url(/img/icon/cocopi.png)"
  9341. },
  9342. "name": "CocoPi",
  9343. "forms": _formdiv,
  9344. "click": function () {
  9345. U.MD.D.I.openApplication(str, obj, info);
  9346. }
  9347. }
  9348. break;
  9349. }
  9350. if (_iframe) {
  9351. if (str == 'doc') {
  9352. _iframe = _formdiv.querySelector('iframe')
  9353. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9354. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  9355. })
  9356. if (onloadListener) {
  9357. _iframe.contentDocument.location.reload()
  9358. } else {
  9359. _iframe.contentDocument.location.reload()
  9360. }
  9361. } else if (str == 'mind') {
  9362. _iframe = _formdiv.querySelector('iframe')
  9363. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9364. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  9365. })
  9366. if (onloadListener) {
  9367. _iframe.contentDocument.location.reload()
  9368. } else {
  9369. _iframe.contentDocument.location.reload()
  9370. }
  9371. } else if (str == 'whiteboard') {
  9372. _iframe = _formdiv.querySelector('iframe')
  9373. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9374. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  9375. })
  9376. // if (onloadListener) {
  9377. // try {
  9378. // _iframe.src += "?cocorobo="+new Date().getTime()
  9379. // _iframe.contentWindow.document.location.reload()
  9380. // } catch (error) {
  9381. // }
  9382. // } else {
  9383. // _iframe.contentDocument.location.reload()
  9384. // }
  9385. } else if (str == 'CocoPi') {
  9386. _iframe = _formdiv.querySelector('iframe')
  9387. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9388. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  9389. })
  9390. if (onloadListener) {
  9391. _iframe.contentDocument.location.reload()
  9392. } else {
  9393. _iframe.contentDocument.location.reload()
  9394. }
  9395. } else {
  9396. _iframe.onload = () => { };
  9397. }
  9398. _jie.onclick = async () => {
  9399. let text = ''
  9400. let type = '2'
  9401. if (aTool == 1) {
  9402. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  9403. type = '3'
  9404. } else if (aTool == 6) {
  9405. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  9406. type = '1'
  9407. } else if (aTool == 3) {
  9408. text = await U.MD.D.I.getEditorContent(_iframe);
  9409. type = '2'
  9410. } else if (aTool == 57) {
  9411. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  9412. type = '4'
  9413. }
  9414. _loading.style.display = 'flex'
  9415. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  9416. }
  9417. }
  9418. //U.MD.D.I.openClick(str);
  9419. //如果有任務欄信息
  9420. // if (_taskbar) {
  9421. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  9422. // }
  9423. }
  9424. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  9425. var xmlhttp;
  9426. var Mac, Sn, DeviceId
  9427. if (window.XMLHttpRequest) {
  9428. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9429. xmlhttp = new XMLHttpRequest();
  9430. }
  9431. else {
  9432. // IE6, IE5 瀏覽器執行代碼
  9433. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9434. }
  9435. xmlhttp.onreadystatechange = function () {
  9436. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9437. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  9438. // resolve(res.value[0][0].text);
  9439. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  9440. }
  9441. }
  9442. }
  9443. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  9444. xmlhttp.send();
  9445. }
  9446. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  9447. var xmlhttp;
  9448. var Mac, Sn, DeviceId
  9449. if (window.XMLHttpRequest) {
  9450. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9451. xmlhttp = new XMLHttpRequest();
  9452. }
  9453. else {
  9454. // IE6, IE5 瀏覽器執行代碼
  9455. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9456. }
  9457. xmlhttp.onreadystatechange = function () {
  9458. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9459. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  9460. // resolve(res.value[0][0].text);
  9461. if (type == '2') {
  9462. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  9463. } else if (type == '3') {
  9464. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  9465. } else if (type == '4') {
  9466. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  9467. }
  9468. } else {
  9469. if (type == '2') {
  9470. iframe.contentWindow.editor.minder.importData('json', '')
  9471. } else if (type == '3') {
  9472. iframe.contentWindow.h.app.updateScene({ elements: [] })
  9473. } else if (type == '4') {
  9474. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  9475. }
  9476. }
  9477. }
  9478. }
  9479. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  9480. xmlhttp.send();
  9481. }
  9482. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  9483. var xmlhttp;
  9484. var Mac, Sn, DeviceId
  9485. if (window.XMLHttpRequest) {
  9486. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9487. xmlhttp = new XMLHttpRequest();
  9488. }
  9489. else {
  9490. // IE6, IE5 瀏覽器執行代碼
  9491. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9492. }
  9493. xmlhttp.onreadystatechange = function () {
  9494. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9495. if (xmlhttp.response) {
  9496. // resolve(res.value[0][0].text);
  9497. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  9498. // $(fileInput).val('');
  9499. // });
  9500. span.innerHTML = '上傳成功'
  9501. setTimeout(() => {
  9502. loading.style.display = 'none'
  9503. }, 1000);
  9504. }
  9505. }
  9506. }
  9507. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  9508. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  9509. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  9510. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  9511. // 設置請求頭,表示請求體的編碼格式
  9512. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  9513. // 設置請求體,使用url-encoded格式的數據
  9514. }
  9515. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  9516. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  9517. _formdiv, //創建任務欄時同時彈出的窗體元素。
  9518. _userinfo = US.userInfo, //登錄用戶信息
  9519. _userid = US.userInfo.userid //登錄用戶id
  9520. let _iframe;
  9521. let _cid = cid,
  9522. _stage = stage,
  9523. _task = task,
  9524. _tool = tool;
  9525. var _jie = $$("div", {
  9526. "style": {
  9527. "position": "absolute",
  9528. "bottom": "50px",
  9529. "right": "50px",
  9530. "zIndex": "9999",
  9531. "backgroundColor": "#2268bc",
  9532. "color": "#fff",
  9533. "padding": "12px 20px",
  9534. "cursor": "pointer",
  9535. "borderRadius": "4px",
  9536. },
  9537. "innerHTML": "提交作業"
  9538. })
  9539. let aTool = ''
  9540. let _loading = document.createElement('div')
  9541. _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;"
  9542. // _loading.id = "";
  9543. let _lchild = document.createElement('div')
  9544. let _limg = document.createElement('img')
  9545. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  9546. _limg.style = "width: 26px;margin-right: 10px;"
  9547. _lchild.appendChild(_limg)
  9548. let _lspan = document.createElement('span')
  9549. _lspan.innerHTML = "上傳中..."
  9550. _lchild.appendChild(_lspan)
  9551. _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%);"
  9552. _loading.appendChild(_lchild)
  9553. var _box = $$('div', {
  9554. "style": {
  9555. "position": "relative",
  9556. "width": "100%",
  9557. "height": "100%",
  9558. },
  9559. })
  9560. _box.appendChild(_loading)
  9561. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  9562. switch (str) {
  9563. case "CocoPi":
  9564. aTool = 57;
  9565. _iframe = $$("iframe", {
  9566. "allowpaymentrequest": "allowpaymentrequest",
  9567. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9568. "webkitallowfullscreen": "",
  9569. "mozallowfullscreen": "",
  9570. "frameborder": "no",
  9571. "border": "0",
  9572. "scrolling ": "no",
  9573. "style": {
  9574. "cssText": "border:0;width:100%;height:100%"
  9575. },
  9576. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9577. })
  9578. _box.appendChild(_iframe);
  9579. _box.appendChild(_jie);
  9580. _formdiv = new U.UF.UI.form(
  9581. "CocoPi",
  9582. _box, {
  9583. "id": "CocoPi_Upload" + cid + stage + task + tool,
  9584. "style": {
  9585. "width": "90%",
  9586. "height": "90%",
  9587. "overflow": 'hidden'
  9588. },
  9589. "onresize": function () { }
  9590. }, {
  9591. closecallback: function () { }
  9592. }, {
  9593. "style": {
  9594. "height": "36px"
  9595. }
  9596. }).form; //創建窗體
  9597. _taskbar = {
  9598. "id": str + _formdiv.id,
  9599. "style": {
  9600. "backgroundImage": "url(/img/icon/cocopi.png)"
  9601. },
  9602. "name": "CocoPi",
  9603. "forms": _formdiv,
  9604. "click": function () {
  9605. U.MD.D.I.openApplication(str, obj, info);
  9606. }
  9607. }
  9608. break;
  9609. }
  9610. if (_iframe) {
  9611. if (str == 'CocoPi') {
  9612. _iframe = _formdiv.querySelector('iframe')
  9613. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9614. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  9615. })
  9616. if (onloadListener) {
  9617. _iframe.contentDocument.location.reload()
  9618. } else {
  9619. _iframe.contentDocument.location.reload()
  9620. }
  9621. }
  9622. _jie.onclick = async () => {
  9623. let text = ''
  9624. if (aTool == 57) {
  9625. text = _iframe.contentWindow.getLoadXmlStr()
  9626. }
  9627. _loading.style.display = 'flex'
  9628. console.log(_loading);
  9629. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  9630. _loading.style.display = 'none'
  9631. let _div = document.createElement('div')
  9632. _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;"
  9633. let _inner = document.createElement('div')
  9634. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  9635. _inner.innerHTML = "上傳成功"
  9636. _div.appendChild(_inner)
  9637. _iframe.contentWindow.window.document.body.appendChild(_div)
  9638. _div.onclick = () => {
  9639. _iframe.contentWindow.window.document.body.removeChild(_div)
  9640. }
  9641. setTimeout(() => {
  9642. _iframe.contentWindow.window.document.body.removeChild(_div)
  9643. }, 1000);
  9644. }, [], { "type": "POST", "withCredentials": true });
  9645. }
  9646. }
  9647. }
  9648. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  9649. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  9650. _formdiv, //創建任務欄時同時彈出的窗體元素。
  9651. _userid = student.userid, //登錄用戶id
  9652. _username = student.student //用戶名字
  9653. let _iframe;
  9654. let _cid = cid,
  9655. _stage = stage,
  9656. _task = task,
  9657. _tool = tool;
  9658. var _jie = $$("div", {
  9659. "style": {
  9660. "position": "absolute",
  9661. "bottom": "50px",
  9662. "right": "50px",
  9663. "zIndex": "9999",
  9664. "backgroundColor": "#2268bc",
  9665. "color": "#fff",
  9666. "padding": "12px 20px",
  9667. "cursor": "pointer",
  9668. "borderRadius": "4px",
  9669. },
  9670. "innerHTML": "提交作業"
  9671. })
  9672. let aTool = ''
  9673. let _loading = document.createElement('div')
  9674. _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;"
  9675. // _loading.id = "";
  9676. let _lchild = document.createElement('div')
  9677. let _limg = document.createElement('img')
  9678. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  9679. _limg.style = "width: 26px;margin-right: 10px;"
  9680. _lchild.appendChild(_limg)
  9681. let _lspan = document.createElement('span')
  9682. _lspan.innerHTML = "上傳中..."
  9683. _lchild.appendChild(_lspan)
  9684. _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%);"
  9685. _loading.appendChild(_lchild)
  9686. var _box = $$('div', {
  9687. "style": {
  9688. "position": "relative",
  9689. "width": "100%",
  9690. "height": "100%",
  9691. },
  9692. })
  9693. _box.appendChild(_loading)
  9694. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  9695. switch (str) {
  9696. case "CocoPi":
  9697. aTool = 57;
  9698. _iframe = $$("iframe", {
  9699. "allowpaymentrequest": "allowpaymentrequest",
  9700. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9701. "webkitallowfullscreen": "",
  9702. "mozallowfullscreen": "",
  9703. "frameborder": "no",
  9704. "border": "0",
  9705. "scrolling ": "no",
  9706. "style": {
  9707. "cssText": "border:0;width:100%;height:100%"
  9708. },
  9709. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9710. })
  9711. _box.appendChild(_iframe);
  9712. _box.appendChild(_jie);
  9713. _formdiv = new U.UF.UI.form(
  9714. "CocoPi-" + _username,
  9715. _box, {
  9716. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  9717. "style": {
  9718. "width": "90%",
  9719. "height": "90%",
  9720. "overflow": 'hidden'
  9721. },
  9722. "onresize": function () { }
  9723. }, {
  9724. closecallback: function () { }
  9725. }, {
  9726. "style": {
  9727. "height": "36px"
  9728. }
  9729. }).form; //創建窗體
  9730. _taskbar = {
  9731. "id": str + _formdiv.id,
  9732. "style": {
  9733. "backgroundImage": "url(/img/icon/cocopi.png)"
  9734. },
  9735. "name": "CocoPi",
  9736. "forms": _formdiv,
  9737. "click": function () {
  9738. U.MD.D.I.openApplication(str, obj, info);
  9739. }
  9740. }
  9741. break;
  9742. }
  9743. if (_iframe) {
  9744. if (str == 'CocoPi') {
  9745. _iframe = _formdiv.querySelector('iframe')
  9746. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9747. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  9748. })
  9749. if (onloadListener) {
  9750. _iframe.contentDocument.location.reload()
  9751. } else {
  9752. _iframe.contentDocument.location.reload()
  9753. }
  9754. }
  9755. _jie.onclick = async () => {
  9756. let text = ''
  9757. if (aTool == 57) {
  9758. text = _iframe.contentWindow.getLoadXmlStr()
  9759. }
  9760. _loading.style.display = 'flex'
  9761. console.log(_loading);
  9762. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  9763. _loading.style.display = 'none'
  9764. let _div = document.createElement('div')
  9765. _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;"
  9766. let _inner = document.createElement('div')
  9767. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  9768. _inner.innerHTML = "上傳成功"
  9769. _div.appendChild(_inner)
  9770. _iframe.contentWindow.window.document.body.appendChild(_div)
  9771. _div.onclick = () => {
  9772. _iframe.contentWindow.window.document.body.removeChild(_div)
  9773. }
  9774. setTimeout(() => {
  9775. _iframe.contentWindow.window.document.body.removeChild(_div)
  9776. }, 1000);
  9777. }, [], { "type": "POST", "withCredentials": true });
  9778. }
  9779. }
  9780. }
  9781. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  9782. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  9783. if (res.value[0].length > 0) {
  9784. if (atool == 57) {
  9785. iframe.contentWindow.loadingXml(res.value[0][0].content)
  9786. }
  9787. } else {
  9788. if (atool == 57) {
  9789. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  9790. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  9791. }
  9792. }
  9793. }, [], { "type": "POST", "withCredentials": true });
  9794. }