DeskTop.js 560 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198
  1. /*
  2. 此處為桌面系統啟動應用區域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面應用處理
  5. //判斷圖片是否在拖拽,如果是拖拽圖標的過程是不會打開圖片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教師桌面圖標的全局變量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //極簡模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教師桌面圖標的全局變量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "項目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的項目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "學習資料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "漢字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "國學經典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "筆畫訓練", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "書法課堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "課程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "學生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "學生評價", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班級管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "課程進展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的評價", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北師大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "數字實驗室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  458. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  475. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教師桌面圖標的全局變量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教師桌面圖標的全局變量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龍華中心小學教師桌面圖標的全局變量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院實小教師桌面圖標的全局變量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "數據融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "評測看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  633. { "Name": "教师管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  634. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  635. ];
  636. //教科院實小教師桌面圖標的全局變量
  637. U.MD.D.I.siesStudentDeskIcon = [
  638. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  642. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  643. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  644. ];
  645. //中山小学教师桌面图标的全局变量
  646. U.MD.D.I.guzmsteacherDeskIcon = [
  647. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  648. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  649. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  650. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  651. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  652. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  653. // { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  654. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  655. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  656. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  657. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  658. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //中山小学学生桌面图标的全局变量
  661. U.MD.D.I.guzmsStudentDeskIcon = [
  662. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  663. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  664. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  665. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  666. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  667. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  668. ];
  669. //福田
  670. U.MD.D.I.gdjgTeacherDeskIcon = [
  671. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  672. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  673. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  674. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  675. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  676. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  677. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  678. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.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": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  683. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  684. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  685. ];
  686. //gdjg
  687. U.MD.D.I.gdjgAdminDeskIcon = [
  688. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  689. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  690. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  691. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  692. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  693. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  694. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  695. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  696. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  697. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  698. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  699. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  700. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  701. ];
  702. //hk
  703. U.MD.D.I.hkteacherDeskIcon = [
  704. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  705. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  706. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  707. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  708. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  709. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  710. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  711. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  712. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  713. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  714. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  715. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  716. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  717. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  718. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  719. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  720. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  721. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  722. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  723. ];
  724. //hk
  725. U.MD.D.I.hkStudentDeskIcon = [
  726. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  727. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  728. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  729. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  730. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  731. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  732. ];
  733. //hk
  734. U.MD.D.I.hkaceteacherDeskIcon = [
  735. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  736. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  737. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  738. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  739. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  740. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  741. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  742. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  743. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  744. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  745. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  746. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  747. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  748. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  749. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  750. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  751. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  752. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  753. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  754. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  755. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  756. ];
  757. //hk
  758. U.MD.D.I.hkaceStudentDeskIcon = [
  759. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  760. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  763. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  764. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  765. ];
  766. //香海正覺蓮社佛教正覺中學
  767. U.MD.D.I.hkZJLSteacherDeskIcon = [
  768. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  769. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  770. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  771. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  772. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  773. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  774. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  775. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  776. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  777. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  778. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  779. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  780. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  781. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  782. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  784. ];
  785. //香海正覺蓮社佛教正覺中學
  786. U.MD.D.I.hkZJLSStudentDeskIcon = [
  787. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  791. ];
  792. //雲海
  793. U.MD.D.I.yunhaiTeacherDeskIcon = [
  794. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  795. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  796. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  797. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  798. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  799. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  800. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  801. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  802. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  803. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  804. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  805. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  806. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  807. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  808. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  809. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  810. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  811. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  812. ];
  813. //福田
  814. U.MD.D.I.heyuanTeacherDeskIcon = [
  815. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  816. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  817. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  818. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  819. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  820. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  821. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  822. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  823. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  824. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  826. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  827. ];
  828. //福田
  829. U.MD.D.I.heyuanAdminDeskIcon = [
  830. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  831. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  833. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  834. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  835. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  836. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  837. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  838. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  839. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  840. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  841. ];
  842. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  843. U.MD.D.I.szherTeacherDeskIcon = [
  844. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  845. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  846. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  847. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  848. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  849. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  850. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  851. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  852. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  853. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  854. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  855. ];
  856. //dsei
  857. U.MD.D.I.dseiTeacherDeskIcon = [
  858. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  859. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  860. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  861. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  862. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  863. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  864. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  865. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  866. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  867. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  868. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  869. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  870. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  871. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  872. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  873. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  874. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  875. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  876. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  877. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  878. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  879. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  880. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  881. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  882. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  883. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  884. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  885. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  886. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  887. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  888. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  889. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  890. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  891. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  892. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  893. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  894. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  895. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  896. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  897. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  898. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  899. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  900. ];
  901. //dsei
  902. U.MD.D.I.dseiAdminDeskIcon = [
  903. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  904. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  905. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  906. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  907. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  908. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  909. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  910. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  911. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  912. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  913. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  914. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  915. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  916. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  917. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  918. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  919. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  920. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  921. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  922. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  923. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  924. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  925. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  926. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  927. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  928. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  929. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  930. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  931. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  932. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  933. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  934. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  935. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  936. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  937. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  938. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  939. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  940. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  941. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  943. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  944. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  945. ];
  946. //dsei
  947. U.MD.D.I.dseiStudentDeskIcon = [
  948. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  949. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  950. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  951. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  952. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  953. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  954. ];
  955. //未來教育基地
  956. U.MD.D.I.szjkyTeacherDeskIcon = [
  957. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  958. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  959. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  960. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  961. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  962. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  963. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  964. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  965. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  966. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  967. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  968. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  969. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  970. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  971. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  972. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  973. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  974. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  975. { "Name": "教師中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  976. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  977. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  978. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  979. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  980. ];
  981. //未來教育基地
  982. U.MD.D.I.szjkyAdminDeskIcon = [
  983. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  984. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  988. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  989. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  990. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  991. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  992. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  993. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  994. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  995. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  997. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  998. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  999. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1000. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1001. { "Name": "教師中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1002. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1003. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1004. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1005. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1006. ];
  1007. //未來教育基地
  1008. U.MD.D.I.szjkyStudentDeskIcon = [
  1009. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1010. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1011. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1012. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1013. ];
  1014. //成華教育局
  1015. U.MD.D.I.chjyjTeacherDeskIcon = [
  1016. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1017. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1018. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1019. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1020. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1021. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1022. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1023. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1024. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1025. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1026. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1027. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1028. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1030. ];
  1031. //成華教育局chjyj
  1032. U.MD.D.I.chjyjAdminDeskIcon = [
  1033. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1034. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1035. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1036. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1037. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1038. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1039. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1040. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1041. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1042. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1043. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1044. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1045. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1046. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1047. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1048. ];
  1049. //成華教育局chjyj
  1050. U.MD.D.I.chjyjStudentDeskIcon = [
  1051. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1052. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1053. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1054. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1055. ];
  1056. //tpc
  1057. U.MD.D.I.tpcStudentDeskIcon = [
  1058. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1059. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1060. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1061. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1062. ];
  1063. //tpc
  1064. U.MD.D.I.tpcTeacherDeskIcon = [
  1065. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1066. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1067. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1068. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1069. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1070. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1071. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1072. ];
  1073. //tpc
  1074. U.MD.D.I.tpcAdminDeskIcon = [
  1075. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1076. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1077. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1078. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1079. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1080. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1081. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1082. ];
  1083. //THU-IOE
  1084. U.MD.D.I.thuioeTeacherDeskIcon = [
  1085. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1086. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1087. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1088. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1089. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1090. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1091. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1092. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1093. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1094. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1095. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1096. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1097. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1098. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1099. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1100. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1101. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1102. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1103. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1104. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1105. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1106. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1107. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1108. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1109. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1110. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1111. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1112. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1113. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1114. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1115. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1116. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1117. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1118. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1119. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1120. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1121. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1122. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1123. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1124. ];
  1125. //THU-IOE
  1126. U.MD.D.I.thuioeStudentDeskIcon = [
  1127. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1128. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1129. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1130. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1131. ];
  1132. //jccssyl
  1133. U.MD.D.I.jccssylTeacherDeskIcon = [
  1134. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1135. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1136. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1137. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1138. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1139. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1140. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1141. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1142. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1143. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1144. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1145. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1146. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1147. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1148. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1149. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1150. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1151. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1152. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1153. ];
  1154. //jccssyl
  1155. U.MD.D.I.jccssylStudentDeskIcon = [
  1156. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1157. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1158. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1159. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1160. ];
  1161. //cale
  1162. U.MD.D.I.caleTeacherDeskIcon = [
  1163. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1164. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1165. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1166. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1167. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1168. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1169. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1170. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1171. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1172. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1173. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1174. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1175. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1176. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1177. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1178. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1179. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1180. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1181. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1182. ];
  1183. //cale
  1184. U.MD.D.I.caleStudentDeskIcon = [
  1185. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1186. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1187. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1188. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1189. ];
  1190. //lqwmsgzs
  1191. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1192. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1193. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1194. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1195. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1196. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1197. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1198. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1199. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1200. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1201. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1202. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1203. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1204. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1205. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1206. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1207. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1208. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1209. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1210. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1211. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1212. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1213. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1214. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1215. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1216. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1217. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1218. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1219. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1220. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1221. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1222. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1223. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1224. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1225. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1226. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1227. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1228. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1229. ];
  1230. //lqwmsgzs
  1231. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1232. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1233. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1234. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1235. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1236. ];
  1237. //鹽田區幼兒園
  1238. U.MD.D.I.ytyTeacherDeskIcon = [
  1239. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1240. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1241. { "Name": "課程評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1242. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1243. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1244. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1245. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1246. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1247. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1248. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1249. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1250. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1251. ];
  1252. //鹽田區幼兒園
  1253. U.MD.D.I.ytyStudentDeskIcon = [
  1254. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1255. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1256. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1257. ];
  1258. //scnuai
  1259. U.MD.D.I.scnuaiTeacherDeskIcon = [
  1260. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1261. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1262. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1263. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1264. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1265. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1266. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1267. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1268. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1269. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1270. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1271. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1272. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1273. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1274. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1275. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1276. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1277. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1278. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1279. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1280. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1281. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1282. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1283. ];
  1284. //scnuai
  1285. U.MD.D.I.scnuaiAdminDeskIcon = [
  1286. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1287. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.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": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1293. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1294. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1295. // { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1296. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1297. // { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1298. // { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1299. // { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1300. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1301. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1302. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1303. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1304. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1305. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1306. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1307. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1308. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1309. ];
  1310. //scnuai
  1311. U.MD.D.I.scnuaiStudentDeskIcon = [
  1312. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1313. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1314. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1315. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1316. ];
  1317. //#region 桌面初始化a
  1318. /**
  1319. * 初始化桌面的起始函數
  1320. *
  1321. */
  1322. U.MD.D.I.init = function () {
  1323. if ($("#U_MD_D_K")[0]) {
  1324. //初始化桌面圖標
  1325. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1326. // var clickUrl = ':12588/requestIp.php';
  1327. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1328. // U.MD.D.I.Ip = data;
  1329. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1330. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1331. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1332. // })
  1333. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1334. // })
  1335. }
  1336. }
  1337. /**
  1338. * 模式切換
  1339. *
  1340. */
  1341. U.MD.D.I.ModeCheck = function (type) {
  1342. if (US.Config.type == type) {
  1343. return
  1344. }
  1345. US.Config.type = type
  1346. $('.U_PBL_Check .active')[0].className = ''
  1347. if (type == 1) {
  1348. $('.U_PBL_Check div')[0].className = 'active'
  1349. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1350. } else {
  1351. $('.U_PBL_Check div')[1].className = 'active'
  1352. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1353. }
  1354. //初始化桌面圖標
  1355. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1356. if (type == 2) {
  1357. U.MD.D.I.openApplication("project")
  1358. }
  1359. }
  1360. /**
  1361. * 隱藏任務欄
  1362. *
  1363. * @param {element} 桌面元素
  1364. */
  1365. U.MD.D.I.hiddenTaskbar = function (el) {
  1366. //任務欄位置變小
  1367. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1368. //桌面的位置變大
  1369. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1370. }
  1371. /**
  1372. * 隱藏任務欄
  1373. *
  1374. * @param {element} 桌面元素
  1375. */
  1376. U.MD.D.I.hiddenTaskbarout = function (el) {
  1377. //任務欄位置變小
  1378. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1379. //任務欄位置變化
  1380. U.selectEl(el).css({ "bottom": "-60px" });
  1381. //桌面的位置變大
  1382. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1383. }
  1384. }
  1385. /**
  1386. * 初始化打印桌面圖標
  1387. *
  1388. * @param {element} 桌面元素
  1389. */
  1390. U.MD.D.I.initDesktopIcons = function (el, type) {
  1391. var i, //用於循環
  1392. _content, //桌面圖標元素
  1393. _iconcontent, //桌面圖標元素
  1394. _frag = $$("frag"), //定義一個碎片元素
  1395. _type = US.userInfo.type,
  1396. _org = US.userInfo.org,
  1397. _oid = US.userInfo.organizeid,
  1398. _role = US.userInfo.role,
  1399. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1400. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1401. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1402. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1403. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1404. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1405. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1406. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1407. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1408. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1409. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1410. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大
  1411. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1412. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1413. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1414. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1415. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1416. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1417. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1418. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1419. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1420. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1421. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1422. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1423. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1424. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1425. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1426. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1427. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1428. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1429. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1430. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1431. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1432. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1433. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1434. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1435. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1436. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1437. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1438. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1439. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1440. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1441. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1442. _guzmsTeacherDeskIconInfo = U.MD.D.I.guzmsteacherDeskIcon, //guzms
  1443. _guzmsStudentDeskIconInfo = U.MD.D.I.guzmsStudentDeskIcon, //guzms
  1444. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //腾讯学生
  1445. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1446. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1447. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1448. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1449. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1450. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1451. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1452. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1453. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1454. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1455. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1456. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1457. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1458. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1459. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1460. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1461. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1462. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1463. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1464. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1465. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1466. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1467. _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未来教育基地
  1468. _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
  1469. _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
  1470. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
  1471. 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'];
  1472. 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'];
  1473. //清楚桌面图标
  1474. el.innerHTML = "";
  1475. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1476. _teacherDesktopIconInfo.push(
  1477. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1478. { "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)" } },
  1479. )
  1480. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1481. }
  1482. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == '0fec3a8a-ad04-11ed-b13d-005056b86db5') {
  1483. _teacherDesktopIconInfo.push(
  1484. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1485. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1486. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1487. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1488. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1489. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1490. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1491. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1492. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1493. { "Name": "教師中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1494. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1495. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1496. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1497. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1498. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1499. )
  1500. }
  1501. if (_oid == '5f6c97eb-4778-11ed-8c78-005056b86db5') {//松坪學校
  1502. _teacherDesktopIconInfo.push(
  1503. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1504. )
  1505. }
  1506. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1507. // _teacherDesktopIconInfo.push(
  1508. // )
  1509. // }
  1510. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1511. _teacherDesktopIconInfo.push(
  1512. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1513. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1514. )
  1515. }
  1516. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1517. _teacherDesktopIconInfo.push(
  1518. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1519. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1520. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1521. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1522. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1523. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1524. )
  1525. _studentDesktopIconInfo.push(
  1526. )
  1527. }
  1528. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1529. _teacherDesktopIconInfo.push(
  1530. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1531. )
  1532. _studentDesktopIconInfo.push(
  1533. )
  1534. }
  1535. //010606 组织
  1536. if (_oid == 'f297fbdc-f0a0-11ee-b534-005056b86db5') {
  1537. _teacherDesktopIconInfo.push(
  1538. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1539. )
  1540. _studentDesktopIconInfo.push(
  1541. )
  1542. }
  1543. //麒麟二中 和 民新小学
  1544. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1545. _teacherDesktopIconInfo.push(
  1546. )
  1547. }
  1548. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1549. _teacherDesktopIconInfo.push(
  1550. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1551. { "Name": "教師中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1552. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1553. )
  1554. }
  1555. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1556. _teacherDesktopIconInfo.push(
  1557. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1558. )
  1559. }
  1560. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1561. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1562. _teacherDesktopIconInfo.push(
  1563. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1564. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1565. )
  1566. }
  1567. //麒麟二中
  1568. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1569. _studentDesktopIconInfo.push(
  1570. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1571. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1572. )
  1573. }
  1574. //萬科雙語
  1575. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1576. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1577. if (el.Name == '項目管理') {
  1578. el.Name = 'PBL項目'
  1579. }
  1580. return el
  1581. })
  1582. _studentDesktopIconInfo3.push(
  1583. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1584. )
  1585. }
  1586. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1587. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1588. return el.Name != '魔盒識字' && el.Name != '24點'
  1589. })
  1590. }
  1591. 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) {
  1592. _studentDesktopIconInfo.push(
  1593. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1594. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1595. )
  1596. }
  1597. //循環創建桌面圖標
  1598. if (type == 1) {
  1599. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1600. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1601. _content = $$("div", {
  1602. className: "U_MD_D_KO",
  1603. "onmousedown": U.UF.C.closure(function (obj) {
  1604. //防止拖動圖標即打開了桌面應用
  1605. U.MD.D.click(this, obj);
  1606. }, [_studentDesktopIconInfo[i]]),
  1607. "onclick": U.UF.C.closure(function (obj) {
  1608. //防止拖動圖標即打開了桌面應用
  1609. U.MD.D.click(this, obj);
  1610. }, [_studentDesktopIconInfo[i]])
  1611. }, _frag); //
  1612. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1613. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1614. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1615. }
  1616. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1617. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1618. _content = $$("div", {
  1619. className: "U_MD_D_KO",
  1620. "onmousedown": U.UF.C.closure(function (obj) {
  1621. //防止拖動圖標即打開了桌面應用
  1622. U.MD.D.click(this, obj);
  1623. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1624. "onclick": U.UF.C.closure(function (obj) {
  1625. //防止拖動圖標即打開了桌面應用
  1626. U.MD.D.click(this, obj);
  1627. }, [_hkZJLSStudentDeskIconInfo[i]])
  1628. }, _frag); //
  1629. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1630. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1631. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1632. } //
  1633. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1634. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1635. _content = $$("div", {
  1636. className: "U_MD_D_KO",
  1637. "onmousedown": U.UF.C.closure(function (obj) {
  1638. //防止拖動圖標即打開了桌面應用
  1639. U.MD.D.click(this, obj);
  1640. }, [_ytyStudentDeskIconInfo[i]]),
  1641. "onclick": U.UF.C.closure(function (obj) {
  1642. //防止拖動圖標即打開了桌面應用
  1643. U.MD.D.click(this, obj);
  1644. }, [_ytyStudentDeskIconInfo[i]])
  1645. }, _frag); //
  1646. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1647. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1648. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1649. } //
  1650. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1651. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1652. _content = $$("div", {
  1653. className: "U_MD_D_KO",
  1654. "onmousedown": U.UF.C.closure(function (obj) {
  1655. //防止拖動圖標即打開了桌面應用
  1656. U.MD.D.click(this, obj);
  1657. }, [_jccssylStudentDeskIconInfo[i]]),
  1658. "onclick": U.UF.C.closure(function (obj) {
  1659. //防止拖動圖標即打開了桌面應用
  1660. U.MD.D.click(this, obj);
  1661. }, [_jccssylStudentDeskIconInfo[i]])
  1662. }, _frag); //
  1663. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1664. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1665. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1666. }
  1667. } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
  1668. for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
  1669. _content = $$("div", {
  1670. className: "U_MD_D_KO",
  1671. "onmousedown": U.UF.C.closure(function (obj) {
  1672. //防止拖动图标即打开了桌面应用
  1673. U.MD.D.click(this, obj);
  1674. }, [_scnuaiStudentDeskIconInfo[i]]),
  1675. "onclick": U.UF.C.closure(function (obj) {
  1676. //防止拖动图标即打开了桌面应用
  1677. U.MD.D.click(this, obj);
  1678. }, [_scnuaiStudentDeskIconInfo[i]])
  1679. }, _frag); //
  1680. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1681. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
  1682. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
  1683. }
  1684. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1685. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1686. _content = $$("div", {
  1687. className: "U_MD_D_KO",
  1688. "onmousedown": U.UF.C.closure(function (obj) {
  1689. //防止拖動圖標即打開了桌面應用
  1690. U.MD.D.click(this, obj);
  1691. }, [_caleStudentDeskIconInfo[i]]),
  1692. "onclick": U.UF.C.closure(function (obj) {
  1693. //防止拖動圖標即打開了桌面應用
  1694. U.MD.D.click(this, obj);
  1695. }, [_caleStudentDeskIconInfo[i]])
  1696. }, _frag); //
  1697. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1698. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1699. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1700. }
  1701. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1702. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1703. _content = $$("div", {
  1704. className: "U_MD_D_KO",
  1705. "onmousedown": U.UF.C.closure(function (obj) {
  1706. //防止拖動圖標即打開了桌面應用
  1707. U.MD.D.click(this, obj);
  1708. }, [_thuioeStudentDeskIconInfo[i]]),
  1709. "onclick": U.UF.C.closure(function (obj) {
  1710. //防止拖動圖標即打開了桌面應用
  1711. U.MD.D.click(this, obj);
  1712. }, [_thuioeStudentDeskIconInfo[i]])
  1713. }, _frag); //
  1714. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1715. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1716. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1717. }
  1718. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1719. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1720. _content = $$("div", {
  1721. className: "U_MD_D_KO",
  1722. "onmousedown": U.UF.C.closure(function (obj) {
  1723. //防止拖動圖標即打開了桌面應用
  1724. U.MD.D.click(this, obj);
  1725. }, [_tpcStudentDeskIconInfo[i]]),
  1726. "onclick": U.UF.C.closure(function (obj) {
  1727. //防止拖動圖標即打開了桌面應用
  1728. U.MD.D.click(this, obj);
  1729. }, [_tpcStudentDeskIconInfo[i]])
  1730. }, _frag); //
  1731. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1732. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1733. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1734. } //
  1735. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1736. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1737. _content = $$("div", {
  1738. className: "U_MD_D_KO",
  1739. "onmousedown": U.UF.C.closure(function (obj) {
  1740. //防止拖動圖標即打開了桌面應用
  1741. U.MD.D.click(this, obj);
  1742. }, [_chjyjStudentDeskIconInfo[i]]),
  1743. "onclick": U.UF.C.closure(function (obj) {
  1744. //防止拖動圖標即打開了桌面應用
  1745. U.MD.D.click(this, obj);
  1746. }, [_chjyjStudentDeskIconInfo[i]])
  1747. }, _frag); //
  1748. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1749. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1750. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1751. }
  1752. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1753. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1754. _content = $$("div", {
  1755. className: "U_MD_D_KO",
  1756. "onmousedown": U.UF.C.closure(function (obj) {
  1757. //防止拖動圖標即打開了桌面應用
  1758. U.MD.D.click(this, obj);
  1759. }, [_szjkyStudentDeskIconInfo[i]]),
  1760. "onclick": U.UF.C.closure(function (obj) {
  1761. //防止拖動圖標即打開了桌面應用
  1762. U.MD.D.click(this, obj);
  1763. }, [_szjkyStudentDeskIconInfo[i]])
  1764. }, _frag); //
  1765. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1766. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1767. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1768. }
  1769. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1770. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1771. _content = $$("div", {
  1772. className: "U_MD_D_KO",
  1773. "onmousedown": U.UF.C.closure(function (obj) {
  1774. //防止拖動圖標即打開了桌面應用
  1775. U.MD.D.click(this, obj);
  1776. }, [_dseiStudentDeskIconInfo[i]]),
  1777. "onclick": U.UF.C.closure(function (obj) {
  1778. //防止拖動圖標即打開了桌面應用
  1779. U.MD.D.click(this, obj);
  1780. }, [_dseiStudentDeskIconInfo[i]])
  1781. }, _frag); //
  1782. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1783. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1784. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1785. }
  1786. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1787. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1788. _content = $$("div", {
  1789. className: "U_MD_D_KO",
  1790. "onmousedown": U.UF.C.closure(function (obj) {
  1791. //防止拖動圖標即打開了桌面應用
  1792. U.MD.D.click(this, obj);
  1793. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1794. "onclick": U.UF.C.closure(function (obj) {
  1795. //防止拖動圖標即打開了桌面應用
  1796. U.MD.D.click(this, obj);
  1797. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1798. }, _frag); //
  1799. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1800. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1801. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1802. }
  1803. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1804. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1805. _content = $$("div", {
  1806. className: "U_MD_D_KO",
  1807. "onmousedown": U.UF.C.closure(function (obj) {
  1808. //防止拖動圖標即打開了桌面應用
  1809. U.MD.D.click(this, obj);
  1810. }, [_siesStudentDeskIconInfo[i]]),
  1811. "onclick": U.UF.C.closure(function (obj) {
  1812. //防止拖動圖標即打開了桌面應用
  1813. U.MD.D.click(this, obj);
  1814. }, [_siesStudentDeskIconInfo[i]])
  1815. }, _frag); //
  1816. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1817. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1818. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1819. }
  1820. } else if (_type == 2 && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  1821. for (i = 0; i < _guzmsStudentDeskIconInfo.length; i++) {
  1822. _content = $$("div", {
  1823. className: "U_MD_D_KO",
  1824. "onmousedown": U.UF.C.closure(function (obj) {
  1825. //防止拖动图标即打开了桌面应用
  1826. U.MD.D.click(this, obj);
  1827. }, [_guzmsStudentDeskIconInfo[i]]),
  1828. "onclick": U.UF.C.closure(function (obj) {
  1829. //防止拖动图标即打开了桌面应用
  1830. U.MD.D.click(this, obj);
  1831. }, [_guzmsStudentDeskIconInfo[i]])
  1832. }, _frag); //
  1833. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1834. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsStudentDeskIconInfo[i].style }, _iconcontent);
  1835. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsStudentDeskIconInfo[i].Name }, _iconcontent);
  1836. }
  1837. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1838. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1839. _content = $$("div", {
  1840. className: "U_MD_D_KO",
  1841. "onmousedown": U.UF.C.closure(function (obj) {
  1842. //防止拖動圖標即打開了桌面應用
  1843. U.MD.D.click(this, obj);
  1844. }, [_hkStudentDeskIconInfo[i]]),
  1845. "onclick": U.UF.C.closure(function (obj) {
  1846. //防止拖動圖標即打開了桌面應用
  1847. U.MD.D.click(this, obj);
  1848. }, [_hkStudentDeskIconInfo[i]])
  1849. }, _frag); //
  1850. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1851. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1852. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1853. }
  1854. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1855. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1856. _content = $$("div", {
  1857. className: "U_MD_D_KO",
  1858. "onmousedown": U.UF.C.closure(function (obj) {
  1859. //防止拖動圖標即打開了桌面應用
  1860. U.MD.D.click(this, obj);
  1861. }, [_hkaceStudentDeskIconInfo[i]]),
  1862. "onclick": U.UF.C.closure(function (obj) {
  1863. //防止拖動圖標即打開了桌面應用
  1864. U.MD.D.click(this, obj);
  1865. }, [_hkaceStudentDeskIconInfo[i]])
  1866. }, _frag); //
  1867. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1868. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1869. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1870. }
  1871. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1872. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1873. _content = $$("div", {
  1874. className: "U_MD_D_KO",
  1875. "onmousedown": U.UF.C.closure(function (obj) {
  1876. //防止拖動圖標即打開了桌面應用
  1877. U.MD.D.click(this, obj);
  1878. }, [_studentDesktopIconInfo[i]]),
  1879. "onclick": U.UF.C.closure(function (obj) {
  1880. //防止拖動圖標即打開了桌面應用
  1881. U.MD.D.click(this, obj);
  1882. }, [_studentDesktopIconInfo[i]])
  1883. }, _frag); //
  1884. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1885. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1886. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1887. }
  1888. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1889. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1890. _content = $$("div", {
  1891. className: "U_MD_D_KO",
  1892. "onmousedown": U.UF.C.closure(function (obj) {
  1893. //防止拖動圖標即打開了桌面應用
  1894. U.MD.D.click(this, obj);
  1895. }, [_tcStudentDeskIconInfo[i]]),
  1896. "onclick": U.UF.C.closure(function (obj) {
  1897. //防止拖動圖標即打開了桌面應用
  1898. U.MD.D.click(this, obj);
  1899. }, [_tcStudentDeskIconInfo[i]])
  1900. }, _frag); //
  1901. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1902. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1903. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1904. }
  1905. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1906. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1907. _content = $$("div", {
  1908. className: "U_MD_D_KO",
  1909. "onmousedown": U.UF.C.closure(function (obj) {
  1910. //防止拖動圖標即打開了桌面應用
  1911. U.MD.D.click(this, obj);
  1912. }, [_szscStudentDeskIconInfo[i]]),
  1913. "onclick": U.UF.C.closure(function (obj) {
  1914. //防止拖動圖標即打開了桌面應用
  1915. U.MD.D.click(this, obj);
  1916. }, [_szscStudentDeskIconInfo[i]])
  1917. }, _frag); //
  1918. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1919. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1920. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1921. }
  1922. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1923. for (i = 0; i < _studentDesktopIconInfo3.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. }, [_studentDesktopIconInfo3[i]]),
  1930. "onclick": U.UF.C.closure(function (obj) {
  1931. //防止拖動圖標即打開了桌面應用
  1932. U.MD.D.click(this, obj);
  1933. }, [_studentDesktopIconInfo3[i]])
  1934. }, _frag); //
  1935. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1936. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1937. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1938. }
  1939. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1940. for (i = 0; i < _studentDesktopIconInfo2.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. }, [_studentDesktopIconInfo2[i]]),
  1947. "onclick": U.UF.C.closure(function (obj) {
  1948. //防止拖動圖標即打開了桌面應用
  1949. U.MD.D.click(this, obj);
  1950. }, [_studentDesktopIconInfo2[i]])
  1951. }, _frag); //
  1952. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1953. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1954. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1955. }
  1956. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1957. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1958. if(_role === 0 && _wanketeacherDesktopIconInfo[i].Url == 'testTeacher'){
  1959. continue
  1960. }
  1961. _content = $$("div", {
  1962. className: "U_MD_D_KO",
  1963. "onmousedown": U.UF.C.closure(function (obj) {
  1964. //防止拖動圖標即打開了桌面應用
  1965. U.MD.D.click(this, obj);
  1966. }, [_wanketeacherDesktopIconInfo[i]]),
  1967. "onclick": U.UF.C.closure(function (obj) {
  1968. //防止拖動圖標即打開了桌面應用
  1969. U.MD.D.click(this, obj);
  1970. }, [_wanketeacherDesktopIconInfo[i]])
  1971. }, _frag); //
  1972. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1973. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1974. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1975. }
  1976. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1977. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1978. _content = $$("div", {
  1979. className: "U_MD_D_KO",
  1980. "onmousedown": U.UF.C.closure(function (obj) {
  1981. //防止拖動圖標即打開了桌面應用
  1982. U.MD.D.click(this, obj);
  1983. }, [_wankeAdminDesktopIconInfo[i]]),
  1984. "onclick": U.UF.C.closure(function (obj) {
  1985. //防止拖動圖標即打開了桌面應用
  1986. U.MD.D.click(this, obj);
  1987. }, [_wankeAdminDesktopIconInfo[i]])
  1988. }, _frag); //
  1989. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1990. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1991. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1992. }
  1993. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
  1994. for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
  1995. if(_role === 0 && _scnuaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  1996. continue
  1997. }
  1998. _content = $$("div", {
  1999. className: "U_MD_D_KO",
  2000. "onmousedown": U.UF.C.closure(function (obj) {
  2001. //防止拖动图标即打开了桌面应用
  2002. U.MD.D.click(this, obj);
  2003. }, [_scnuaiTeacherDeskIconInfo[i]]),
  2004. "onclick": U.UF.C.closure(function (obj) {
  2005. //防止拖动图标即打开了桌面应用
  2006. U.MD.D.click(this, obj);
  2007. }, [_scnuaiTeacherDeskIconInfo[i]])
  2008. }, _frag); //
  2009. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2010. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2011. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2012. }
  2013. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
  2014. for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
  2015. _content = $$("div", {
  2016. className: "U_MD_D_KO",
  2017. "onmousedown": U.UF.C.closure(function (obj) {
  2018. //防止拖动图标即打开了桌面应用
  2019. U.MD.D.click(this, obj);
  2020. }, [_scnuaiAdminDeskIconInfo[i]]),
  2021. "onclick": U.UF.C.closure(function (obj) {
  2022. //防止拖动图标即打开了桌面应用
  2023. U.MD.D.click(this, obj);
  2024. }, [_scnuaiAdminDeskIconInfo[i]])
  2025. }, _frag); //
  2026. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2027. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
  2028. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
  2029. }
  2030. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  2031. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  2032. if(_role === 0 && _jccssylTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2033. continue
  2034. }
  2035. _content = $$("div", {
  2036. className: "U_MD_D_KO",
  2037. "onmousedown": U.UF.C.closure(function (obj) {
  2038. //防止拖動圖標即打開了桌面應用
  2039. U.MD.D.click(this, obj);
  2040. }, [_jccssylTeacherDeskIconInfo[i]]),
  2041. "onclick": U.UF.C.closure(function (obj) {
  2042. //防止拖動圖標即打開了桌面應用
  2043. U.MD.D.click(this, obj);
  2044. }, [_jccssylTeacherDeskIconInfo[i]])
  2045. }, _frag); //
  2046. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2047. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  2048. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  2049. }
  2050. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  2051. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  2052. if(_role === 0 && _caleTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2053. continue
  2054. }
  2055. _content = $$("div", {
  2056. className: "U_MD_D_KO",
  2057. "onmousedown": U.UF.C.closure(function (obj) {
  2058. //防止拖動圖標即打開了桌面應用
  2059. U.MD.D.click(this, obj);
  2060. }, [_caleTeacherDeskIconInfo[i]]),
  2061. "onclick": U.UF.C.closure(function (obj) {
  2062. //防止拖動圖標即打開了桌面應用
  2063. U.MD.D.click(this, obj);
  2064. }, [_caleTeacherDeskIconInfo[i]])
  2065. }, _frag); //
  2066. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2067. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  2068. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  2069. }
  2070. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  2071. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  2072. _content = $$("div", {
  2073. className: "U_MD_D_KO",
  2074. "onmousedown": U.UF.C.closure(function (obj) {
  2075. //防止拖動圖標即打開了桌面應用
  2076. U.MD.D.click(this, obj);
  2077. }, [_tpcOrganizerDeskIconInfo[i]]),
  2078. "onclick": U.UF.C.closure(function (obj) {
  2079. //防止拖動圖標即打開了桌面應用
  2080. U.MD.D.click(this, obj);
  2081. }, [_tpcOrganizerDeskIconInfo[i]])
  2082. }, _frag); //
  2083. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2084. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2085. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2086. }
  2087. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  2088. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  2089. if(_role === 0 && _tpcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2090. continue
  2091. }
  2092. _content = $$("div", {
  2093. className: "U_MD_D_KO",
  2094. "onmousedown": U.UF.C.closure(function (obj) {
  2095. //防止拖動圖標即打開了桌面應用
  2096. U.MD.D.click(this, obj);
  2097. }, [_tpcTeacherDeskIconInfo[i]]),
  2098. "onclick": U.UF.C.closure(function (obj) {
  2099. //防止拖動圖標即打開了桌面應用
  2100. U.MD.D.click(this, obj);
  2101. }, [_tpcTeacherDeskIconInfo[i]])
  2102. }, _frag); //
  2103. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2104. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  2105. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2106. }
  2107. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2108. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  2109. if(_role === 0 && _teacherDesktopIconInfo2[i].Url == 'testTeacher'){
  2110. continue
  2111. }
  2112. _content = $$("div", {
  2113. className: "U_MD_D_KO",
  2114. "onmousedown": U.UF.C.closure(function (obj) {
  2115. //防止拖動圖標即打開了桌面應用
  2116. U.MD.D.click(this, obj);
  2117. }, [_teacherDesktopIconInfo2[i]]),
  2118. "onclick": U.UF.C.closure(function (obj) {
  2119. //防止拖動圖標即打開了桌面應用
  2120. U.MD.D.click(this, obj);
  2121. }, [_teacherDesktopIconInfo2[i]])
  2122. }, _frag); //
  2123. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2124. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  2125. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  2126. }
  2127. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2128. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  2129. if(_role === 0 && _thuioeTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2130. continue
  2131. }
  2132. _content = $$("div", {
  2133. className: "U_MD_D_KO",
  2134. "onmousedown": U.UF.C.closure(function (obj) {
  2135. //防止拖動圖標即打開了桌面應用
  2136. U.MD.D.click(this, obj);
  2137. }, [_thuioeTeacherDeskIconInfo[i]]),
  2138. "onclick": U.UF.C.closure(function (obj) {
  2139. //防止拖動圖標即打開了桌面應用
  2140. U.MD.D.click(this, obj);
  2141. }, [_thuioeTeacherDeskIconInfo[i]])
  2142. }, _frag); //
  2143. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2144. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  2145. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  2146. }
  2147. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  2148. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  2149. if(_role === 0 && _lotechTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2150. continue
  2151. }
  2152. _content = $$("div", {
  2153. className: "U_MD_D_KO",
  2154. "onmousedown": U.UF.C.closure(function (obj) {
  2155. //防止拖動圖標即打開了桌面應用
  2156. U.MD.D.click(this, obj);
  2157. }, [_lotechTeacherDeskIconInfo[i]]),
  2158. "onclick": U.UF.C.closure(function (obj) {
  2159. //防止拖動圖標即打開了桌面應用
  2160. U.MD.D.click(this, obj);
  2161. }, [_lotechTeacherDeskIconInfo[i]])
  2162. }, _frag); //
  2163. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2164. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  2165. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  2166. }//
  2167. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2168. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  2169. if(_role === 0 && _lqwmsgzsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2170. continue
  2171. }
  2172. _content = $$("div", {
  2173. className: "U_MD_D_KO",
  2174. "onmousedown": U.UF.C.closure(function (obj) {
  2175. //防止拖動圖標即打開了桌面應用
  2176. U.MD.D.click(this, obj);
  2177. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  2178. "onclick": U.UF.C.closure(function (obj) {
  2179. //防止拖動圖標即打開了桌面應用
  2180. U.MD.D.click(this, obj);
  2181. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  2182. }, _frag); //
  2183. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2184. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  2185. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2186. }
  2187. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2188. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  2189. if(_role === 0 && _siesTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2190. continue
  2191. }
  2192. _content = $$("div", {
  2193. className: "U_MD_D_KO",
  2194. "onmousedown": U.UF.C.closure(function (obj) {
  2195. //防止拖動圖標即打開了桌面應用
  2196. U.MD.D.click(this, obj);
  2197. }, [_siesTeacherDeskIconInfo[i]]),
  2198. "onclick": U.UF.C.closure(function (obj) {
  2199. //防止拖動圖標即打開了桌面應用
  2200. U.MD.D.click(this, obj);
  2201. }, [_siesTeacherDeskIconInfo[i]])
  2202. }, _frag); //
  2203. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2204. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  2205. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  2206. }
  2207. } else if ((_type == 1 || _type == 4) && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  2208. for (i = 0; i < _guzmsTeacherDeskIconInfo.length; i++) {
  2209. if(_role === 0 && _guzmsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2210. continue
  2211. }
  2212. _content = $$("div", {
  2213. className: "U_MD_D_KO",
  2214. "onmousedown": U.UF.C.closure(function (obj) {
  2215. //防止拖动图标即打开了桌面应用
  2216. U.MD.D.click(this, obj);
  2217. }, [_guzmsTeacherDeskIconInfo[i]]),
  2218. "onclick": U.UF.C.closure(function (obj) {
  2219. //防止拖动图标即打开了桌面应用
  2220. U.MD.D.click(this, obj);
  2221. }, [_guzmsTeacherDeskIconInfo[i]])
  2222. }, _frag); //
  2223. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2224. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsTeacherDeskIconInfo[i].style }, _iconcontent);
  2225. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2226. }
  2227. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  2228. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2229. if(_role === 0 && _longhuaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2230. continue
  2231. }
  2232. _content = $$("div", {
  2233. className: "U_MD_D_KO",
  2234. "onmousedown": U.UF.C.closure(function (obj) {
  2235. //防止拖動圖標即打開了桌面應用
  2236. U.MD.D.click(this, obj);
  2237. }, [_longhuaTeacherDeskIconInfo[i]]),
  2238. "onclick": U.UF.C.closure(function (obj) {
  2239. //防止拖動圖標即打開了桌面應用
  2240. U.MD.D.click(this, obj);
  2241. }, [_longhuaTeacherDeskIconInfo[i]])
  2242. }, _frag); //
  2243. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2244. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2245. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2246. }
  2247. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2248. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2249. if(_role === 0 && _ytyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2250. continue
  2251. }
  2252. _content = $$("div", {
  2253. className: "U_MD_D_KO",
  2254. "onmousedown": U.UF.C.closure(function (obj) {
  2255. //防止拖動圖標即打開了桌面應用
  2256. U.MD.D.click(this, obj);
  2257. }, [_ytyTeacherDeskIconInfo[i]]),
  2258. "onclick": U.UF.C.closure(function (obj) {
  2259. //防止拖動圖標即打開了桌面應用
  2260. U.MD.D.click(this, obj);
  2261. }, [_ytyTeacherDeskIconInfo[i]])
  2262. }, _frag); //
  2263. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2264. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2265. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2266. }
  2267. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2268. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2269. if(_role === 0 && _yunhaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2270. continue
  2271. }
  2272. _content = $$("div", {
  2273. className: "U_MD_D_KO",
  2274. "onmousedown": U.UF.C.closure(function (obj) {
  2275. //防止拖動圖標即打開了桌面應用
  2276. U.MD.D.click(this, obj);
  2277. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2278. "onclick": U.UF.C.closure(function (obj) {
  2279. //防止拖動圖標即打開了桌面應用
  2280. U.MD.D.click(this, obj);
  2281. }, [_yunhaiTeacherDeskIconInfo[i]])
  2282. }, _frag); //
  2283. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2284. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2285. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2286. } //_hkStudentDeskIconInfo
  2287. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2288. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2289. if(_role === 0 && _hkZJLSTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2290. continue
  2291. }
  2292. _content = $$("div", {
  2293. className: "U_MD_D_KO",
  2294. "onmousedown": U.UF.C.closure(function (obj) {
  2295. //防止拖動圖標即打開了桌面應用
  2296. U.MD.D.click(this, obj);
  2297. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2298. "onclick": U.UF.C.closure(function (obj) {
  2299. //防止拖動圖標即打開了桌面應用
  2300. U.MD.D.click(this, obj);
  2301. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2302. }, _frag); //
  2303. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2304. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2305. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2306. }
  2307. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2308. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2309. if(_role === 0 && _hkTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2310. continue
  2311. }
  2312. _content = $$("div", {
  2313. className: "U_MD_D_KO",
  2314. "onmousedown": U.UF.C.closure(function (obj) {
  2315. //防止拖動圖標即打開了桌面應用
  2316. U.MD.D.click(this, obj);
  2317. }, [_hkTeacherDeskIconInfo[i]]),
  2318. "onclick": U.UF.C.closure(function (obj) {
  2319. //防止拖動圖標即打開了桌面應用
  2320. U.MD.D.click(this, obj);
  2321. }, [_hkTeacherDeskIconInfo[i]])
  2322. }, _frag); //
  2323. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2324. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2325. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2326. }
  2327. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2328. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2329. if(_role === 0 && _hkaceTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2330. continue
  2331. }
  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. }, [_hkaceTeacherDeskIconInfo[i]]),
  2338. "onclick": U.UF.C.closure(function (obj) {
  2339. //防止拖動圖標即打開了桌面應用
  2340. U.MD.D.click(this, obj);
  2341. }, [_hkaceTeacherDeskIconInfo[i]])
  2342. }, _frag); //
  2343. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2344. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2345. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2346. }
  2347. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2348. for (i = 0; i < _gdjgAdminDeskIconInfo.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. }, [_gdjgAdminDeskIconInfo[i]]),
  2355. "onclick": U.UF.C.closure(function (obj) {
  2356. //防止拖動圖標即打開了桌面應用
  2357. U.MD.D.click(this, obj);
  2358. }, [_gdjgAdminDeskIconInfo[i]])
  2359. }, _frag); //
  2360. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2361. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2362. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2363. }
  2364. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2365. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2366. if(_role === 0 && _gdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2367. continue
  2368. }
  2369. _content = $$("div", {
  2370. className: "U_MD_D_KO",
  2371. "onmousedown": U.UF.C.closure(function (obj) {
  2372. //防止拖動圖標即打開了桌面應用
  2373. U.MD.D.click(this, obj);
  2374. }, [_gdjgTeacherDeskIconInfo[i]]),
  2375. "onclick": U.UF.C.closure(function (obj) {
  2376. //防止拖動圖標即打開了桌面應用
  2377. U.MD.D.click(this, obj);
  2378. }, [_gdjgTeacherDeskIconInfo[i]])
  2379. }, _frag); //
  2380. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2381. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2382. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2383. }
  2384. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2385. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2386. if(_role === 0 && _szherTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2387. continue
  2388. }
  2389. _content = $$("div", {
  2390. className: "U_MD_D_KO",
  2391. "onmousedown": U.UF.C.closure(function (obj) {
  2392. //防止拖動圖標即打開了桌面應用
  2393. U.MD.D.click(this, obj);
  2394. }, [_szherTeacherDeskIconInfo[i]]),
  2395. "onclick": U.UF.C.closure(function (obj) {
  2396. //防止拖動圖標即打開了桌面應用
  2397. U.MD.D.click(this, obj);
  2398. }, [_szherTeacherDeskIconInfo[i]])
  2399. }, _frag); //
  2400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2403. }
  2404. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2405. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2406. _content = $$("div", {
  2407. className: "U_MD_D_KO",
  2408. "onmousedown": U.UF.C.closure(function (obj) {
  2409. //防止拖動圖標即打開了桌面應用
  2410. U.MD.D.click(this, obj);
  2411. }, [_heyuannAdminDeskIconInfo[i]]),
  2412. "onclick": U.UF.C.closure(function (obj) {
  2413. //防止拖動圖標即打開了桌面應用
  2414. U.MD.D.click(this, obj);
  2415. }, [_heyuannAdminDeskIconInfo[i]])
  2416. }, _frag); //
  2417. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2418. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2419. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2420. }
  2421. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2422. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2423. if(_role === 0 && _heyuanTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2424. continue
  2425. }
  2426. _content = $$("div", {
  2427. className: "U_MD_D_KO",
  2428. "onmousedown": U.UF.C.closure(function (obj) {
  2429. //防止拖動圖標即打開了桌面應用
  2430. U.MD.D.click(this, obj);
  2431. }, [_heyuanTeacherDeskIconInfo[i]]),
  2432. "onclick": U.UF.C.closure(function (obj) {
  2433. //防止拖動圖標即打開了桌面應用
  2434. U.MD.D.click(this, obj);
  2435. }, [_heyuanTeacherDeskIconInfo[i]])
  2436. }, _frag); //
  2437. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2438. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2439. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2440. } //
  2441. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2442. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2443. _content = $$("div", {
  2444. className: "U_MD_D_KO",
  2445. "onmousedown": U.UF.C.closure(function (obj) {
  2446. //防止拖動圖標即打開了桌面應用
  2447. U.MD.D.click(this, obj);
  2448. }, [_dseiAdminDeskIconInfo[i]]),
  2449. "onclick": U.UF.C.closure(function (obj) {
  2450. //防止拖動圖標即打開了桌面應用
  2451. U.MD.D.click(this, obj);
  2452. }, [_dseiAdminDeskIconInfo[i]])
  2453. }, _frag); //
  2454. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2455. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2456. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2457. }
  2458. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2459. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2460. if(_role === 0 && _dseiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2461. continue
  2462. }
  2463. _content = $$("div", {
  2464. className: "U_MD_D_KO",
  2465. "onmousedown": U.UF.C.closure(function (obj) {
  2466. //防止拖動圖標即打開了桌面應用
  2467. U.MD.D.click(this, obj);
  2468. }, [_dseiTeacherDeskIconInfo[i]]),
  2469. "onclick": U.UF.C.closure(function (obj) {
  2470. //防止拖動圖標即打開了桌面應用
  2471. U.MD.D.click(this, obj);
  2472. }, [_dseiTeacherDeskIconInfo[i]])
  2473. }, _frag); //
  2474. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2475. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2476. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2477. } //
  2478. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2479. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2480. _content = $$("div", {
  2481. className: "U_MD_D_KO",
  2482. "onmousedown": U.UF.C.closure(function (obj) {
  2483. //防止拖動圖標即打開了桌面應用
  2484. U.MD.D.click(this, obj);
  2485. }, [_chjyjAdminDeskIconInfo[i]]),
  2486. "onclick": U.UF.C.closure(function (obj) {
  2487. //防止拖動圖標即打開了桌面應用
  2488. U.MD.D.click(this, obj);
  2489. }, [_chjyjAdminDeskIconInfo[i]])
  2490. }, _frag); //
  2491. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2492. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2493. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2494. }//
  2495. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2496. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2497. if(_role === 0 && _chjyjTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2498. continue
  2499. }
  2500. _content = $$("div", {
  2501. className: "U_MD_D_KO",
  2502. "onmousedown": U.UF.C.closure(function (obj) {
  2503. //防止拖動圖標即打開了桌面應用
  2504. U.MD.D.click(this, obj);
  2505. }, [_chjyjTeacherDeskIconInfo[i]]),
  2506. "onclick": U.UF.C.closure(function (obj) {
  2507. //防止拖動圖標即打開了桌面應用
  2508. U.MD.D.click(this, obj);
  2509. }, [_chjyjTeacherDeskIconInfo[i]])
  2510. }, _frag); //
  2511. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2512. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2513. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2514. }
  2515. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2516. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2517. _content = $$("div", {
  2518. className: "U_MD_D_KO",
  2519. "onmousedown": U.UF.C.closure(function (obj) {
  2520. //防止拖動圖標即打開了桌面應用
  2521. U.MD.D.click(this, obj);
  2522. }, [_szjkyAdminDeskIconInfo[i]]),
  2523. "onclick": U.UF.C.closure(function (obj) {
  2524. //防止拖動圖標即打開了桌面應用
  2525. U.MD.D.click(this, obj);
  2526. }, [_szjkyAdminDeskIconInfo[i]])
  2527. }, _frag); //
  2528. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2529. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2530. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2531. }//
  2532. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2533. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2534. if(_role === 0 && _szjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2535. continue
  2536. }
  2537. _content = $$("div", {
  2538. className: "U_MD_D_KO",
  2539. "onmousedown": U.UF.C.closure(function (obj) {
  2540. //防止拖動圖標即打開了桌面應用
  2541. U.MD.D.click(this, obj);
  2542. }, [_szjkyTeacherDeskIconInfo[i]]),
  2543. "onclick": U.UF.C.closure(function (obj) {
  2544. //防止拖動圖標即打開了桌面應用
  2545. U.MD.D.click(this, obj);
  2546. }, [_szjkyTeacherDeskIconInfo[i]])
  2547. }, _frag); //
  2548. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2549. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2550. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2551. }
  2552. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2553. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2554. _content = $$("div", {
  2555. className: "U_MD_D_KO",
  2556. "onmousedown": U.UF.C.closure(function (obj) {
  2557. //防止拖動圖標即打開了桌面應用
  2558. U.MD.D.click(this, obj);
  2559. }, [_futianAdminDeskIconInfo[i]]),
  2560. "onclick": U.UF.C.closure(function (obj) {
  2561. //防止拖動圖標即打開了桌面應用
  2562. U.MD.D.click(this, obj);
  2563. }, [_futianAdminDeskIconInfo[i]])
  2564. }, _frag); //
  2565. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2566. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2567. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2568. }
  2569. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2570. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2571. if(_role === 0 && _futianTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2572. continue
  2573. }
  2574. _content = $$("div", {
  2575. className: "U_MD_D_KO",
  2576. "onmousedown": U.UF.C.closure(function (obj) {
  2577. //防止拖動圖標即打開了桌面應用
  2578. U.MD.D.click(this, obj);
  2579. }, [_futianTeacherDeskIconInfo[i]]),
  2580. "onclick": U.UF.C.closure(function (obj) {
  2581. //防止拖動圖標即打開了桌面應用
  2582. U.MD.D.click(this, obj);
  2583. }, [_futianTeacherDeskIconInfo[i]])
  2584. }, _frag); //
  2585. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2586. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2587. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2588. }
  2589. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2590. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2591. if(_role === 0 && _MingdeTeacherDeskIcon[i].Url == 'testTeacher'){
  2592. continue
  2593. }
  2594. _content = $$("div", {
  2595. className: "U_MD_D_KO",
  2596. "onmousedown": U.UF.C.closure(function (obj) {
  2597. //防止拖動圖標即打開了桌面應用
  2598. U.MD.D.click(this, obj);
  2599. }, [_MingdeTeacherDeskIcon[i]]),
  2600. "onclick": U.UF.C.closure(function (obj) {
  2601. //防止拖動圖標即打開了桌面應用
  2602. U.MD.D.click(this, obj);
  2603. }, [_MingdeTeacherDeskIcon[i]])
  2604. }, _frag); //
  2605. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2606. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2607. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2608. }
  2609. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2610. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2611. _content = $$("div", {
  2612. className: "U_MD_D_KO",
  2613. "onmousedown": U.UF.C.closure(function (obj) {
  2614. //防止拖動圖標即打開了桌面應用
  2615. U.MD.D.click(this, obj);
  2616. }, [_lhsAdminDesktopIconInfo[i]]),
  2617. "onclick": U.UF.C.closure(function (obj) {
  2618. //防止拖動圖標即打開了桌面應用
  2619. U.MD.D.click(this, obj);
  2620. }, [_lhsAdminDesktopIconInfo[i]])
  2621. }, _frag); //
  2622. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2623. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2624. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2625. }
  2626. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2627. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2628. if(_role === 0 && _lhsteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2629. continue
  2630. }
  2631. _content = $$("div", {
  2632. className: "U_MD_D_KO",
  2633. "onmousedown": U.UF.C.closure(function (obj) {
  2634. //防止拖動圖標即打開了桌面應用
  2635. U.MD.D.click(this, obj);
  2636. }, [_lhsteacherDesktopIconInfo[i]]),
  2637. "onclick": U.UF.C.closure(function (obj) {
  2638. //防止拖動圖標即打開了桌面應用
  2639. U.MD.D.click(this, obj);
  2640. }, [_lhsteacherDesktopIconInfo[i]])
  2641. }, _frag); //
  2642. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2643. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2644. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2645. }
  2646. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2647. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2648. if(_role === 0 && _zhoujiateacherDesktopIconInfo[i].Url == 'testTeacher'){
  2649. continue
  2650. }
  2651. _content = $$("div", {
  2652. className: "U_MD_D_KO",
  2653. "onmousedown": U.UF.C.closure(function (obj) {
  2654. //防止拖動圖標即打開了桌面應用
  2655. U.MD.D.click(this, obj);
  2656. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2657. "onclick": U.UF.C.closure(function (obj) {
  2658. //防止拖動圖標即打開了桌面應用
  2659. U.MD.D.click(this, obj);
  2660. }, [_zhoujiateacherDesktopIconInfo[i]])
  2661. }, _frag); //
  2662. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2663. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2664. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2665. }
  2666. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2667. for (i = 0; i < _hanDeskIcon.length; i++) {
  2668. if(_role === 0 && _hanDeskIcon[i].Url == 'testTeacher'){
  2669. continue
  2670. }
  2671. _content = $$("div", {
  2672. className: "U_MD_D_KO",
  2673. "onmousedown": U.UF.C.closure(function (obj) {
  2674. //防止拖動圖標即打開了桌面應用
  2675. U.MD.D.click(this, obj);
  2676. }, [_hanDeskIcon[i]]),
  2677. "onclick": U.UF.C.closure(function (obj) {
  2678. //防止拖動圖標即打開了桌面應用
  2679. U.MD.D.click(this, obj);
  2680. }, [_hanDeskIcon[i]])
  2681. }, _frag); //
  2682. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2683. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2684. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2685. }
  2686. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2687. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2688. if(_role === 0 && _orgStemDeskIcon[i].Url == 'testTeacher'){
  2689. continue
  2690. }
  2691. _content = $$("div", {
  2692. className: "U_MD_D_KO",
  2693. "onmousedown": U.UF.C.closure(function (obj) {
  2694. //防止拖動圖標即打開了桌面應用
  2695. U.MD.D.click(this, obj);
  2696. }, [_orgStemDeskIcon[i]]),
  2697. "onclick": U.UF.C.closure(function (obj) {
  2698. //防止拖動圖標即打開了桌面應用
  2699. U.MD.D.click(this, obj);
  2700. }, [_orgStemDeskIcon[i]])
  2701. }, _frag); //
  2702. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2703. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2704. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2705. }
  2706. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2707. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2708. if(_role === 0 && _szulsDeskIcon[i].Url == 'testTeacher'){
  2709. continue
  2710. }
  2711. _content = $$("div", {
  2712. className: "U_MD_D_KO",
  2713. "onmousedown": U.UF.C.closure(function (obj) {
  2714. //防止拖動圖標即打開了桌面應用
  2715. U.MD.D.click(this, obj);
  2716. }, [_szulsDeskIcon[i]]),
  2717. "onclick": U.UF.C.closure(function (obj) {
  2718. //防止拖動圖標即打開了桌面應用
  2719. U.MD.D.click(this, obj);
  2720. }, [_szulsDeskIcon[i]])
  2721. }, _frag); //
  2722. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2723. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2724. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2725. }
  2726. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2727. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2728. if(_role === 0 && _orgDesktopIconInfo[i].Url == 'testTeacher'){
  2729. continue
  2730. }
  2731. _content = $$("div", {
  2732. className: "U_MD_D_KO",
  2733. "onmousedown": U.UF.C.closure(function (obj) {
  2734. //防止拖動圖標即打開了桌面應用
  2735. U.MD.D.click(this, obj);
  2736. }, [_orgDesktopIconInfo[i]]),
  2737. "onclick": U.UF.C.closure(function (obj) {
  2738. //防止拖動圖標即打開了桌面應用
  2739. U.MD.D.click(this, obj);
  2740. }, [_orgDesktopIconInfo[i]])
  2741. }, _frag); //
  2742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2745. }
  2746. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2747. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2748. if(_role === 0 && _schoolDesktopIconInfo[i].Url == 'testTeacher'){
  2749. continue
  2750. }
  2751. _content = $$("div", {
  2752. className: "U_MD_D_KO",
  2753. "onmousedown": U.UF.C.closure(function (obj) {
  2754. //防止拖動圖標即打開了桌面應用
  2755. U.MD.D.click(this, obj);
  2756. }, [_schoolDesktopIconInfo[i]]),
  2757. "onclick": U.UF.C.closure(function (obj) {
  2758. //防止拖動圖標即打開了桌面應用
  2759. U.MD.D.click(this, obj);
  2760. }, [_schoolDesktopIconInfo[i]])
  2761. }, _frag); //
  2762. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2763. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2764. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2765. }
  2766. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2767. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2768. if(_role === 0 && _GMteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2769. continue
  2770. }
  2771. _content = $$("div", {
  2772. className: "U_MD_D_KO",
  2773. "onmousedown": U.UF.C.closure(function (obj) {
  2774. //防止拖動圖標即打開了桌面應用
  2775. U.MD.D.click(this, obj);
  2776. }, [_GMteacherDesktopIconInfo[i]]),
  2777. "onclick": U.UF.C.closure(function (obj) {
  2778. //防止拖動圖標即打開了桌面應用
  2779. U.MD.D.click(this, obj);
  2780. }, [_GMteacherDesktopIconInfo[i]])
  2781. }, _frag); //
  2782. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2783. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2784. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2785. }
  2786. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2787. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2788. if(_role === 0 && _SONGteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2789. continue
  2790. }
  2791. _content = $$("div", {
  2792. className: "U_MD_D_KO",
  2793. "onmousedown": U.UF.C.closure(function (obj) {
  2794. //防止拖動圖標即打開了桌面應用
  2795. U.MD.D.click(this, obj);
  2796. }, [_SONGteacherDesktopIconInfo[i]]),
  2797. "onclick": U.UF.C.closure(function (obj) {
  2798. //防止拖動圖標即打開了桌面應用
  2799. U.MD.D.click(this, obj);
  2800. }, [_SONGteacherDesktopIconInfo[i]])
  2801. }, _frag); //
  2802. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2803. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2804. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2805. }
  2806. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2807. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2808. _content = $$("div", {
  2809. className: "U_MD_D_KO",
  2810. "onmousedown": U.UF.C.closure(function (obj) {
  2811. //防止拖動圖標即打開了桌面應用
  2812. U.MD.D.click(this, obj);
  2813. }, [_GMstudentDesktopIconInfo[i]]),
  2814. "onclick": U.UF.C.closure(function (obj) {
  2815. //防止拖動圖標即打開了桌面應用
  2816. U.MD.D.click(this, obj);
  2817. }, [_GMstudentDesktopIconInfo[i]])
  2818. }, _frag); //
  2819. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2820. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2821. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2822. }
  2823. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2824. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2825. if(_role === 0 && _tcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2826. continue
  2827. }
  2828. _content = $$("div", {
  2829. className: "U_MD_D_KO",
  2830. "onmousedown": U.UF.C.closure(function (obj) {
  2831. //防止拖動圖標即打開了桌面應用
  2832. U.MD.D.click(this, obj);
  2833. }, [_tcTeacherDeskIconInfo[i]]),
  2834. "onclick": U.UF.C.closure(function (obj) {
  2835. //防止拖動圖標即打開了桌面應用
  2836. U.MD.D.click(this, obj);
  2837. }, [_tcTeacherDeskIconInfo[i]])
  2838. }, _frag); //
  2839. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2840. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2841. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2842. }
  2843. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2844. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2845. if(_role === 0 && _tcOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  2846. continue
  2847. }
  2848. _content = $$("div", {
  2849. className: "U_MD_D_KO",
  2850. "onmousedown": U.UF.C.closure(function (obj) {
  2851. //防止拖動圖標即打開了桌面應用
  2852. U.MD.D.click(this, obj);
  2853. }, [_tcOrganizerDeskIconInfo[i]]),
  2854. "onclick": U.UF.C.closure(function (obj) {
  2855. //防止拖動圖標即打開了桌面應用
  2856. U.MD.D.click(this, obj);
  2857. }, [_tcOrganizerDeskIconInfo[i]])
  2858. }, _frag); //
  2859. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2860. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2861. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2862. }
  2863. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2864. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2865. if(_role === 0 && _szscTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2866. continue
  2867. }
  2868. _content = $$("div", {
  2869. className: "U_MD_D_KO",
  2870. "onmousedown": U.UF.C.closure(function (obj) {
  2871. //防止拖動圖標即打開了桌面應用
  2872. U.MD.D.click(this, obj);
  2873. }, [_szscTeacherDeskIconInfo[i]]),
  2874. "onclick": U.UF.C.closure(function (obj) {
  2875. //防止拖動圖標即打開了桌面應用
  2876. U.MD.D.click(this, obj);
  2877. }, [_szscTeacherDeskIconInfo[i]])
  2878. }, _frag); //
  2879. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2880. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2881. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2882. }
  2883. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2884. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2885. if(_role === 0 && _szscOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  2886. continue
  2887. }
  2888. _content = $$("div", {
  2889. className: "U_MD_D_KO",
  2890. "onmousedown": U.UF.C.closure(function (obj) {
  2891. //防止拖動圖標即打開了桌面應用
  2892. U.MD.D.click(this, obj);
  2893. }, [_szscOrganizerDeskIconInfo[i]]),
  2894. "onclick": U.UF.C.closure(function (obj) {
  2895. //防止拖動圖標即打開了桌面應用
  2896. U.MD.D.click(this, obj);
  2897. }, [_szscOrganizerDeskIconInfo[i]])
  2898. }, _frag); //
  2899. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2900. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2901. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2902. }
  2903. } else {
  2904. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2905. if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher' && _oid != '45facc0a-1211-11ec-80ad-005056b86db5'){
  2906. continue
  2907. }
  2908. _content = $$("div", {
  2909. className: "U_MD_D_KO",
  2910. "onmousedown": U.UF.C.closure(function (obj) {
  2911. //防止拖動圖標即打開了桌面應用
  2912. U.MD.D.click(this, obj);
  2913. }, [_teacherDesktopIconInfo[i]]),
  2914. "onclick": U.UF.C.closure(function (obj) {
  2915. //防止拖動圖標即打開了桌面應用
  2916. U.MD.D.click(this, obj);
  2917. }, [_teacherDesktopIconInfo[i]])
  2918. }, _frag); //
  2919. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2920. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2921. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2922. }
  2923. }
  2924. } else {
  2925. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2926. _content = $$("div", {
  2927. className: "U_MD_D_KO",
  2928. style: { 'width': '124px', 'height': '145px' },
  2929. "onmousedown": U.UF.C.closure(function (obj) {
  2930. //防止拖動圖標即打開了桌面應用
  2931. U.MD.D.click(this, obj);
  2932. }, [_easyDesktopIconInfo[i]]),
  2933. "onclick": U.UF.C.closure(function (obj) {
  2934. //防止拖動圖標即打開了桌面應用
  2935. U.MD.D.click(this, obj);
  2936. }, [_easyDesktopIconInfo[i]])
  2937. }, _frag); //
  2938. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2939. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2940. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2941. }
  2942. }
  2943. if (type == 1) {
  2944. //加載好後給圖標定位
  2945. U.MD.D.iconPostion($(_frag).Child());
  2946. } else {
  2947. //加載好後給圖標定位
  2948. U.MD.D.iconPostion2($(_frag).Child());
  2949. }
  2950. //把圖標加載到頁面
  2951. el.appendChild(_frag);
  2952. }
  2953. /**
  2954. * 顯示任務欄
  2955. *
  2956. * @param {element} 桌面元素
  2957. */
  2958. U.MD.D.I.displayTaskbar = function (el) {
  2959. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  2960. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2961. //任務欄位置變化
  2962. U.selectEl(el).css({ "bottom": "0px" });
  2963. //桌面位置變話
  2964. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2965. }
  2966. }
  2967. //#region 桌面圖標拖動邏輯
  2968. /**
  2969. * 桌面排列圖標
  2970. *
  2971. * @param {element} 桌面元素
  2972. * @param {object} 上下相距的距離
  2973. * @param {object} 左右相距的距離
  2974. * @return {object} 命名空間
  2975. */
  2976. U.MD.D.iconPostion = function (childs, top, left) {
  2977. var i; //用於循環處理
  2978. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  2979. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2980. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2981. for (i = 0; i < childs.length; i++) {
  2982. //如果豎排top超過了範圍處理
  2983. if (top + 95 > US.height - 10) {
  2984. //left超過了頁面範圍處理,則向上重疊打印處理
  2985. if ((left + 180) > US.width) {
  2986. top -= 110;
  2987. left -= 90;
  2988. }
  2989. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2990. else {
  2991. left += 90;
  2992. top = 15;
  2993. };
  2994. }
  2995. //給圖標的位置賦值
  2996. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2997. if (i < childs.length - 1) {
  2998. //頁面圖標每次向下加95
  2999. top += 95;
  3000. }
  3001. }
  3002. //返回最後調用的圖標的位置
  3003. return [top, left];
  3004. }
  3005. /**
  3006. * 桌面排列圖標
  3007. *
  3008. * @param {element} 桌面元素
  3009. * @param {object} 上下相距的距離
  3010. * @param {object} 左右相距的距離
  3011. * @return {object} 命名空間
  3012. */
  3013. U.MD.D.iconPostion2 = function (childs, top, left) {
  3014. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  3015. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  3016. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  3017. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  3018. for (i = 0; i < childs.length; i++) {
  3019. //如果豎排top超過了範圍處理
  3020. if (left + 150 > US.width - 10) {
  3021. //left超過了頁面範圍處理,則向上重疊打印處理
  3022. if ((top + 180) > US.Height) {
  3023. top -= 150;
  3024. left -= 150;
  3025. }
  3026. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  3027. else {
  3028. top += 150;
  3029. left = ol;
  3030. };
  3031. }
  3032. //給圖標的位置賦值
  3033. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  3034. if (i < childs.length - 1) {
  3035. //頁面圖標每次向下加95
  3036. left += 150;
  3037. }
  3038. }
  3039. //返回最後調用的圖標的位置
  3040. return [top, left];
  3041. }
  3042. /**
  3043. * 桌面點擊事件邏輯
  3044. *
  3045. * @param {element} 桌面元素
  3046. * @param {object} 上下相距的距離
  3047. * @param {object} 左右相距的距離
  3048. * @return {object} 命名空間
  3049. */
  3050. U.MD.D.click = function (el, obj) {
  3051. var _buttonnumber = event.button; //點擊的按鈕的事件值
  3052. var _userinfo = US.userInfo;
  3053. U.UF.EV.stopBubble(); //阻止向上冒泡
  3054. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  3055. if (_buttonnumber < 2) {
  3056. //如果是click事件的處理
  3057. if (event.type == "click") {
  3058. //如果元素在mousemove事件中沒有移動則出發click事件
  3059. if (!U.MD.D.I.IsDrag) {
  3060. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3061. U.alert("請先登錄您的賬號!");
  3062. setTimeout(() => {
  3063. U.MD.U.L.login();
  3064. }, 2000);
  3065. } else {
  3066. //打開應用處理
  3067. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  3068. }
  3069. }
  3070. }
  3071. //如果是mouse事件的處理
  3072. else {
  3073. if (US.Config.type == '1') {
  3074. //拖動處理,添加拖動和拖動結束事件
  3075. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  3076. }
  3077. }
  3078. U.MD.D.I.IsDrag = false;
  3079. }
  3080. }
  3081. /**
  3082. * 拖動的處理
  3083. *
  3084. */
  3085. U.MD.D.iconMove = function () {
  3086. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  3087. U.MD.D.I.IsDrag = true;
  3088. }
  3089. /**
  3090. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  3091. *
  3092. * @param {element} 拖動的元素
  3093. * @return {object} 命名空間
  3094. */
  3095. U.MD.D.iconUp = function (el) {
  3096. var _top = 15,
  3097. _left = 20,
  3098. _margin,
  3099. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  3100. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  3101. if (_positioninfo["OT"] > 15) {
  3102. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  3103. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  3104. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  3105. }
  3106. if (_positioninfo["OL"] > 20) {
  3107. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  3108. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  3109. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  3110. }
  3111. //while循環判斷麼一個重疊的元素
  3112. do {
  3113. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  3114. _top = _positioninfo[0] + 95; //得到定位後的top
  3115. _left = _positioninfo[1]; //得到定位後的left
  3116. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  3117. }
  3118. /**
  3119. * 判斷拖動後圖標是否重疊
  3120. *
  3121. * @param {element} 拖動的元素
  3122. * @param {element} 桌面所有的元素
  3123. * @param {array} 拖動元素的位置
  3124. ----------[0] 上 top
  3125. ----------[1] 左 left
  3126. * @return {object} 命名空間
  3127. */
  3128. U.MD.D.isOverlap = function (el, childs, postionarray) {
  3129. //循環所有的圖標
  3130. for (var i = 0; i < childs.length; i++) {
  3131. //判斷有沒有和該圖標誒子重疊的元素
  3132. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  3133. return childs[i]; //如果有返回
  3134. }
  3135. }
  3136. }
  3137. //#endregion
  3138. //#endregion
  3139. //#region 桌面應用
  3140. /**
  3141. * 打開應用
  3142. *
  3143. * @param {string} 類型
  3144. -----------------Disk 網盤系統
  3145. -----------------PDisk 學習系統網盤
  3146. -----------------Poto 圖片
  3147. -----------------Video 視頻
  3148. -----------------Music 音樂
  3149. -----------------Word word
  3150. -----------------Excel excel
  3151. -----------------Txt 記事本
  3152. -----------------PB 學習系統
  3153. -----------------Blog 朋友圈系統
  3154. -----------------FTP ftp系統
  3155. -----------------Group 好友群
  3156. -----------------SY 首頁系統
  3157. -----------------Set 個人設置
  3158. -----------------XSet 系統設置
  3159. -----------------App 我們所有的app
  3160. -----------------BC c.1473.cn 平臺
  3161. -----------------CWeb d.1473.cn 變成平臺
  3162. -----------------其他的外聯系統 我們統一用iframe打開
  3163. * @param {array} 類型
  3164. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  3165. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  3166. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  3167. 如果第一個參數為其他,則無第二個參數
  3168. * @returns {array}
  3169. */
  3170. window.addEventListener('message', function (e) { // 監聽 message 事件
  3171. // alert(e.data.type);
  3172. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  3173. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  3174. //3是展示全部階段 2學生 1老師 4專家
  3175. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  3176. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  3177. //3是展示全部階段 2學生 1老師 4專家
  3178. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  3179. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  3180. //3是展示全部階段 2學生 1老師 4專家
  3181. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  3182. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  3183. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  3184. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  3185. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  3186. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  3187. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  3188. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  3189. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  3190. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  3191. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  3192. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  3193. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  3194. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  3195. //3是展示全部階段 2學生 1老師 4專家
  3196. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  3197. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  3198. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  3199. U.MD.D.I.selectUser();
  3200. } else if (e.data.allScreen && e.data.allScreen == "1") {
  3201. var _formel = document.getElementById("study");
  3202. U.UF.F.windowZooming(_formel);
  3203. } else if (e.data.allScreen && e.data.allScreen == "2") {
  3204. var _formel = document.getElementById("studyDetail");
  3205. U.UF.F.windowZooming(_formel);
  3206. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  3207. var _formel = document.getElementById("studyDetail");
  3208. U.UF.F.windowZooming(_formel);
  3209. } else if (e.data.allScreen && e.data.allScreen == "3") {
  3210. var _formel = document.getElementById("studentStudy");
  3211. U.UF.F.windowZooming(_formel);
  3212. } else if (e.data.allScreen && e.data.allScreen == "6") {
  3213. // var _formel = document.getElementById("study");
  3214. //如果最大化了,那麼就把他縮小
  3215. // if (_formel.ismaximize) {
  3216. // return;
  3217. // }
  3218. // U.UF.F.windowZooming(_formel);
  3219. // U.UF.F.topWindow(_formel);
  3220. } else if (e.data.allScreen && e.data.allScreen == "4") {
  3221. // var _formel = document.getElementById("studyDetail");
  3222. //如果最大化了,那麼就把他縮小
  3223. // if (_formel.ismaximize) {
  3224. // return;
  3225. // }
  3226. // U.UF.F.windowZooming(_formel);
  3227. // U.UF.F.topWindow(_formel);
  3228. } else if (e.data.allScreen && e.data.allScreen == "5") {
  3229. // var _formel = document.getElementById("studentStudy");
  3230. // if (_formel.ismaximize) {
  3231. // return;
  3232. // }
  3233. // U.UF.F.windowZooming(_formel);
  3234. // U.UF.F.topWindow(_formel);
  3235. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  3236. var _formel = document.getElementById("study");
  3237. // if (_formel.ismaximize) {
  3238. // return;
  3239. // }
  3240. // U.UF.F.windowZooming(_formel);
  3241. U.UF.F.topWindow(_formel);
  3242. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  3243. var _formel = document.getElementById("studentIndex");
  3244. U.UF.F.windowZooming(_formel);
  3245. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  3246. var _formel = document.getElementById("studyDetailS");
  3247. U.UF.F.windowZooming(_formel);
  3248. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  3249. var _formel = document.getElementById("studioIndex");
  3250. U.UF.F.windowZooming(_formel);
  3251. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  3252. var _formel = document.getElementById("studyDetailStudio");
  3253. U.UF.F.windowZooming(_formel);
  3254. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  3255. var _formel = document.getElementById("studyDetailStudio");
  3256. U.UF.F.windowZooming(_formel);
  3257. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  3258. var _formel = document.getElementById("studyDetailNT");
  3259. U.UF.F.windowZooming(_formel);
  3260. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  3261. var _formel = document.getElementById("studyDetailS");
  3262. U.UF.F.windowZooming(_formel);
  3263. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  3264. var _formel = document.getElementById("studyDetailS");
  3265. U.UF.F.topWindow(_formel);
  3266. } else if (e.data.tools && e.data.tools == "1") {
  3267. // U.MD.D.I.openApplication("whiteboard")
  3268. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3269. } else if (e.data.tools && e.data.tools == "2") {
  3270. U.MD.D.I.openApplication("note")
  3271. } else if (e.data.tools && e.data.tools == "3") {
  3272. // U.MD.D.I.openApplication("mind")
  3273. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3274. } else if (e.data.tools && e.data.tools == "4") {
  3275. U.MD.D.I.openApplication("investigation")
  3276. } else if (e.data.tools && e.data.tools == "6") {
  3277. // U.MD.D.I.openApplication("doc")
  3278. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3279. } else if (e.data.tools && e.data.tools == "7") {
  3280. // U.MD.D.I.openApplication("mindNetwork")
  3281. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3282. } else if (e.data.tools && e.data.tools == "8") {
  3283. U.MD.D.I.openApplication("library")
  3284. } else if (e.data.tools && e.data.tools == "17") {
  3285. U.MD.D.I.openApplication("stuLibrary")
  3286. } else if (e.data.tools && e.data.tools == "18") {
  3287. U.MD.D.I.openApplication("train")
  3288. } else if (e.data.tools && e.data.tools == "21") {
  3289. U.MD.D.I.openApplication("program")
  3290. } else if (e.data.tools && e.data.tools == "22") {
  3291. U.MD.D.I.openApplication("AIprogram2")
  3292. } else if (e.data.tools && e.data.tools == "23") {
  3293. U.MD.D.I.openApplication("Pythonprogram")
  3294. } else if (e.data.tools && e.data.tools == "24") {
  3295. U.MD.D.I.openApplication("AIprogram")
  3296. } else if (e.data.tools && e.data.tools == "25") {
  3297. U.MD.D.I.openApplication("sys")
  3298. } else if (e.data.tools && e.data.tools == "26") {
  3299. // U.MD.D.I.openApplication("courseDesign")
  3300. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3301. } else if (e.data.tools && e.data.tools == "31") {
  3302. U.MD.D.I.openApplication("netWorkPanel")
  3303. } else if (e.data.tools && e.data.tools == "32") {
  3304. U.MD.D.I.openApplication("codeEdit")
  3305. } else if (e.data.tools && e.data.tools == "57") {
  3306. U.MD.D.I.openApplication("CocoPi")
  3307. } else if (e.data.tools && e.data.tools == "63") {
  3308. U.MD.D.I.openApplication("Wood")
  3309. } else if (e.data.tools && e.data.tools == "58") {
  3310. U.MD.D.I.openApplication("car")
  3311. } else if (e.data.tools && e.data.tools == "59") {
  3312. U.MD.D.I.openApplication("lineSearch")
  3313. } else if (e.data.tools && e.data.tools == "60") {
  3314. U.MD.D.I.openApplication("deepLearning")
  3315. } else if (e.data.tools && e.data.tools == "61") {
  3316. U.MD.D.I.openApplication("allHistory")
  3317. } else if (e.data.tools && e.data.tools == "28") {
  3318. U.MD.D.I.openApplication("translation")
  3319. } else if (e.data.tools && e.data.tools == "37") {
  3320. U.MD.D.I.openApplication("mohe")
  3321. } else if (e.data.tools && e.data.tools == "38") {
  3322. U.MD.D.I.openApplication("24game")
  3323. } else if (e.data.tools && e.data.tools == "39") {
  3324. U.MD.D.I.openApplication("GeoGebra")
  3325. } else if (e.data.tools && e.data.tools == "43") {
  3326. U.MD.D.I.openApplication("studentEvaluate")
  3327. } else if (e.data.tools && e.data.tools == "44") {
  3328. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3329. } else if (e.data.tools && e.data.tools == "46") {
  3330. U.MD.D.I.openApplication("project")
  3331. } else if (e.data.tools && e.data.tools == "71") {
  3332. U.MD.D.I.openApplication("aigptCourse")
  3333. } else if (e.data.tools && e.data.tools == "1s") {
  3334. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3335. } else if (e.data.tools && e.data.tools == "3s") {
  3336. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3337. } else if (e.data.tools && e.data.tools == "6s") {
  3338. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3339. } else if (e.data.tools && e.data.tools == "1studio") {
  3340. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3341. } else if (e.data.tools && e.data.tools == "3studio") {
  3342. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3343. } else if (e.data.tools && e.data.tools == "6studio") {
  3344. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3345. } else if (e.data.tools && e.data.tools == "3y") {
  3346. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3347. } else if (e.data.tools && e.data.tools == "1y") {
  3348. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3349. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3350. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3351. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3352. U.MD.D.I.openApplication("AIAnalyse")
  3353. } else if (e.data.tools && e.data.tools == "1teacher") {
  3354. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3355. } else if (e.data.tools && e.data.tools == "3teacher") {
  3356. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3357. } else if (e.data.tools && e.data.tools == "7teacher") {
  3358. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3359. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3360. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3361. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3362. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3363. } else if (e.data.tools && e.data.tools == "1E") {
  3364. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3365. } else if (e.data.tools && e.data.tools == "3E") {
  3366. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3367. } else if (e.data.tools && e.data.tools == "57y") {
  3368. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3369. } else if (e.data.tools && e.data.tools == "57u") {
  3370. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3371. } else if (e.data.tools && e.data.tools == "57teacher") {
  3372. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3373. } else if (e.data.tools && e.data.tools == "64") {
  3374. U.MD.D.I.openApplication("AIChat")
  3375. } else if (e.data.tools && e.data.tools == "66") {
  3376. U.MD.D.I.openApplication("formulaEdi")
  3377. } else if (e.data.tools && e.data.tools == "67") {
  3378. U.MD.D.I.openApplication("molStr")
  3379. } else if (e.data.tools && e.data.tools == "68") {
  3380. U.MD.D.I.openApplication("timeAxis")
  3381. } else if (e.data.tools && e.data.tools == "openCourse") {
  3382. let _data = {
  3383. typea: e.data.typea || '',
  3384. typeb: e.data.typeb || '',
  3385. typed: e.data.typed || '',
  3386. }
  3387. U.MD.D.I.openInApplication("index", _data)
  3388. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3389. let _data = {
  3390. classid: e.data.classid || '',
  3391. }
  3392. U.MD.D.I.openInApplication("dataClass", _data)
  3393. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3394. let _data = {
  3395. cid: e.data.cid || '',
  3396. gid: e.data.gid || '',
  3397. }
  3398. U.MD.D.I.openInApplication("opencCscl", _data)
  3399. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3400. U.MD.D.I.openApplication("dataBoardTest")
  3401. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3402. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3403. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3404. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3405. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3406. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3407. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3408. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3409. }else if (e.data.tools && e.data.tools == "loginSz") {
  3410. U.MD.D.I.openInApplication("loginSz")
  3411. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3412. if($('#classroom_observation_board')[0]){
  3413. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  3414. }
  3415. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  3416. }else if (e.data.tools && e.data.tools == "classroom_observation_ob_comment"){
  3417. if($('#classroom_observation_ob_comment')[0]){
  3418. $('#classroom_observation_ob_comment iframe')[0].contentDocument.location.reload()
  3419. }
  3420. U.MD.D.I.openInApplication("classroom_observation_ob_comment", e.data.type)
  3421. }
  3422. });
  3423. U.MD.D.I.selectUser = function () {
  3424. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3425. if (res.value[0].length > 0) {
  3426. US.userInfo = res.value[0][0];
  3427. $(".userName")[0].innerHTML = US.userInfo.username;
  3428. }
  3429. }, [], { "type": "GET", "withCredentials": true });
  3430. }
  3431. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3432. var _userinfo = US.userInfo, //登錄用戶信息
  3433. _userid = US.userInfo.userid, //登錄用戶id
  3434. _oid = _userinfo.organizeid,
  3435. _type = US.userInfo.type,
  3436. _org = US.userInfo.org,
  3437. _role = US.userInfo.role,
  3438. _classId = US.userInfo.classid;
  3439. if (_type == 4) {
  3440. tType = 4
  3441. }
  3442. switch (str) {
  3443. case "studyDetailNT": //無終端模式
  3444. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3445. setTimeout(() => {
  3446. U.MD.U.L.login();
  3447. }, 2000);
  3448. } else {
  3449. _formdiv = new U.UF.UI.form(
  3450. "課程詳情",
  3451. $$("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 }), {
  3452. "id": "studyDetailNT",
  3453. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3454. "onresize": function () { }
  3455. }, {
  3456. closecallback: function () { }
  3457. }, { "style": { "height": "36px" } }).form; //創建窗體
  3458. _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); } }
  3459. break;
  3460. }
  3461. case "studyDetail":
  3462. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3463. setTimeout(() => {
  3464. U.MD.U.L.login();
  3465. }, 2000);
  3466. } else {
  3467. _formdiv = new U.UF.UI.form(
  3468. "課程詳情",
  3469. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetail?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3470. "id": "studyDetail",
  3471. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3472. "onresize": function () { }
  3473. }, {
  3474. closecallback: function () { }
  3475. }, { "style": { "height": "36px" } }).form; //創建窗體
  3476. _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); } }
  3477. break;
  3478. }
  3479. case "studyDetailTrain":
  3480. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3481. setTimeout(() => {
  3482. U.MD.U.L.login();
  3483. }, 2000);
  3484. } else {
  3485. _formdiv = new U.UF.UI.form(
  3486. "培訓詳情",
  3487. $$("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 }), {
  3488. "id": "studyDetailTrain",
  3489. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3490. "onresize": function () { }
  3491. }, {
  3492. closecallback: function () { }
  3493. }, { "style": { "height": "36px" } }).form; //創建窗體
  3494. _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); } }
  3495. break;
  3496. }
  3497. case "studyDetailS":
  3498. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3499. setTimeout(() => {
  3500. U.MD.U.L.login();
  3501. }, 2000);
  3502. } else {
  3503. _formdiv = new U.UF.UI.form(
  3504. "項目詳情",
  3505. $$("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 }), {
  3506. "id": "studyDetailS",
  3507. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3508. "onresize": function () { }
  3509. }, {
  3510. closecallback: function () { }
  3511. }, { "style": { "height": "36px" } }).form; //創建窗體
  3512. _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); } }
  3513. break;
  3514. }
  3515. case "studyDetailStudio":
  3516. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3517. setTimeout(() => {
  3518. U.MD.U.L.login();
  3519. }, 2000);
  3520. } else {
  3521. _formdiv = new U.UF.UI.form(
  3522. "工作詳情",
  3523. $$("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 }), {
  3524. "id": "studyDetailStudio",
  3525. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3526. "onresize": function () { }
  3527. }, {
  3528. closecallback: function () { }
  3529. }, { "style": { "height": "36px" } }).form; //創建窗體
  3530. _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); } }
  3531. break;
  3532. }
  3533. case "studyDetailS5":
  3534. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3535. setTimeout(() => {
  3536. U.MD.U.L.login();
  3537. }, 2000);
  3538. } else {
  3539. _formdiv = new U.UF.UI.form(
  3540. "項目詳情",
  3541. $$("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 }), {
  3542. "id": "studyDetailS",
  3543. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3544. "onresize": function () { }
  3545. }, {
  3546. closecallback: function () { }
  3547. }, { "style": { "height": "36px" } }).form; //創建窗體
  3548. _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); } }
  3549. break;
  3550. }
  3551. case "studyDetailGM":
  3552. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3553. setTimeout(() => {
  3554. U.MD.U.L.login();
  3555. }, 2000);
  3556. } else {
  3557. _formdiv = new U.UF.UI.form(
  3558. "課程詳情",
  3559. $$("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 }), {
  3560. "id": "studyDetail",
  3561. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3562. "onresize": function () { }
  3563. }, {
  3564. closecallback: function () { }
  3565. }, { "style": { "height": "36px" } }).form; //創建窗體
  3566. _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); } }
  3567. break;
  3568. }
  3569. case "hanUrl":
  3570. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3571. setTimeout(() => {
  3572. U.MD.U.L.login();
  3573. }, 2000);
  3574. } else {
  3575. _formdiv = new U.UF.UI.form(
  3576. "漢字宮",
  3577. $$("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" }), {
  3578. "id": "hanUrl",
  3579. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3580. "onresize": function () { }
  3581. }, {
  3582. closecallback: function () { }
  3583. }, { "style": { "height": "36px" } }).form; //創建窗體
  3584. _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); } }
  3585. break;
  3586. }
  3587. case "index":
  3588. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3589. setTimeout(() => {
  3590. U.MD.U.L.login();
  3591. }, 2000);
  3592. } else {
  3593. _formdiv = new U.UF.UI.form(
  3594. "課程中心",
  3595. $$("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 }), {
  3596. "id": "study",
  3597. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3598. "onresize": function () { }
  3599. }, {
  3600. closecallback: function () { }
  3601. }, { "style": { "height": "36px" } }).form; //創建窗體
  3602. _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); } }
  3603. break;
  3604. }
  3605. case "dataClass":
  3606. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3607. setTimeout(() => {
  3608. U.MD.U.L.login();
  3609. }, 2000);
  3610. } else {
  3611. _formdiv = new U.UF.UI.form(
  3612. "數據報告",
  3613. $$("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 }), {
  3614. "id": "dataClass",
  3615. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3616. "onresize": function () { }
  3617. }, {
  3618. closecallback: function () { }
  3619. }, { "style": { "height": "36px" } }).form; //創建窗體
  3620. _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); } }
  3621. break;
  3622. }
  3623. case "opencCscl":
  3624. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3625. setTimeout(() => {
  3626. U.MD.U.L.login();
  3627. }, 2000);
  3628. } else {
  3629. _formdiv = new U.UF.UI.form(
  3630. "協同建構",
  3631. $$("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 }), {
  3632. "id": "futureClass",
  3633. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3634. "onresize": function () { }
  3635. }, {
  3636. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3637. }, { "style": { "height": "36px" } }).form; //創建窗體
  3638. _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); } }
  3639. break;
  3640. }
  3641. case "openCourseUpdate":
  3642. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3643. setTimeout(() => {
  3644. U.MD.U.L.login();
  3645. }, 2000);
  3646. } else {
  3647. _formdiv = new U.UF.UI.form(
  3648. "課程管理",
  3649. $$("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 }), {
  3650. "id": "openCourseUpdate",
  3651. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3652. "onresize": function () { }
  3653. }, {
  3654. closecallback: function () { }
  3655. }, { "style": { "height": "36px" } }).form; //創建窗體
  3656. break;
  3657. }
  3658. case "openNewCourseUpdate":
  3659. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3660. setTimeout(() => {
  3661. U.MD.U.L.login();
  3662. }, 2000);
  3663. } else {
  3664. _formdiv = new U.UF.UI.form(
  3665. "課程管理",
  3666. $$("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 }), {
  3667. "id": "openCourseUpdate",
  3668. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3669. "onresize": function () { }
  3670. }, {
  3671. closecallback: function () { }
  3672. }, { "style": { "height": "36px" } }).form; //創建窗體
  3673. break;
  3674. }
  3675. case "openCourseEUpdate":
  3676. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3677. setTimeout(() => {
  3678. U.MD.U.L.login();
  3679. }, 2000);
  3680. } else {
  3681. _formdiv = new U.UF.UI.form(
  3682. "課程管理",
  3683. $$("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 }), {
  3684. "id": "openCourseUpdate",
  3685. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3686. "onresize": function () { }
  3687. }, {
  3688. closecallback: function () { }
  3689. }, { "style": { "height": "36px" } }).form; //創建窗體
  3690. break;
  3691. }
  3692. case "openCourseNewUpdate":
  3693. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3694. setTimeout(() => {
  3695. U.MD.U.L.login();
  3696. }, 2000);
  3697. } else {
  3698. _formdiv = new U.UF.UI.form(
  3699. "課程管理",
  3700. $$("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 }), {
  3701. "id": "openCourseUpdate",
  3702. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3703. "onresize": function () { }
  3704. }, {
  3705. closecallback: function () { }
  3706. }, { "style": { "height": "36px" } }).form; //創建窗體
  3707. break;
  3708. }
  3709. case "inviteLoginSz":
  3710. _formdiv = new U.UF.UI.form(
  3711. "隨機碼登錄",
  3712. $$("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 }), {
  3713. "id": "loginSz",
  3714. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3715. "onresize": function () { }
  3716. }, {
  3717. closecallback: function () { }
  3718. }, { "style": { "height": "36px" } }).form; //創建窗體
  3719. break;
  3720. case "loginSz":
  3721. _formdiv = new U.UF.UI.form(
  3722. "教師登錄",
  3723. $$("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" }), {
  3724. "id": "loginSz",
  3725. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3726. "onresize": function () { }
  3727. }, {
  3728. closecallback: function () { }
  3729. }, { "style": { "height": "36px" } }).form; //創建窗體
  3730. break;
  3731. case "teacher":
  3732. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3733. setTimeout(() => {
  3734. U.MD.U.L.login();
  3735. }, 2000);
  3736. } else {
  3737. _formdiv = new U.UF.UI.form(
  3738. "教師管理",
  3739. $$("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 }), {
  3740. "id": "teacher",
  3741. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3742. "onresize": function () { }
  3743. }, {
  3744. closecallback: function () { }
  3745. }, { "style": { "height": "36px" } }).form; //創建窗體
  3746. break;
  3747. }
  3748. case "dataBoardSZArea":
  3749. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3750. setTimeout(() => {
  3751. U.MD.U.L.login();
  3752. }, 2000);
  3753. } else {
  3754. _formdiv = new U.UF.UI.form(
  3755. "綜合數據看板",
  3756. $$("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 }), {
  3757. "id": "dataBoardSZArea",
  3758. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3759. "onresize": function () { }
  3760. }, {
  3761. closecallback: function () { }
  3762. }, { "style": { "height": "36px" } }).form; //創建窗體
  3763. break;
  3764. }
  3765. case "dataBoardSZCity":
  3766. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3767. setTimeout(() => {
  3768. U.MD.U.L.login();
  3769. }, 2000);
  3770. } else {
  3771. _formdiv = new U.UF.UI.form(
  3772. "綜合數據看板",
  3773. $$("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 }), {
  3774. "id": "dataBoardSZCity",
  3775. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3776. "onresize": function () { }
  3777. }, {
  3778. closecallback: function () { }
  3779. }, { "style": { "height": "36px" } }).form; //創建窗體
  3780. break;
  3781. }
  3782. case "classroom_observation_board":
  3783. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3784. setTimeout(() => {
  3785. U.MD.U.L.login();
  3786. }, 2000);
  3787. } else {
  3788. _formdiv = new U.UF.UI.form(
  3789. "課堂觀察",
  3790. $$("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 }), {
  3791. "id": "classroom_observation_board",
  3792. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3793. "onresize": function () { }
  3794. }, {
  3795. closecallback: function () { }
  3796. }, { "style": { "height": "36px" } }).form; //創建窗體
  3797. break;
  3798. }
  3799. case "classroom_observation_ob_comment":
  3800. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3801. setTimeout(() => {
  3802. U.MD.U.L.login();
  3803. }, 2000);
  3804. } else {
  3805. _formdiv = new U.UF.UI.form(
  3806. "课堂审核",
  3807. $$("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 }), {
  3808. "id": "classroom_observation_ob_comment",
  3809. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3810. "onresize": function () { }
  3811. }, {
  3812. closecallback: function () { }
  3813. }, { "style": { "height": "36px" } }).form; //创建窗体
  3814. break;
  3815. }
  3816. }
  3817. }
  3818. U.MD.D.I.openApplication = function (str, obj, info) {
  3819. obj = obj || {};
  3820. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  3821. _formdiv, //創建任務欄時同時彈出的窗體元素。
  3822. _userinfo = US.userInfo, //登錄用戶信息
  3823. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  3824. _oid = obj.organizeid || _userinfo.organizeid,
  3825. _type = US.userInfo.type,
  3826. _org = US.userInfo.org,
  3827. _role = US.userInfo.role,
  3828. _classId = US.userInfo.classid,
  3829. _TscreenType = 1
  3830. _screenType = 2,
  3831. _SscreenType = 3;
  3832. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3833. return;
  3834. }
  3835. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3836. switch (str) {
  3837. case "studnetProject": //好友打開
  3838. _formdiv = new U.UF.UI.form(
  3839. "我的項目",
  3840. $$("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 }), {
  3841. "id": "studnetProject",
  3842. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3843. "onresize": function () { }
  3844. }, {
  3845. closecallback: function () { }
  3846. }, { "style": { "height": "36px" } }).form; //創建窗體
  3847. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的項目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3848. break;
  3849. case "studentEvaluate": //好友打開
  3850. _formdiv = new U.UF.UI.form(
  3851. "我的評價",
  3852. $$("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 }), {
  3853. "id": "studentEvaluate",
  3854. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3855. "onresize": function () { }
  3856. }, {
  3857. closecallback: function () { }
  3858. }, { "style": { "height": "36px" } }).form; //創建窗體
  3859. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3860. break;
  3861. case "my":
  3862. _formdiv = new U.UF.UI.form(
  3863. "我的資料",
  3864. $$("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 }), {
  3865. "id": "my",
  3866. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3867. "onresize": function () { }
  3868. }, {
  3869. closecallback: function () { }
  3870. }, { "style": { "height": "36px" } }).form; //創建窗體
  3871. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3872. break;
  3873. case "program":
  3874. _formdiv = new U.UF.UI.form(
  3875. "編程平臺",
  3876. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3877. "id": "program",
  3878. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3879. "onresize": function () { }
  3880. }, {
  3881. closecallback: function () { }
  3882. }, { "style": { "height": "36px" } }).form; //創建窗體
  3883. _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); } }
  3884. break;
  3885. case "library":
  3886. _formdiv = new U.UF.UI.form(
  3887. "素材庫",
  3888. $$("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 }), {
  3889. "id": "library",
  3890. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3891. "onresize": function () { }
  3892. }, {
  3893. closecallback: function () { }
  3894. }, { "style": { "height": "36px" } }).form; //創建窗體
  3895. _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); } }
  3896. break;
  3897. case "whiteboard":
  3898. _formdiv = new U.UF.UI.form(
  3899. "電子白板",
  3900. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3901. "id": "whiteboard",
  3902. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3903. "onresize": function () { }
  3904. }, {
  3905. closecallback: function () { }
  3906. }, { "style": { "height": "36px" } }).form; //創建窗體
  3907. _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); } }
  3908. break;
  3909. case "investigation":
  3910. _formdiv = new U.UF.UI.form(
  3911. "問卷調查",
  3912. $$("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 }), {
  3913. "id": "investigation",
  3914. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3915. "onresize": function () { }
  3916. }, {
  3917. closecallback: function () { }
  3918. }, { "style": { "height": "36px" } }).form; //創建窗體
  3919. _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); } }
  3920. break;
  3921. case "note":
  3922. _formdiv = new U.UF.UI.form(
  3923. "便簽分類",
  3924. $$("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 }), {
  3925. "id": "note",
  3926. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3927. "onresize": function () { }
  3928. }, {
  3929. closecallback: function () { }
  3930. }, { "style": { "height": "36px" } }).form; //創建窗體
  3931. _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); } }
  3932. break;
  3933. // case "score":
  3934. // _formdiv = new U.UF.UI.form(
  3935. // "量規評分",
  3936. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3937. // "id": "score",
  3938. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3939. // "onresize": function() {}
  3940. // }, {
  3941. // closecallback: function() {}
  3942. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3943. // _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); } }
  3944. // break;
  3945. case "mind":
  3946. _formdiv = new U.UF.UI.form(
  3947. "思維導圖",
  3948. $$("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"
  3949. "id": "mind",
  3950. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3951. "onresize": function () { }
  3952. }, {
  3953. closecallback: function () { }
  3954. }, { "style": { "height": "36px" } }).form; //創建窗體
  3955. _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); } }
  3956. break;
  3957. case "doc":
  3958. // U.MD.D.I.isRoom();
  3959. _formdiv = new U.UF.UI.form(
  3960. "協同文檔",
  3961. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3962. "id": "doc",
  3963. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3964. "onresize": function () { }
  3965. }, {
  3966. closecallback: function () { }
  3967. }, { "style": { "height": "36px" } }).form; //創建窗體
  3968. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3969. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3970. // })
  3971. _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); } }
  3972. break;
  3973. case "studentStudy":
  3974. _formdiv = new U.UF.UI.form(
  3975. "課程中心",
  3976. $$("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
  3977. "id": "studentStudy",
  3978. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3979. "onresize": function () { }
  3980. }, {
  3981. closecallback: function () { }
  3982. }, { "style": { "height": "36px" } }).form; //創建窗體
  3983. _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); } }
  3984. break;
  3985. case "train": //好友打開
  3986. _formdiv = new U.UF.UI.form(
  3987. "訓練平臺",
  3988. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3989. "id": "train",
  3990. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3991. "onresize": function () { }
  3992. }, {
  3993. closecallback: function () { }
  3994. }, { "style": { "height": "36px" } }).form; //創建窗體
  3995. _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); } }
  3996. break;
  3997. case "mindNetwork": //好友打開
  3998. _formdiv = new U.UF.UI.form(
  3999. "思維網格",
  4000. $$("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 }), {
  4001. "id": "mindNetwork",
  4002. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4003. "onresize": function () { }
  4004. }, {
  4005. closecallback: function () { }
  4006. }, { "style": { "height": "36px" } }).form; //創建窗體
  4007. _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); } }
  4008. break;
  4009. case "studentClassRoom": //好友打開
  4010. _formdiv = new U.UF.UI.form(
  4011. "實時課堂",
  4012. $$("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 }), {
  4013. "id": "studentClassRoom",
  4014. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4015. "onresize": function () { }
  4016. }, {
  4017. closecallback: function () { }
  4018. }, { "style": { "height": "36px" } }).form; //創建窗體
  4019. _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); } }
  4020. setTimeout(() => {
  4021. U.UF.F.windowZooming(_formdiv)
  4022. }, 0);
  4023. break;
  4024. }
  4025. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4026. switch (str) {
  4027. case "studnetProject": //好友打開
  4028. _formdiv = new U.UF.UI.form(
  4029. "我的項目",
  4030. $$("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 }), {
  4031. "id": "studnetProject",
  4032. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4033. "onresize": function () { }
  4034. }, {
  4035. closecallback: function () { }
  4036. }, { "style": { "height": "36px" } }).form; //創建窗體
  4037. _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); } }
  4038. break;
  4039. case "studentEvaluate": //好友打開
  4040. _formdiv = new U.UF.UI.form(
  4041. "我的評價",
  4042. $$("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 }), {
  4043. "id": "studentEvaluate",
  4044. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4045. "onresize": function () { }
  4046. }, {
  4047. closecallback: function () { }
  4048. }, { "style": { "height": "36px" } }).form; //創建窗體
  4049. _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); } }
  4050. break;
  4051. case "my":
  4052. _formdiv = new U.UF.UI.form(
  4053. "我的資料",
  4054. $$("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 }), {
  4055. "id": "my",
  4056. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4057. "onresize": function () { }
  4058. }, {
  4059. closecallback: function () { }
  4060. }, { "style": { "height": "36px" } }).form; //創建窗體
  4061. _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); } }
  4062. break;
  4063. case "program":
  4064. _formdiv = new U.UF.UI.form(
  4065. "編程平臺",
  4066. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4067. "id": "program",
  4068. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4069. "onresize": function () { }
  4070. }, {
  4071. closecallback: function () { }
  4072. }, { "style": { "height": "36px" } }).form; //創建窗體
  4073. _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); } }
  4074. break;
  4075. case "library":
  4076. _formdiv = new U.UF.UI.form(
  4077. "素材庫",
  4078. $$("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 }), {
  4079. "id": "library",
  4080. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4081. "onresize": function () { }
  4082. }, {
  4083. closecallback: function () { }
  4084. }, { "style": { "height": "36px" } }).form; //創建窗體
  4085. _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); } }
  4086. break;
  4087. case "whiteboard":
  4088. _formdiv = new U.UF.UI.form(
  4089. "電子白板",
  4090. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4091. "id": "whiteboard",
  4092. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4093. "onresize": function () { }
  4094. }, {
  4095. closecallback: function () { }
  4096. }, { "style": { "height": "36px" } }).form; //創建窗體
  4097. _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); } }
  4098. break;
  4099. case "investigation":
  4100. _formdiv = new U.UF.UI.form(
  4101. "問卷調查",
  4102. $$("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 }), {
  4103. "id": "investigation",
  4104. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4105. "onresize": function () { }
  4106. }, {
  4107. closecallback: function () { }
  4108. }, { "style": { "height": "36px" } }).form; //創建窗體
  4109. _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); } }
  4110. break;
  4111. case "note":
  4112. _formdiv = new U.UF.UI.form(
  4113. "便簽分類",
  4114. $$("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 }), {
  4115. "id": "note",
  4116. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4117. "onresize": function () { }
  4118. }, {
  4119. closecallback: function () { }
  4120. }, { "style": { "height": "36px" } }).form; //創建窗體
  4121. _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); } }
  4122. break;
  4123. // case "score":
  4124. // _formdiv = new U.UF.UI.form(
  4125. // "量規評分",
  4126. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4127. // "id": "score",
  4128. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4129. // "onresize": function() {}
  4130. // }, {
  4131. // closecallback: function() {}
  4132. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4133. // _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); } }
  4134. // break;
  4135. case "mind":
  4136. _formdiv = new U.UF.UI.form(
  4137. "思維導圖",
  4138. $$("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"
  4139. "id": "mind",
  4140. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4141. "onresize": function () { }
  4142. }, {
  4143. closecallback: function () { }
  4144. }, { "style": { "height": "36px" } }).form; //創建窗體
  4145. _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); } }
  4146. break;
  4147. case "doc":
  4148. // U.MD.D.I.isRoom();
  4149. _formdiv = new U.UF.UI.form(
  4150. "協同文檔",
  4151. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4152. "id": "doc",
  4153. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4154. "onresize": function () { }
  4155. }, {
  4156. closecallback: function () { }
  4157. }, { "style": { "height": "36px" } }).form; //創建窗體
  4158. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4159. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4160. })
  4161. _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); } }
  4162. break;
  4163. case "train": //好友打開
  4164. _formdiv = new U.UF.UI.form(
  4165. "訓練平臺",
  4166. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4167. "id": "train",
  4168. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4169. "onresize": function () { }
  4170. }, {
  4171. closecallback: function () { }
  4172. }, { "style": { "height": "36px" } }).form; //創建窗體
  4173. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4174. break;
  4175. case "studentStudy":
  4176. _formdiv = new U.UF.UI.form(
  4177. "課程中心",
  4178. $$("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
  4179. "id": "studentStudy",
  4180. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4181. "onresize": function () { }
  4182. }, {
  4183. closecallback: function () { }
  4184. }, { "style": { "height": "36px" } }).form; //創建窗體
  4185. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4186. break;
  4187. case "mindNetwork": //好友打開
  4188. _formdiv = new U.UF.UI.form(
  4189. "思維網格",
  4190. $$("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 }), {
  4191. "id": "mindNetwork",
  4192. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4193. "onresize": function () { }
  4194. }, {
  4195. closecallback: function () { }
  4196. }, { "style": { "height": "36px" } }).form; //創建窗體
  4197. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思維網格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4198. break;
  4199. case "studentClassRoom": //好友打開
  4200. _formdiv = new U.UF.UI.form(
  4201. "實時課堂",
  4202. $$("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 }), {
  4203. "id": "studentClassRoom",
  4204. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4205. "onresize": function () { }
  4206. }, {
  4207. closecallback: function () { }
  4208. }, { "style": { "height": "36px" } }).form; //創建窗體
  4209. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "實時課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4210. setTimeout(() => {
  4211. U.UF.F.windowZooming(_formdiv)
  4212. }, 0);
  4213. break;
  4214. }
  4215. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4216. //選擇應用處理
  4217. switch (str) {
  4218. case "project": //好友打開
  4219. _formdiv = new U.UF.UI.form(
  4220. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  4221. $$("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 }), {
  4222. "id": "project",
  4223. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4224. "onresize": function () { }
  4225. }, {
  4226. closecallback: function () { }
  4227. }, { "style": { "height": "36px" } }).form; //創建窗體
  4228. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4229. break;
  4230. case "student":
  4231. _formdiv = new U.UF.UI.form(
  4232. "學生管理",
  4233. $$("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 }), {
  4234. "id": "student",
  4235. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4236. "onresize": function () { }
  4237. }, {
  4238. closecallback: function () { }
  4239. }, { "style": { "height": "36px" } }).form; //創建窗體
  4240. _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); } }
  4241. break;
  4242. case "evaluate":
  4243. _formdiv = new U.UF.UI.form(
  4244. "學生評價",
  4245. $$("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 }), {
  4246. "id": "evaluate",
  4247. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4248. "onresize": function () { }
  4249. }, {
  4250. closecallback: function () { }
  4251. }, { "style": { "height": "36px" } }).form; //創建窗體
  4252. _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); } }
  4253. break;
  4254. case "sys":
  4255. _formdiv = new U.UF.UI.form(
  4256. "目標管理",
  4257. $$("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 }), {
  4258. "id": "sys",
  4259. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4260. "onresize": function () { }
  4261. }, {
  4262. closecallback: function () { }
  4263. }, { "style": { "height": "36px" } }).form; //創建窗體
  4264. _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); } }
  4265. break;
  4266. case "courseDesign":
  4267. _formdiv = new U.UF.UI.form(
  4268. "項目設計",
  4269. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4270. "id": "courseDesign",
  4271. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4272. "onresize": function () { }
  4273. }, {
  4274. closecallback: function () { }
  4275. }, { "style": { "height": "36px" } }).form; //創建窗體
  4276. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "項目設計", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4277. break;
  4278. case "program":
  4279. _formdiv = new U.UF.UI.form(
  4280. "編程平臺",
  4281. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4282. "id": "program",
  4283. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4284. "onresize": function () { }
  4285. }, {
  4286. closecallback: function () { }
  4287. }, { "style": { "height": "36px" } }).form; //創建窗體
  4288. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4289. break;
  4290. case "class":
  4291. _formdiv = new U.UF.UI.form(
  4292. "班級管理",
  4293. $$("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 }), {
  4294. "id": "class",
  4295. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4296. "onresize": function () { }
  4297. }, {
  4298. closecallback: function () { }
  4299. }, { "style": { "height": "36px" } }).form; //創建窗體
  4300. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/class.png)" }, "name": "班級管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4301. break;
  4302. case "Grade":
  4303. _formdiv = new U.UF.UI.form(
  4304. "年級管理",
  4305. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/grade?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4306. "id": "Grade",
  4307. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4308. "onresize": function () { }
  4309. }, {
  4310. closecallback: function () { }
  4311. }, { "style": { "height": "36px" } }).form; //創建窗體
  4312. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Grade.png)" }, "name": "年級管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4313. break;
  4314. case "teacherOffice":
  4315. _formdiv = new U.UF.UI.form(
  4316. "教研室",
  4317. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherOffice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4318. "id": "teacherOffice",
  4319. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4320. "onresize": function () { }
  4321. }, {
  4322. closecallback: function () { }
  4323. }, { "style": { "height": "36px" } }).form; //創建窗體
  4324. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacherOffice.png)" }, "name": "教研室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4325. break;
  4326. case "my":
  4327. _formdiv = new U.UF.UI.form(
  4328. "我的資料",
  4329. $$("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 }), {
  4330. "id": "my",
  4331. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4332. "onresize": function () { }
  4333. }, {
  4334. closecallback: function () { }
  4335. }, { "style": { "height": "36px" } }).form; //創建窗體
  4336. _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); } }
  4337. break;
  4338. case "notice":
  4339. _formdiv = new U.UF.UI.form(
  4340. "通知公告",
  4341. $$("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 }), {
  4342. "id": "notice",
  4343. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4344. "onresize": function () { }
  4345. }, {
  4346. closecallback: function () { }
  4347. }, { "style": { "height": "36px" } }).form; //創建窗體
  4348. _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); } }
  4349. break;
  4350. case "library":
  4351. _formdiv = new U.UF.UI.form(
  4352. "素材庫",
  4353. $$("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 }), {
  4354. "id": "library",
  4355. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4356. "onresize": function () { }
  4357. }, {
  4358. closecallback: function () { }
  4359. }, { "style": { "height": "36px" } }).form; //創建窗體
  4360. _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); } }
  4361. break;
  4362. case "whiteboard":
  4363. _formdiv = new U.UF.UI.form(
  4364. "電子白板",
  4365. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4366. "id": "whiteboard",
  4367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4368. "onresize": function () { }
  4369. }, {
  4370. closecallback: function () { }
  4371. }, { "style": { "height": "36px" } }).form; //創建窗體
  4372. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "電子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4373. break;
  4374. case "investigation":
  4375. _formdiv = new U.UF.UI.form(
  4376. "問卷調查",
  4377. $$("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 }), {
  4378. "id": "investigation",
  4379. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4380. "onresize": function () { }
  4381. }, {
  4382. closecallback: function () { }
  4383. }, { "style": { "height": "36px" } }).form; //創建窗體
  4384. _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); } }
  4385. break;
  4386. case "note":
  4387. _formdiv = new U.UF.UI.form(
  4388. "便簽分類",
  4389. $$("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 }), {
  4390. "id": "note",
  4391. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4392. "onresize": function () { }
  4393. }, {
  4394. closecallback: function () { }
  4395. }, { "style": { "height": "36px" } }).form; //創建窗體
  4396. _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); } }
  4397. break;
  4398. // case "score":
  4399. // _formdiv = new U.UF.UI.form(
  4400. // "量規評分",
  4401. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4402. // "id": "score",
  4403. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4404. // "onresize": function() {}
  4405. // }, {
  4406. // closecallback: function() {}
  4407. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4408. // _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); } }
  4409. // break;
  4410. case "mind":
  4411. _formdiv = new U.UF.UI.form(
  4412. "思維導圖",
  4413. $$("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"
  4414. "id": "mind",
  4415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4416. "onresize": function () { }
  4417. }, {
  4418. closecallback: function () { }
  4419. }, { "style": { "height": "36px" } }).form; //創建窗體
  4420. _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); } }
  4421. break;
  4422. case "doc":
  4423. // U.MD.D.I.isRoom();
  4424. _formdiv = new U.UF.UI.form(
  4425. "協同文檔",
  4426. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4427. "id": "doc",
  4428. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4429. "onresize": function () { }
  4430. }, {
  4431. closecallback: function () { }
  4432. }, { "style": { "height": "36px" } }).form; //創建窗體
  4433. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4434. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4435. })
  4436. _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); } }
  4437. break;
  4438. case "study":
  4439. _formdiv = new U.UF.UI.form(
  4440. "課程中心",
  4441. $$("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
  4442. "id": "study",
  4443. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4444. "onresize": function () { }
  4445. }, {
  4446. closecallback: function () { }
  4447. }, { "style": { "height": "36px" } }).form; //創建窗體
  4448. _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); } }
  4449. break;
  4450. case "mindNetwork": //好友打開
  4451. _formdiv = new U.UF.UI.form(
  4452. "思維網格",
  4453. $$("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 }), {
  4454. "id": "mindNetwork",
  4455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4456. "onresize": function () { }
  4457. }, {
  4458. closecallback: function () { }
  4459. }, { "style": { "height": "36px" } }).form; //創建窗體
  4460. _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); } }
  4461. break;
  4462. case "train": //好友打開
  4463. _formdiv = new U.UF.UI.form(
  4464. "訓練平臺",
  4465. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4466. "id": "mindNetwork",
  4467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4468. "onresize": function () { }
  4469. }, {
  4470. closecallback: function () { }
  4471. }, { "style": { "height": "36px" } }).form; //創建窗體
  4472. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4473. break;
  4474. case "teacherClassRoom": //好友打開
  4475. _formdiv = new U.UF.UI.form(
  4476. "實時課堂",
  4477. $$("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 }), {
  4478. "id": "teacherClassRoom",
  4479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4480. "onresize": function () { }
  4481. }, {
  4482. closecallback: function () { }
  4483. }, { "style": { "height": "36px" } }).form; //創建窗體
  4484. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "實時課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4485. setTimeout(() => {
  4486. U.UF.F.windowZooming(_formdiv)
  4487. }, 0);
  4488. break;
  4489. }
  4490. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4491. switch (str) {
  4492. case "project": //好友打開
  4493. _formdiv = new U.UF.UI.form(
  4494. "課程管理",
  4495. $$("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 }), {
  4496. "id": "project",
  4497. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4498. "onresize": function () { }
  4499. }, {
  4500. closecallback: function () { }
  4501. }, { "style": { "height": "36px" } }).form; //創建窗體
  4502. _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); } }
  4503. break;
  4504. case "evaluate":
  4505. _formdiv = new U.UF.UI.form(
  4506. "學生評價",
  4507. $$("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 }), {
  4508. "id": "evaluate",
  4509. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4510. "onresize": function () { }
  4511. }, {
  4512. closecallback: function () { }
  4513. }, { "style": { "height": "36px" } }).form; //創建窗體
  4514. _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); } }
  4515. break;
  4516. case "notice":
  4517. _formdiv = new U.UF.UI.form(
  4518. "通知公告",
  4519. $$("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 }), {
  4520. "id": "notice",
  4521. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4522. "onresize": function () { }
  4523. }, {
  4524. closecallback: function () { }
  4525. }, { "style": { "height": "36px" } }).form; //創建窗體
  4526. _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); } }
  4527. break;
  4528. case "stuLibrary":
  4529. _formdiv = new U.UF.UI.form(
  4530. "學習資料",
  4531. $$("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 }), {
  4532. "id": "stuLibrary",
  4533. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4534. "onresize": function () { }
  4535. }, {
  4536. closecallback: function () { }
  4537. }, { "style": { "height": "36px" } }).form; //創建窗體
  4538. _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); } }
  4539. break;
  4540. case "program":
  4541. _formdiv = new U.UF.UI.form(
  4542. "編程平臺",
  4543. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4544. "id": "program",
  4545. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4546. "onresize": function () { }
  4547. }, {
  4548. closecallback: function () { }
  4549. }, { "style": { "height": "36px" } }).form; //創建窗體
  4550. _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); } }
  4551. break;
  4552. case "whiteboard":
  4553. _formdiv = new U.UF.UI.form(
  4554. "電子白板",
  4555. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4556. "id": "whiteboard",
  4557. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4558. "onresize": function () { }
  4559. }, {
  4560. closecallback: function () { }
  4561. }, { "style": { "height": "36px" } }).form; //創建窗體
  4562. _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); } }
  4563. break;
  4564. case "investigation":
  4565. _formdiv = new U.UF.UI.form(
  4566. "問卷調查",
  4567. $$("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 }), {
  4568. "id": "investigation",
  4569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4570. "onresize": function () { }
  4571. }, {
  4572. closecallback: function () { }
  4573. }, { "style": { "height": "36px" } }).form; //創建窗體
  4574. _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); } }
  4575. break;
  4576. case "mind":
  4577. _formdiv = new U.UF.UI.form(
  4578. "思維導圖",
  4579. $$("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"
  4580. "id": "mind",
  4581. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4582. "onresize": function () { }
  4583. }, {
  4584. closecallback: function () { }
  4585. }, { "style": { "height": "36px" } }).form; //創建窗體
  4586. _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); } }
  4587. break;
  4588. case "doc":
  4589. // U.MD.D.I.isRoom();
  4590. _formdiv = new U.UF.UI.form(
  4591. "協同文檔",
  4592. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4593. "id": "doc",
  4594. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4595. "onresize": function () { }
  4596. }, {
  4597. closecallback: function () { }
  4598. }, { "style": { "height": "36px" } }).form; //創建窗體
  4599. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4600. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4601. })
  4602. _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); } }
  4603. break;
  4604. case "study":
  4605. _formdiv = new U.UF.UI.form(
  4606. "課程中心",
  4607. $$("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
  4608. "id": "study",
  4609. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4610. "onresize": function () { }
  4611. }, {
  4612. closecallback: function () { }
  4613. }, { "style": { "height": "36px" } }).form; //創建窗體
  4614. _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); } }
  4615. break;
  4616. case "mindNetwork": //好友打開
  4617. _formdiv = new U.UF.UI.form(
  4618. "思維網格",
  4619. $$("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 }), {
  4620. "id": "mindNetwork",
  4621. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4622. "onresize": function () { }
  4623. }, {
  4624. closecallback: function () { }
  4625. }, { "style": { "height": "36px" } }).form; //創建窗體
  4626. _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); } }
  4627. break;
  4628. case "train": //好友打開
  4629. _formdiv = new U.UF.UI.form(
  4630. "訓練平臺",
  4631. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4632. "id": "train",
  4633. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4634. "onresize": function () { }
  4635. }, {
  4636. closecallback: function () { }
  4637. }, { "style": { "height": "36px" } }).form; //創建窗體
  4638. _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); } }
  4639. break;
  4640. case "sys":
  4641. _formdiv = new U.UF.UI.form(
  4642. "目標管理",
  4643. $$("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 }), {
  4644. "id": "sys",
  4645. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4646. "onresize": function () { }
  4647. }, {
  4648. closecallback: function () { }
  4649. }, { "style": { "height": "36px" } }).form; //創建窗體
  4650. _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); } }
  4651. break;
  4652. case "courseDesign":
  4653. _formdiv = new U.UF.UI.form(
  4654. "項目設計",
  4655. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4656. "id": "courseDesign",
  4657. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4658. "onresize": function () { }
  4659. }, {
  4660. closecallback: function () { }
  4661. }, { "style": { "height": "36px" } }).form; //創建窗體
  4662. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "項目設計", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4663. break;
  4664. }
  4665. } else if (!_type) {
  4666. switch (str) {
  4667. case "my":
  4668. _formdiv = new U.UF.UI.form(
  4669. "我的資料",
  4670. $$("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 }), {
  4671. "id": "my",
  4672. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4673. "onresize": function () { }
  4674. }, {
  4675. closecallback: function () { }
  4676. }, { "style": { "height": "36px" } }).form; //創建窗體
  4677. _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); } }
  4678. break;
  4679. }
  4680. }
  4681. switch (str) {
  4682. // AIprogram2 AI體驗 aihub.cocorobo.cn
  4683. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  4684. // AIprogram AI編程 ai-blockly.cocorobo.cn
  4685. case "formulaEdi": //公式編輯
  4686. _formdiv = new U.UF.UI.form(
  4687. "公式編輯",
  4688. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4689. "id": "formulaEdi",
  4690. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4691. "onresize": function () { }
  4692. }, {
  4693. closecallback: function () { }
  4694. }, { "style": { "height": "36px" } }).form; //創建窗體
  4695. _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); } }
  4696. break;
  4697. case "molStr": //分子結構
  4698. _formdiv = new U.UF.UI.form(
  4699. "分子結構",
  4700. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4701. "id": "molStr",
  4702. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4703. "onresize": function () { }
  4704. }, {
  4705. closecallback: function () { }
  4706. }, { "style": { "height": "36px" } }).form; //創建窗體
  4707. _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); } }
  4708. break;
  4709. case "timeAxis": //時間軸
  4710. _formdiv = new U.UF.UI.form(
  4711. "時間軸",
  4712. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4713. "id": "timeAxis",
  4714. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4715. "onresize": function () { }
  4716. }, {
  4717. closecallback: function () { }
  4718. }, { "style": { "height": "36px" } }).form; //創建窗體
  4719. _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); } }
  4720. break;
  4721. case "AIprogram2": //AI體驗
  4722. _formdiv = new U.UF.UI.form(
  4723. "AI體驗",
  4724. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4725. "id": "AIprogram2",
  4726. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4727. "onresize": function () { }
  4728. }, {
  4729. closecallback: function () { }
  4730. }, { "style": { "height": "36px" } }).form; //創建窗體
  4731. _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); } }
  4732. break;
  4733. case "Pythonprogram": //python編程
  4734. _formdiv = new U.UF.UI.form(
  4735. "Python編程",
  4736. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4737. "id": "Pythonprogram",
  4738. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4739. "onresize": function () { }
  4740. }, {
  4741. closecallback: function () { }
  4742. }, { "style": { "height": "36px" } }).form; //創建窗體
  4743. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python編程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4744. break;
  4745. case "AIprogram": //ai編程
  4746. _formdiv = new U.UF.UI.form(
  4747. "AI編程平臺",
  4748. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4749. "id": "AIprogram",
  4750. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4751. "onresize": function () { }
  4752. }, {
  4753. closecallback: function () { }
  4754. }, { "style": { "height": "36px" } }).form; //創建窗體
  4755. _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); } }
  4756. break;
  4757. case "CocoPi": //CocoPi
  4758. _formdiv = new U.UF.UI.form(
  4759. "CocoPi",
  4760. $$("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" }), {
  4761. "id": "CocoPi",
  4762. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4763. "onresize": function () { }
  4764. }, {
  4765. closecallback: function () { }
  4766. }, { "style": { "height": "36px" } }).form; //創建窗體
  4767. _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); } }
  4768. break;
  4769. case "Wood": //Wood
  4770. _formdiv = new U.UF.UI.form(
  4771. "海龜編程",
  4772. $$("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/" }), {
  4773. "id": "Wood",
  4774. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4775. "onresize": function () { }
  4776. }, {
  4777. closecallback: function () { }
  4778. }, { "style": { "height": "36px" } }).form; //創建窗體
  4779. _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); } }
  4780. break;
  4781. case "car": //模擬駕駛
  4782. _formdiv = new U.UF.UI.form(
  4783. "模擬駕駛",
  4784. $$("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/" }), {
  4785. "id": "car",
  4786. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4787. "onresize": function () { }
  4788. }, {
  4789. closecallback: function () { }
  4790. }, { "style": { "height": "36px" } }).form; //創建窗體
  4791. _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); } }
  4792. break;
  4793. case "lineSearch": //路徑搜索
  4794. _formdiv = new U.UF.UI.form(
  4795. "路徑搜索",
  4796. $$("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/" }), {
  4797. "id": "lineSearch",
  4798. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4799. "onresize": function () { }
  4800. }, {
  4801. closecallback: function () { }
  4802. }, { "style": { "height": "36px" } }).form; //創建窗體
  4803. _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); } }
  4804. break;
  4805. case "deepLearning": //深度學習
  4806. _formdiv = new U.UF.UI.form(
  4807. "深度學習",
  4808. $$("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/#" }), {
  4809. "id": "deepLearning",
  4810. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4811. "onresize": function () { }
  4812. }, {
  4813. closecallback: function () { }
  4814. }, { "style": { "height": "36px" } }).form; //創建窗體
  4815. _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); } }
  4816. break;
  4817. case "allHistory": //深度學習
  4818. _formdiv = new U.UF.UI.form(
  4819. "全歷史",
  4820. $$("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/" }), {
  4821. "id": "allHistory",
  4822. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4823. "onresize": function () { }
  4824. }, {
  4825. closecallback: function () { }
  4826. }, { "style": { "height": "36px" } }).form; //創建窗體
  4827. _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); } }
  4828. break;
  4829. case "chatPDF": //ai編程
  4830. _formdiv = new U.UF.UI.form(
  4831. "chatPDF",
  4832. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4833. "id": "chatPDF",
  4834. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4835. "onresize": function () { }
  4836. }, {
  4837. closecallback: function () { }
  4838. }, { "style": { "height": "36px" } }).form; //創建窗體
  4839. _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); } }
  4840. break;
  4841. case "resources": //國家教育
  4842. _formdiv = new U.UF.UI.form(
  4843. "國家教育",
  4844. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4845. "id": "resources",
  4846. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4847. "onresize": function () { }
  4848. }, {
  4849. closecallback: function () { }
  4850. }, { "style": { "height": "36px" } }).form; //創建窗體
  4851. _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); } }
  4852. break;
  4853. case "codeEdit": //源碼編輯
  4854. _formdiv = new U.UF.UI.form(
  4855. "源碼編輯",
  4856. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4857. "id": "codeEdit",
  4858. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4859. "onresize": function () { }
  4860. }, {
  4861. closecallback: function () { }
  4862. }, { "style": { "height": "36px" } }).form; //創建窗體
  4863. _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); } }
  4864. break; //
  4865. case "MindMap": //MindMap
  4866. _formdiv = new U.UF.UI.form(
  4867. "MindMap",
  4868. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4869. "id": "MindMap",
  4870. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4871. "onresize": function () { }
  4872. }, {
  4873. closecallback: function () { }
  4874. }, { "style": { "height": "36px" } }).form; //創建窗體
  4875. _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); } }
  4876. break;
  4877. case "netWorkPanel": //netWorkPanel
  4878. _formdiv = new U.UF.UI.form(
  4879. "netWorkPanel",
  4880. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4881. "id": "netWorkPanel",
  4882. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4883. "onresize": function () { }
  4884. }, {
  4885. closecallback: function () { }
  4886. }, { "style": { "height": "36px" } }).form; //創建窗體
  4887. _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); } }
  4888. break;
  4889. case "GeoGebra": //GeoGebra
  4890. _formdiv = new U.UF.UI.form(
  4891. "GeoGebra",
  4892. $$("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" }), {
  4893. "id": "GeoGebra",
  4894. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4895. "onresize": function () { }
  4896. }, {
  4897. closecallback: function () { }
  4898. }, { "style": { "height": "36px" } }).form; //創建窗體
  4899. _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); } }
  4900. break;
  4901. case "translation": //翻譯
  4902. _formdiv = new U.UF.UI.form(
  4903. "翻譯",
  4904. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4905. "id": "translation",
  4906. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4907. "onresize": function () { }
  4908. }, {
  4909. closecallback: function () { }
  4910. }, { "style": { "height": "36px" } }).form; //創建窗體
  4911. _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); } }
  4912. break;
  4913. case "mohe": //魔盒
  4914. _formdiv = new U.UF.UI.form(
  4915. "魔盒識字",
  4916. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4917. "id": "mohe",
  4918. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4919. "onresize": function () { }
  4920. }, {
  4921. closecallback: function () { }
  4922. }, { "style": { "height": "36px" } }).form; //創建窗體
  4923. _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); } }
  4924. break;
  4925. case "24game": //24點
  4926. _formdiv = new U.UF.UI.form(
  4927. "24點",
  4928. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4929. "id": "24game",
  4930. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4931. "onresize": function () { }
  4932. }, {
  4933. closecallback: function () { }
  4934. }, { "style": { "height": "36px" } }).form; //創建窗體
  4935. _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); } }
  4936. break;
  4937. case "case":
  4938. _formdiv = new U.UF.UI.form(
  4939. "課程進展",
  4940. $$("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 }), {
  4941. "id": "case",
  4942. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4943. "onresize": function () { }
  4944. }, {
  4945. closecallback: function () { }
  4946. }, { "style": { "height": "36px" } }).form; //創建窗體
  4947. _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); } }
  4948. break;
  4949. case "snf":
  4950. _formdiv = new U.UF.UI.form(
  4951. "賽諾梵",
  4952. $$("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" }), {
  4953. "id": "snf",
  4954. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4955. "onresize": function () { }
  4956. }, {
  4957. closecallback: function () { }
  4958. }, { "style": { "height": "36px" } }).form; //創建窗體
  4959. _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); } }
  4960. break;
  4961. case "hanFamily":
  4962. _formdiv = new U.UF.UI.form(
  4963. "漢字家族",
  4964. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4965. "id": "hanFamily",
  4966. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4967. "onresize": function () { }
  4968. }, {
  4969. closecallback: function () { }
  4970. }, { "style": { "height": "36px" } }).form; //創建窗體
  4971. _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); } }
  4972. break;
  4973. case "hanClassics":
  4974. _formdiv = new U.UF.UI.form(
  4975. "國學經典",
  4976. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4977. "id": "hanClassics",
  4978. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4979. "onresize": function () { }
  4980. }, {
  4981. closecallback: function () { }
  4982. }, { "style": { "height": "36px" } }).form; //創建窗體
  4983. _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); } }
  4984. break;
  4985. case "hanTraining":
  4986. _formdiv = new U.UF.UI.form(
  4987. "筆畫訓練",
  4988. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4989. "id": "hanTraining",
  4990. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4991. "onresize": function () { }
  4992. }, {
  4993. closecallback: function () { }
  4994. }, { "style": { "height": "36px" } }).form; //創建窗體
  4995. _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); } }
  4996. break;
  4997. case "hanClass":
  4998. _formdiv = new U.UF.UI.form(
  4999. "書法課堂",
  5000. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  5001. "id": "hanClass",
  5002. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5003. "onresize": function () { }
  5004. }, {
  5005. closecallback: function () { }
  5006. }, { "style": { "height": "36px" } }).form; //創建窗體
  5007. _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); } }
  5008. break;
  5009. case "han":
  5010. _formdiv = new U.UF.UI.form(
  5011. "漢字宮",
  5012. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  5013. "id": "han",
  5014. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5015. "onresize": function () { }
  5016. }, {
  5017. closecallback: function () { }
  5018. }, { "style": { "height": "36px" } }).form; //創建窗體
  5019. _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); } }
  5020. break;
  5021. case "projectGM": //課程管理
  5022. _formdiv = new U.UF.UI.form(
  5023. "課程管理",
  5024. $$("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 }), {
  5025. "id": "projectGM",
  5026. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5027. "onresize": function () { }
  5028. }, {
  5029. closecallback: function () { }
  5030. }, { "style": { "height": "36px" } }).form; //創建窗體
  5031. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "課程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5032. break;
  5033. case "studyGM": //課程中心
  5034. _formdiv = new U.UF.UI.form(
  5035. "課程中心",
  5036. $$("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
  5037. "id": "study",
  5038. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5039. "onresize": function () { }
  5040. }, {
  5041. closecallback: function () { }
  5042. }, { "style": { "height": "36px" } }).form; //創建窗體
  5043. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5044. break;
  5045. // studentGM
  5046. case "studentGM": //學生管理
  5047. _formdiv = new U.UF.UI.form(
  5048. "學生管理",
  5049. $$("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 }), {
  5050. "id": "studentGM",
  5051. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5052. "onresize": function () { }
  5053. }, {
  5054. closecallback: function () { }
  5055. }, { "style": { "height": "36px" } }).form; //創建窗體
  5056. _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); } }
  5057. break;
  5058. case "evaluateGM": //學生評價
  5059. _formdiv = new U.UF.UI.form(
  5060. "學生評價",
  5061. $$("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 }), {
  5062. "id": "evaluateGM",
  5063. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5064. "onresize": function () { }
  5065. }, {
  5066. closecallback: function () { }
  5067. }, { "style": { "height": "36px" } }).form; //創建窗體
  5068. _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); } }
  5069. break;
  5070. // classGM
  5071. case "classGM": //班級管理
  5072. _formdiv = new U.UF.UI.form(
  5073. "班級管理",
  5074. $$("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 }), {
  5075. "id": "classGM",
  5076. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5077. "onresize": function () { }
  5078. }, {
  5079. closecallback: function () { }
  5080. }, { "style": { "height": "36px" } }).form; //創建窗體
  5081. _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); } }
  5082. break;
  5083. // dataGM
  5084. case "dataGM":
  5085. _formdiv = new U.UF.UI.form(
  5086. "我的資料",
  5087. $$("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 }), {
  5088. "id": "dataGM",
  5089. "style": { "width": "42%", "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/gm/data.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5095. break;
  5096. // caseGM
  5097. case "caseGM": //課程進展
  5098. _formdiv = new U.UF.UI.form(
  5099. "課程進展",
  5100. $$("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 }), {
  5101. "id": "caseGM",
  5102. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5103. "onresize": function () { }
  5104. }, {
  5105. closecallback: function () { }
  5106. }, { "style": { "height": "36px" } }).form; //創建窗體
  5107. _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); } }
  5108. break;
  5109. // meterialGM
  5110. case "meterialGM": //素材庫
  5111. _formdiv = new U.UF.UI.form(
  5112. "素材庫",
  5113. $$("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 }), {
  5114. "id": "meterialGM",
  5115. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5116. "onresize": function () { }
  5117. }, {
  5118. closecallback: function () { }
  5119. }, { "style": { "height": "36px" } }).form; //創建窗體
  5120. _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); } }
  5121. break;
  5122. // evaluateSGM
  5123. case "evaluateSGM": //我的評價
  5124. _formdiv = new U.UF.UI.form(
  5125. "我的評價",
  5126. $$("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 }), {
  5127. "id": "evaluateSGM",
  5128. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5129. "onresize": function () { }
  5130. }, {
  5131. closecallback: function () { }
  5132. }, { "style": { "height": "36px" } }).form; //創建窗體
  5133. _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); } }
  5134. break;
  5135. case "jupyter": //jupyter
  5136. _formdiv = new U.UF.UI.form(
  5137. "jupyter",
  5138. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  5139. "id": "jupyter",
  5140. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5141. "onresize": function () { }
  5142. }, {
  5143. closecallback: function () { }
  5144. }, { "style": { "height": "36px" } }).form; //創建窗體
  5145. _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); } }
  5146. break;
  5147. case "number": //數字實驗室
  5148. _formdiv = new U.UF.UI.form(
  5149. "數字實驗室",
  5150. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  5151. "id": "number",
  5152. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5153. "onresize": function () { }
  5154. }, {
  5155. closecallback: function () { }
  5156. }, { "style": { "height": "36px" } }).form; //創建窗體
  5157. _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); } }
  5158. break;
  5159. case "studentCourse": //項目管理 學生
  5160. _formdiv = new U.UF.UI.form(
  5161. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  5162. $$("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 }), {
  5163. "id": "studentCourse",
  5164. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5165. "onresize": function () { }
  5166. }, {
  5167. closecallback: function () { }
  5168. }, { "style": { "height": "36px" } }).form; //創建窗體
  5169. _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); } }
  5170. break;
  5171. case "studentCourseS": //項目管理 老師
  5172. _formdiv = new U.UF.UI.form(
  5173. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  5174. $$("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 }), {
  5175. "id": "studentCourseS",
  5176. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5177. "onresize": function () { }
  5178. }, {
  5179. closecallback: function () { }
  5180. }, { "style": { "height": "36px" } }).form; //創建窗體
  5181. _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); } }
  5182. break;
  5183. case "studentIndex": //項目中心
  5184. _formdiv = new U.UF.UI.form(
  5185. "項目中心",
  5186. $$("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 }), {
  5187. "id": "studentIndex",
  5188. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5189. "onresize": function () { }
  5190. }, {
  5191. closecallback: function () { }
  5192. }, { "style": { "height": "36px" } }).form; //創建窗體
  5193. _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); } }
  5194. break;
  5195. case "CaseDesignS":
  5196. _formdiv = new U.UF.UI.form(
  5197. "項目進展",
  5198. $$("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 }), {
  5199. "id": "case",
  5200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5201. "onresize": function () { }
  5202. }, {
  5203. closecallback: function () { }
  5204. }, { "style": { "height": "36px" } }).form; //創建窗體
  5205. _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); } }
  5206. break;
  5207. case "tcStudent": //騰訊學生管理
  5208. _formdiv = new U.UF.UI.form(
  5209. "學生管理",
  5210. $$("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 }), {
  5211. "id": "tcStudent",
  5212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5213. "onresize": function () { }
  5214. }, {
  5215. closecallback: function () { }
  5216. }, { "style": { "height": "36px" } }).form; //創建窗體
  5217. _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); } }
  5218. break;
  5219. case "tcSchool": //騰訊學校管理
  5220. _formdiv = new U.UF.UI.form(
  5221. "學校管理",
  5222. $$("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 }), {
  5223. "id": "tcSchool",
  5224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5225. "onresize": function () { }
  5226. }, {
  5227. closecallback: function () { }
  5228. }, { "style": { "height": "36px" } }).form; //創建窗體
  5229. _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); } }
  5230. break;
  5231. case "tcTeacher": //騰訊學校管理
  5232. _formdiv = new U.UF.UI.form(
  5233. "教師管理",
  5234. $$("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 }), {
  5235. "id": "tcTeacher",
  5236. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5237. "onresize": function () { }
  5238. }, {
  5239. closecallback: function () { }
  5240. }, { "style": { "height": "36px" } }).form; //創建窗體
  5241. _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); } }
  5242. break;
  5243. case "tcData": //騰訊我的資料
  5244. _formdiv = new U.UF.UI.form(
  5245. "我的資料",
  5246. $$("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 }), {
  5247. "id": "tcData",
  5248. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5249. "onresize": function () { }
  5250. }, {
  5251. closecallback: function () { }
  5252. }, { "style": { "height": "36px" } }).form; //創建窗體
  5253. _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); } }
  5254. break;
  5255. case "tcNotice": //騰訊消息通知
  5256. _formdiv = new U.UF.UI.form(
  5257. "消息通知",
  5258. $$("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 }), {
  5259. "id": "tcNotice",
  5260. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5261. "onresize": function () { }
  5262. }, {
  5263. closecallback: function () { }
  5264. }, { "style": { "height": "36px" } }).form; //創建窗體
  5265. _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); } }
  5266. break;
  5267. case "myReport": //好友打開
  5268. _formdiv = new U.UF.UI.form(
  5269. "我的評價",
  5270. $$("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 }), {
  5271. "id": "myReport",
  5272. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5273. "onresize": function () { }
  5274. }, {
  5275. closecallback: function () { }
  5276. }, { "style": { "height": "36px" } }).form; //創建窗體
  5277. _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); } }
  5278. break;
  5279. case "learnAna": //好友打開
  5280. _formdiv = new U.UF.UI.form(
  5281. "學習分析",
  5282. $$("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 }), {
  5283. "id": "learnAna",
  5284. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5285. "onresize": function () { }
  5286. }, {
  5287. closecallback: function () { }
  5288. }, { "style": { "height": "36px" } }).form; //創建窗體
  5289. _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); } }
  5290. break;
  5291. case "AIChat": //AI共創
  5292. _formdiv = new U.UF.UI.form(
  5293. "AI共創",
  5294. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  5295. "id": "AIChat",
  5296. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  5297. "onresize": function () { }
  5298. }, {
  5299. istop: true,
  5300. closecallback: function () { $("#aichat_icon").remove(); },
  5301. narrowcallback: function () {
  5302. if (!$("#aichat_icon")[0]) {
  5303. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  5304. }
  5305. },
  5306. }, { "style": { "height": "36px" } }).form; //創建窗體
  5307. _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); } }
  5308. break;
  5309. case "ainew": //AI共創
  5310. _formdiv = new U.UF.UI.form(
  5311. "AI協同",
  5312. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  5313. "id": "ainew",
  5314. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5315. "onresize": function () { }
  5316. }, {
  5317. closecallback: function () { }
  5318. }, { "style": { "height": "36px" } }).form; //創建窗體
  5319. _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); } }
  5320. break;
  5321. case "gpt4": //gpt4
  5322. _formdiv = new U.UF.UI.form(
  5323. "AI助手",
  5324. $$("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 }), {
  5325. "id": "gpt4",
  5326. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5327. "onresize": function () { }
  5328. }, {
  5329. closecallback: function () { }
  5330. }, { "style": { "height": "36px" } }).form; //創建窗體
  5331. _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); } }
  5332. break;
  5333. case "aigpt": //gpt4
  5334. _formdiv = new U.UF.UI.form(
  5335. "AI助手+",
  5336. $$("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 }), {
  5337. "id": "aigpt",
  5338. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5339. "onresize": function () { }
  5340. }, {
  5341. closecallback: function () { }
  5342. }, { "style": { "height": "36px" } }).form; //創建窗體
  5343. _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); } }
  5344. break;
  5345. case "futureClass": //AI共創
  5346. _formdiv = new U.UF.UI.form(
  5347. "協同建構",
  5348. $$("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
  5349. "id": "synergyCourse",
  5350. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5351. "onresize": function () { }
  5352. }, {
  5353. closecallback: function () {
  5354. $("iframe", _formdiv)[0].contentWindow.loginout();
  5355. }
  5356. }, { "style": { "height": "36px" } }).form; //創建窗體
  5357. _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); } }
  5358. break;
  5359. case "aiagent": //ai agent
  5360. _formdiv = new U.UF.UI.form(
  5361. "AI Agent",
  5362. $$("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" }), {
  5363. "id": "AIAgent",
  5364. "style": { "width": "100%", "height": "100%", "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/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5370. break;
  5371. case "dataBoard": //數據看板
  5372. _formdiv = new U.UF.UI.form(
  5373. "數據看板",
  5374. $$("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 }), {
  5375. "id": "dataBoard",
  5376. "style": { "width": "100%", "height": "100%", "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/dataBoard.png)" }, "name": "數據看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5382. break;
  5383. case "dataBoardSies": //數據融合
  5384. _formdiv = new U.UF.UI.form(
  5385. "數據融合",
  5386. $$("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 }), {
  5387. "id": "dataBoardSies",
  5388. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5389. "onresize": function () { }
  5390. }, {
  5391. closecallback: function () { }
  5392. }, { "style": { "height": "36px" } }).form; //創建窗體
  5393. _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); } }
  5394. break;
  5395. case "dataBoardNew": //數據看板
  5396. _formdiv = new U.UF.UI.form(
  5397. "綜合看板",
  5398. $$("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 }), {
  5399. "id": "dataBoardNew",
  5400. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5401. "onresize": function () { }
  5402. }, {
  5403. closecallback: function () { }
  5404. }, { "style": { "height": "36px" } }).form; //創建窗體
  5405. _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); } }
  5406. break;
  5407. case "dataBoardTest": //數據看板
  5408. _formdiv = new U.UF.UI.form(
  5409. "評測看板",
  5410. $$("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 }), {
  5411. "id": "dataBoardTest",
  5412. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5413. "onresize": function () { }
  5414. }, {
  5415. closecallback: function () { }
  5416. }, { "style": { "height": "36px" } }).form; //創建窗體
  5417. _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); } }
  5418. break;
  5419. case "AIAnalyse": //AI共創
  5420. _formdiv = new U.UF.UI.form(
  5421. "AI分析",
  5422. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  5423. "id": "AIAnalyse",
  5424. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5425. "onresize": function () { }
  5426. }, {
  5427. closecallback: function () { }
  5428. }, { "style": { "height": "36px" } }).form; //創建窗體
  5429. _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); } }
  5430. break;
  5431. case "studioCourse": //AI共創
  5432. _formdiv = new U.UF.UI.form(
  5433. "工作管理",
  5434. $$("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 }), {
  5435. "id": "studioCourse",
  5436. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5437. "onresize": function () { }
  5438. }, {
  5439. closecallback: function () { }
  5440. }, { "style": { "height": "36px" } }).form; //創建窗體
  5441. _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); } }
  5442. break;
  5443. case "studioIndex": //AI共創
  5444. _formdiv = new U.UF.UI.form(
  5445. "工作中心",
  5446. $$("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 }), {
  5447. "id": "studioIndex",
  5448. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5449. "onresize": function () { }
  5450. }, {
  5451. closecallback: function () { }
  5452. }, { "style": { "height": "36px" } }).form; //創建窗體
  5453. _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); } }
  5454. break;
  5455. case "source":
  5456. _formdiv = new U.UF.UI.form(
  5457. "教學資源",
  5458. $$("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 }), {
  5459. "id": "source",
  5460. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5461. "onresize": function () { }
  5462. }, {
  5463. closecallback: function () { }
  5464. }, { "style": { "height": "36px" } }).form; //創建窗體
  5465. _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); } }
  5466. break;
  5467. case "testTeacher":
  5468. _formdiv = new U.UF.UI.form(
  5469. "教師管理",
  5470. $$("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 }), {
  5471. "id": "testTeacher",
  5472. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5473. "onresize": function () { }
  5474. }, {
  5475. closecallback: function () { }
  5476. }, { "style": { "height": "36px" } }).form; //創建窗體
  5477. _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); } }
  5478. break;
  5479. case "testStudent":
  5480. _formdiv = new U.UF.UI.form(
  5481. "教師中心",
  5482. $$("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 }), {
  5483. "id": "testStudent",
  5484. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5485. "onresize": function () { }
  5486. }, {
  5487. closecallback: function () { }
  5488. }, { "style": { "height": "36px" } }).form; //創建窗體
  5489. _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); } }
  5490. break;
  5491. case "testTeacherSies":
  5492. _formdiv = new U.UF.UI.form(
  5493. "教師管理",
  5494. $$("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 }), {
  5495. "id": "testTeacherSies",
  5496. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5497. "onresize": function () { }
  5498. }, {
  5499. closecallback: function () { }
  5500. }, { "style": { "height": "36px" } }).form; //創建窗體
  5501. _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); } }
  5502. break;
  5503. case "testStudentSies":
  5504. _formdiv = new U.UF.UI.form(
  5505. "教師中心",
  5506. $$("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 }), {
  5507. "id": "testStudentSies",
  5508. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5509. "onresize": function () { }
  5510. }, {
  5511. closecallback: function () { }
  5512. }, { "style": { "height": "36px" } }).form; //創建窗體
  5513. _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); } }
  5514. break;
  5515. case "ytpbl": //消息通知
  5516. _formdiv = new U.UF.UI.form(
  5517. "案例征集",
  5518. $$("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 }), {
  5519. "id": "ytpbl",
  5520. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5521. "onresize": function () { }
  5522. }, {
  5523. closecallback: function () { }
  5524. }, { "style": { "height": "36px" } }).form; //創建窗體
  5525. _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); } }
  5526. // 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");
  5527. break;
  5528. case "aiCourseResource": //人工智能窗體
  5529. _formdiv = new U.UF.UI.form(
  5530. false,
  5531. $$("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 }), {
  5532. "id": "aiCourseResource",
  5533. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5534. "onresize": function () { },
  5535. "isdrag": false,
  5536. }, {
  5537. closecallback: function () { }
  5538. }, { "style": { "height": "36px" } }).form; //創建窗體
  5539. _taskbar = ''
  5540. break;
  5541. case "szdjgCocooroboX": //圖形化編程
  5542. _formdiv = new U.UF.UI.form(
  5543. "圖形化編程",
  5544. $$("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" }), {
  5545. "id": "szdjgCocooroboX",
  5546. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5547. "onresize": function () { }
  5548. }, {
  5549. closecallback: function () { }
  5550. }, { "style": { "height": "36px" } }).form; //創建窗體
  5551. _taskbar = ''
  5552. break;
  5553. case "szdjgPython": //python編程
  5554. _formdiv = new U.UF.UI.form(
  5555. "Python編程",
  5556. $$("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" }), {
  5557. "id": "szdjgPython",
  5558. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5559. "onresize": function () { }
  5560. }, {
  5561. closecallback: function () { }
  5562. }, { "style": { "height": "36px" } }).form; //創建窗體
  5563. _taskbar = ''
  5564. break;
  5565. case "Record":
  5566. _formdiv = new U.UF.UI.form(
  5567. "觀察記錄",
  5568. $$("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 }), {
  5569. "id": "Record",
  5570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5571. "onresize": function () { }
  5572. }, {
  5573. closecallback: function () { }
  5574. }, { "style": { "height": "36px" } }).form; //創建窗體
  5575. _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); } }
  5576. break;
  5577. case "aigptCourse":
  5578. _formdiv = new U.UF.UI.form(
  5579. "AI智能體",
  5580. $$("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' }), {
  5581. "id": "aigptCourse",
  5582. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5583. "onresize": function () { }
  5584. }, {
  5585. closecallback: function () { }
  5586. }, { "style": { "height": "36px" } }).form; //創建窗體
  5587. _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); } }
  5588. break;
  5589. case "classroomObservation":
  5590. _formdiv = new U.UF.UI.form(
  5591. "課堂觀察",
  5592. $$("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 }), {
  5593. "id": "classroomObservation",
  5594. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5595. "onresize": function () { }
  5596. }, {
  5597. closecallback: function () { }
  5598. }, { "style": { "height": "36px" } }).form; //創建窗體
  5599. _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); } }
  5600. break;
  5601. case "pblCourse":
  5602. _formdiv = new U.UF.UI.form(
  5603. "学生PBL",
  5604. $$("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 }), {
  5605. "id": "pblCourse",
  5606. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5607. "onresize": function () { }
  5608. }, {
  5609. closecallback: function () { }
  5610. }, { "style": { "height": "36px" } }).form; //創建窗體
  5611. _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); } }
  5612. break;
  5613. }
  5614. //U.MD.D.I.openClick(str);
  5615. //如果有任務欄信息
  5616. if (_taskbar) {
  5617. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5618. }
  5619. }
  5620. // U.MD.D.I.openClick = function(str){
  5621. // var click = '';
  5622. // switch(str){
  5623. // case 'friend':
  5624. // click = '我的好友';
  5625. // break;
  5626. // case 'domain':
  5627. // click = '域名管理';
  5628. // break;
  5629. // case 'disk':
  5630. // click = '我的雲盤';
  5631. // break;
  5632. // case 'word':
  5633. // click = 'Word';
  5634. // break;
  5635. // case 'excel':
  5636. // click = 'Execl';
  5637. // break;
  5638. // case 'txt':
  5639. // click = '文本文件';
  5640. // break;
  5641. // case 'lookupFriend':
  5642. // click = '查找好友';
  5643. // break;
  5644. // case 'ftp':
  5645. // click = 'FTP';
  5646. // break;
  5647. // case 'group':
  5648. // click = '群組';
  5649. // break;
  5650. // case 'set':
  5651. // click = '我的設置';
  5652. // break;
  5653. // case 'systemSet':
  5654. // click = '系統設置';
  5655. // break;
  5656. // case 'boomYun':
  5657. // click = '互聯辦公';
  5658. // break;
  5659. // case 'xz':
  5660. // click = '雲端下載';
  5661. // break;
  5662. // case 'client':
  5663. // click = '有思瀏覽器';
  5664. // break;
  5665. // case 'backEndProgramming':
  5666. // click = '在線後臺編程';
  5667. // break;
  5668. // case 'frontEndProgramming':
  5669. // click = '在線前端編程';
  5670. // break;
  5671. // default: break;
  5672. // }
  5673. // if(U.MD.D.I.Ip && click){
  5674. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5675. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5676. // })
  5677. // }
  5678. // }
  5679. /**
  5680. *函數作用:ajax簡易函數,使用post格式
  5681. *@param url {data} 後臺地址
  5682. *@param data {data} 參數json
  5683. *@param fn {data} 回調函數
  5684. *
  5685. */
  5686. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5687. // var xhr = new XMLHttpRequest();
  5688. // xhr.open("GET",url,true);
  5689. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5690. // xhr.onreadystatechange = function(){
  5691. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5692. // fn.call(this,xhr.responseText);
  5693. // }
  5694. // };
  5695. // xhr.send();
  5696. // }
  5697. /*判斷是否是內網IP*/
  5698. // U.MD.D.I.isInnerIPFn = function(str){
  5699. // var curPageUrl = str;
  5700. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  5701. // curPageUrl =curPageUrl.replace(reg1,'');
  5702. // // console.log('curPageUrl-1 '+curPageUrl);
  5703. // var reg2 = /\:+/g;//替換冒號為一點
  5704. // curPageUrl =curPageUrl.replace(reg2,'.');
  5705. // // console.log('curPageUrl-2 '+curPageUrl);
  5706. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  5707. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5708. // if(curPageUrl[2] != '16'){
  5709. // return ipAddress;
  5710. // }else{
  5711. // return false;
  5712. // }
  5713. // }
  5714. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5715. // //compatibility for firefox and chrome
  5716. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5717. // var pc = new myPeerConnection({
  5718. // iceServers: []
  5719. // }),
  5720. // noop = function() {},
  5721. // localIPs = {},
  5722. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5723. // key;
  5724. // function iterateIP(ip) {
  5725. // if (!localIPs[ip]) onNewIP(ip);
  5726. // localIPs[ip] = true;
  5727. // }
  5728. // //create a bogus data channel
  5729. // pc.createDataChannel("");
  5730. // // create offer and set local description
  5731. // pc.createOffer().then(function(sdp) {
  5732. // sdp.sdp.split('\n').forEach(function(line) {
  5733. // if (line.indexOf('candidate') < 0) return;
  5734. // line.match(ipRegex).forEach(iterateIP);
  5735. // });
  5736. // pc.setLocalDescription(sdp, noop, noop);
  5737. // }).catch(function(reason) {
  5738. // // An error occurred, so handle the failure to connect
  5739. // });
  5740. // //sten for candidate events
  5741. // pc.onicecandidate = function(ice) {
  5742. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5743. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5744. // };
  5745. // }
  5746. // U.MD.D.I.getUserIpBool = function(callback){
  5747. // U.MD.D.I.getUserIP(function(ip){
  5748. // alert("Got IP! :" + ip);
  5749. // });
  5750. //}
  5751. //#endregion
  5752. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5753. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5754. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5755. _userinfo = US.userInfo, //登錄用戶信息
  5756. _userid = US.userInfo.userid //登錄用戶id
  5757. let _iframe;
  5758. let _cid = cid,
  5759. _stage = stage,
  5760. _task = task,
  5761. _tool = tool;
  5762. var _jie = $$("div", {
  5763. "style": {
  5764. "position": "absolute",
  5765. "bottom": "50px",
  5766. "right": "50px",
  5767. "zIndex": "9999",
  5768. "backgroundColor": "#2268bc",
  5769. "color": "#fff",
  5770. "padding": "12px 20px",
  5771. "cursor": "pointer",
  5772. "borderRadius": "4px",
  5773. },
  5774. "innerHTML": "提交作業"
  5775. })
  5776. let aTool = ''
  5777. let _loading = document.createElement('div')
  5778. _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;"
  5779. // _loading.id = "";
  5780. let _lchild = document.createElement('div')
  5781. let _limg = document.createElement('img')
  5782. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5783. _limg.style = "width: 26px;margin-right: 10px;"
  5784. _lchild.appendChild(_limg)
  5785. let _lspan = document.createElement('span')
  5786. _lspan.innerHTML = "上傳中..."
  5787. _lchild.appendChild(_lspan)
  5788. _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%);"
  5789. _loading.appendChild(_lchild)
  5790. var _box = $$('div', {
  5791. "style": {
  5792. "position": "relative",
  5793. "width": "100%",
  5794. "height": "100%",
  5795. },
  5796. })
  5797. _box.appendChild(_loading)
  5798. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5799. switch (str) {
  5800. case "whiteboard":
  5801. aTool = 1;
  5802. _iframe = $$("iframe", {
  5803. "frameborder": "no",
  5804. "border": "0",
  5805. "scrolling ": "no",
  5806. "style": {
  5807. "cssText": "border:0;width:100%;height:100%"
  5808. },
  5809. "src": "https://iwb.cocorobo.hk/"
  5810. })
  5811. _box.appendChild(_iframe);
  5812. _box.appendChild(_jie);
  5813. _formdiv = new U.UF.UI.form(
  5814. "電子白板",
  5815. _box, {
  5816. "id": "whiteboard" + cid + stage + task + tool,
  5817. "style": {
  5818. "width": "90%",
  5819. "height": "90%",
  5820. "overflow": 'hidden'
  5821. },
  5822. "onresize": function () { }
  5823. }, {
  5824. closecallback: function () { }
  5825. }, {
  5826. "style": {
  5827. "height": "36px"
  5828. }
  5829. }).form; //創建窗體
  5830. _taskbar = {
  5831. "id": str + _formdiv.id,
  5832. "style": {
  5833. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5834. },
  5835. "name": "電子白板",
  5836. "forms": _formdiv,
  5837. "click": function () {
  5838. U.MD.D.I.openApplication(str, obj, info);
  5839. }
  5840. }
  5841. break;
  5842. case "mind":
  5843. aTool = 3;
  5844. _iframe = $$("iframe", {
  5845. "frameborder": "no",
  5846. "border": "0",
  5847. "scrolling ": "no",
  5848. "style": {
  5849. "cssText": "border:0;width:100%;height:100%"
  5850. },
  5851. "src": "/kityminder-editor/dist/index.html"
  5852. })
  5853. _box.appendChild(_iframe);
  5854. _box.appendChild(_jie);
  5855. _formdiv = new U.UF.UI.form(
  5856. "思維導圖",
  5857. _box, { //"/jsmind/example/demo.html"
  5858. "id": "mind" + cid + stage + task + tool,
  5859. "style": {
  5860. "width": "90%",
  5861. "height": "90%",
  5862. "overflow": 'hidden'
  5863. },
  5864. "onresize": function () { }
  5865. }, {
  5866. closecallback: function () { }
  5867. }, {
  5868. "style": {
  5869. "height": "36px"
  5870. }
  5871. }).form; //創建窗體
  5872. _taskbar = {
  5873. "id": str + _formdiv.id,
  5874. "style": {
  5875. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5876. },
  5877. "name": "思維導圖",
  5878. "forms": _formdiv,
  5879. "click": function () {
  5880. U.MD.D.I.openApplication(str, obj, info);
  5881. }
  5882. }
  5883. break;
  5884. case "MindMap":
  5885. aTool = 3;
  5886. _iframe = $$("iframe", {
  5887. "frameborder": "no",
  5888. "border": "0",
  5889. "scrolling ": "no",
  5890. "style": {
  5891. "cssText": "border:0;width:100%;height:100%"
  5892. },
  5893. "src": "//cloud.cocorobo.hk/mind/"
  5894. })
  5895. _box.appendChild(_iframe);
  5896. _box.appendChild(_jie);
  5897. _formdiv = new U.UF.UI.form(
  5898. "思維導圖",
  5899. _box, { //"/jsmind/example/demo.html"
  5900. "id": "mind" + cid + stage + task + tool,
  5901. "style": {
  5902. "width": "90%",
  5903. "height": "90%",
  5904. "overflow": 'hidden'
  5905. },
  5906. "onresize": function () { }
  5907. }, {
  5908. closecallback: function () { }
  5909. }, {
  5910. "style": {
  5911. "height": "36px"
  5912. }
  5913. }).form; //創建窗體
  5914. _taskbar = {
  5915. "id": str + _formdiv.id,
  5916. "style": {
  5917. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5918. },
  5919. "name": "思維導圖",
  5920. "forms": _formdiv,
  5921. "click": function () {
  5922. U.MD.D.I.openApplication(str, obj, info);
  5923. }
  5924. }
  5925. break;
  5926. case "doc":
  5927. aTool = 6;
  5928. _iframe = $$("iframe", {
  5929. "frameborder": "no",
  5930. "border": "0",
  5931. "scrolling ": "no",
  5932. "style": {
  5933. "cssText": "border:0;width:100%;height:100%"
  5934. },
  5935. "src": "/Office/Word/WordEditArea.htm"
  5936. })
  5937. _box.appendChild(_iframe);
  5938. _box.appendChild(_jie);
  5939. _formdiv = new U.UF.UI.form(
  5940. "協同文檔",
  5941. _box, {
  5942. "id": "doc" + cid + stage + task + tool,
  5943. "style": {
  5944. "width": "90%",
  5945. "height": "90%",
  5946. "overflow": 'hidden'
  5947. },
  5948. "onresize": function () { }
  5949. }, {
  5950. closecallback: function () { }
  5951. }, {
  5952. "style": {
  5953. "height": "36px"
  5954. }
  5955. }).form; //創建窗體
  5956. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5957. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5958. })
  5959. _taskbar = {
  5960. "id": str + _formdiv.id,
  5961. "style": {
  5962. "backgroundImage": "url(/img/icon/doc.png)"
  5963. },
  5964. "name": "協同文檔",
  5965. "forms": _formdiv,
  5966. "click": function () {
  5967. U.MD.D.I.openApplication(str, obj, info);
  5968. }
  5969. }
  5970. break;
  5971. case "mindNetwork": //好友打開
  5972. aTool = 7;
  5973. _iframe = $$("iframe", {
  5974. "webkitallowfullscreen": "",
  5975. "mozallowfullscreen": "",
  5976. "allowfullscreen": "",
  5977. "frameborder": "no",
  5978. "border": "0",
  5979. "scrolling ": "no",
  5980. "style": {
  5981. "cssText": "border:0; width:100%; height:100%;"
  5982. },
  5983. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5984. })
  5985. _box.appendChild(_iframe);
  5986. _box.appendChild(_jie);
  5987. _formdiv = new U.UF.UI.form(
  5988. "思維網格",
  5989. _box, {
  5990. "id": "mindNetwork" + cid + stage + task + tool,
  5991. "style": {
  5992. "width": "90%",
  5993. "height": "90%",
  5994. "overflow": 'hidden'
  5995. },
  5996. "onresize": function () { }
  5997. }, {
  5998. closecallback: function () { }
  5999. }, {
  6000. "style": {
  6001. "height": "36px"
  6002. }
  6003. }).form; //創建窗體
  6004. _taskbar = {
  6005. "id": str + _formdiv.id,
  6006. "style": {
  6007. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6008. },
  6009. "name": "思維網格",
  6010. "forms": _formdiv,
  6011. "click": function () {
  6012. U.MD.D.I.openApplication(str, obj, info);
  6013. }
  6014. }
  6015. break;
  6016. case "courseDesign":
  6017. _iframe = $$("iframe", {
  6018. "webkitallowfullscreen": "",
  6019. "mozallowfullscreen": "",
  6020. "allowfullscreen": "",
  6021. "frameborder": "no",
  6022. "border": "0",
  6023. "scrolling ": "no",
  6024. "style": {
  6025. "cssText": "border:0; width:100%; height:100%;"
  6026. },
  6027. "src": "/course-design-vue"
  6028. })
  6029. _box.appendChild(_iframe);
  6030. _box.appendChild(_jie);
  6031. _formdiv = new U.UF.UI.form(
  6032. "項目設計",
  6033. _box, {
  6034. "id": "courseDesign" + cid + stage + task + tool,
  6035. "style": {
  6036. "width": "90%",
  6037. "height": "90%",
  6038. "overflow": 'hidden'
  6039. },
  6040. "onresize": function () { }
  6041. }, {
  6042. closecallback: function () { }
  6043. }, {
  6044. "style": {
  6045. "height": "36px"
  6046. }
  6047. }).form; //創建窗體
  6048. _taskbar = {
  6049. "id": str + _formdiv.id,
  6050. "style": {
  6051. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6052. },
  6053. "name": "項目設計",
  6054. "forms": _formdiv,
  6055. "click": function () {
  6056. U.MD.D.I.openApplication(str, obj, info);
  6057. }
  6058. }
  6059. break;
  6060. }
  6061. const script1 = document.createElement("script");
  6062. script1.type = "text/javascript";
  6063. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6064. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6065. const script2 = document.createElement("script");
  6066. script2.type = "text/javascript";
  6067. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6068. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6069. const script3 = document.createElement("script");
  6070. script3.type = "text/javascript";
  6071. script3.charset = "UTF-8";
  6072. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6073. const script4 = document.createElement("script");
  6074. script4.type = "text/javascript";
  6075. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6076. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6077. if (_iframe) {
  6078. if (str == 'doc') {
  6079. _iframe = _formdiv.querySelector('iframe')
  6080. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6081. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6082. _iframe.contentWindow.document.body.appendChild(script1);
  6083. _iframe.contentWindow.document.body.appendChild(script2);
  6084. // _iframe.contentWindow.document.body.appendChild(script3);
  6085. _iframe.contentWindow.document.body.appendChild(script4);
  6086. })
  6087. if (onloadListener) {
  6088. _iframe.contentDocument.location.reload()
  6089. } else {
  6090. _iframe.contentDocument.location.reload()
  6091. }
  6092. } else if (str == 'courseDesign') {
  6093. U.UF.DL.iframeLoad(_iframe, function () {
  6094. // _iframe.contentWindow.U.MD.O.W.load();
  6095. // _iframe.contentWindow.document.body.appendChild(script1);
  6096. _iframe.contentWindow.document.body.appendChild(script2);
  6097. _iframe.contentWindow.document.body.appendChild(script4);
  6098. })
  6099. } else if (str == 'mind') {
  6100. _iframe = _formdiv.querySelector('iframe')
  6101. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6102. //
  6103. _iframe.contentWindow.document.body.appendChild(script1);
  6104. _iframe.contentWindow.document.body.appendChild(script2);
  6105. _iframe.contentWindow.document.body.appendChild(script4);
  6106. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6107. })
  6108. if (onloadListener) {
  6109. _iframe.contentDocument.location.reload()
  6110. } else {
  6111. _iframe.contentDocument.location.reload()
  6112. }
  6113. } else if (str == 'whiteboard') {
  6114. _iframe = _formdiv.querySelector('iframe')
  6115. let onloadListener = _iframe.onload = () => {
  6116. _iframe.contentWindow.document.body.appendChild(script1);
  6117. _iframe.contentWindow.document.body.appendChild(script2);
  6118. _iframe.contentWindow.document.body.appendChild(script4);
  6119. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6120. };
  6121. // if (onloadListener) {
  6122. // try {
  6123. // _iframe.src += "?cocorobo="+new Date().getTime()
  6124. // _iframe.contentWindow.document.location.reload()
  6125. // } catch (error) {
  6126. // }
  6127. // } else {
  6128. // _iframe.contentDocument.location.reload()
  6129. // }
  6130. } else {
  6131. _iframe.onload = () => {
  6132. _iframe.contentWindow.document.body.appendChild(script1);
  6133. _iframe.contentWindow.document.body.appendChild(script2);
  6134. // _iframe.contentWindow.document.body.appendChild(script3);
  6135. _iframe.contentWindow.document.body.appendChild(script4);
  6136. };
  6137. }
  6138. _jie.onclick = async () => {
  6139. let text = ''
  6140. if (aTool == 1) {
  6141. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6142. } else if (aTool == 6) {
  6143. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6144. } else if (aTool == 3) {
  6145. text = await U.MD.D.I.getEditorContent(_iframe);
  6146. }
  6147. _loading.style.display = 'flex'
  6148. console.log(_loading);
  6149. var _ajs = _iframe.contentWindow.document.createElement("script");
  6150. _ajs.type = "text/javascript";
  6151. _ajs.innerHTML =
  6152. // 'console.log(' + _loading + ');\n' +
  6153. 'var _js = document.createElement("script");\n' +
  6154. '_js.type="text/javascript";\n' +
  6155. '_js.charset="UTF-8";\n' +
  6156. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6157. "_js.onload = function(){\n" +
  6158. ' var a = document.getElementsByTagName("img")\n' +
  6159. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6160. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6161. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6162. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6163. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6164. "beforeUpload_shishi(file," +
  6165. "'" +
  6166. _userid +
  6167. "'" +
  6168. ", " +
  6169. "'" +
  6170. _cid +
  6171. "'" +
  6172. ", " +
  6173. "'" +
  6174. _stage +
  6175. "'" +
  6176. ", " +
  6177. "'" +
  6178. _task +
  6179. "'" +
  6180. ", " +
  6181. "'" +
  6182. _tool +
  6183. "'" +
  6184. ", " +
  6185. "'" +
  6186. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  6187. "'" +
  6188. ", " +
  6189. "'" +
  6190. aTool +
  6191. "'" +
  6192. ", " +
  6193. "`" +
  6194. text +
  6195. "`" +
  6196. ")\n" +
  6197. " });\n" +
  6198. "}\n" +
  6199. "document.head.appendChild(_js);\n";
  6200. _iframe.contentWindow.document.head.appendChild(_ajs);
  6201. }
  6202. }
  6203. //U.MD.D.I.openClick(str);
  6204. //如果有任務欄信息
  6205. // if (_taskbar) {
  6206. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6207. // }
  6208. }
  6209. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  6210. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6211. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6212. _userinfo = US.userInfo, //登錄用戶信息
  6213. _userid = US.userInfo.userid //登錄用戶id
  6214. let _iframe;
  6215. let _cid = cid,
  6216. _stage = stage,
  6217. _task = task,
  6218. _tool = tool;
  6219. var _jie = $$("div", {
  6220. "style": {
  6221. "position": "absolute",
  6222. "bottom": "50px",
  6223. "right": "50px",
  6224. "zIndex": "9999",
  6225. "backgroundColor": "#2268bc",
  6226. "color": "#fff",
  6227. "padding": "12px 20px",
  6228. "cursor": "pointer",
  6229. "borderRadius": "4px",
  6230. },
  6231. "innerHTML": "提交作業"
  6232. })
  6233. let aTool = ''
  6234. let _loading = document.createElement('div')
  6235. _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;"
  6236. // _loading.id = "";
  6237. let _lchild = document.createElement('div')
  6238. let _limg = document.createElement('img')
  6239. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6240. _limg.style = "width: 26px;margin-right: 10px;"
  6241. _lchild.appendChild(_limg)
  6242. let _lspan = document.createElement('span')
  6243. _lspan.innerHTML = "上傳中..."
  6244. _lchild.appendChild(_lspan)
  6245. _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%);"
  6246. _loading.appendChild(_lchild)
  6247. let _box = $$('div', {
  6248. "style": {
  6249. "position": "relative",
  6250. "width": "100%",
  6251. "height": "100%",
  6252. },
  6253. })
  6254. _box.appendChild(_loading)
  6255. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  6256. switch (str) {
  6257. case "whiteboard":
  6258. aTool = 1;
  6259. _iframe = $$("iframe", {
  6260. "frameborder": "no",
  6261. "border": "0",
  6262. "scrolling ": "no",
  6263. "style": {
  6264. "cssText": "border:0;width:100%;height:100%"
  6265. },
  6266. "src": "https://iwb.cocorobo.hk/"
  6267. })
  6268. _box.appendChild(_iframe);
  6269. _box.appendChild(_jie);
  6270. _formdiv = new U.UF.UI.form(
  6271. "電子白板",
  6272. _box, {
  6273. "id": "whiteboard" + cid + stage + task + tool,
  6274. "style": {
  6275. "width": "90%",
  6276. "height": "90%",
  6277. "overflow": 'hidden'
  6278. },
  6279. "onresize": function () { }
  6280. }, {
  6281. closecallback: function () { }
  6282. }, {
  6283. "style": {
  6284. "height": "36px"
  6285. }
  6286. }).form; //創建窗體
  6287. _taskbar = {
  6288. "id": str + _formdiv.id,
  6289. "style": {
  6290. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6291. },
  6292. "name": "電子白板",
  6293. "forms": _formdiv,
  6294. "click": function () {
  6295. U.MD.D.I.openApplication(str, obj, info);
  6296. }
  6297. }
  6298. break;
  6299. case "mind":
  6300. aTool = 3;
  6301. _iframe = $$("iframe", {
  6302. "frameborder": "no",
  6303. "border": "0",
  6304. "scrolling ": "no",
  6305. "style": {
  6306. "cssText": "border:0;width:100%;height:100%"
  6307. },
  6308. "src": "/kityminder-editor/dist/index.html"
  6309. })
  6310. _box.appendChild(_iframe);
  6311. _box.appendChild(_jie);
  6312. _formdiv = new U.UF.UI.form(
  6313. "思維導圖",
  6314. _box, { //"/jsmind/example/demo.html"
  6315. "id": "mind" + cid + stage + task + tool,
  6316. "style": {
  6317. "width": "90%",
  6318. "height": "90%",
  6319. "overflow": 'hidden'
  6320. },
  6321. "onresize": function () { }
  6322. }, {
  6323. closecallback: function () { }
  6324. }, {
  6325. "style": {
  6326. "height": "36px"
  6327. }
  6328. }).form; //創建窗體
  6329. _taskbar = {
  6330. "id": str + _formdiv.id,
  6331. "style": {
  6332. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6333. },
  6334. "name": "思維導圖",
  6335. "forms": _formdiv,
  6336. "click": function () {
  6337. U.MD.D.I.openApplication(str, obj, info);
  6338. }
  6339. }
  6340. break;
  6341. case "MindMap":
  6342. aTool = 3;
  6343. _iframe = $$("iframe", {
  6344. "frameborder": "no",
  6345. "border": "0",
  6346. "scrolling ": "no",
  6347. "style": {
  6348. "cssText": "border:0;width:100%;height:100%"
  6349. },
  6350. "src": "//cloud.cocorobo.hk/mind/"
  6351. })
  6352. _box.appendChild(_iframe);
  6353. _box.appendChild(_jie);
  6354. _formdiv = new U.UF.UI.form(
  6355. "思維導圖",
  6356. _box, { //"/jsmind/example/demo.html"
  6357. "id": "mind" + cid + stage + task + tool,
  6358. "style": {
  6359. "width": "90%",
  6360. "height": "90%",
  6361. "overflow": 'hidden'
  6362. },
  6363. "onresize": function () { }
  6364. }, {
  6365. closecallback: function () { }
  6366. }, {
  6367. "style": {
  6368. "height": "36px"
  6369. }
  6370. }).form; //創建窗體
  6371. _taskbar = {
  6372. "id": str + _formdiv.id,
  6373. "style": {
  6374. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6375. },
  6376. "name": "思維導圖",
  6377. "forms": _formdiv,
  6378. "click": function () {
  6379. U.MD.D.I.openApplication(str, obj, info);
  6380. }
  6381. }
  6382. break;
  6383. case "doc":
  6384. aTool = 6;
  6385. _iframe = $$("iframe", {
  6386. "frameborder": "no",
  6387. "border": "0",
  6388. "scrolling ": "no",
  6389. "style": {
  6390. "cssText": "border:0;width:100%;height:100%"
  6391. },
  6392. "src": "/Office/Word/WordEditArea.htm"
  6393. })
  6394. _box.appendChild(_iframe);
  6395. _box.appendChild(_jie);
  6396. _formdiv = new U.UF.UI.form(
  6397. "協同文檔",
  6398. _box, {
  6399. "id": "doc" + cid + stage + task + tool,
  6400. "style": {
  6401. "width": "90%",
  6402. "height": "90%",
  6403. "overflow": 'hidden'
  6404. },
  6405. "onresize": function () { }
  6406. }, {
  6407. closecallback: function () { }
  6408. }, {
  6409. "style": {
  6410. "height": "36px"
  6411. }
  6412. }).form; //創建窗體
  6413. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6414. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6415. })
  6416. _taskbar = {
  6417. "id": str + _formdiv.id,
  6418. "style": {
  6419. "backgroundImage": "url(/img/icon/doc.png)"
  6420. },
  6421. "name": "協同文檔",
  6422. "forms": _formdiv,
  6423. "click": function () {
  6424. U.MD.D.I.openApplication(str, obj, info);
  6425. }
  6426. }
  6427. break;
  6428. case "mindNetwork": //好友打開
  6429. aTool = 7;
  6430. _iframe = $$("iframe", {
  6431. "webkitallowfullscreen": "",
  6432. "mozallowfullscreen": "",
  6433. "allowfullscreen": "",
  6434. "frameborder": "no",
  6435. "border": "0",
  6436. "scrolling ": "no",
  6437. "style": {
  6438. "cssText": "border:0; width:100%; height:100%;"
  6439. },
  6440. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6441. })
  6442. _box.appendChild(_iframe);
  6443. _box.appendChild(_jie);
  6444. _formdiv = new U.UF.UI.form(
  6445. "思維網格",
  6446. _box, {
  6447. "id": "mindNetwork" + cid + stage + task + tool,
  6448. "style": {
  6449. "width": "90%",
  6450. "height": "90%",
  6451. "overflow": 'hidden'
  6452. },
  6453. "onresize": function () { }
  6454. }, {
  6455. closecallback: function () { }
  6456. }, {
  6457. "style": {
  6458. "height": "36px"
  6459. }
  6460. }).form; //創建窗體
  6461. _taskbar = {
  6462. "id": str + _formdiv.id,
  6463. "style": {
  6464. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6465. },
  6466. "name": "思維網格",
  6467. "forms": _formdiv,
  6468. "click": function () {
  6469. U.MD.D.I.openApplication(str, obj, info);
  6470. }
  6471. }
  6472. break;
  6473. case "courseDesign":
  6474. _iframe = $$("iframe", {
  6475. "webkitallowfullscreen": "",
  6476. "mozallowfullscreen": "",
  6477. "allowfullscreen": "",
  6478. "frameborder": "no",
  6479. "border": "0",
  6480. "scrolling ": "no",
  6481. "style": {
  6482. "cssText": "border:0; width:100%; height:100%;"
  6483. },
  6484. "src": "/course-design-vue"
  6485. })
  6486. _box.appendChild(_iframe);
  6487. _box.appendChild(_jie);
  6488. _formdiv = new U.UF.UI.form(
  6489. "項目設計",
  6490. _box, {
  6491. "id": "courseDesign" + cid + stage + task + tool,
  6492. "style": {
  6493. "width": "90%",
  6494. "height": "90%",
  6495. "overflow": 'hidden'
  6496. },
  6497. "onresize": function () { }
  6498. }, {
  6499. closecallback: function () { }
  6500. }, {
  6501. "style": {
  6502. "height": "36px"
  6503. }
  6504. }).form; //創建窗體
  6505. _taskbar = {
  6506. "id": str + _formdiv.id,
  6507. "style": {
  6508. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6509. },
  6510. "name": "項目設計",
  6511. "forms": _formdiv,
  6512. "click": function () {
  6513. U.MD.D.I.openApplication(str, obj, info);
  6514. }
  6515. }
  6516. break;
  6517. }
  6518. const script1 = document.createElement("script");
  6519. script1.type = "text/javascript";
  6520. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6521. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6522. const script2 = document.createElement("script");
  6523. script2.type = "text/javascript";
  6524. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6525. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6526. const script3 = document.createElement("script");
  6527. script3.type = "text/javascript";
  6528. script3.charset = "UTF-8";
  6529. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6530. const script4 = document.createElement("script");
  6531. script4.type = "text/javascript";
  6532. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6533. script4.src = window.origin + "/js/Common/jietu2E.js";
  6534. if (_iframe) {
  6535. if (str == 'doc') {
  6536. _iframe = _formdiv.querySelector('iframe')
  6537. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6538. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6539. _iframe.contentWindow.document.body.appendChild(script1);
  6540. _iframe.contentWindow.document.body.appendChild(script2);
  6541. // _iframe.contentWindow.document.body.appendChild(script3);
  6542. _iframe.contentWindow.document.body.appendChild(script4);
  6543. })
  6544. if (onloadListener) {
  6545. _iframe.contentDocument.location.reload()
  6546. } else {
  6547. _iframe.contentDocument.location.reload()
  6548. }
  6549. } else if (str == 'courseDesign') {
  6550. U.UF.DL.iframeLoad(_iframe, function () {
  6551. // _iframe.contentWindow.U.MD.O.W.load();
  6552. // _iframe.contentWindow.document.body.appendChild(script1);
  6553. _iframe.contentWindow.document.body.appendChild(script2);
  6554. _iframe.contentWindow.document.body.appendChild(script4);
  6555. })
  6556. } else if (str == 'mind') {
  6557. _iframe = _formdiv.querySelector('iframe')
  6558. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6559. //
  6560. _iframe.contentWindow.document.body.appendChild(script1);
  6561. _iframe.contentWindow.document.body.appendChild(script2);
  6562. _iframe.contentWindow.document.body.appendChild(script4);
  6563. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6564. })
  6565. if (onloadListener) {
  6566. _iframe.contentDocument.location.reload()
  6567. } else {
  6568. _iframe.contentDocument.location.reload()
  6569. }
  6570. } else if (str == 'whiteboard') {
  6571. _iframe = _formdiv.querySelector('iframe')
  6572. let onloadListener = _iframe.onload = () => {
  6573. _iframe.contentWindow.document.body.appendChild(script1);
  6574. _iframe.contentWindow.document.body.appendChild(script2);
  6575. _iframe.contentWindow.document.body.appendChild(script4);
  6576. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6577. };
  6578. // if (onloadListener) {
  6579. // try {
  6580. // _iframe.src += "?cocorobo="+new Date().getTime()
  6581. // _iframe.contentWindow.document.location.reload()
  6582. // } catch (error) {
  6583. // }
  6584. // } else {
  6585. // _iframe.contentDocument.location.reload()
  6586. // }
  6587. } else {
  6588. _iframe.onload = () => {
  6589. _iframe.contentWindow.document.body.appendChild(script1);
  6590. _iframe.contentWindow.document.body.appendChild(script2);
  6591. // _iframe.contentWindow.document.body.appendChild(script3);
  6592. _iframe.contentWindow.document.body.appendChild(script4);
  6593. };
  6594. }
  6595. _jie.onclick = async () => {
  6596. let text = ''
  6597. if (aTool == 1) {
  6598. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6599. } else if (aTool == 6) {
  6600. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6601. } else if (aTool == 3) {
  6602. text = await U.MD.D.I.getEditorContent(_iframe);
  6603. }
  6604. _loading.style.display = 'flex'
  6605. console.log(_loading);
  6606. var _ajs = _iframe.contentWindow.document.createElement("script");
  6607. _ajs.type = "text/javascript";
  6608. _ajs.innerHTML =
  6609. // 'console.log(' + _loading + ');\n' +
  6610. 'var _js = document.createElement("script");\n' +
  6611. '_js.type="text/javascript";\n' +
  6612. '_js.charset="UTF-8";\n' +
  6613. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6614. "_js.onload = function(){\n" +
  6615. ' var a = document.getElementsByTagName("img")\n' +
  6616. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6617. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6618. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6619. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6620. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6621. "beforeUpload_shishi(file," +
  6622. "'" +
  6623. _userid +
  6624. "'" +
  6625. ", " +
  6626. "'" +
  6627. _cid +
  6628. "'" +
  6629. ", " +
  6630. "'" +
  6631. _stage +
  6632. "'" +
  6633. ", " +
  6634. "'" +
  6635. _task +
  6636. "'" +
  6637. ", " +
  6638. "'" +
  6639. _tool +
  6640. "'" +
  6641. ", " +
  6642. "'" +
  6643. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6644. "'" +
  6645. ", " +
  6646. "'" +
  6647. aTool +
  6648. "'" +
  6649. ", " +
  6650. "`" +
  6651. text +
  6652. "`" +
  6653. ")\n" +
  6654. " });\n" +
  6655. "}\n" +
  6656. "document.head.appendChild(_js);\n";
  6657. _iframe.contentWindow.document.head.appendChild(_ajs);
  6658. }
  6659. }
  6660. //U.MD.D.I.openClick(str);
  6661. //如果有任務欄信息
  6662. // if (_taskbar) {
  6663. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6664. // }
  6665. }
  6666. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6667. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6668. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6669. _userid = student.userid, //登錄用戶id
  6670. _username = student.student //用戶名字
  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_JieTeacher' + 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. "電子白板-" + _username,
  6729. _box, {
  6730. "id": "whiteboard" + cid + stage + task + tool + _userid,
  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. "思維導圖-" + _username,
  6771. _box, { //"/jsmind/example/demo.html"
  6772. "id": "mind" + cid + stage + task + tool + _userid,
  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. "思維導圖-" + _username,
  6813. _box, { //"/jsmind/example/demo.html"
  6814. "id": "mind" + cid + stage + task + tool + _userid,
  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. "協同文檔-" + _username,
  6855. _box, {
  6856. "id": "doc" + cid + stage + task + tool + _userid,
  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. "思維網格-" + _username,
  6903. _box, {
  6904. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6905. "style": {
  6906. "width": "90%",
  6907. "height": "90%",
  6908. "overflow": 'hidden'
  6909. },
  6910. "onresize": function () { }
  6911. }, {
  6912. closecallback: function () { }
  6913. }, {
  6914. "style": {
  6915. "height": "36px"
  6916. }
  6917. }).form; //創建窗體
  6918. _taskbar = {
  6919. "id": str + _formdiv.id,
  6920. "style": {
  6921. "backgroundImage": "url(/img/icon/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. "項目設計-" + _username,
  6947. _box, {
  6948. "id": "courseDesign" + cid + stage + task + tool + _userid,
  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_JieTeacher' + 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. }
  7118. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  7119. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7120. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7121. _userid = student.userid, //登錄用戶id
  7122. _username = student.student //用戶名字
  7123. let _iframe;
  7124. let _cid = cid,
  7125. _stage = stage,
  7126. _task = task,
  7127. _tool = tool;
  7128. var _jie = $$("div", {
  7129. "style": {
  7130. "position": "absolute",
  7131. "bottom": "50px",
  7132. "right": "50px",
  7133. "zIndex": "9999",
  7134. "backgroundColor": "#2268bc",
  7135. "color": "#fff",
  7136. "padding": "12px 20px",
  7137. "cursor": "pointer",
  7138. "borderRadius": "4px",
  7139. },
  7140. "innerHTML": "提交作業"
  7141. })
  7142. let aTool = ''
  7143. let _loading = document.createElement('div')
  7144. _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;"
  7145. // _loading.id = "";
  7146. let _lchild = document.createElement('div')
  7147. let _limg = document.createElement('img')
  7148. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7149. _limg.style = "width: 26px;margin-right: 10px;"
  7150. _lchild.appendChild(_limg)
  7151. let _lspan = document.createElement('span')
  7152. _lspan.innerHTML = "上傳中..."
  7153. _lchild.appendChild(_lspan)
  7154. _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%);"
  7155. _loading.appendChild(_lchild)
  7156. var _box = $$('div', {
  7157. "style": {
  7158. "position": "relative",
  7159. "width": "100%",
  7160. "height": "100%",
  7161. },
  7162. })
  7163. _box.appendChild(_loading)
  7164. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  7165. switch (str) {
  7166. case "whiteboard":
  7167. aTool = 1;
  7168. _iframe = $$("iframe", {
  7169. "frameborder": "no",
  7170. "border": "0",
  7171. "scrolling ": "no",
  7172. "style": {
  7173. "cssText": "border:0;width:100%;height:100%"
  7174. },
  7175. "src": "https://iwb.cocorobo.hk/"
  7176. })
  7177. _box.appendChild(_iframe);
  7178. _box.appendChild(_jie);
  7179. _formdiv = new U.UF.UI.form(
  7180. "電子白板-" + _username,
  7181. _box, {
  7182. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7183. "style": {
  7184. "width": "90%",
  7185. "height": "90%",
  7186. "overflow": 'hidden'
  7187. },
  7188. "onresize": function () { }
  7189. }, {
  7190. closecallback: function () { }
  7191. }, {
  7192. "style": {
  7193. "height": "36px"
  7194. }
  7195. }).form; //創建窗體
  7196. _taskbar = {
  7197. "id": str + _formdiv.id,
  7198. "style": {
  7199. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7200. },
  7201. "name": "電子白板",
  7202. "forms": _formdiv,
  7203. "click": function () {
  7204. U.MD.D.I.openApplication(str, obj, info);
  7205. }
  7206. }
  7207. break;
  7208. case "mind":
  7209. aTool = 3;
  7210. _iframe = $$("iframe", {
  7211. "frameborder": "no",
  7212. "border": "0",
  7213. "scrolling ": "no",
  7214. "style": {
  7215. "cssText": "border:0;width:100%;height:100%"
  7216. },
  7217. "src": "/kityminder-editor/dist/index.html"
  7218. })
  7219. _box.appendChild(_iframe);
  7220. _box.appendChild(_jie);
  7221. _formdiv = new U.UF.UI.form(
  7222. "思維導圖-" + _username,
  7223. _box, { //"/jsmind/example/demo.html"
  7224. "id": "mind" + cid + stage + task + tool + _userid,
  7225. "style": {
  7226. "width": "90%",
  7227. "height": "90%",
  7228. "overflow": 'hidden'
  7229. },
  7230. "onresize": function () { }
  7231. }, {
  7232. closecallback: function () { }
  7233. }, {
  7234. "style": {
  7235. "height": "36px"
  7236. }
  7237. }).form; //創建窗體
  7238. _taskbar = {
  7239. "id": str + _formdiv.id,
  7240. "style": {
  7241. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7242. },
  7243. "name": "思維導圖",
  7244. "forms": _formdiv,
  7245. "click": function () {
  7246. U.MD.D.I.openApplication(str, obj, info);
  7247. }
  7248. }
  7249. break;
  7250. case "MindMap":
  7251. aTool = 3;
  7252. _iframe = $$("iframe", {
  7253. "frameborder": "no",
  7254. "border": "0",
  7255. "scrolling ": "no",
  7256. "style": {
  7257. "cssText": "border:0;width:100%;height:100%"
  7258. },
  7259. "src": "//cloud.cocorobo.hk/mind/"
  7260. })
  7261. _box.appendChild(_iframe);
  7262. _box.appendChild(_jie);
  7263. _formdiv = new U.UF.UI.form(
  7264. "思維導圖-" + _username,
  7265. _box, { //"/jsmind/example/demo.html"
  7266. "id": "mind" + cid + stage + task + tool + _userid,
  7267. "style": {
  7268. "width": "90%",
  7269. "height": "90%",
  7270. "overflow": 'hidden'
  7271. },
  7272. "onresize": function () { }
  7273. }, {
  7274. closecallback: function () { }
  7275. }, {
  7276. "style": {
  7277. "height": "36px"
  7278. }
  7279. }).form; //創建窗體
  7280. _taskbar = {
  7281. "id": str + _formdiv.id,
  7282. "style": {
  7283. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7284. },
  7285. "name": "思維導圖",
  7286. "forms": _formdiv,
  7287. "click": function () {
  7288. U.MD.D.I.openApplication(str, obj, info);
  7289. }
  7290. }
  7291. break;
  7292. case "doc":
  7293. aTool = 6;
  7294. _iframe = $$("iframe", {
  7295. "frameborder": "no",
  7296. "border": "0",
  7297. "scrolling ": "no",
  7298. "style": {
  7299. "cssText": "border:0;width:100%;height:100%"
  7300. },
  7301. "src": "/Office/Word/WordEditArea.htm"
  7302. })
  7303. _box.appendChild(_iframe);
  7304. _box.appendChild(_jie);
  7305. _formdiv = new U.UF.UI.form(
  7306. "協同文檔-" + _username,
  7307. _box, {
  7308. "id": "doc" + cid + stage + task + tool + _userid,
  7309. "style": {
  7310. "width": "90%",
  7311. "height": "90%",
  7312. "overflow": 'hidden'
  7313. },
  7314. "onresize": function () { }
  7315. }, {
  7316. closecallback: function () { }
  7317. }, {
  7318. "style": {
  7319. "height": "36px"
  7320. }
  7321. }).form; //創建窗體
  7322. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7323. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7324. })
  7325. _taskbar = {
  7326. "id": str + _formdiv.id,
  7327. "style": {
  7328. "backgroundImage": "url(/img/icon/doc.png)"
  7329. },
  7330. "name": "協同文檔",
  7331. "forms": _formdiv,
  7332. "click": function () {
  7333. U.MD.D.I.openApplication(str, obj, info);
  7334. }
  7335. }
  7336. break;
  7337. case "mindNetwork": //好友打開
  7338. aTool = 7;
  7339. _iframe = $$("iframe", {
  7340. "webkitallowfullscreen": "",
  7341. "mozallowfullscreen": "",
  7342. "allowfullscreen": "",
  7343. "frameborder": "no",
  7344. "border": "0",
  7345. "scrolling ": "no",
  7346. "style": {
  7347. "cssText": "border:0; width:100%; height:100%;"
  7348. },
  7349. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7350. })
  7351. _box.appendChild(_iframe);
  7352. _box.appendChild(_jie);
  7353. _formdiv = new U.UF.UI.form(
  7354. "思維網格-" + _username,
  7355. _box, {
  7356. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7357. "style": {
  7358. "width": "90%",
  7359. "height": "90%",
  7360. "overflow": 'hidden'
  7361. },
  7362. "onresize": function () { }
  7363. }, {
  7364. closecallback: function () { }
  7365. }, {
  7366. "style": {
  7367. "height": "36px"
  7368. }
  7369. }).form; //創建窗體
  7370. _taskbar = {
  7371. "id": str + _formdiv.id,
  7372. "style": {
  7373. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7374. },
  7375. "name": "思維網格",
  7376. "forms": _formdiv,
  7377. "click": function () {
  7378. U.MD.D.I.openApplication(str, obj, info);
  7379. }
  7380. }
  7381. break;
  7382. case "courseDesign":
  7383. _iframe = $$("iframe", {
  7384. "webkitallowfullscreen": "",
  7385. "mozallowfullscreen": "",
  7386. "allowfullscreen": "",
  7387. "frameborder": "no",
  7388. "border": "0",
  7389. "scrolling ": "no",
  7390. "style": {
  7391. "cssText": "border:0; width:100%; height:100%;"
  7392. },
  7393. "src": "/course-design-vue"
  7394. })
  7395. _box.appendChild(_iframe);
  7396. _box.appendChild(_jie);
  7397. _formdiv = new U.UF.UI.form(
  7398. "項目設計-" + _username,
  7399. _box, {
  7400. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7401. "style": {
  7402. "width": "90%",
  7403. "height": "90%",
  7404. "overflow": 'hidden'
  7405. },
  7406. "onresize": function () { }
  7407. }, {
  7408. closecallback: function () { }
  7409. }, {
  7410. "style": {
  7411. "height": "36px"
  7412. }
  7413. }).form; //創建窗體
  7414. _taskbar = {
  7415. "id": str + _formdiv.id,
  7416. "style": {
  7417. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7418. },
  7419. "name": "項目設計",
  7420. "forms": _formdiv,
  7421. "click": function () {
  7422. U.MD.D.I.openApplication(str, obj, info);
  7423. }
  7424. }
  7425. break;
  7426. }
  7427. const script1 = document.createElement("script");
  7428. script1.type = "text/javascript";
  7429. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7430. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7431. const script2 = document.createElement("script");
  7432. script2.type = "text/javascript";
  7433. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7434. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7435. const script3 = document.createElement("script");
  7436. script3.type = "text/javascript";
  7437. script3.charset = "UTF-8";
  7438. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7439. const script4 = document.createElement("script");
  7440. script4.type = "text/javascript";
  7441. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7442. script4.src = window.origin + "/js/Common/jietu2E.js";
  7443. if (_iframe) {
  7444. if (str == 'doc') {
  7445. _iframe = _formdiv.querySelector('iframe')
  7446. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7447. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7448. _iframe.contentWindow.document.body.appendChild(script1);
  7449. _iframe.contentWindow.document.body.appendChild(script2);
  7450. // _iframe.contentWindow.document.body.appendChild(script3);
  7451. _iframe.contentWindow.document.body.appendChild(script4);
  7452. })
  7453. if (onloadListener) {
  7454. _iframe.contentDocument.location.reload()
  7455. } else {
  7456. _iframe.contentDocument.location.reload()
  7457. }
  7458. } else if (str == 'courseDesign') {
  7459. U.UF.DL.iframeLoad(_iframe, function () {
  7460. // _iframe.contentWindow.U.MD.O.W.load();
  7461. // _iframe.contentWindow.document.body.appendChild(script1);
  7462. _iframe.contentWindow.document.body.appendChild(script2);
  7463. _iframe.contentWindow.document.body.appendChild(script4);
  7464. })
  7465. } else if (str == 'mind') {
  7466. _iframe = _formdiv.querySelector('iframe')
  7467. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7468. //
  7469. _iframe.contentWindow.document.body.appendChild(script1);
  7470. _iframe.contentWindow.document.body.appendChild(script2);
  7471. _iframe.contentWindow.document.body.appendChild(script4);
  7472. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7473. })
  7474. if (onloadListener) {
  7475. _iframe.contentDocument.location.reload()
  7476. } else {
  7477. _iframe.contentDocument.location.reload()
  7478. }
  7479. } else if (str == 'whiteboard') {
  7480. _iframe = _formdiv.querySelector('iframe')
  7481. let onloadListener = _iframe.onload = () => {
  7482. _iframe.contentWindow.document.body.appendChild(script1);
  7483. _iframe.contentWindow.document.body.appendChild(script2);
  7484. _iframe.contentWindow.document.body.appendChild(script4);
  7485. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7486. };
  7487. // if (onloadListener) {
  7488. // try {
  7489. // _iframe.src += "?cocorobo="+new Date().getTime()
  7490. // _iframe.contentWindow.document.location.reload()
  7491. // } catch (error) {
  7492. // }
  7493. // } else {
  7494. // _iframe.contentDocument.location.reload()
  7495. // }
  7496. } else {
  7497. _iframe.onload = () => {
  7498. _iframe.contentWindow.document.body.appendChild(script1);
  7499. _iframe.contentWindow.document.body.appendChild(script2);
  7500. // _iframe.contentWindow.document.body.appendChild(script3);
  7501. _iframe.contentWindow.document.body.appendChild(script4);
  7502. };
  7503. }
  7504. _jie.onclick = async () => {
  7505. let text = ''
  7506. if (aTool == 1) {
  7507. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7508. } else if (aTool == 6) {
  7509. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7510. } else if (aTool == 3) {
  7511. text = await U.MD.D.I.getEditorContent(_iframe);
  7512. }
  7513. _loading.style.display = 'flex'
  7514. console.log(_loading);
  7515. var _ajs = _iframe.contentWindow.document.createElement("script");
  7516. _ajs.type = "text/javascript";
  7517. _ajs.innerHTML =
  7518. // 'console.log(' + _loading + ');\n' +
  7519. 'var _js = document.createElement("script");\n' +
  7520. '_js.type="text/javascript";\n' +
  7521. '_js.charset="UTF-8";\n' +
  7522. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7523. "_js.onload = function(){\n" +
  7524. ' var a = document.getElementsByTagName("img")\n' +
  7525. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7526. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7527. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7528. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7529. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7530. "beforeUpload_shishi(file," +
  7531. "'" +
  7532. _userid +
  7533. "'" +
  7534. ", " +
  7535. "'" +
  7536. _cid +
  7537. "'" +
  7538. ", " +
  7539. "'" +
  7540. _stage +
  7541. "'" +
  7542. ", " +
  7543. "'" +
  7544. _task +
  7545. "'" +
  7546. ", " +
  7547. "'" +
  7548. _tool +
  7549. "'" +
  7550. ", " +
  7551. "'" +
  7552. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7553. "'" +
  7554. ", " +
  7555. "'" +
  7556. aTool +
  7557. "'" +
  7558. ", " +
  7559. "`" +
  7560. text +
  7561. "`" +
  7562. ")\n" +
  7563. " });\n" +
  7564. "}\n" +
  7565. "document.head.appendChild(_js);\n";
  7566. _iframe.contentWindow.document.head.appendChild(_ajs);
  7567. }
  7568. }
  7569. }
  7570. U.MD.D.I.getEditorContent = function (iframe) {
  7571. return new Promise((resolve, reject) => {
  7572. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7573. console.log(content);
  7574. resolve(content)
  7575. });
  7576. });
  7577. }
  7578. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7579. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7580. // if (res.value[0].length > 0) {
  7581. // // resolve(res.value[0][0].text);
  7582. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7583. // $(fileInput).val('');
  7584. // });
  7585. // }
  7586. // }, [], { "type": "GET", "withCredentials": true });
  7587. var xmlhttp;
  7588. var Mac, Sn, DeviceId
  7589. if (window.XMLHttpRequest) {
  7590. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7591. xmlhttp = new XMLHttpRequest();
  7592. }
  7593. else {
  7594. // IE6, IE5 瀏覽器執行代碼
  7595. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7596. }
  7597. xmlhttp.onreadystatechange = function () {
  7598. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7599. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7600. // resolve(res.value[0][0].text);
  7601. if (type == '2') {
  7602. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7603. } else if (type == '3') {
  7604. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7605. }
  7606. } else {
  7607. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7608. }
  7609. }
  7610. }
  7611. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7612. xmlhttp.send();
  7613. }
  7614. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7615. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7616. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7617. _userinfo = US.userInfo, //登錄用戶信息
  7618. _userid = US.userInfo.userid //登錄用戶id
  7619. let _iframe;
  7620. let _cid = cid,
  7621. _stage = stage,
  7622. _task = task,
  7623. _tool = tool;
  7624. var _jie = $$("div", {
  7625. "style": {
  7626. "position": "absolute",
  7627. "bottom": "50px",
  7628. "right": "50px",
  7629. "zIndex": "9999",
  7630. "backgroundColor": "#2268bc",
  7631. "color": "#fff",
  7632. "padding": "12px 20px",
  7633. "cursor": "pointer",
  7634. "borderRadius": "4px",
  7635. },
  7636. "innerHTML": "確認並提交"
  7637. })
  7638. let aTool = ''
  7639. let _loading = document.createElement('div')
  7640. _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;"
  7641. // _loading.id = "";
  7642. let _lchild = document.createElement('div')
  7643. let _limg = document.createElement('img')
  7644. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7645. _limg.style = "width: 26px;margin-right: 10px;"
  7646. _lchild.appendChild(_limg)
  7647. let _lspan = document.createElement('span')
  7648. _lspan.innerHTML = "上傳中..."
  7649. _lchild.appendChild(_lspan)
  7650. _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%);"
  7651. _loading.appendChild(_lchild)
  7652. var _box = $$('div', {
  7653. "style": {
  7654. "position": "relative",
  7655. "width": "100%",
  7656. "height": "100%",
  7657. },
  7658. })
  7659. _box.appendChild(_loading)
  7660. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7661. switch (str) {
  7662. case "whiteboard":
  7663. aTool = 1;
  7664. _iframe = $$("iframe", {
  7665. "frameborder": "no",
  7666. "border": "0",
  7667. "scrolling ": "no",
  7668. "style": {
  7669. "cssText": "border:0;width:100%;height:100%"
  7670. },
  7671. "src": "https://iwb.cocorobo.hk/"
  7672. })
  7673. _box.appendChild(_iframe);
  7674. _box.appendChild(_jie);
  7675. _formdiv = new U.UF.UI.form(
  7676. "電子白板",
  7677. _box, {
  7678. "id": "whiteboards" + cid + stage + task + tool,
  7679. "style": {
  7680. "width": "90%",
  7681. "height": "90%",
  7682. "overflow": 'hidden'
  7683. },
  7684. "onresize": function () { }
  7685. }, {
  7686. closecallback: function () { }
  7687. }, {
  7688. "style": {
  7689. "height": "36px"
  7690. }
  7691. }).form; //創建窗體
  7692. _taskbar = {
  7693. "id": str + _formdiv.id,
  7694. "style": {
  7695. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7696. },
  7697. "name": "電子白板",
  7698. "forms": _formdiv,
  7699. "click": function () {
  7700. U.MD.D.I.openApplication(str, obj, info);
  7701. }
  7702. }
  7703. break;
  7704. case "mind":
  7705. aTool = 3;
  7706. _iframe = $$("iframe", {
  7707. "frameborder": "no",
  7708. "border": "0",
  7709. "scrolling ": "no",
  7710. "style": {
  7711. "cssText": "border:0;width:100%;height:100%"
  7712. },
  7713. "src": "/kityminder-editor/dist/index.html"
  7714. });
  7715. _box.appendChild(_iframe);
  7716. _box.appendChild(_jie);
  7717. _formdiv = new U.UF.UI.form(
  7718. "思維導圖",
  7719. _box, { //"/jsmind/example/demo.html"
  7720. "id": "minds" + cid + stage + task + tool,
  7721. "style": {
  7722. "width": "90%",
  7723. "height": "90%",
  7724. "overflow": 'hidden'
  7725. },
  7726. "onresize": function () { }
  7727. }, {
  7728. closecallback: function () { }
  7729. }, {
  7730. "style": {
  7731. "height": "36px"
  7732. }
  7733. }).form; //創建窗體
  7734. _taskbar = {
  7735. "id": str + _formdiv.id,
  7736. "style": {
  7737. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7738. },
  7739. "name": "思維導圖",
  7740. "forms": _formdiv,
  7741. "click": function () {
  7742. U.MD.D.I.openApplication(str, obj, info);
  7743. }
  7744. }
  7745. break;
  7746. case "doc":
  7747. aTool = 6;
  7748. _iframe = $$("iframe", {
  7749. "frameborder": "no",
  7750. "border": "0",
  7751. "scrolling ": "no",
  7752. "style": {
  7753. "cssText": "border:0;width:100%;height:100%"
  7754. },
  7755. "src": "/Office/Word/WordEditArea.htm"
  7756. })
  7757. _box.appendChild(_iframe);
  7758. _box.appendChild(_jie);
  7759. _formdiv = new U.UF.UI.form(
  7760. "協同文檔",
  7761. _box, {
  7762. "id": "docs" + cid + stage + task + tool,
  7763. "style": {
  7764. "width": "90%",
  7765. "height": "90%",
  7766. "overflow": 'hidden'
  7767. },
  7768. "onresize": function () { }
  7769. }, {
  7770. closecallback: function () { }
  7771. }, {
  7772. "style": {
  7773. "height": "36px"
  7774. }
  7775. }).form; //創建窗體
  7776. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7777. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7778. })
  7779. _taskbar = {
  7780. "id": str + _formdiv.id,
  7781. "style": {
  7782. "backgroundImage": "url(/img/icon/doc.png)"
  7783. },
  7784. "name": "協同文檔",
  7785. "forms": _formdiv,
  7786. "click": function () {
  7787. U.MD.D.I.openApplication(str, obj, info);
  7788. }
  7789. }
  7790. break;
  7791. }
  7792. const script1 = document.createElement("script");
  7793. script1.type = "text/javascript";
  7794. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7795. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7796. const script2 = document.createElement("script");
  7797. script2.type = "text/javascript";
  7798. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7799. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7800. const script3 = document.createElement("script");
  7801. script3.type = "text/javascript";
  7802. script3.charset = "UTF-8";
  7803. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7804. const script4 = document.createElement("script");
  7805. script4.type = "text/javascript";
  7806. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7807. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  7808. if (_iframe) {
  7809. if (str == 'doc') {
  7810. _iframe = _formdiv.querySelector('iframe')
  7811. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7812. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7813. _iframe.contentWindow.document.body.appendChild(script1);
  7814. _iframe.contentWindow.document.body.appendChild(script2);
  7815. // _iframe.contentWindow.document.body.appendChild(script3);
  7816. _iframe.contentWindow.document.body.appendChild(script4);
  7817. })
  7818. if (onloadListener) {
  7819. _iframe.contentDocument.location.reload()
  7820. } else {
  7821. _iframe.contentDocument.location.reload()
  7822. }
  7823. } else if (str == 'mind') {
  7824. _iframe = _formdiv.querySelector('iframe')
  7825. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7826. _iframe.contentWindow.document.body.appendChild(script1);
  7827. _iframe.contentWindow.document.body.appendChild(script2);
  7828. _iframe.contentWindow.document.body.appendChild(script4);
  7829. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7830. })
  7831. if (onloadListener) {
  7832. _iframe.contentDocument.location.reload()
  7833. } else {
  7834. _iframe.contentDocument.location.reload()
  7835. }
  7836. } else {
  7837. _iframe.onload = () => {
  7838. _iframe.contentWindow.document.body.appendChild(script1);
  7839. _iframe.contentWindow.document.body.appendChild(script2);
  7840. // _iframe.contentWindow.document.body.appendChild(script3);
  7841. _iframe.contentWindow.document.body.appendChild(script4);
  7842. };
  7843. }
  7844. _jie.onclick = async () => {
  7845. let text = ''
  7846. if (aTool == 6) {
  7847. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7848. } else if (aTool == 3) {
  7849. text = await U.MD.D.I.getEditorContent(_iframe);
  7850. }
  7851. _loading.style.display = 'flex'
  7852. console.log(_loading);
  7853. var _ajs = _iframe.contentWindow.document.createElement("script");
  7854. _ajs.type = "text/javascript";
  7855. _ajs.innerHTML =
  7856. // 'console.log(' + _loading + ');\n' +
  7857. 'var _js = document.createElement("script");\n' +
  7858. '_js.type="text/javascript";\n' +
  7859. '_js.charset="UTF-8";\n' +
  7860. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7861. "_js.onload = function(){\n" +
  7862. ' var a = document.getElementsByTagName("img")\n' +
  7863. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7864. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7865. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7866. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7867. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7868. "beforeUpload_shishi(file," +
  7869. "'" +
  7870. _userid +
  7871. "'" +
  7872. ", " +
  7873. "'" +
  7874. _cid +
  7875. "'" +
  7876. ", " +
  7877. "'" +
  7878. _stage +
  7879. "'" +
  7880. ", " +
  7881. "'" +
  7882. _task +
  7883. "'" +
  7884. ", " +
  7885. "'" +
  7886. _tool +
  7887. "'" +
  7888. ", " +
  7889. "'" +
  7890. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7891. "'" +
  7892. ", " +
  7893. "'" +
  7894. aTool +
  7895. "'" +
  7896. ", " +
  7897. "`" +
  7898. text +
  7899. "`" +
  7900. ")\n" +
  7901. " });\n" +
  7902. "}\n" +
  7903. "document.head.appendChild(_js);\n";
  7904. _iframe.contentWindow.document.head.appendChild(_ajs);
  7905. }
  7906. }
  7907. //U.MD.D.I.openClick(str);
  7908. //如果有任務欄信息
  7909. // if (_taskbar) {
  7910. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7911. // }
  7912. }
  7913. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7914. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7915. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7916. _userinfo = US.userInfo, //登錄用戶信息
  7917. _userid = US.userInfo.userid //登錄用戶id
  7918. let _iframe;
  7919. let _cid = cid,
  7920. _stage = stage,
  7921. _task = task,
  7922. _tool = tool;
  7923. var _jie = $$("div", {
  7924. "style": {
  7925. "position": "absolute",
  7926. "bottom": "50px",
  7927. "right": "50px",
  7928. "zIndex": "9999",
  7929. "backgroundColor": "#2268bc",
  7930. "color": "#fff",
  7931. "padding": "12px 20px",
  7932. "cursor": "pointer",
  7933. "borderRadius": "4px",
  7934. },
  7935. "innerHTML": "確認並提交"
  7936. })
  7937. let aTool = ''
  7938. let _loading = document.createElement('div')
  7939. _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;"
  7940. // _loading.id = "";
  7941. let _lchild = document.createElement('div')
  7942. let _limg = document.createElement('img')
  7943. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7944. _limg.style = "width: 26px;margin-right: 10px;"
  7945. _lchild.appendChild(_limg)
  7946. let _lspan = document.createElement('span')
  7947. _lspan.innerHTML = "上傳中..."
  7948. _lchild.appendChild(_lspan)
  7949. _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%);"
  7950. _loading.appendChild(_lchild)
  7951. var _box = $$('div', {
  7952. "style": {
  7953. "position": "relative",
  7954. "width": "100%",
  7955. "height": "100%",
  7956. },
  7957. })
  7958. _box.appendChild(_loading)
  7959. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7960. switch (str) {
  7961. case "whiteboard":
  7962. aTool = 1;
  7963. _iframe = $$("iframe", {
  7964. "frameborder": "no",
  7965. "border": "0",
  7966. "scrolling ": "no",
  7967. "style": {
  7968. "cssText": "border:0;width:100%;height:100%"
  7969. },
  7970. "src": "https://iwb.cocorobo.hk/"
  7971. })
  7972. _box.appendChild(_iframe);
  7973. _box.appendChild(_jie);
  7974. _formdiv = new U.UF.UI.form(
  7975. "電子白板",
  7976. _box, {
  7977. "id": "whiteboards" + cid + stage + task + tool,
  7978. "style": {
  7979. "width": "90%",
  7980. "height": "90%",
  7981. "overflow": 'hidden'
  7982. },
  7983. "onresize": function () { }
  7984. }, {
  7985. closecallback: function () { }
  7986. }, {
  7987. "style": {
  7988. "height": "36px"
  7989. }
  7990. }).form; //創建窗體
  7991. _taskbar = {
  7992. "id": str + _formdiv.id,
  7993. "style": {
  7994. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7995. },
  7996. "name": "電子白板",
  7997. "forms": _formdiv,
  7998. "click": function () {
  7999. U.MD.D.I.openApplication(str, obj, info);
  8000. }
  8001. }
  8002. break;
  8003. case "mind":
  8004. aTool = 3;
  8005. _iframe = $$("iframe", {
  8006. "frameborder": "no",
  8007. "border": "0",
  8008. "scrolling ": "no",
  8009. "style": {
  8010. "cssText": "border:0;width:100%;height:100%"
  8011. },
  8012. "src": "/kityminder-editor/dist/index.html"
  8013. });
  8014. _box.appendChild(_iframe);
  8015. _box.appendChild(_jie);
  8016. _formdiv = new U.UF.UI.form(
  8017. "思維導圖",
  8018. _box, { //"/jsmind/example/demo.html"
  8019. "id": "minds" + cid + stage + task + tool,
  8020. "style": {
  8021. "width": "90%",
  8022. "height": "90%",
  8023. "overflow": 'hidden'
  8024. },
  8025. "onresize": function () { }
  8026. }, {
  8027. closecallback: function () { }
  8028. }, {
  8029. "style": {
  8030. "height": "36px"
  8031. }
  8032. }).form; //創建窗體
  8033. _taskbar = {
  8034. "id": str + _formdiv.id,
  8035. "style": {
  8036. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8037. },
  8038. "name": "思維導圖",
  8039. "forms": _formdiv,
  8040. "click": function () {
  8041. U.MD.D.I.openApplication(str, obj, info);
  8042. }
  8043. }
  8044. break;
  8045. case "doc":
  8046. aTool = 6;
  8047. _iframe = $$("iframe", {
  8048. "frameborder": "no",
  8049. "border": "0",
  8050. "scrolling ": "no",
  8051. "style": {
  8052. "cssText": "border:0;width:100%;height:100%"
  8053. },
  8054. "src": "/Office/Word/WordEditArea.htm"
  8055. })
  8056. _box.appendChild(_iframe);
  8057. _box.appendChild(_jie);
  8058. _formdiv = new U.UF.UI.form(
  8059. "協同文檔",
  8060. _box, {
  8061. "id": "docs" + cid + stage + task + tool,
  8062. "style": {
  8063. "width": "90%",
  8064. "height": "90%",
  8065. "overflow": 'hidden'
  8066. },
  8067. "onresize": function () { }
  8068. }, {
  8069. closecallback: function () { }
  8070. }, {
  8071. "style": {
  8072. "height": "36px"
  8073. }
  8074. }).form; //創建窗體
  8075. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8076. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8077. })
  8078. _taskbar = {
  8079. "id": str + _formdiv.id,
  8080. "style": {
  8081. "backgroundImage": "url(/img/icon/doc.png)"
  8082. },
  8083. "name": "協同文檔",
  8084. "forms": _formdiv,
  8085. "click": function () {
  8086. U.MD.D.I.openApplication(str, obj, info);
  8087. }
  8088. }
  8089. break;
  8090. }
  8091. const script1 = document.createElement("script");
  8092. script1.type = "text/javascript";
  8093. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8094. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8095. const script2 = document.createElement("script");
  8096. script2.type = "text/javascript";
  8097. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8098. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8099. const script3 = document.createElement("script");
  8100. script3.type = "text/javascript";
  8101. script3.charset = "UTF-8";
  8102. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8103. const script4 = document.createElement("script");
  8104. script4.type = "text/javascript";
  8105. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8106. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  8107. if (_iframe) {
  8108. if (str == 'doc') {
  8109. _iframe = _formdiv.querySelector('iframe')
  8110. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8111. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8112. _iframe.contentWindow.document.body.appendChild(script1);
  8113. _iframe.contentWindow.document.body.appendChild(script2);
  8114. // _iframe.contentWindow.document.body.appendChild(script3);
  8115. _iframe.contentWindow.document.body.appendChild(script4);
  8116. })
  8117. if (onloadListener) {
  8118. _iframe.contentDocument.location.reload()
  8119. } else {
  8120. _iframe.contentDocument.location.reload()
  8121. }
  8122. } else if (str == 'mind') {
  8123. _iframe = _formdiv.querySelector('iframe')
  8124. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8125. _iframe.contentWindow.document.body.appendChild(script1);
  8126. _iframe.contentWindow.document.body.appendChild(script2);
  8127. _iframe.contentWindow.document.body.appendChild(script4);
  8128. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8129. })
  8130. if (onloadListener) {
  8131. _iframe.contentDocument.location.reload()
  8132. } else {
  8133. _iframe.contentDocument.location.reload()
  8134. }
  8135. } else {
  8136. _iframe.onload = () => {
  8137. _iframe.contentWindow.document.body.appendChild(script1);
  8138. _iframe.contentWindow.document.body.appendChild(script2);
  8139. // _iframe.contentWindow.document.body.appendChild(script3);
  8140. _iframe.contentWindow.document.body.appendChild(script4);
  8141. };
  8142. }
  8143. _jie.onclick = async () => {
  8144. let text = ''
  8145. if (aTool == 6) {
  8146. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8147. } else if (aTool == 3) {
  8148. text = await U.MD.D.I.getEditorContent(_iframe);
  8149. }
  8150. _loading.style.display = 'flex'
  8151. console.log(_loading);
  8152. var _ajs = _iframe.contentWindow.document.createElement("script");
  8153. _ajs.type = "text/javascript";
  8154. _ajs.innerHTML =
  8155. // 'console.log(' + _loading + ');\n' +
  8156. 'var _js = document.createElement("script");\n' +
  8157. '_js.type="text/javascript";\n' +
  8158. '_js.charset="UTF-8";\n' +
  8159. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8160. "_js.onload = function(){\n" +
  8161. ' var a = document.getElementsByTagName("img")\n' +
  8162. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8163. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8164. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8165. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8166. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8167. "beforeUpload_shishi(file," +
  8168. "'" +
  8169. _userid +
  8170. "'" +
  8171. ", " +
  8172. "'" +
  8173. _cid +
  8174. "'" +
  8175. ", " +
  8176. "'" +
  8177. _stage +
  8178. "'" +
  8179. ", " +
  8180. "'" +
  8181. _task +
  8182. "'" +
  8183. ", " +
  8184. "'" +
  8185. _tool +
  8186. "'" +
  8187. ", " +
  8188. "'" +
  8189. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  8190. "'" +
  8191. ", " +
  8192. "'" +
  8193. aTool +
  8194. "'" +
  8195. ", " +
  8196. "`" +
  8197. text +
  8198. "`" +
  8199. ")\n" +
  8200. " });\n" +
  8201. "}\n" +
  8202. "document.head.appendChild(_js);\n";
  8203. _iframe.contentWindow.document.head.appendChild(_ajs);
  8204. }
  8205. }
  8206. //U.MD.D.I.openClick(str);
  8207. //如果有任務欄信息
  8208. // if (_taskbar) {
  8209. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8210. // }
  8211. }
  8212. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  8213. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8214. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8215. _userinfo = US.userInfo, //登錄用戶信息
  8216. _userid = US.userInfo.userid //登錄用戶id
  8217. let _iframe;
  8218. let _cid = cid,
  8219. _stage = stage,
  8220. _task = task,
  8221. _tool = tool;
  8222. var _jie = $$("div", {
  8223. "style": {
  8224. "position": "absolute",
  8225. "bottom": "50px",
  8226. "right": "50px",
  8227. "zIndex": "9999",
  8228. "backgroundColor": "#2268bc",
  8229. "color": "#fff",
  8230. "padding": "12px 20px",
  8231. "cursor": "pointer",
  8232. "borderRadius": "4px",
  8233. },
  8234. "innerHTML": "上傳模板"
  8235. })
  8236. let aTool = ''
  8237. let _loading = document.createElement('div')
  8238. _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;"
  8239. // _loading.id = "";
  8240. let _lchild = document.createElement('div')
  8241. let _limg = document.createElement('img')
  8242. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8243. _limg.style = "width: 26px;margin-right: 10px;"
  8244. _lchild.appendChild(_limg)
  8245. let _lspan = document.createElement('span')
  8246. _lspan.innerHTML = "上傳中..."
  8247. _lchild.appendChild(_lspan)
  8248. _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%);"
  8249. _loading.appendChild(_lchild)
  8250. var _box = $$('div', {
  8251. "style": {
  8252. "position": "relative",
  8253. "width": "100%",
  8254. "height": "100%",
  8255. },
  8256. })
  8257. _box.appendChild(_loading)
  8258. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  8259. switch (str) {
  8260. case "whiteboard":
  8261. aTool = 1;
  8262. _iframe = $$("iframe", {
  8263. "frameborder": "no",
  8264. "border": "0",
  8265. "scrolling ": "no",
  8266. "style": {
  8267. "cssText": "border:0;width:100%;height:100%"
  8268. },
  8269. "src": "https://iwb.cocorobo.hk/"
  8270. })
  8271. _box.appendChild(_iframe);
  8272. _box.appendChild(_jie);
  8273. _formdiv = new U.UF.UI.form(
  8274. "電子白板",
  8275. _box, {
  8276. "id": "whiteboards_Yu" + cid + stage + task + tool,
  8277. "style": {
  8278. "width": "90%",
  8279. "height": "90%",
  8280. "overflow": 'hidden'
  8281. },
  8282. "onresize": function () { }
  8283. }, {
  8284. closecallback: function () { }
  8285. }, {
  8286. "style": {
  8287. "height": "36px"
  8288. }
  8289. }).form; //創建窗體
  8290. _taskbar = {
  8291. "id": str + _formdiv.id,
  8292. "style": {
  8293. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8294. },
  8295. "name": "電子白板",
  8296. "forms": _formdiv,
  8297. "click": function () {
  8298. U.MD.D.I.openApplication(str, obj, info);
  8299. }
  8300. }
  8301. break;
  8302. case "mind":
  8303. aTool = 3;
  8304. _iframe = $$("iframe", {
  8305. "frameborder": "no",
  8306. "border": "0",
  8307. "scrolling ": "no",
  8308. "style": {
  8309. "cssText": "border:0;width:100%;height:100%"
  8310. },
  8311. "src": "/kityminder-editor/dist/index.html"
  8312. });
  8313. _box.appendChild(_iframe);
  8314. _box.appendChild(_jie);
  8315. _formdiv = new U.UF.UI.form(
  8316. "思維導圖",
  8317. _box, { //"/jsmind/example/demo.html"
  8318. "id": "minds_Yu" + cid + stage + task + tool,
  8319. "style": {
  8320. "width": "90%",
  8321. "height": "90%",
  8322. "overflow": 'hidden'
  8323. },
  8324. "onresize": function () { }
  8325. }, {
  8326. closecallback: function () { }
  8327. }, {
  8328. "style": {
  8329. "height": "36px"
  8330. }
  8331. }).form; //創建窗體
  8332. _taskbar = {
  8333. "id": str + _formdiv.id,
  8334. "style": {
  8335. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8336. },
  8337. "name": "思維導圖",
  8338. "forms": _formdiv,
  8339. "click": function () {
  8340. U.MD.D.I.openApplication(str, obj, info);
  8341. }
  8342. }
  8343. break;
  8344. case "doc":
  8345. aTool = 6;
  8346. _iframe = $$("iframe", {
  8347. "frameborder": "no",
  8348. "border": "0",
  8349. "scrolling ": "no",
  8350. "style": {
  8351. "cssText": "border:0;width:100%;height:100%"
  8352. },
  8353. "src": "/Office/Word/WordEditArea.htm"
  8354. })
  8355. _box.appendChild(_iframe);
  8356. _box.appendChild(_jie);
  8357. _formdiv = new U.UF.UI.form(
  8358. "協同文檔",
  8359. _box, {
  8360. "id": "docs_Yu" + cid + stage + task + tool,
  8361. "style": {
  8362. "width": "90%",
  8363. "height": "90%",
  8364. "overflow": 'hidden'
  8365. },
  8366. "onresize": function () { }
  8367. }, {
  8368. closecallback: function () { }
  8369. }, {
  8370. "style": {
  8371. "height": "36px"
  8372. }
  8373. }).form; //創建窗體
  8374. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8375. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8376. })
  8377. _taskbar = {
  8378. "id": str + _formdiv.id,
  8379. "style": {
  8380. "backgroundImage": "url(/img/icon/doc.png)"
  8381. },
  8382. "name": "協同文檔",
  8383. "forms": _formdiv,
  8384. "click": function () {
  8385. U.MD.D.I.openApplication(str, obj, info);
  8386. }
  8387. }
  8388. break;
  8389. case "CocoPi":
  8390. aTool = 57;
  8391. _iframe = $$("iframe", {
  8392. "allowpaymentrequest": "allowpaymentrequest",
  8393. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8394. "webkitallowfullscreen": "",
  8395. "mozallowfullscreen": "",
  8396. "frameborder": "no",
  8397. "border": "0",
  8398. "scrolling ": "no",
  8399. "style": {
  8400. "cssText": "border:0;width:100%;height:100%"
  8401. },
  8402. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8403. })
  8404. _box.appendChild(_iframe);
  8405. _box.appendChild(_jie);
  8406. _formdiv = new U.UF.UI.form(
  8407. "CocoPi",
  8408. _box, {
  8409. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8410. "style": {
  8411. "width": "90%",
  8412. "height": "90%",
  8413. "overflow": 'hidden'
  8414. },
  8415. "onresize": function () { }
  8416. }, {
  8417. closecallback: function () { }
  8418. }, {
  8419. "style": {
  8420. "height": "36px"
  8421. }
  8422. }).form; //創建窗體
  8423. _taskbar = {
  8424. "id": str + _formdiv.id,
  8425. "style": {
  8426. "backgroundImage": "url(/img/icon/cocopi.png)"
  8427. },
  8428. "name": "CocoPi",
  8429. "forms": _formdiv,
  8430. "click": function () {
  8431. U.MD.D.I.openApplication(str, obj, info);
  8432. }
  8433. }
  8434. break;
  8435. }
  8436. if (_iframe) {
  8437. if (str == 'doc') {
  8438. _iframe = _formdiv.querySelector('iframe')
  8439. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8440. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8441. })
  8442. if (onloadListener) {
  8443. _iframe.contentDocument.location.reload()
  8444. } else {
  8445. _iframe.contentDocument.location.reload()
  8446. }
  8447. } else if (str == 'mind') {
  8448. _iframe = _formdiv.querySelector('iframe')
  8449. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8450. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8451. })
  8452. if (onloadListener) {
  8453. _iframe.contentDocument.location.reload()
  8454. } else {
  8455. _iframe.contentDocument.location.reload()
  8456. }
  8457. } else if (str == 'whiteboard') {
  8458. _iframe = _formdiv.querySelector('iframe')
  8459. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8460. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8461. })
  8462. // if (onloadListener) {
  8463. // try {
  8464. // _iframe.src += "?cocorobo="+new Date().getTime()
  8465. // _iframe.contentWindow.document.location.reload()
  8466. // } catch (error) {
  8467. // }
  8468. // } else {
  8469. // _iframe.contentDocument.location.reload()
  8470. // }
  8471. } else if (str == 'CocoPi') {
  8472. _iframe = _formdiv.querySelector('iframe')
  8473. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8474. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8475. })
  8476. if (onloadListener) {
  8477. _iframe.contentDocument.location.reload()
  8478. } else {
  8479. _iframe.contentDocument.location.reload()
  8480. }
  8481. } else {
  8482. _iframe.onload = () => { };
  8483. }
  8484. _jie.onclick = async () => {
  8485. let text = ''
  8486. let type = '2'
  8487. if (aTool == 1) {
  8488. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8489. type = '3'
  8490. } else if (aTool == 6) {
  8491. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8492. type = '1'
  8493. } else if (aTool == 3) {
  8494. text = await U.MD.D.I.getEditorContent(_iframe);
  8495. type = '2'
  8496. } else if (aTool == 57) {
  8497. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8498. type = '4'
  8499. }
  8500. _loading.style.display = 'flex'
  8501. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8502. }
  8503. }
  8504. //U.MD.D.I.openClick(str);
  8505. //如果有任務欄信息
  8506. // if (_taskbar) {
  8507. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8508. // }
  8509. }
  8510. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8511. var xmlhttp;
  8512. var Mac, Sn, DeviceId
  8513. if (window.XMLHttpRequest) {
  8514. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8515. xmlhttp = new XMLHttpRequest();
  8516. }
  8517. else {
  8518. // IE6, IE5 瀏覽器執行代碼
  8519. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8520. }
  8521. xmlhttp.onreadystatechange = function () {
  8522. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8523. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8524. // resolve(res.value[0][0].text);
  8525. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8526. }
  8527. }
  8528. }
  8529. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8530. xmlhttp.send();
  8531. }
  8532. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8533. var xmlhttp;
  8534. var Mac, Sn, DeviceId
  8535. if (window.XMLHttpRequest) {
  8536. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8537. xmlhttp = new XMLHttpRequest();
  8538. }
  8539. else {
  8540. // IE6, IE5 瀏覽器執行代碼
  8541. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8542. }
  8543. xmlhttp.onreadystatechange = function () {
  8544. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8545. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8546. // resolve(res.value[0][0].text);
  8547. if (type == '2') {
  8548. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8549. } else if (type == '3') {
  8550. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8551. } else if (type == '4') {
  8552. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8553. }
  8554. } else {
  8555. if (type == '2') {
  8556. iframe.contentWindow.editor.minder.importData('json', '')
  8557. } else if (type == '3') {
  8558. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8559. } else if (type == '4') {
  8560. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8561. }
  8562. }
  8563. }
  8564. }
  8565. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8566. xmlhttp.send();
  8567. }
  8568. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8569. var xmlhttp;
  8570. var Mac, Sn, DeviceId
  8571. if (window.XMLHttpRequest) {
  8572. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8573. xmlhttp = new XMLHttpRequest();
  8574. }
  8575. else {
  8576. // IE6, IE5 瀏覽器執行代碼
  8577. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8578. }
  8579. xmlhttp.onreadystatechange = function () {
  8580. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8581. if (xmlhttp.response) {
  8582. // resolve(res.value[0][0].text);
  8583. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8584. // $(fileInput).val('');
  8585. // });
  8586. span.innerHTML = '上傳成功'
  8587. setTimeout(() => {
  8588. loading.style.display = 'none'
  8589. }, 1000);
  8590. }
  8591. }
  8592. }
  8593. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8594. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8595. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8596. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8597. // 設置請求頭,表示請求體的編碼格式
  8598. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8599. // 設置請求體,使用url-encoded格式的數據
  8600. }
  8601. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8602. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8603. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8604. _userinfo = US.userInfo, //登錄用戶信息
  8605. _userid = US.userInfo.userid //登錄用戶id
  8606. let _iframe;
  8607. let _cid = cid,
  8608. _stage = stage,
  8609. _task = task,
  8610. _tool = tool;
  8611. var _jie = $$("div", {
  8612. "style": {
  8613. "position": "absolute",
  8614. "bottom": "50px",
  8615. "right": "50px",
  8616. "zIndex": "9999",
  8617. "backgroundColor": "#2268bc",
  8618. "color": "#fff",
  8619. "padding": "12px 20px",
  8620. "cursor": "pointer",
  8621. "borderRadius": "4px",
  8622. },
  8623. "innerHTML": "提交作業"
  8624. })
  8625. let aTool = ''
  8626. let _loading = document.createElement('div')
  8627. _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;"
  8628. // _loading.id = "";
  8629. let _lchild = document.createElement('div')
  8630. let _limg = document.createElement('img')
  8631. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8632. _limg.style = "width: 26px;margin-right: 10px;"
  8633. _lchild.appendChild(_limg)
  8634. let _lspan = document.createElement('span')
  8635. _lspan.innerHTML = "上傳中..."
  8636. _lchild.appendChild(_lspan)
  8637. _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%);"
  8638. _loading.appendChild(_lchild)
  8639. var _box = $$('div', {
  8640. "style": {
  8641. "position": "relative",
  8642. "width": "100%",
  8643. "height": "100%",
  8644. },
  8645. })
  8646. _box.appendChild(_loading)
  8647. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8648. switch (str) {
  8649. case "CocoPi":
  8650. aTool = 57;
  8651. _iframe = $$("iframe", {
  8652. "allowpaymentrequest": "allowpaymentrequest",
  8653. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8654. "webkitallowfullscreen": "",
  8655. "mozallowfullscreen": "",
  8656. "frameborder": "no",
  8657. "border": "0",
  8658. "scrolling ": "no",
  8659. "style": {
  8660. "cssText": "border:0;width:100%;height:100%"
  8661. },
  8662. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8663. })
  8664. _box.appendChild(_iframe);
  8665. _box.appendChild(_jie);
  8666. _formdiv = new U.UF.UI.form(
  8667. "CocoPi",
  8668. _box, {
  8669. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8670. "style": {
  8671. "width": "90%",
  8672. "height": "90%",
  8673. "overflow": 'hidden'
  8674. },
  8675. "onresize": function () { }
  8676. }, {
  8677. closecallback: function () { }
  8678. }, {
  8679. "style": {
  8680. "height": "36px"
  8681. }
  8682. }).form; //創建窗體
  8683. _taskbar = {
  8684. "id": str + _formdiv.id,
  8685. "style": {
  8686. "backgroundImage": "url(/img/icon/cocopi.png)"
  8687. },
  8688. "name": "CocoPi",
  8689. "forms": _formdiv,
  8690. "click": function () {
  8691. U.MD.D.I.openApplication(str, obj, info);
  8692. }
  8693. }
  8694. break;
  8695. }
  8696. if (_iframe) {
  8697. if (str == 'CocoPi') {
  8698. _iframe = _formdiv.querySelector('iframe')
  8699. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8700. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8701. })
  8702. if (onloadListener) {
  8703. _iframe.contentDocument.location.reload()
  8704. } else {
  8705. _iframe.contentDocument.location.reload()
  8706. }
  8707. }
  8708. _jie.onclick = async () => {
  8709. let text = ''
  8710. if (aTool == 57) {
  8711. text = _iframe.contentWindow.getLoadXmlStr()
  8712. }
  8713. _loading.style.display = 'flex'
  8714. console.log(_loading);
  8715. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8716. _loading.style.display = 'none'
  8717. let _div = document.createElement('div')
  8718. _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;"
  8719. let _inner = document.createElement('div')
  8720. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8721. _inner.innerHTML = "上傳成功"
  8722. _div.appendChild(_inner)
  8723. _iframe.contentWindow.window.document.body.appendChild(_div)
  8724. _div.onclick = () => {
  8725. _iframe.contentWindow.window.document.body.removeChild(_div)
  8726. }
  8727. setTimeout(() => {
  8728. _iframe.contentWindow.window.document.body.removeChild(_div)
  8729. }, 1000);
  8730. }, [], { "type": "POST", "withCredentials": true });
  8731. }
  8732. }
  8733. }
  8734. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8735. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8736. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8737. _userid = student.userid, //登錄用戶id
  8738. _username = student.student //用戶名字
  8739. let _iframe;
  8740. let _cid = cid,
  8741. _stage = stage,
  8742. _task = task,
  8743. _tool = tool;
  8744. var _jie = $$("div", {
  8745. "style": {
  8746. "position": "absolute",
  8747. "bottom": "50px",
  8748. "right": "50px",
  8749. "zIndex": "9999",
  8750. "backgroundColor": "#2268bc",
  8751. "color": "#fff",
  8752. "padding": "12px 20px",
  8753. "cursor": "pointer",
  8754. "borderRadius": "4px",
  8755. },
  8756. "innerHTML": "提交作業"
  8757. })
  8758. let aTool = ''
  8759. let _loading = document.createElement('div')
  8760. _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;"
  8761. // _loading.id = "";
  8762. let _lchild = document.createElement('div')
  8763. let _limg = document.createElement('img')
  8764. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8765. _limg.style = "width: 26px;margin-right: 10px;"
  8766. _lchild.appendChild(_limg)
  8767. let _lspan = document.createElement('span')
  8768. _lspan.innerHTML = "上傳中..."
  8769. _lchild.appendChild(_lspan)
  8770. _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%);"
  8771. _loading.appendChild(_lchild)
  8772. var _box = $$('div', {
  8773. "style": {
  8774. "position": "relative",
  8775. "width": "100%",
  8776. "height": "100%",
  8777. },
  8778. })
  8779. _box.appendChild(_loading)
  8780. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8781. switch (str) {
  8782. case "CocoPi":
  8783. aTool = 57;
  8784. _iframe = $$("iframe", {
  8785. "allowpaymentrequest": "allowpaymentrequest",
  8786. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8787. "webkitallowfullscreen": "",
  8788. "mozallowfullscreen": "",
  8789. "frameborder": "no",
  8790. "border": "0",
  8791. "scrolling ": "no",
  8792. "style": {
  8793. "cssText": "border:0;width:100%;height:100%"
  8794. },
  8795. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8796. })
  8797. _box.appendChild(_iframe);
  8798. _box.appendChild(_jie);
  8799. _formdiv = new U.UF.UI.form(
  8800. "CocoPi-" + _username,
  8801. _box, {
  8802. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8803. "style": {
  8804. "width": "90%",
  8805. "height": "90%",
  8806. "overflow": 'hidden'
  8807. },
  8808. "onresize": function () { }
  8809. }, {
  8810. closecallback: function () { }
  8811. }, {
  8812. "style": {
  8813. "height": "36px"
  8814. }
  8815. }).form; //創建窗體
  8816. _taskbar = {
  8817. "id": str + _formdiv.id,
  8818. "style": {
  8819. "backgroundImage": "url(/img/icon/cocopi.png)"
  8820. },
  8821. "name": "CocoPi",
  8822. "forms": _formdiv,
  8823. "click": function () {
  8824. U.MD.D.I.openApplication(str, obj, info);
  8825. }
  8826. }
  8827. break;
  8828. }
  8829. if (_iframe) {
  8830. if (str == 'CocoPi') {
  8831. _iframe = _formdiv.querySelector('iframe')
  8832. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8833. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8834. })
  8835. if (onloadListener) {
  8836. _iframe.contentDocument.location.reload()
  8837. } else {
  8838. _iframe.contentDocument.location.reload()
  8839. }
  8840. }
  8841. _jie.onclick = async () => {
  8842. let text = ''
  8843. if (aTool == 57) {
  8844. text = _iframe.contentWindow.getLoadXmlStr()
  8845. }
  8846. _loading.style.display = 'flex'
  8847. console.log(_loading);
  8848. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8849. _loading.style.display = 'none'
  8850. let _div = document.createElement('div')
  8851. _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;"
  8852. let _inner = document.createElement('div')
  8853. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8854. _inner.innerHTML = "上傳成功"
  8855. _div.appendChild(_inner)
  8856. _iframe.contentWindow.window.document.body.appendChild(_div)
  8857. _div.onclick = () => {
  8858. _iframe.contentWindow.window.document.body.removeChild(_div)
  8859. }
  8860. setTimeout(() => {
  8861. _iframe.contentWindow.window.document.body.removeChild(_div)
  8862. }, 1000);
  8863. }, [], { "type": "POST", "withCredentials": true });
  8864. }
  8865. }
  8866. }
  8867. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8868. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8869. if (res.value[0].length > 0) {
  8870. if (atool == 57) {
  8871. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8872. }
  8873. } else {
  8874. if (atool == 57) {
  8875. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8876. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8877. }
  8878. }
  8879. }, [], { "type": "POST", "withCredentials": true });
  8880. }