DeskTop.js 601 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792
  1. /*
  2. 此處為桌面系統啟動應用區域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面應用處理
  5. //判斷圖片是否在拖拽,如果是拖拽圖標的過程是不會打開圖片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教師桌面圖標的全局變量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //極簡模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教師桌面圖標的全局變量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "項目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的項目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "學習資料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "漢字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "國學經典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "筆畫訓練", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "書法課堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "課程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "學生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "學生評價", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班級管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "課程進展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的評價", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //松山湖
  268. U.MD.D.I.SONGteacherDeskIcon = [
  269. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  301. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  305. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  306. ];
  307. U.MD.D.I.tcStudentDeskIcon = [
  308. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  309. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  310. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  311. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  312. ];
  313. U.MD.D.I.tcTeacherDeskIcon = [
  314. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  315. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  316. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  317. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  318. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  319. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  320. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  321. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  322. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  323. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  324. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  325. ];
  326. U.MD.D.I.tcOrganizerDeskIcon = [
  327. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  328. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  329. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  330. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  332. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  333. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  334. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  335. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  338. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  339. ];
  340. U.MD.D.I.szscStudentDeskIcon = [
  341. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  342. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  343. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  344. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  345. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. ];
  347. U.MD.D.I.szscTeacherDeskIcon = [
  348. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  349. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  350. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  352. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  353. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  354. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  355. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  356. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  359. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  360. ];
  361. U.MD.D.I.szscOrganizerDeskIcon = [
  362. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  363. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  364. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  365. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  366. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  367. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  368. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  371. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  372. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  373. ];
  374. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  375. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  376. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  377. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  378. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  379. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  380. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  381. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  382. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  383. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  384. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  385. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  388. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  389. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  390. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  391. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  392. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  393. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  394. ];
  395. U.MD.D.I.wankeAdminDeskIcon = [
  396. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  397. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  398. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  399. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  400. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  401. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  402. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  403. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  404. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  405. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  406. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  407. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  408. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  409. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  410. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  412. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  413. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  416. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  426. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  427. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  428. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  429. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  430. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  431. ];
  432. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  433. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  434. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  435. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  436. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  437. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  438. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  439. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  440. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  441. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  442. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  443. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  444. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  445. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  446. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  447. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  448. ];
  449. //明德教師桌面圖標的全局變量
  450. U.MD.D.I.MingdeTeacherDeskIcon = [
  451. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  452. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  453. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  454. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  455. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  456. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  457. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  458. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  459. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  460. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  461. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  462. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  463. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  464. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  465. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  466. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  467. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  468. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  469. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  470. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  471. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  472. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  473. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  474. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  475. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  476. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  477. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  478. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  479. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  480. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  481. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  482. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  483. ];
  484. //97c4ee8b-d010-4042-986d-e9d3c217264f
  485. //教師桌面圖標的全局變量
  486. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  487. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  488. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  489. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  490. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  491. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  492. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  493. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  494. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  495. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  496. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  497. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  498. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  499. ];
  500. //福田
  501. U.MD.D.I.futianTeacherDeskIcon = [
  502. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  503. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  504. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  505. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  506. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  507. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  508. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  509. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  510. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  511. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  513. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  514. ];
  515. //福田
  516. U.MD.D.I.futianAdminDeskIcon = [
  517. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  518. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  519. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  520. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  521. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  522. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  523. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  524. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  525. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  526. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  527. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  528. ];
  529. //lotech
  530. U.MD.D.I.lotechTeacherDeskIcon = [
  531. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  532. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  533. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  534. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  535. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  536. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  537. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  538. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  539. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  540. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  541. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  542. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  543. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  544. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  545. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  546. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  547. ];
  548. //龍華中心小學教師桌面圖標的全局變量
  549. U.MD.D.I.longhuateacherDeskIcon = [
  550. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  551. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  552. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  553. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  554. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  555. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  556. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  557. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  558. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  559. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  560. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  561. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  562. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  563. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  564. ];
  565. //教科院實小教師桌面圖標的全局變量
  566. U.MD.D.I.siesteacherDeskIcon = [
  567. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  568. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  569. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  570. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  571. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  572. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  573. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  574. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  575. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  576. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  577. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  578. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  582. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  583. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  586. { "Name": "數據融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  587. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  588. { "Name": "評測看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  589. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  590. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  591. { "Name": "教師管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  592. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  593. ];
  594. //教科院實小教師桌面圖標的全局變量
  595. U.MD.D.I.siesStudentDeskIcon = [
  596. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  597. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  598. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  599. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  600. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  601. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  602. ];
  603. //中山小學教師桌面圖標的全局變量
  604. U.MD.D.I.guzmsteacherDeskIcon = [
  605. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  606. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  607. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  608. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  609. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  611. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  612. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  613. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  614. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  615. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  616. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  617. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  618. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  619. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  620. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  621. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  622. ];
  623. //中山小學學生桌面圖標的全局變量
  624. U.MD.D.I.guzmsStudentDeskIcon = [
  625. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  626. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  627. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  628. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  629. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  631. ];
  632. //福田
  633. U.MD.D.I.gdjgTeacherDeskIcon = [
  634. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  635. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  639. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  640. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  641. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  642. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  643. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  644. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  645. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  646. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  647. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  648. ];
  649. //gdjg
  650. U.MD.D.I.gdjgAdminDeskIcon = [
  651. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  652. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  653. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  654. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  655. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  656. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  657. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  658. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  659. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  660. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  661. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  662. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  663. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  664. ];
  665. //hk
  666. U.MD.D.I.hkteacherDeskIcon = [
  667. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  670. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  671. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  672. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  673. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  674. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  675. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  676. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  677. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  678. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  679. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  680. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  681. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  682. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  683. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  684. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  685. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  686. ];
  687. //hk
  688. U.MD.D.I.hkStudentDeskIcon = [
  689. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  690. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  691. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  692. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  694. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  695. ];
  696. //hk
  697. U.MD.D.I.hkaceteacherDeskIcon = [
  698. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  699. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  700. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  701. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  702. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  703. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  704. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  705. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  706. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  707. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  708. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  709. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  710. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  711. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  712. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  713. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  714. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  715. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  716. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  717. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  718. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  719. ];
  720. //hk
  721. U.MD.D.I.hkaceStudentDeskIcon = [
  722. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  723. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  724. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  725. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  726. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  727. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  728. ];
  729. //香海正覺蓮社佛教正覺中學
  730. U.MD.D.I.hkZJLSteacherDeskIcon = [
  731. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  732. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  733. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  734. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  735. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  736. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  737. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  738. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  739. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  740. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  741. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  742. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  743. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  744. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  745. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  746. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  747. ];
  748. //香海正覺蓮社佛教正覺中學
  749. U.MD.D.I.hkZJLSStudentDeskIcon = [
  750. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  751. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  752. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  753. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  754. ];
  755. //雲海
  756. U.MD.D.I.yunhaiTeacherDeskIcon = [
  757. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  758. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  759. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  760. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  761. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  762. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  763. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  764. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  765. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  766. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  767. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  768. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  769. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  770. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  771. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  772. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  773. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  774. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  775. ];
  776. //福田
  777. U.MD.D.I.heyuanTeacherDeskIcon = [
  778. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  779. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  780. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  781. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  782. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  783. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  784. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  785. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  786. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  787. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  788. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  789. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  790. ];
  791. //福田
  792. U.MD.D.I.heyuanAdminDeskIcon = [
  793. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  794. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  795. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  796. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  797. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  798. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  799. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  800. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  801. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  802. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  803. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  804. ];
  805. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  806. U.MD.D.I.szherTeacherDeskIcon = [
  807. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  808. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  809. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  810. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  811. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  812. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  813. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  814. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  816. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  817. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  818. ];
  819. //dsei
  820. U.MD.D.I.dseiTeacherDeskIcon = [
  821. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  822. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  823. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  824. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  825. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  826. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  827. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  828. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  829. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  830. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  831. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  832. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  833. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  834. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  835. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  836. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  837. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  838. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  839. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  840. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  841. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  842. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  843. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  844. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  845. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  846. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  847. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  848. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  849. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  850. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  851. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  852. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  853. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  854. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  855. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  856. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  857. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  858. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  859. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  860. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  861. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  862. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  863. ];
  864. //dsei
  865. U.MD.D.I.dseiAdminDeskIcon = [
  866. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  867. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  868. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  869. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  870. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  871. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  872. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  873. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  874. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  875. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  876. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  877. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  878. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  879. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  880. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  881. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  882. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  883. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  884. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  885. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  886. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  887. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  888. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  889. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  890. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  891. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  892. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  893. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  894. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  895. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  896. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  897. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  898. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  899. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  900. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  901. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  902. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  903. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  905. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  906. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  907. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  908. ];
  909. //dsei
  910. U.MD.D.I.dseiStudentDeskIcon = [
  911. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  912. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  913. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  914. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  915. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  916. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  917. ];
  918. //未來教育基地
  919. U.MD.D.I.szjkyTeacherDeskIcon = [
  920. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  921. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  922. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  923. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  924. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  925. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  926. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  927. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  928. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  929. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  930. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  931. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  932. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  933. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  934. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  935. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  936. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  937. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  938. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  939. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  940. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  941. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  942. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  943. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  944. ];
  945. //未來教育基地
  946. U.MD.D.I.szjkyAdminDeskIcon = [
  947. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  948. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  949. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  950. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  951. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  952. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  953. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  954. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  955. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  956. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  957. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  958. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  959. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  960. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  961. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  962. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  963. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  964. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  965. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  966. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  967. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  968. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  969. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  970. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  971. ];
  972. //未來教育基地
  973. U.MD.D.I.szjkyStudentDeskIcon = [
  974. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  975. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  976. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  977. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  978. ];
  979. //成華教育局
  980. U.MD.D.I.chjyjTeacherDeskIcon = [
  981. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  982. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  983. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  984. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  985. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  986. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  987. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  988. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  989. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  990. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  991. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  992. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  994. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  995. ];
  996. //成華教育局chjyj
  997. U.MD.D.I.chjyjAdminDeskIcon = [
  998. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  999. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1000. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1001. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1002. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1003. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1004. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1005. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1006. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1007. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1008. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1009. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1010. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1012. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1013. ];
  1014. //成華教育局chjyj
  1015. U.MD.D.I.chjyjStudentDeskIcon = [
  1016. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1017. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1018. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1019. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1020. ];
  1021. //tpc
  1022. U.MD.D.I.tpcStudentDeskIcon = [
  1023. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1024. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1025. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1026. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1027. ];
  1028. //tpc
  1029. U.MD.D.I.tpcTeacherDeskIcon = [
  1030. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1031. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1032. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1033. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1034. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1035. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1036. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1037. ];
  1038. //tpc
  1039. U.MD.D.I.tpcAdminDeskIcon = [
  1040. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1041. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1042. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1043. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1044. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1045. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1046. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1047. ];
  1048. //THU-IOE
  1049. U.MD.D.I.thuioeTeacherDeskIcon = [
  1050. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1051. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1052. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1053. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1054. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1055. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1056. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1057. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1058. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1059. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1060. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1061. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1062. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1063. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1064. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1065. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1066. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1067. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1068. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1069. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1070. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1071. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1072. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1073. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1074. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1075. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1076. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1077. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1078. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1079. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1080. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1081. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1082. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1083. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1084. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1085. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1086. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1087. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1088. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1089. ];
  1090. //THU-IOE
  1091. U.MD.D.I.thuioeStudentDeskIcon = [
  1092. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1093. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1094. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1095. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1096. ];
  1097. //jccssyl
  1098. U.MD.D.I.jccssylTeacherDeskIcon = [
  1099. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1100. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1101. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1102. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1103. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1104. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1105. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1106. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1107. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1108. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1109. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1110. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1111. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1112. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1113. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1114. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1115. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1116. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1117. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1118. ];
  1119. //jccssyl
  1120. U.MD.D.I.jccssylStudentDeskIcon = [
  1121. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1122. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1123. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1124. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1125. ];
  1126. //cale
  1127. U.MD.D.I.caleTeacherDeskIcon = [
  1128. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1129. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1130. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1131. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1132. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1133. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1134. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1135. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1136. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1137. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1138. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1139. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1140. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1141. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1142. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1143. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1144. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1145. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1146. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1147. ];
  1148. //cale
  1149. U.MD.D.I.caleStudentDeskIcon = [
  1150. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1151. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1152. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1153. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1154. ];
  1155. //lqwmsgzs
  1156. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1157. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1158. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1159. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1160. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1161. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1162. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1163. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1164. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1165. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1166. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1167. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1168. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1169. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1170. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1171. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1172. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1173. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1174. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1175. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1176. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1177. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1178. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1179. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1180. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1181. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1182. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1183. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1184. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1185. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1186. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1187. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1188. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1189. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1190. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1191. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1192. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1193. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1194. ];
  1195. //lqwmsgzs
  1196. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1197. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1198. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1199. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1200. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1201. ];
  1202. //鹽田區幼兒園
  1203. U.MD.D.I.ytyTeacherDeskIcon = [
  1204. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1205. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1206. { "Name": "課程評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1207. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1208. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1209. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1210. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1211. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1212. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1213. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1214. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1215. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1216. ];
  1217. //鹽田區幼兒園
  1218. U.MD.D.I.ytyStudentDeskIcon = [
  1219. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1220. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1221. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1222. ];
  1223. //scnuai
  1224. U.MD.D.I.scnuaiTeacherDeskIcon = [
  1225. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1226. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1227. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1228. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1229. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1230. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1231. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1232. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1233. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1234. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1235. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1236. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1237. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1238. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1239. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1240. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1241. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1242. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1243. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1244. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1245. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1246. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1247. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1248. ];
  1249. //scnuai
  1250. U.MD.D.I.scnuaiAdminDeskIcon = [
  1251. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1252. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1253. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1254. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1255. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1256. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1257. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1258. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1259. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1260. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1261. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1262. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1263. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1264. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1265. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1266. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1267. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1268. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1269. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1270. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1271. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1272. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1273. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1274. ];
  1275. //scnuai
  1276. U.MD.D.I.scnuaiStudentDeskIcon = [
  1277. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1278. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1279. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1280. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1281. ];
  1282. //cocobiz
  1283. U.MD.D.I.cocobizteacherDeskIcon = [
  1284. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1285. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1286. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1287. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1288. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1289. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1290. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1291. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1292. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1293. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1294. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1295. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1296. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1297. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1298. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1299. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1300. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1301. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1302. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1303. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1304. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1305. ];
  1306. //cocobiz
  1307. U.MD.D.I.cocobizStudentDeskIcon = [
  1308. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1309. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1310. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1311. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1312. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1313. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1314. ];
  1315. //xxzjky
  1316. U.MD.D.I.xxzjkyteacherDeskIcon = [
  1317. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1318. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1319. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1320. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1321. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1322. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1323. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1324. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1325. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1326. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1327. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1328. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1329. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1330. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1331. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1332. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1333. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1334. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1335. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1336. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1337. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1338. ];
  1339. //xxzjky
  1340. U.MD.D.I.xxzjkyStudentDeskIcon = [
  1341. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1342. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1343. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1344. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1345. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1346. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1347. ];
  1348. //nsfx
  1349. U.MD.D.I.nsfxTeacherDeskIcon = [
  1350. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1351. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1352. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1353. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1354. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1355. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1356. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1357. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1358. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1359. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1360. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1361. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1362. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1363. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1364. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1365. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1366. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1367. ];
  1368. //nsfx
  1369. U.MD.D.I.nsfxStudentDeskIcon = [
  1370. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1371. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1372. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1373. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1374. ];
  1375. //stia
  1376. U.MD.D.I.stiaTeacherDeskIcon = [
  1377. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1378. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1379. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1380. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1381. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1382. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1383. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1384. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1385. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1386. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1387. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1388. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1389. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1390. ];
  1391. //stia
  1392. U.MD.D.I.stiaStudentDeskIcon = [
  1393. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1394. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1395. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1396. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1397. ];
  1398. //szdjg
  1399. U.MD.D.I.szdjgTeacherDeskIcon = [
  1400. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1401. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1402. ];
  1403. //szdjg
  1404. U.MD.D.I.szdjgStudentDeskIcon = [
  1405. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1406. // { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1407. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1408. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1409. ];
  1410. //010607
  1411. U.MD.D.I.x010607TeacherDeskIcon = [
  1412. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1413. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1414. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1415. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1416. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1417. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1418. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1419. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1420. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1421. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1422. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1423. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1424. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1425. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1426. // { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1427. ];
  1428. //010607
  1429. U.MD.D.I.x010607StudentDeskIcon = [
  1430. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1431. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1432. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1433. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1434. ];
  1435. //010608
  1436. U.MD.D.I.x010608TeacherDeskIcon = [
  1437. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1438. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1439. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1440. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1441. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1442. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1444. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1445. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1446. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1447. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1448. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1449. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1450. // { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1451. ];
  1452. //010608
  1453. U.MD.D.I.x010608StudentDeskIcon = [
  1454. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1455. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1456. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1457. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1458. ];
  1459. //xhly
  1460. U.MD.D.I.xhlyTeacherDeskIcon = [
  1461. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1462. ];
  1463. //010608
  1464. U.MD.D.I.xhlyStudentDeskIcon = [
  1465. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1466. ];
  1467. //北師大
  1468. U.MD.D.I.BSDNSteacherDeskIcon = [
  1469. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1470. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1471. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1472. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1473. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1474. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1475. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1476. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1477. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1478. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1479. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1480. ];
  1481. //北師大
  1482. U.MD.D.I.BSDNSstudentDeskIcon = [
  1483. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1484. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1485. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1486. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1487. ];
  1488. //#region 桌面初始化a
  1489. /**
  1490. * 初始化桌面的起始函數
  1491. *
  1492. */
  1493. U.MD.D.I.init = function () {
  1494. if ($("#U_MD_D_K")[0]) {
  1495. //初始化桌面圖標
  1496. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1497. // var clickUrl = ':12588/requestIp.php';
  1498. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1499. // U.MD.D.I.Ip = data;
  1500. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1501. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1502. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1503. // })
  1504. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1505. // })
  1506. }
  1507. }
  1508. /**
  1509. * 模式切換
  1510. *
  1511. */
  1512. U.MD.D.I.ModeCheck = function (type) {
  1513. if (US.Config.type == type) {
  1514. return
  1515. }
  1516. US.Config.type = type
  1517. $('.U_PBL_Check .active')[0].className = ''
  1518. if (type == 1) {
  1519. $('.U_PBL_Check div')[0].className = 'active'
  1520. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1521. } else {
  1522. $('.U_PBL_Check div')[1].className = 'active'
  1523. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1524. }
  1525. //初始化桌面圖標
  1526. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1527. if (type == 2) {
  1528. U.MD.D.I.openApplication("project")
  1529. }
  1530. }
  1531. /**
  1532. * 隱藏任務欄
  1533. *
  1534. * @param {element} 桌面元素
  1535. */
  1536. U.MD.D.I.hiddenTaskbar = function (el) {
  1537. //任務欄位置變小
  1538. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1539. //桌面的位置變大
  1540. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1541. }
  1542. /**
  1543. * 隱藏任務欄
  1544. *
  1545. * @param {element} 桌面元素
  1546. */
  1547. U.MD.D.I.hiddenTaskbarout = function (el) {
  1548. //任務欄位置變小
  1549. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1550. //任務欄位置變化
  1551. U.selectEl(el).css({ "bottom": "-60px" });
  1552. //桌面的位置變大
  1553. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1554. }
  1555. }
  1556. /**
  1557. * 初始化打印桌面圖標
  1558. *
  1559. * @param {element} 桌面元素
  1560. */
  1561. U.MD.D.I.initDesktopIcons = function (el, type) {
  1562. var i, //用於循環
  1563. _content, //桌面圖標元素
  1564. _iconcontent, //桌面圖標元素
  1565. _frag = $$("frag"), //定義一個碎片元素
  1566. _type = US.userInfo.type,
  1567. _org = US.userInfo.org,
  1568. _oid = US.userInfo.organizeid,
  1569. _role = US.userInfo.role,
  1570. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1571. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1572. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1573. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1574. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1575. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1576. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1577. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1578. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1579. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1580. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1581. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大.
  1582. _BSDNSstudentDesktopIconInfo = U.MD.D.I.BSDNSstudentDeskIcon, //獲取北師大.
  1583. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1584. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1585. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1586. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1587. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1588. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1589. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1590. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1591. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1592. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1593. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1594. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1595. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1596. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1597. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1598. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1599. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1600. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1601. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1602. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1603. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1604. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1605. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1606. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1607. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1608. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1609. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1610. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1611. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1612. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1613. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1614. _guzmsTeacherDeskIconInfo = U.MD.D.I.guzmsteacherDeskIcon, //guzms
  1615. _guzmsStudentDeskIconInfo = U.MD.D.I.guzmsStudentDeskIcon, //guzms
  1616. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1617. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1618. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1619. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1620. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1621. _cocobizTeacherDeskIconInfo = U.MD.D.I.cocobizteacherDeskIcon, //cocobiz
  1622. _cocobizStudentDeskIconInfo = U.MD.D.I.cocobizStudentDeskIcon, //cocobiz
  1623. _xxzjkyTeacherDeskIconInfo = U.MD.D.I.xxzjkyteacherDeskIcon, //xxzjky
  1624. _xxzjkyStudentDeskIconInfo = U.MD.D.I.xxzjkyStudentDeskIcon, //xxzjky
  1625. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1626. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1627. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1628. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1629. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1630. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1631. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1632. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1633. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1634. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1635. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1636. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1637. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1638. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1639. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 鹽田幼兒園
  1640. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 鹽田幼兒園
  1641. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
  1642. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
  1643. _nsfxStudentDeskIconInfo = U.MD.D.I.nsfxStudentDeskIcon, //nsfx
  1644. _nsfxTeacherDeskIconInfo = U.MD.D.I.nsfxTeacherDeskIcon, //nsfx
  1645. _stiaStudentDeskIconInfo = U.MD.D.I.stiaStudentDeskIcon, //stia
  1646. _stiaTeacherDeskIconInfo = U.MD.D.I.stiaTeacherDeskIcon, //stia
  1647. _szdjgStudentDeskIconInfo = U.MD.D.I.szdjgStudentDeskIcon, //szdjg
  1648. _szdjgTeacherDeskIconInfo = U.MD.D.I.szdjgTeacherDeskIcon, //szdjg
  1649. _x010607StudentDeskIconInfo = U.MD.D.I.x010607StudentDeskIcon, //010607
  1650. _x010607TeacherDeskIconInfo = U.MD.D.I.x010607TeacherDeskIcon, //010607
  1651. _x010608StudentDeskIconInfo = U.MD.D.I.x010608StudentDeskIcon, //010608
  1652. _x010608TeacherDeskIconInfo = U.MD.D.I.x010608TeacherDeskIcon, //010608
  1653. _xhlyStudentDeskIconInfo = U.MD.D.I.xhlyStudentDeskIcon, //xhly
  1654. _xhlyTeacherDeskIconInfo = U.MD.D.I.xhlyTeacherDeskIcon, //xhly
  1655. _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未來教育基地
  1656. _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
  1657. _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
  1658. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
  1659. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5','c7df0bd4-6e75-401a-a137-4e163aa62263','8a352da2-56e1-11ef-b873-005056b86db5','9b46a3c9-7657-11ef-9b30-005056b86db5','857af1c7-c8ee-4b04-85b5-fd182903adb7'];
  1660. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344','884c5665-a453-46f3-b7b6-01d575290aa9','c9a6de59-8b4f-4be1-8565-a08081f649d3','7f280060-665e-4868-b68f-1eec9e1b4a07','f3b243b2-75e2-4b00-8f66-7644946a2a25','16ace517-b5c7-4168-a9bb-a9e0035df840','2fe1a080-4425-4620-b7a0-be2f3750ffd4','a5efd078-20f6-4185-bef9-6d1c688bee70'];
  1661. //清楚桌面圖標
  1662. el.innerHTML = "";
  1663. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1664. _teacherDesktopIconInfo.push(
  1665. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1666. { "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)" } },
  1667. )
  1668. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1669. }
  1670. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == '0fec3a8a-ad04-11ed-b13d-005056b86db5') {
  1671. _teacherDesktopIconInfo.push(
  1672. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1673. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1674. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1675. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1676. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1677. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1678. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1679. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1680. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1681. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1682. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1683. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1684. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1685. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1686. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1687. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1688. )
  1689. }
  1690. if (_oid == '5f6c97eb-4778-11ed-8c78-005056b86db5') {//松坪學校
  1691. _teacherDesktopIconInfo.push(
  1692. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1693. )
  1694. }
  1695. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1696. // _teacherDesktopIconInfo.push(
  1697. // )
  1698. // }
  1699. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1700. _teacherDesktopIconInfo.push(
  1701. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1702. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1703. )
  1704. }
  1705. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1706. _teacherDesktopIconInfo.push(
  1707. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1708. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1709. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1710. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1711. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1712. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1713. )
  1714. _studentDesktopIconInfo.push(
  1715. )
  1716. }
  1717. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1718. _teacherDesktopIconInfo.push(
  1719. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1720. )
  1721. _studentDesktopIconInfo.push(
  1722. )
  1723. }
  1724. //010606 組織
  1725. if (_oid == 'f297fbdc-f0a0-11ee-b534-005056b86db5') {
  1726. _teacherDesktopIconInfo.push(
  1727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1728. )
  1729. _studentDesktopIconInfo.push(
  1730. )
  1731. }
  1732. //麒麟二中 和 民新小學
  1733. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1734. _teacherDesktopIconInfo.push(
  1735. )
  1736. }
  1737. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1738. _teacherDesktopIconInfo.push(
  1739. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1740. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1741. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1742. )
  1743. }
  1744. //北師大附中(010601)
  1745. // if(_oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7"){
  1746. // _teacherDesktopIconInfo.push(
  1747. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1748. // )
  1749. // _studentDesktopIconInfo.push(
  1750. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1751. // )
  1752. // }
  1753. //樂善堂余近卿中學
  1754. if(_oid == "8d074a02-6057-11ef-b873-005056b86db5"){
  1755. _teacherDesktopIconInfo.push(
  1756. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1757. )
  1758. }
  1759. // Education Artificial Intelligence
  1760. if(_org == "0f4359aa-1065-423f-afcc-a70cc21ea9d0"){
  1761. _teacherDesktopIconInfo.push(
  1762. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1763. )
  1764. }
  1765. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1766. _teacherDesktopIconInfo.push(
  1767. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1768. )
  1769. }
  1770. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1771. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1772. _teacherDesktopIconInfo.push(
  1773. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1774. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1775. )
  1776. }
  1777. //麒麟二中
  1778. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1779. _studentDesktopIconInfo.push(
  1780. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1781. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1782. )
  1783. }
  1784. //萬科雙語
  1785. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1786. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1787. if (el.Name == '項目管理') {
  1788. el.Name = 'PBL項目'
  1789. }
  1790. return el
  1791. })
  1792. _studentDesktopIconInfo3.push(
  1793. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1794. )
  1795. }
  1796. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1797. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1798. return el.Name != '魔盒識字' && el.Name != '24點'
  1799. })
  1800. }
  1801. 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) {
  1802. _studentDesktopIconInfo.push(
  1803. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1804. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1805. )
  1806. }
  1807. //循環創建桌面圖標
  1808. if (type == 1) {
  1809. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1810. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1811. _content = $$("div", {
  1812. className: "U_MD_D_KO",
  1813. "onmousedown": U.UF.C.closure(function (obj) {
  1814. //防止拖動圖標即打開了桌面應用
  1815. U.MD.D.click(this, obj);
  1816. }, [_studentDesktopIconInfo[i]]),
  1817. "onclick": U.UF.C.closure(function (obj) {
  1818. //防止拖動圖標即打開了桌面應用
  1819. U.MD.D.click(this, obj);
  1820. }, [_studentDesktopIconInfo[i]])
  1821. }, _frag); //
  1822. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1823. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1824. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1825. }
  1826. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1827. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1828. _content = $$("div", {
  1829. className: "U_MD_D_KO",
  1830. "onmousedown": U.UF.C.closure(function (obj) {
  1831. //防止拖動圖標即打開了桌面應用
  1832. U.MD.D.click(this, obj);
  1833. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1834. "onclick": U.UF.C.closure(function (obj) {
  1835. //防止拖動圖標即打開了桌面應用
  1836. U.MD.D.click(this, obj);
  1837. }, [_hkZJLSStudentDeskIconInfo[i]])
  1838. }, _frag); //
  1839. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1840. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1841. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1842. } //
  1843. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1844. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1845. _content = $$("div", {
  1846. className: "U_MD_D_KO",
  1847. "onmousedown": U.UF.C.closure(function (obj) {
  1848. //防止拖動圖標即打開了桌面應用
  1849. U.MD.D.click(this, obj);
  1850. }, [_ytyStudentDeskIconInfo[i]]),
  1851. "onclick": U.UF.C.closure(function (obj) {
  1852. //防止拖動圖標即打開了桌面應用
  1853. U.MD.D.click(this, obj);
  1854. }, [_ytyStudentDeskIconInfo[i]])
  1855. }, _frag); //
  1856. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1857. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1858. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1859. } //
  1860. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1861. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1862. _content = $$("div", {
  1863. className: "U_MD_D_KO",
  1864. "onmousedown": U.UF.C.closure(function (obj) {
  1865. //防止拖動圖標即打開了桌面應用
  1866. U.MD.D.click(this, obj);
  1867. }, [_jccssylStudentDeskIconInfo[i]]),
  1868. "onclick": U.UF.C.closure(function (obj) {
  1869. //防止拖動圖標即打開了桌面應用
  1870. U.MD.D.click(this, obj);
  1871. }, [_jccssylStudentDeskIconInfo[i]])
  1872. }, _frag); //
  1873. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1874. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1875. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1876. }
  1877. } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
  1878. for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
  1879. _content = $$("div", {
  1880. className: "U_MD_D_KO",
  1881. "onmousedown": U.UF.C.closure(function (obj) {
  1882. //防止拖動圖標即打開了桌面應用
  1883. U.MD.D.click(this, obj);
  1884. }, [_scnuaiStudentDeskIconInfo[i]]),
  1885. "onclick": U.UF.C.closure(function (obj) {
  1886. //防止拖動圖標即打開了桌面應用
  1887. U.MD.D.click(this, obj);
  1888. }, [_scnuaiStudentDeskIconInfo[i]])
  1889. }, _frag); //
  1890. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1891. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
  1892. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
  1893. }
  1894. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1895. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1896. _content = $$("div", {
  1897. className: "U_MD_D_KO",
  1898. "onmousedown": U.UF.C.closure(function (obj) {
  1899. //防止拖動圖標即打開了桌面應用
  1900. U.MD.D.click(this, obj);
  1901. }, [_caleStudentDeskIconInfo[i]]),
  1902. "onclick": U.UF.C.closure(function (obj) {
  1903. //防止拖動圖標即打開了桌面應用
  1904. U.MD.D.click(this, obj);
  1905. }, [_caleStudentDeskIconInfo[i]])
  1906. }, _frag); //
  1907. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1908. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1909. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1910. }
  1911. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1912. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1913. _content = $$("div", {
  1914. className: "U_MD_D_KO",
  1915. "onmousedown": U.UF.C.closure(function (obj) {
  1916. //防止拖動圖標即打開了桌面應用
  1917. U.MD.D.click(this, obj);
  1918. }, [_thuioeStudentDeskIconInfo[i]]),
  1919. "onclick": U.UF.C.closure(function (obj) {
  1920. //防止拖動圖標即打開了桌面應用
  1921. U.MD.D.click(this, obj);
  1922. }, [_thuioeStudentDeskIconInfo[i]])
  1923. }, _frag); //
  1924. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1925. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1926. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1927. }
  1928. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1929. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1930. _content = $$("div", {
  1931. className: "U_MD_D_KO",
  1932. "onmousedown": U.UF.C.closure(function (obj) {
  1933. //防止拖動圖標即打開了桌面應用
  1934. U.MD.D.click(this, obj);
  1935. }, [_tpcStudentDeskIconInfo[i]]),
  1936. "onclick": U.UF.C.closure(function (obj) {
  1937. //防止拖動圖標即打開了桌面應用
  1938. U.MD.D.click(this, obj);
  1939. }, [_tpcStudentDeskIconInfo[i]])
  1940. }, _frag); //
  1941. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1942. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1943. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1944. } //
  1945. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1946. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1947. _content = $$("div", {
  1948. className: "U_MD_D_KO",
  1949. "onmousedown": U.UF.C.closure(function (obj) {
  1950. //防止拖動圖標即打開了桌面應用
  1951. U.MD.D.click(this, obj);
  1952. }, [_chjyjStudentDeskIconInfo[i]]),
  1953. "onclick": U.UF.C.closure(function (obj) {
  1954. //防止拖動圖標即打開了桌面應用
  1955. U.MD.D.click(this, obj);
  1956. }, [_chjyjStudentDeskIconInfo[i]])
  1957. }, _frag); //
  1958. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1959. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1960. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1961. }
  1962. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1963. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1964. _content = $$("div", {
  1965. className: "U_MD_D_KO",
  1966. "onmousedown": U.UF.C.closure(function (obj) {
  1967. //防止拖動圖標即打開了桌面應用
  1968. U.MD.D.click(this, obj);
  1969. }, [_szjkyStudentDeskIconInfo[i]]),
  1970. "onclick": U.UF.C.closure(function (obj) {
  1971. //防止拖動圖標即打開了桌面應用
  1972. U.MD.D.click(this, obj);
  1973. }, [_szjkyStudentDeskIconInfo[i]])
  1974. }, _frag); //
  1975. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1976. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1977. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1978. }
  1979. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1980. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1981. _content = $$("div", {
  1982. className: "U_MD_D_KO",
  1983. "onmousedown": U.UF.C.closure(function (obj) {
  1984. //防止拖動圖標即打開了桌面應用
  1985. U.MD.D.click(this, obj);
  1986. }, [_dseiStudentDeskIconInfo[i]]),
  1987. "onclick": U.UF.C.closure(function (obj) {
  1988. //防止拖動圖標即打開了桌面應用
  1989. U.MD.D.click(this, obj);
  1990. }, [_dseiStudentDeskIconInfo[i]])
  1991. }, _frag); //
  1992. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1993. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1994. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1995. }
  1996. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1997. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  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. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  2004. "onclick": U.UF.C.closure(function (obj) {
  2005. //防止拖動圖標即打開了桌面應用
  2006. U.MD.D.click(this, obj);
  2007. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  2008. }, _frag); //
  2009. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2010. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  2011. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  2012. }
  2013. } else if (_type == 2 && (_oid == "8a352da2-56e1-11ef-b873-005056b86db5")) {
  2014. for (i = 0; i < _nsfxStudentDeskIconInfo.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. }, [_nsfxStudentDeskIconInfo[i]]),
  2021. "onclick": U.UF.C.closure(function (obj) {
  2022. //防止拖動圖標即打開了桌面應用
  2023. U.MD.D.click(this, obj);
  2024. }, [_nsfxStudentDeskIconInfo[i]])
  2025. }, _frag); //
  2026. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2027. $$("div", { className: "U_MD_D_KOS U_Img", "style": _nsfxStudentDeskIconInfo[i].style }, _iconcontent);
  2028. $$("div", { className: "U_MD_D_KOX", "innerHTML": _nsfxStudentDeskIconInfo[i].Name }, _iconcontent);
  2029. }
  2030. } else if (_type == 2 && (_org == "f3b243b2-75e2-4b00-8f66-7644946a2a25")) {
  2031. for (i = 0; i < _stiaStudentDeskIconInfo.length; i++) {
  2032. _content = $$("div", {
  2033. className: "U_MD_D_KO",
  2034. "onmousedown": U.UF.C.closure(function (obj) {
  2035. //防止拖動圖標即打開了桌面應用
  2036. U.MD.D.click(this, obj);
  2037. }, [_stiaStudentDeskIconInfo[i]]),
  2038. "onclick": U.UF.C.closure(function (obj) {
  2039. //防止拖動圖標即打開了桌面應用
  2040. U.MD.D.click(this, obj);
  2041. }, [_stiaStudentDeskIconInfo[i]])
  2042. }, _frag); //
  2043. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2044. $$("div", { className: "U_MD_D_KOS U_Img", "style": _stiaStudentDeskIconInfo[i].style }, _iconcontent);
  2045. $$("div", { className: "U_MD_D_KOX", "innerHTML": _stiaStudentDeskIconInfo[i].Name }, _iconcontent);
  2046. }
  2047. } else if (_type == 2 && (_org == "16ace517-b5c7-4168-a9bb-a9e0035df840")) {
  2048. for (i = 0; i < _szdjgStudentDeskIconInfo.length; i++) {
  2049. _content = $$("div", {
  2050. className: "U_MD_D_KO",
  2051. "onmousedown": U.UF.C.closure(function (obj) {
  2052. //防止拖動圖標即打開了桌面應用
  2053. U.MD.D.click(this, obj);
  2054. }, [_szdjgStudentDeskIconInfo[i]]),
  2055. "onclick": U.UF.C.closure(function (obj) {
  2056. //防止拖動圖標即打開了桌面應用
  2057. U.MD.D.click(this, obj);
  2058. }, [_szdjgStudentDeskIconInfo[i]])
  2059. }, _frag); //
  2060. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2061. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szdjgStudentDeskIconInfo[i].style }, _iconcontent);
  2062. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szdjgStudentDeskIconInfo[i].Name }, _iconcontent);
  2063. }
  2064. } else if (_type == 2 && (_org == "2fe1a080-4425-4620-b7a0-be2f3750ffd4")) {
  2065. for (i = 0; i < _x010607StudentDeskIconInfo.length; i++) {
  2066. _content = $$("div", {
  2067. className: "U_MD_D_KO",
  2068. "onmousedown": U.UF.C.closure(function (obj) {
  2069. //防止拖動圖標即打開了桌面應用
  2070. U.MD.D.click(this, obj);
  2071. }, [_x010607StudentDeskIconInfo[i]]),
  2072. "onclick": U.UF.C.closure(function (obj) {
  2073. //防止拖動圖標即打開了桌面應用
  2074. U.MD.D.click(this, obj);
  2075. }, [_x010607StudentDeskIconInfo[i]])
  2076. }, _frag); //
  2077. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2078. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010607StudentDeskIconInfo[i].style }, _iconcontent);
  2079. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010607StudentDeskIconInfo[i].Name }, _iconcontent);
  2080. }
  2081. } else if (_type == 2 && (_org == "a5efd078-20f6-4185-bef9-6d1c688bee70")) {
  2082. for (i = 0; i < _xhlyStudentDeskIconInfo.length; i++) {
  2083. _content = $$("div", {
  2084. className: "U_MD_D_KO",
  2085. "onmousedown": U.UF.C.closure(function (obj) {
  2086. //防止拖動圖標即打開了桌面應用
  2087. U.MD.D.click(this, obj);
  2088. }, [_xhlyStudentDeskIconInfo[i]]),
  2089. "onclick": U.UF.C.closure(function (obj) {
  2090. //防止拖動圖標即打開了桌面應用
  2091. U.MD.D.click(this, obj);
  2092. }, [_xhlyStudentDeskIconInfo[i]])
  2093. }, _frag); //
  2094. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2095. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xhlyStudentDeskIconInfo[i].style }, _iconcontent);
  2096. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xhlyStudentDeskIconInfo[i].Name }, _iconcontent);
  2097. }
  2098. } else if (_type == 2 && (_oid == "9b46a3c9-7657-11ef-9b30-005056b86db5")) {
  2099. for (i = 0; i < _x010608StudentDeskIconInfo.length; i++) {
  2100. _content = $$("div", {
  2101. className: "U_MD_D_KO",
  2102. "onmousedown": U.UF.C.closure(function (obj) {
  2103. //防止拖動圖標即打開了桌面應用
  2104. U.MD.D.click(this, obj);
  2105. }, [_x010608StudentDeskIconInfo[i]]),
  2106. "onclick": U.UF.C.closure(function (obj) {
  2107. //防止拖動圖標即打開了桌面應用
  2108. U.MD.D.click(this, obj);
  2109. }, [_x010608StudentDeskIconInfo[i]])
  2110. }, _frag); //
  2111. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2112. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010608StudentDeskIconInfo[i].style }, _iconcontent);
  2113. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010608StudentDeskIconInfo[i].Name }, _iconcontent);
  2114. }
  2115. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2116. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  2117. _content = $$("div", {
  2118. className: "U_MD_D_KO",
  2119. "onmousedown": U.UF.C.closure(function (obj) {
  2120. //防止拖動圖標即打開了桌面應用
  2121. U.MD.D.click(this, obj);
  2122. }, [_siesStudentDeskIconInfo[i]]),
  2123. "onclick": U.UF.C.closure(function (obj) {
  2124. //防止拖動圖標即打開了桌面應用
  2125. U.MD.D.click(this, obj);
  2126. }, [_siesStudentDeskIconInfo[i]])
  2127. }, _frag); //
  2128. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2129. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  2130. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  2131. }
  2132. } else if (_type == 2 && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  2133. for (i = 0; i < _guzmsStudentDeskIconInfo.length; i++) {
  2134. _content = $$("div", {
  2135. className: "U_MD_D_KO",
  2136. "onmousedown": U.UF.C.closure(function (obj) {
  2137. //防止拖動圖標即打開了桌面應用
  2138. U.MD.D.click(this, obj);
  2139. }, [_guzmsStudentDeskIconInfo[i]]),
  2140. "onclick": U.UF.C.closure(function (obj) {
  2141. //防止拖動圖標即打開了桌面應用
  2142. U.MD.D.click(this, obj);
  2143. }, [_guzmsStudentDeskIconInfo[i]])
  2144. }, _frag); //
  2145. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2146. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsStudentDeskIconInfo[i].style }, _iconcontent);
  2147. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsStudentDeskIconInfo[i].Name }, _iconcontent);
  2148. }
  2149. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2150. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  2151. _content = $$("div", {
  2152. className: "U_MD_D_KO",
  2153. "onmousedown": U.UF.C.closure(function (obj) {
  2154. //防止拖動圖標即打開了桌面應用
  2155. U.MD.D.click(this, obj);
  2156. }, [_hkStudentDeskIconInfo[i]]),
  2157. "onclick": U.UF.C.closure(function (obj) {
  2158. //防止拖動圖標即打開了桌面應用
  2159. U.MD.D.click(this, obj);
  2160. }, [_hkStudentDeskIconInfo[i]])
  2161. }, _frag); //
  2162. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2163. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  2164. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  2165. }
  2166. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2167. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  2168. _content = $$("div", {
  2169. className: "U_MD_D_KO",
  2170. "onmousedown": U.UF.C.closure(function (obj) {
  2171. //防止拖動圖標即打開了桌面應用
  2172. U.MD.D.click(this, obj);
  2173. }, [_hkaceStudentDeskIconInfo[i]]),
  2174. "onclick": U.UF.C.closure(function (obj) {
  2175. //防止拖動圖標即打開了桌面應用
  2176. U.MD.D.click(this, obj);
  2177. }, [_hkaceStudentDeskIconInfo[i]])
  2178. }, _frag); //
  2179. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2180. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  2181. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  2182. }
  2183. } else if (_type == 2 && (_oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7")) {
  2184. for (i = 0; i < _BSDNSstudentDesktopIconInfo.length; i++) {
  2185. _content = $$("div", {
  2186. className: "U_MD_D_KO",
  2187. "onmousedown": U.UF.C.closure(function (obj) {
  2188. //防止拖動圖標即打開了桌面應用
  2189. U.MD.D.click(this, obj);
  2190. }, [_BSDNSstudentDesktopIconInfo[i]]),
  2191. "onclick": U.UF.C.closure(function (obj) {
  2192. //防止拖動圖標即打開了桌面應用
  2193. U.MD.D.click(this, obj);
  2194. }, [_BSDNSstudentDesktopIconInfo[i]])
  2195. }, _frag); //
  2196. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2197. $$("div", { className: "U_MD_D_KOS U_Img", "style": _BSDNSstudentDesktopIconInfo[i].style }, _iconcontent);
  2198. $$("div", { className: "U_MD_D_KOX", "innerHTML": _BSDNSstudentDesktopIconInfo[i].Name }, _iconcontent);
  2199. }
  2200. } else if (_type == 2 && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  2201. for (i = 0; i < _cocobizStudentDeskIconInfo.length; i++) {
  2202. _content = $$("div", {
  2203. className: "U_MD_D_KO",
  2204. "onmousedown": U.UF.C.closure(function (obj) {
  2205. //防止拖動圖標即打開了桌面應用
  2206. U.MD.D.click(this, obj);
  2207. }, [_cocobizStudentDeskIconInfo[i]]),
  2208. "onclick": U.UF.C.closure(function (obj) {
  2209. //防止拖動圖標即打開了桌面應用
  2210. U.MD.D.click(this, obj);
  2211. }, [_cocobizStudentDeskIconInfo[i]])
  2212. }, _frag); //
  2213. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2214. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizStudentDeskIconInfo[i].style }, _iconcontent);
  2215. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizStudentDeskIconInfo[i].Name }, _iconcontent);
  2216. }
  2217. } else if (_type == 2 && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  2218. for (i = 0; i < _xxzjkyStudentDeskIconInfo.length; i++) {
  2219. _content = $$("div", {
  2220. className: "U_MD_D_KO",
  2221. "onmousedown": U.UF.C.closure(function (obj) {
  2222. //防止拖動圖標即打開了桌面應用
  2223. U.MD.D.click(this, obj);
  2224. }, [_xxzjkyStudentDeskIconInfo[i]]),
  2225. "onclick": U.UF.C.closure(function (obj) {
  2226. //防止拖動圖標即打開了桌面應用
  2227. U.MD.D.click(this, obj);
  2228. }, [_xxzjkyStudentDeskIconInfo[i]])
  2229. }, _frag); //
  2230. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2231. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyStudentDeskIconInfo[i].style }, _iconcontent);
  2232. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  2233. }
  2234. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  2235. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  2236. _content = $$("div", {
  2237. className: "U_MD_D_KO",
  2238. "onmousedown": U.UF.C.closure(function (obj) {
  2239. //防止拖動圖標即打開了桌面應用
  2240. U.MD.D.click(this, obj);
  2241. }, [_studentDesktopIconInfo[i]]),
  2242. "onclick": U.UF.C.closure(function (obj) {
  2243. //防止拖動圖標即打開了桌面應用
  2244. U.MD.D.click(this, obj);
  2245. }, [_studentDesktopIconInfo[i]])
  2246. }, _frag); //
  2247. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2248. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  2249. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  2250. }
  2251. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  2252. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  2253. _content = $$("div", {
  2254. className: "U_MD_D_KO",
  2255. "onmousedown": U.UF.C.closure(function (obj) {
  2256. //防止拖動圖標即打開了桌面應用
  2257. U.MD.D.click(this, obj);
  2258. }, [_tcStudentDeskIconInfo[i]]),
  2259. "onclick": U.UF.C.closure(function (obj) {
  2260. //防止拖動圖標即打開了桌面應用
  2261. U.MD.D.click(this, obj);
  2262. }, [_tcStudentDeskIconInfo[i]])
  2263. }, _frag); //
  2264. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2265. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  2266. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  2267. }
  2268. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  2269. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  2270. _content = $$("div", {
  2271. className: "U_MD_D_KO",
  2272. "onmousedown": U.UF.C.closure(function (obj) {
  2273. //防止拖動圖標即打開了桌面應用
  2274. U.MD.D.click(this, obj);
  2275. }, [_szscStudentDeskIconInfo[i]]),
  2276. "onclick": U.UF.C.closure(function (obj) {
  2277. //防止拖動圖標即打開了桌面應用
  2278. U.MD.D.click(this, obj);
  2279. }, [_szscStudentDeskIconInfo[i]])
  2280. }, _frag); //
  2281. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2282. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  2283. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  2284. }
  2285. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  2286. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  2287. _content = $$("div", {
  2288. className: "U_MD_D_KO",
  2289. "onmousedown": U.UF.C.closure(function (obj) {
  2290. //防止拖動圖標即打開了桌面應用
  2291. U.MD.D.click(this, obj);
  2292. }, [_studentDesktopIconInfo3[i]]),
  2293. "onclick": U.UF.C.closure(function (obj) {
  2294. //防止拖動圖標即打開了桌面應用
  2295. U.MD.D.click(this, obj);
  2296. }, [_studentDesktopIconInfo3[i]])
  2297. }, _frag); //
  2298. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2299. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  2300. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  2301. }
  2302. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  2303. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  2304. _content = $$("div", {
  2305. className: "U_MD_D_KO",
  2306. "onmousedown": U.UF.C.closure(function (obj) {
  2307. //防止拖動圖標即打開了桌面應用
  2308. U.MD.D.click(this, obj);
  2309. }, [_studentDesktopIconInfo2[i]]),
  2310. "onclick": U.UF.C.closure(function (obj) {
  2311. //防止拖動圖標即打開了桌面應用
  2312. U.MD.D.click(this, obj);
  2313. }, [_studentDesktopIconInfo2[i]])
  2314. }, _frag); //
  2315. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2316. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  2317. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  2318. }
  2319. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  2320. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  2321. if(_role === 0 && _wanketeacherDesktopIconInfo[i].Url == 'testTeacher'){
  2322. continue
  2323. }
  2324. _content = $$("div", {
  2325. className: "U_MD_D_KO",
  2326. "onmousedown": U.UF.C.closure(function (obj) {
  2327. //防止拖動圖標即打開了桌面應用
  2328. U.MD.D.click(this, obj);
  2329. }, [_wanketeacherDesktopIconInfo[i]]),
  2330. "onclick": U.UF.C.closure(function (obj) {
  2331. //防止拖動圖標即打開了桌面應用
  2332. U.MD.D.click(this, obj);
  2333. }, [_wanketeacherDesktopIconInfo[i]])
  2334. }, _frag); //
  2335. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2336. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  2337. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  2338. }
  2339. }else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  2340. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  2341. _content = $$("div", {
  2342. className: "U_MD_D_KO",
  2343. "onmousedown": U.UF.C.closure(function (obj) {
  2344. //防止拖動圖標即打開了桌面應用
  2345. U.MD.D.click(this, obj);
  2346. }, [_wankeAdminDesktopIconInfo[i]]),
  2347. "onclick": U.UF.C.closure(function (obj) {
  2348. //防止拖動圖標即打開了桌面應用
  2349. U.MD.D.click(this, obj);
  2350. }, [_wankeAdminDesktopIconInfo[i]])
  2351. }, _frag); //
  2352. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2353. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  2354. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  2355. }
  2356. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
  2357. for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
  2358. if(_role === 0 && _scnuaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2359. continue
  2360. }
  2361. _content = $$("div", {
  2362. className: "U_MD_D_KO",
  2363. "onmousedown": U.UF.C.closure(function (obj) {
  2364. //防止拖動圖標即打開了桌面應用
  2365. U.MD.D.click(this, obj);
  2366. }, [_scnuaiTeacherDeskIconInfo[i]]),
  2367. "onclick": U.UF.C.closure(function (obj) {
  2368. //防止拖動圖標即打開了桌面應用
  2369. U.MD.D.click(this, obj);
  2370. }, [_scnuaiTeacherDeskIconInfo[i]])
  2371. }, _frag); //
  2372. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2373. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2374. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2375. }
  2376. } else if ((_type == 1 || _type == 4) && _oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7") {
  2377. for (i = 0; i < _BSDNSteacherDesktopIconInfo.length; i++) {
  2378. if(_role === 0 && _BSDNSteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2379. continue
  2380. }
  2381. _content = $$("div", {
  2382. className: "U_MD_D_KO",
  2383. "onmousedown": U.UF.C.closure(function (obj) {
  2384. //防止拖動圖標即打開了桌面應用
  2385. U.MD.D.click(this, obj);
  2386. }, [_BSDNSteacherDesktopIconInfo[i]]),
  2387. "onclick": U.UF.C.closure(function (obj) {
  2388. //防止拖動圖標即打開了桌面應用
  2389. U.MD.D.click(this, obj);
  2390. }, [_BSDNSteacherDesktopIconInfo[i]])
  2391. }, _frag); //
  2392. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2393. $$("div", { className: "U_MD_D_KOS U_Img", "style": _BSDNSteacherDesktopIconInfo[i].style }, _iconcontent);
  2394. $$("div", { className: "U_MD_D_KOX", "innerHTML": _BSDNSteacherDesktopIconInfo[i].Name }, _iconcontent);
  2395. }
  2396. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
  2397. for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
  2398. _content = $$("div", {
  2399. className: "U_MD_D_KO",
  2400. "onmousedown": U.UF.C.closure(function (obj) {
  2401. //防止拖動圖標即打開了桌面應用
  2402. U.MD.D.click(this, obj);
  2403. }, [_scnuaiAdminDeskIconInfo[i]]),
  2404. "onclick": U.UF.C.closure(function (obj) {
  2405. //防止拖動圖標即打開了桌面應用
  2406. U.MD.D.click(this, obj);
  2407. }, [_scnuaiAdminDeskIconInfo[i]])
  2408. }, _frag); //
  2409. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2410. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
  2411. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
  2412. }
  2413. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  2414. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  2415. if(_role === 0 && _jccssylTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2416. continue
  2417. }
  2418. _content = $$("div", {
  2419. className: "U_MD_D_KO",
  2420. "onmousedown": U.UF.C.closure(function (obj) {
  2421. //防止拖動圖標即打開了桌面應用
  2422. U.MD.D.click(this, obj);
  2423. }, [_jccssylTeacherDeskIconInfo[i]]),
  2424. "onclick": U.UF.C.closure(function (obj) {
  2425. //防止拖動圖標即打開了桌面應用
  2426. U.MD.D.click(this, obj);
  2427. }, [_jccssylTeacherDeskIconInfo[i]])
  2428. }, _frag); //
  2429. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2430. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  2431. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  2432. }
  2433. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  2434. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  2435. if(_role === 0 && _caleTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2436. continue
  2437. }
  2438. _content = $$("div", {
  2439. className: "U_MD_D_KO",
  2440. "onmousedown": U.UF.C.closure(function (obj) {
  2441. //防止拖動圖標即打開了桌面應用
  2442. U.MD.D.click(this, obj);
  2443. }, [_caleTeacherDeskIconInfo[i]]),
  2444. "onclick": U.UF.C.closure(function (obj) {
  2445. //防止拖動圖標即打開了桌面應用
  2446. U.MD.D.click(this, obj);
  2447. }, [_caleTeacherDeskIconInfo[i]])
  2448. }, _frag); //
  2449. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2450. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  2451. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  2452. }
  2453. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  2454. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  2455. _content = $$("div", {
  2456. className: "U_MD_D_KO",
  2457. "onmousedown": U.UF.C.closure(function (obj) {
  2458. //防止拖動圖標即打開了桌面應用
  2459. U.MD.D.click(this, obj);
  2460. }, [_tpcOrganizerDeskIconInfo[i]]),
  2461. "onclick": U.UF.C.closure(function (obj) {
  2462. //防止拖動圖標即打開了桌面應用
  2463. U.MD.D.click(this, obj);
  2464. }, [_tpcOrganizerDeskIconInfo[i]])
  2465. }, _frag); //
  2466. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2467. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2468. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2469. }
  2470. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  2471. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  2472. if(_role === 0 && _tpcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2473. continue
  2474. }
  2475. _content = $$("div", {
  2476. className: "U_MD_D_KO",
  2477. "onmousedown": U.UF.C.closure(function (obj) {
  2478. //防止拖動圖標即打開了桌面應用
  2479. U.MD.D.click(this, obj);
  2480. }, [_tpcTeacherDeskIconInfo[i]]),
  2481. "onclick": U.UF.C.closure(function (obj) {
  2482. //防止拖動圖標即打開了桌面應用
  2483. U.MD.D.click(this, obj);
  2484. }, [_tpcTeacherDeskIconInfo[i]])
  2485. }, _frag); //
  2486. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2487. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  2488. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2489. }
  2490. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2491. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  2492. if(_role === 0 && _teacherDesktopIconInfo2[i].Url == 'testTeacher'){
  2493. continue
  2494. }
  2495. _content = $$("div", {
  2496. className: "U_MD_D_KO",
  2497. "onmousedown": U.UF.C.closure(function (obj) {
  2498. //防止拖動圖標即打開了桌面應用
  2499. U.MD.D.click(this, obj);
  2500. }, [_teacherDesktopIconInfo2[i]]),
  2501. "onclick": U.UF.C.closure(function (obj) {
  2502. //防止拖動圖標即打開了桌面應用
  2503. U.MD.D.click(this, obj);
  2504. }, [_teacherDesktopIconInfo2[i]])
  2505. }, _frag); //
  2506. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2507. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  2508. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  2509. }
  2510. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2511. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  2512. if(_role === 0 && _thuioeTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2513. continue
  2514. }
  2515. _content = $$("div", {
  2516. className: "U_MD_D_KO",
  2517. "onmousedown": U.UF.C.closure(function (obj) {
  2518. //防止拖動圖標即打開了桌面應用
  2519. U.MD.D.click(this, obj);
  2520. }, [_thuioeTeacherDeskIconInfo[i]]),
  2521. "onclick": U.UF.C.closure(function (obj) {
  2522. //防止拖動圖標即打開了桌面應用
  2523. U.MD.D.click(this, obj);
  2524. }, [_thuioeTeacherDeskIconInfo[i]])
  2525. }, _frag); //
  2526. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2527. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  2528. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  2529. }
  2530. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  2531. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  2532. if(_role === 0 && _lotechTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2533. continue
  2534. }
  2535. _content = $$("div", {
  2536. className: "U_MD_D_KO",
  2537. "onmousedown": U.UF.C.closure(function (obj) {
  2538. //防止拖動圖標即打開了桌面應用
  2539. U.MD.D.click(this, obj);
  2540. }, [_lotechTeacherDeskIconInfo[i]]),
  2541. "onclick": U.UF.C.closure(function (obj) {
  2542. //防止拖動圖標即打開了桌面應用
  2543. U.MD.D.click(this, obj);
  2544. }, [_lotechTeacherDeskIconInfo[i]])
  2545. }, _frag); //
  2546. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2547. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  2548. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  2549. }//
  2550. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2551. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  2552. if(_role === 0 && _lqwmsgzsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2553. continue
  2554. }
  2555. _content = $$("div", {
  2556. className: "U_MD_D_KO",
  2557. "onmousedown": U.UF.C.closure(function (obj) {
  2558. //防止拖動圖標即打開了桌面應用
  2559. U.MD.D.click(this, obj);
  2560. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  2561. "onclick": U.UF.C.closure(function (obj) {
  2562. //防止拖動圖標即打開了桌面應用
  2563. U.MD.D.click(this, obj);
  2564. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  2565. }, _frag); //
  2566. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2567. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  2568. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2569. }
  2570. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2571. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  2572. if(_role === 0 && _siesTeacherDeskIconInfo[i].Url == 'testTeacherSies'){
  2573. continue
  2574. }
  2575. _content = $$("div", {
  2576. className: "U_MD_D_KO",
  2577. "onmousedown": U.UF.C.closure(function (obj) {
  2578. //防止拖動圖標即打開了桌面應用
  2579. U.MD.D.click(this, obj);
  2580. }, [_siesTeacherDeskIconInfo[i]]),
  2581. "onclick": U.UF.C.closure(function (obj) {
  2582. //防止拖動圖標即打開了桌面應用
  2583. U.MD.D.click(this, obj);
  2584. }, [_siesTeacherDeskIconInfo[i]])
  2585. }, _frag); //
  2586. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2587. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  2588. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  2589. }
  2590. } else if ((_type == 1 || _type == 4) && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  2591. for (i = 0; i < _guzmsTeacherDeskIconInfo.length; i++) {
  2592. if(_role === 0 && _guzmsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2593. continue
  2594. }
  2595. _content = $$("div", {
  2596. className: "U_MD_D_KO",
  2597. "onmousedown": U.UF.C.closure(function (obj) {
  2598. //防止拖動圖標即打開了桌面應用
  2599. U.MD.D.click(this, obj);
  2600. }, [_guzmsTeacherDeskIconInfo[i]]),
  2601. "onclick": U.UF.C.closure(function (obj) {
  2602. //防止拖動圖標即打開了桌面應用
  2603. U.MD.D.click(this, obj);
  2604. }, [_guzmsTeacherDeskIconInfo[i]])
  2605. }, _frag); //
  2606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsTeacherDeskIconInfo[i].style }, _iconcontent);
  2608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2609. }
  2610. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  2611. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2612. if(_role === 0 && _longhuaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2613. continue
  2614. }
  2615. _content = $$("div", {
  2616. className: "U_MD_D_KO",
  2617. "onmousedown": U.UF.C.closure(function (obj) {
  2618. //防止拖動圖標即打開了桌面應用
  2619. U.MD.D.click(this, obj);
  2620. }, [_longhuaTeacherDeskIconInfo[i]]),
  2621. "onclick": U.UF.C.closure(function (obj) {
  2622. //防止拖動圖標即打開了桌面應用
  2623. U.MD.D.click(this, obj);
  2624. }, [_longhuaTeacherDeskIconInfo[i]])
  2625. }, _frag); //
  2626. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2627. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2628. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2629. }
  2630. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2631. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2632. if(_role === 0 && _ytyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2633. continue
  2634. }
  2635. _content = $$("div", {
  2636. className: "U_MD_D_KO",
  2637. "onmousedown": U.UF.C.closure(function (obj) {
  2638. //防止拖動圖標即打開了桌面應用
  2639. U.MD.D.click(this, obj);
  2640. }, [_ytyTeacherDeskIconInfo[i]]),
  2641. "onclick": U.UF.C.closure(function (obj) {
  2642. //防止拖動圖標即打開了桌面應用
  2643. U.MD.D.click(this, obj);
  2644. }, [_ytyTeacherDeskIconInfo[i]])
  2645. }, _frag); //
  2646. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2647. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2648. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2649. }
  2650. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2651. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2652. if(_role === 0 && _yunhaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2653. continue
  2654. }
  2655. _content = $$("div", {
  2656. className: "U_MD_D_KO",
  2657. "onmousedown": U.UF.C.closure(function (obj) {
  2658. //防止拖動圖標即打開了桌面應用
  2659. U.MD.D.click(this, obj);
  2660. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2661. "onclick": U.UF.C.closure(function (obj) {
  2662. //防止拖動圖標即打開了桌面應用
  2663. U.MD.D.click(this, obj);
  2664. }, [_yunhaiTeacherDeskIconInfo[i]])
  2665. }, _frag); //
  2666. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2667. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2668. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2669. } //_hkStudentDeskIconInfo
  2670. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2671. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2672. if(_role === 0 && _hkZJLSTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2673. continue
  2674. }
  2675. _content = $$("div", {
  2676. className: "U_MD_D_KO",
  2677. "onmousedown": U.UF.C.closure(function (obj) {
  2678. //防止拖動圖標即打開了桌面應用
  2679. U.MD.D.click(this, obj);
  2680. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2681. "onclick": U.UF.C.closure(function (obj) {
  2682. //防止拖動圖標即打開了桌面應用
  2683. U.MD.D.click(this, obj);
  2684. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2685. }, _frag); //
  2686. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2687. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2688. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2689. }
  2690. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2691. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2692. if(_role === 0 && _hkTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2693. continue
  2694. }
  2695. _content = $$("div", {
  2696. className: "U_MD_D_KO",
  2697. "onmousedown": U.UF.C.closure(function (obj) {
  2698. //防止拖動圖標即打開了桌面應用
  2699. U.MD.D.click(this, obj);
  2700. }, [_hkTeacherDeskIconInfo[i]]),
  2701. "onclick": U.UF.C.closure(function (obj) {
  2702. //防止拖動圖標即打開了桌面應用
  2703. U.MD.D.click(this, obj);
  2704. }, [_hkTeacherDeskIconInfo[i]])
  2705. }, _frag); //
  2706. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2707. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2708. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2709. }
  2710. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2711. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2712. if(_role === 0 && _hkaceTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2713. continue
  2714. }
  2715. _content = $$("div", {
  2716. className: "U_MD_D_KO",
  2717. "onmousedown": U.UF.C.closure(function (obj) {
  2718. //防止拖動圖標即打開了桌面應用
  2719. U.MD.D.click(this, obj);
  2720. }, [_hkaceTeacherDeskIconInfo[i]]),
  2721. "onclick": U.UF.C.closure(function (obj) {
  2722. //防止拖動圖標即打開了桌面應用
  2723. U.MD.D.click(this, obj);
  2724. }, [_hkaceTeacherDeskIconInfo[i]])
  2725. }, _frag); //
  2726. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2727. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2728. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2729. }
  2730. } else if ((_type == 1 || _type == 4) && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  2731. for (i = 0; i < _cocobizTeacherDeskIconInfo.length; i++) {
  2732. if(_role === 0 && _cocobizTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2733. continue
  2734. }
  2735. _content = $$("div", {
  2736. className: "U_MD_D_KO",
  2737. "onmousedown": U.UF.C.closure(function (obj) {
  2738. //防止拖動圖標即打開了桌面應用
  2739. U.MD.D.click(this, obj);
  2740. }, [_cocobizTeacherDeskIconInfo[i]]),
  2741. "onclick": U.UF.C.closure(function (obj) {
  2742. //防止拖動圖標即打開了桌面應用
  2743. U.MD.D.click(this, obj);
  2744. }, [_cocobizTeacherDeskIconInfo[i]])
  2745. }, _frag); //
  2746. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2747. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizTeacherDeskIconInfo[i].style }, _iconcontent);
  2748. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizTeacherDeskIconInfo[i].Name }, _iconcontent);
  2749. }
  2750. } else if ((_type == 1 || _type == 4) && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  2751. for (i = 0; i < _xxzjkyTeacherDeskIconInfo.length; i++) {
  2752. if(_role === 0 && _xxzjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2753. continue
  2754. }
  2755. _content = $$("div", {
  2756. className: "U_MD_D_KO",
  2757. "onmousedown": U.UF.C.closure(function (obj) {
  2758. //防止拖動圖標即打開了桌面應用
  2759. U.MD.D.click(this, obj);
  2760. }, [_xxzjkyTeacherDeskIconInfo[i]]),
  2761. "onclick": U.UF.C.closure(function (obj) {
  2762. //防止拖動圖標即打開了桌面應用
  2763. U.MD.D.click(this, obj);
  2764. }, [_xxzjkyTeacherDeskIconInfo[i]])
  2765. }, _frag); //
  2766. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2767. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2768. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2769. }
  2770. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2771. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2772. _content = $$("div", {
  2773. className: "U_MD_D_KO",
  2774. "onmousedown": U.UF.C.closure(function (obj) {
  2775. //防止拖動圖標即打開了桌面應用
  2776. U.MD.D.click(this, obj);
  2777. }, [_gdjgAdminDeskIconInfo[i]]),
  2778. "onclick": U.UF.C.closure(function (obj) {
  2779. //防止拖動圖標即打開了桌面應用
  2780. U.MD.D.click(this, obj);
  2781. }, [_gdjgAdminDeskIconInfo[i]])
  2782. }, _frag); //
  2783. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2784. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2785. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2786. }
  2787. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2788. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2789. if(_role === 0 && _gdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2790. continue
  2791. }
  2792. _content = $$("div", {
  2793. className: "U_MD_D_KO",
  2794. "onmousedown": U.UF.C.closure(function (obj) {
  2795. //防止拖動圖標即打開了桌面應用
  2796. U.MD.D.click(this, obj);
  2797. }, [_gdjgTeacherDeskIconInfo[i]]),
  2798. "onclick": U.UF.C.closure(function (obj) {
  2799. //防止拖動圖標即打開了桌面應用
  2800. U.MD.D.click(this, obj);
  2801. }, [_gdjgTeacherDeskIconInfo[i]])
  2802. }, _frag); //
  2803. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2804. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2805. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2806. }
  2807. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2808. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2809. if(_role === 0 && _szherTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2810. continue
  2811. }
  2812. _content = $$("div", {
  2813. className: "U_MD_D_KO",
  2814. "onmousedown": U.UF.C.closure(function (obj) {
  2815. //防止拖動圖標即打開了桌面應用
  2816. U.MD.D.click(this, obj);
  2817. }, [_szherTeacherDeskIconInfo[i]]),
  2818. "onclick": U.UF.C.closure(function (obj) {
  2819. //防止拖動圖標即打開了桌面應用
  2820. U.MD.D.click(this, obj);
  2821. }, [_szherTeacherDeskIconInfo[i]])
  2822. }, _frag); //
  2823. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2824. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2825. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2826. }
  2827. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2828. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2829. _content = $$("div", {
  2830. className: "U_MD_D_KO",
  2831. "onmousedown": U.UF.C.closure(function (obj) {
  2832. //防止拖動圖標即打開了桌面應用
  2833. U.MD.D.click(this, obj);
  2834. }, [_heyuannAdminDeskIconInfo[i]]),
  2835. "onclick": U.UF.C.closure(function (obj) {
  2836. //防止拖動圖標即打開了桌面應用
  2837. U.MD.D.click(this, obj);
  2838. }, [_heyuannAdminDeskIconInfo[i]])
  2839. }, _frag); //
  2840. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2841. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2842. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2843. }
  2844. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2845. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2846. if(_role === 0 && _heyuanTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2847. continue
  2848. }
  2849. _content = $$("div", {
  2850. className: "U_MD_D_KO",
  2851. "onmousedown": U.UF.C.closure(function (obj) {
  2852. //防止拖動圖標即打開了桌面應用
  2853. U.MD.D.click(this, obj);
  2854. }, [_heyuanTeacherDeskIconInfo[i]]),
  2855. "onclick": U.UF.C.closure(function (obj) {
  2856. //防止拖動圖標即打開了桌面應用
  2857. U.MD.D.click(this, obj);
  2858. }, [_heyuanTeacherDeskIconInfo[i]])
  2859. }, _frag); //
  2860. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2861. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2862. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2863. } //
  2864. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2865. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2866. _content = $$("div", {
  2867. className: "U_MD_D_KO",
  2868. "onmousedown": U.UF.C.closure(function (obj) {
  2869. //防止拖動圖標即打開了桌面應用
  2870. U.MD.D.click(this, obj);
  2871. }, [_dseiAdminDeskIconInfo[i]]),
  2872. "onclick": U.UF.C.closure(function (obj) {
  2873. //防止拖動圖標即打開了桌面應用
  2874. U.MD.D.click(this, obj);
  2875. }, [_dseiAdminDeskIconInfo[i]])
  2876. }, _frag); //
  2877. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2878. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2879. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2880. }
  2881. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2882. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2883. if(_role === 0 && _dseiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2884. continue
  2885. }
  2886. _content = $$("div", {
  2887. className: "U_MD_D_KO",
  2888. "onmousedown": U.UF.C.closure(function (obj) {
  2889. //防止拖動圖標即打開了桌面應用
  2890. U.MD.D.click(this, obj);
  2891. }, [_dseiTeacherDeskIconInfo[i]]),
  2892. "onclick": U.UF.C.closure(function (obj) {
  2893. //防止拖動圖標即打開了桌面應用
  2894. U.MD.D.click(this, obj);
  2895. }, [_dseiTeacherDeskIconInfo[i]])
  2896. }, _frag); //
  2897. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2898. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2899. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2900. } //
  2901. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2902. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2903. _content = $$("div", {
  2904. className: "U_MD_D_KO",
  2905. "onmousedown": U.UF.C.closure(function (obj) {
  2906. //防止拖動圖標即打開了桌面應用
  2907. U.MD.D.click(this, obj);
  2908. }, [_chjyjAdminDeskIconInfo[i]]),
  2909. "onclick": U.UF.C.closure(function (obj) {
  2910. //防止拖動圖標即打開了桌面應用
  2911. U.MD.D.click(this, obj);
  2912. }, [_chjyjAdminDeskIconInfo[i]])
  2913. }, _frag); //
  2914. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2915. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2916. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2917. }//
  2918. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2919. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2920. if(_role === 0 && _chjyjTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2921. continue
  2922. }
  2923. _content = $$("div", {
  2924. className: "U_MD_D_KO",
  2925. "onmousedown": U.UF.C.closure(function (obj) {
  2926. //防止拖動圖標即打開了桌面應用
  2927. U.MD.D.click(this, obj);
  2928. }, [_chjyjTeacherDeskIconInfo[i]]),
  2929. "onclick": U.UF.C.closure(function (obj) {
  2930. //防止拖動圖標即打開了桌面應用
  2931. U.MD.D.click(this, obj);
  2932. }, [_chjyjTeacherDeskIconInfo[i]])
  2933. }, _frag); //
  2934. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2935. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2936. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2937. }
  2938. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2939. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2940. _content = $$("div", {
  2941. className: "U_MD_D_KO",
  2942. "onmousedown": U.UF.C.closure(function (obj) {
  2943. //防止拖動圖標即打開了桌面應用
  2944. U.MD.D.click(this, obj);
  2945. }, [_szjkyAdminDeskIconInfo[i]]),
  2946. "onclick": U.UF.C.closure(function (obj) {
  2947. //防止拖動圖標即打開了桌面應用
  2948. U.MD.D.click(this, obj);
  2949. }, [_szjkyAdminDeskIconInfo[i]])
  2950. }, _frag); //
  2951. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2952. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2953. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2954. }//
  2955. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2956. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2957. if(_role === 0 && _szjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2958. continue
  2959. }
  2960. _content = $$("div", {
  2961. className: "U_MD_D_KO",
  2962. "onmousedown": U.UF.C.closure(function (obj) {
  2963. //防止拖動圖標即打開了桌面應用
  2964. U.MD.D.click(this, obj);
  2965. }, [_szjkyTeacherDeskIconInfo[i]]),
  2966. "onclick": U.UF.C.closure(function (obj) {
  2967. //防止拖動圖標即打開了桌面應用
  2968. U.MD.D.click(this, obj);
  2969. }, [_szjkyTeacherDeskIconInfo[i]])
  2970. }, _frag); //
  2971. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2972. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2973. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2974. }
  2975. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2976. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2977. _content = $$("div", {
  2978. className: "U_MD_D_KO",
  2979. "onmousedown": U.UF.C.closure(function (obj) {
  2980. //防止拖動圖標即打開了桌面應用
  2981. U.MD.D.click(this, obj);
  2982. }, [_futianAdminDeskIconInfo[i]]),
  2983. "onclick": U.UF.C.closure(function (obj) {
  2984. //防止拖動圖標即打開了桌面應用
  2985. U.MD.D.click(this, obj);
  2986. }, [_futianAdminDeskIconInfo[i]])
  2987. }, _frag); //
  2988. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2989. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2990. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2991. }
  2992. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2993. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2994. if(_role === 0 && _futianTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2995. continue
  2996. }
  2997. _content = $$("div", {
  2998. className: "U_MD_D_KO",
  2999. "onmousedown": U.UF.C.closure(function (obj) {
  3000. //防止拖動圖標即打開了桌面應用
  3001. U.MD.D.click(this, obj);
  3002. }, [_futianTeacherDeskIconInfo[i]]),
  3003. "onclick": U.UF.C.closure(function (obj) {
  3004. //防止拖動圖標即打開了桌面應用
  3005. U.MD.D.click(this, obj);
  3006. }, [_futianTeacherDeskIconInfo[i]])
  3007. }, _frag); //
  3008. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3009. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  3010. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  3011. }
  3012. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  3013. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  3014. if(_role === 0 && _MingdeTeacherDeskIcon[i].Url == 'testTeacher'){
  3015. continue
  3016. }
  3017. _content = $$("div", {
  3018. className: "U_MD_D_KO",
  3019. "onmousedown": U.UF.C.closure(function (obj) {
  3020. //防止拖動圖標即打開了桌面應用
  3021. U.MD.D.click(this, obj);
  3022. }, [_MingdeTeacherDeskIcon[i]]),
  3023. "onclick": U.UF.C.closure(function (obj) {
  3024. //防止拖動圖標即打開了桌面應用
  3025. U.MD.D.click(this, obj);
  3026. }, [_MingdeTeacherDeskIcon[i]])
  3027. }, _frag); //
  3028. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3029. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  3030. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  3031. }
  3032. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  3033. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  3034. _content = $$("div", {
  3035. className: "U_MD_D_KO",
  3036. "onmousedown": U.UF.C.closure(function (obj) {
  3037. //防止拖動圖標即打開了桌面應用
  3038. U.MD.D.click(this, obj);
  3039. }, [_lhsAdminDesktopIconInfo[i]]),
  3040. "onclick": U.UF.C.closure(function (obj) {
  3041. //防止拖動圖標即打開了桌面應用
  3042. U.MD.D.click(this, obj);
  3043. }, [_lhsAdminDesktopIconInfo[i]])
  3044. }, _frag); //
  3045. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3046. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  3047. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  3048. }
  3049. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  3050. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  3051. if(_role === 0 && _lhsteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3052. continue
  3053. }
  3054. _content = $$("div", {
  3055. className: "U_MD_D_KO",
  3056. "onmousedown": U.UF.C.closure(function (obj) {
  3057. //防止拖動圖標即打開了桌面應用
  3058. U.MD.D.click(this, obj);
  3059. }, [_lhsteacherDesktopIconInfo[i]]),
  3060. "onclick": U.UF.C.closure(function (obj) {
  3061. //防止拖動圖標即打開了桌面應用
  3062. U.MD.D.click(this, obj);
  3063. }, [_lhsteacherDesktopIconInfo[i]])
  3064. }, _frag); //
  3065. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3066. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  3067. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  3068. }
  3069. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  3070. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  3071. if(_role === 0 && _zhoujiateacherDesktopIconInfo[i].Url == 'testTeacher'){
  3072. continue
  3073. }
  3074. _content = $$("div", {
  3075. className: "U_MD_D_KO",
  3076. "onmousedown": U.UF.C.closure(function (obj) {
  3077. //防止拖動圖標即打開了桌面應用
  3078. U.MD.D.click(this, obj);
  3079. }, [_zhoujiateacherDesktopIconInfo[i]]),
  3080. "onclick": U.UF.C.closure(function (obj) {
  3081. //防止拖動圖標即打開了桌面應用
  3082. U.MD.D.click(this, obj);
  3083. }, [_zhoujiateacherDesktopIconInfo[i]])
  3084. }, _frag); //
  3085. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3086. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  3087. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  3088. }
  3089. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  3090. for (i = 0; i < _hanDeskIcon.length; i++) {
  3091. if(_role === 0 && _hanDeskIcon[i].Url == 'testTeacher'){
  3092. continue
  3093. }
  3094. _content = $$("div", {
  3095. className: "U_MD_D_KO",
  3096. "onmousedown": U.UF.C.closure(function (obj) {
  3097. //防止拖動圖標即打開了桌面應用
  3098. U.MD.D.click(this, obj);
  3099. }, [_hanDeskIcon[i]]),
  3100. "onclick": U.UF.C.closure(function (obj) {
  3101. //防止拖動圖標即打開了桌面應用
  3102. U.MD.D.click(this, obj);
  3103. }, [_hanDeskIcon[i]])
  3104. }, _frag); //
  3105. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3106. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  3107. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  3108. }
  3109. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  3110. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  3111. if(_role === 0 && _orgStemDeskIcon[i].Url == 'testTeacher'){
  3112. continue
  3113. }
  3114. _content = $$("div", {
  3115. className: "U_MD_D_KO",
  3116. "onmousedown": U.UF.C.closure(function (obj) {
  3117. //防止拖動圖標即打開了桌面應用
  3118. U.MD.D.click(this, obj);
  3119. }, [_orgStemDeskIcon[i]]),
  3120. "onclick": U.UF.C.closure(function (obj) {
  3121. //防止拖動圖標即打開了桌面應用
  3122. U.MD.D.click(this, obj);
  3123. }, [_orgStemDeskIcon[i]])
  3124. }, _frag); //
  3125. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3126. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  3127. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  3128. }
  3129. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  3130. for (i = 0; i < _szulsDeskIcon.length; i++) {
  3131. if(_role === 0 && _szulsDeskIcon[i].Url == 'testTeacher'){
  3132. continue
  3133. }
  3134. _content = $$("div", {
  3135. className: "U_MD_D_KO",
  3136. "onmousedown": U.UF.C.closure(function (obj) {
  3137. //防止拖動圖標即打開了桌面應用
  3138. U.MD.D.click(this, obj);
  3139. }, [_szulsDeskIcon[i]]),
  3140. "onclick": U.UF.C.closure(function (obj) {
  3141. //防止拖動圖標即打開了桌面應用
  3142. U.MD.D.click(this, obj);
  3143. }, [_szulsDeskIcon[i]])
  3144. }, _frag); //
  3145. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3146. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  3147. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  3148. }
  3149. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  3150. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  3151. if(_role === 0 && _orgDesktopIconInfo[i].Url == 'testTeacher'){
  3152. continue
  3153. }
  3154. _content = $$("div", {
  3155. className: "U_MD_D_KO",
  3156. "onmousedown": U.UF.C.closure(function (obj) {
  3157. //防止拖動圖標即打開了桌面應用
  3158. U.MD.D.click(this, obj);
  3159. }, [_orgDesktopIconInfo[i]]),
  3160. "onclick": U.UF.C.closure(function (obj) {
  3161. //防止拖動圖標即打開了桌面應用
  3162. U.MD.D.click(this, obj);
  3163. }, [_orgDesktopIconInfo[i]])
  3164. }, _frag); //
  3165. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3166. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  3167. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  3168. }
  3169. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3170. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  3171. if(_role === 0 && _schoolDesktopIconInfo[i].Url == 'testTeacher'){
  3172. continue
  3173. }
  3174. _content = $$("div", {
  3175. className: "U_MD_D_KO",
  3176. "onmousedown": U.UF.C.closure(function (obj) {
  3177. //防止拖動圖標即打開了桌面應用
  3178. U.MD.D.click(this, obj);
  3179. }, [_schoolDesktopIconInfo[i]]),
  3180. "onclick": U.UF.C.closure(function (obj) {
  3181. //防止拖動圖標即打開了桌面應用
  3182. U.MD.D.click(this, obj);
  3183. }, [_schoolDesktopIconInfo[i]])
  3184. }, _frag); //
  3185. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3186. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  3187. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  3188. }
  3189. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  3190. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  3191. if(_role === 0 && _GMteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3192. continue
  3193. }
  3194. _content = $$("div", {
  3195. className: "U_MD_D_KO",
  3196. "onmousedown": U.UF.C.closure(function (obj) {
  3197. //防止拖動圖標即打開了桌面應用
  3198. U.MD.D.click(this, obj);
  3199. }, [_GMteacherDesktopIconInfo[i]]),
  3200. "onclick": U.UF.C.closure(function (obj) {
  3201. //防止拖動圖標即打開了桌面應用
  3202. U.MD.D.click(this, obj);
  3203. }, [_GMteacherDesktopIconInfo[i]])
  3204. }, _frag); //
  3205. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3206. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  3207. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  3208. }
  3209. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  3210. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  3211. if(_role === 0 && _SONGteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3212. continue
  3213. }
  3214. _content = $$("div", {
  3215. className: "U_MD_D_KO",
  3216. "onmousedown": U.UF.C.closure(function (obj) {
  3217. //防止拖動圖標即打開了桌面應用
  3218. U.MD.D.click(this, obj);
  3219. }, [_SONGteacherDesktopIconInfo[i]]),
  3220. "onclick": U.UF.C.closure(function (obj) {
  3221. //防止拖動圖標即打開了桌面應用
  3222. U.MD.D.click(this, obj);
  3223. }, [_SONGteacherDesktopIconInfo[i]])
  3224. }, _frag); //
  3225. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3226. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  3227. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  3228. }
  3229. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  3230. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  3231. _content = $$("div", {
  3232. className: "U_MD_D_KO",
  3233. "onmousedown": U.UF.C.closure(function (obj) {
  3234. //防止拖動圖標即打開了桌面應用
  3235. U.MD.D.click(this, obj);
  3236. }, [_GMstudentDesktopIconInfo[i]]),
  3237. "onclick": U.UF.C.closure(function (obj) {
  3238. //防止拖動圖標即打開了桌面應用
  3239. U.MD.D.click(this, obj);
  3240. }, [_GMstudentDesktopIconInfo[i]])
  3241. }, _frag); //
  3242. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3243. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  3244. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  3245. }
  3246. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  3247. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  3248. if(_role === 0 && _tcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3249. continue
  3250. }
  3251. _content = $$("div", {
  3252. className: "U_MD_D_KO",
  3253. "onmousedown": U.UF.C.closure(function (obj) {
  3254. //防止拖動圖標即打開了桌面應用
  3255. U.MD.D.click(this, obj);
  3256. }, [_tcTeacherDeskIconInfo[i]]),
  3257. "onclick": U.UF.C.closure(function (obj) {
  3258. //防止拖動圖標即打開了桌面應用
  3259. U.MD.D.click(this, obj);
  3260. }, [_tcTeacherDeskIconInfo[i]])
  3261. }, _frag); //
  3262. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3263. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  3264. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  3265. }
  3266. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  3267. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  3268. if(_role === 0 && _tcOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  3269. continue
  3270. }
  3271. _content = $$("div", {
  3272. className: "U_MD_D_KO",
  3273. "onmousedown": U.UF.C.closure(function (obj) {
  3274. //防止拖動圖標即打開了桌面應用
  3275. U.MD.D.click(this, obj);
  3276. }, [_tcOrganizerDeskIconInfo[i]]),
  3277. "onclick": U.UF.C.closure(function (obj) {
  3278. //防止拖動圖標即打開了桌面應用
  3279. U.MD.D.click(this, obj);
  3280. }, [_tcOrganizerDeskIconInfo[i]])
  3281. }, _frag); //
  3282. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3283. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  3284. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3285. }
  3286. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  3287. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  3288. if(_role === 0 && _szscTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3289. continue
  3290. }
  3291. _content = $$("div", {
  3292. className: "U_MD_D_KO",
  3293. "onmousedown": U.UF.C.closure(function (obj) {
  3294. //防止拖動圖標即打開了桌面應用
  3295. U.MD.D.click(this, obj);
  3296. }, [_szscTeacherDeskIconInfo[i]]),
  3297. "onclick": U.UF.C.closure(function (obj) {
  3298. //防止拖動圖標即打開了桌面應用
  3299. U.MD.D.click(this, obj);
  3300. }, [_szscTeacherDeskIconInfo[i]])
  3301. }, _frag); //
  3302. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3303. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  3304. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  3305. }
  3306. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  3307. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  3308. if(_role === 0 && _szscOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  3309. continue
  3310. }
  3311. _content = $$("div", {
  3312. className: "U_MD_D_KO",
  3313. "onmousedown": U.UF.C.closure(function (obj) {
  3314. //防止拖動圖標即打開了桌面應用
  3315. U.MD.D.click(this, obj);
  3316. }, [_szscOrganizerDeskIconInfo[i]]),
  3317. "onclick": U.UF.C.closure(function (obj) {
  3318. //防止拖動圖標即打開了桌面應用
  3319. U.MD.D.click(this, obj);
  3320. }, [_szscOrganizerDeskIconInfo[i]])
  3321. }, _frag); //
  3322. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3323. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  3324. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3325. }
  3326. } else if ((_type == 1 || _type == 4) && _oid == "8a352da2-56e1-11ef-b873-005056b86db5") {
  3327. for (i = 0; i < _nsfxTeacherDeskIconInfo.length; i++) {
  3328. if(_role === 0 && _nsfxTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3329. continue
  3330. }
  3331. _content = $$("div", {
  3332. className: "U_MD_D_KO",
  3333. "onmousedown": U.UF.C.closure(function (obj) {
  3334. //防止拖動圖標即打開了桌面應用
  3335. U.MD.D.click(this, obj);
  3336. }, [_nsfxTeacherDeskIconInfo[i]]),
  3337. "onclick": U.UF.C.closure(function (obj) {
  3338. //防止拖動圖標即打開了桌面應用
  3339. U.MD.D.click(this, obj);
  3340. }, [_nsfxTeacherDeskIconInfo[i]])
  3341. }, _frag); //
  3342. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3343. $$("div", { className: "U_MD_D_KOS U_Img", "style": _nsfxTeacherDeskIconInfo[i].style }, _iconcontent);
  3344. $$("div", { className: "U_MD_D_KOX", "innerHTML": _nsfxTeacherDeskIconInfo[i].Name }, _iconcontent);
  3345. }
  3346. } else if ((_type == 1 || _type == 4) && _org == "f3b243b2-75e2-4b00-8f66-7644946a2a25") {
  3347. for (i = 0; i < _stiaTeacherDeskIconInfo.length; i++) {
  3348. if(_role === 0 && _stiaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3349. continue
  3350. }
  3351. _content = $$("div", {
  3352. className: "U_MD_D_KO",
  3353. "onmousedown": U.UF.C.closure(function (obj) {
  3354. //防止拖動圖標即打開了桌面應用
  3355. U.MD.D.click(this, obj);
  3356. }, [_stiaTeacherDeskIconInfo[i]]),
  3357. "onclick": U.UF.C.closure(function (obj) {
  3358. //防止拖動圖標即打開了桌面應用
  3359. U.MD.D.click(this, obj);
  3360. }, [_stiaTeacherDeskIconInfo[i]])
  3361. }, _frag); //
  3362. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3363. $$("div", { className: "U_MD_D_KOS U_Img", "style": _stiaTeacherDeskIconInfo[i].style }, _iconcontent);
  3364. $$("div", { className: "U_MD_D_KOX", "innerHTML": _stiaTeacherDeskIconInfo[i].Name }, _iconcontent);
  3365. }
  3366. } else if ((_type == 1 || _type == 4) && _org == "16ace517-b5c7-4168-a9bb-a9e0035df840") {
  3367. for (i = 0; i < _szdjgTeacherDeskIconInfo.length; i++) {
  3368. if(_role === 0 && _szdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3369. continue
  3370. }
  3371. _content = $$("div", {
  3372. className: "U_MD_D_KO",
  3373. "onmousedown": U.UF.C.closure(function (obj) {
  3374. //防止拖動圖標即打開了桌面應用
  3375. U.MD.D.click(this, obj);
  3376. }, [_szdjgTeacherDeskIconInfo[i]]),
  3377. "onclick": U.UF.C.closure(function (obj) {
  3378. //防止拖動圖標即打開了桌面應用
  3379. U.MD.D.click(this, obj);
  3380. }, [_szdjgTeacherDeskIconInfo[i]])
  3381. }, _frag); //
  3382. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3383. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  3384. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  3385. }
  3386. } else if ((_type == 1 || _type == 4) && _org == "2fe1a080-4425-4620-b7a0-be2f3750ffd4") {
  3387. for (i = 0; i < _x010607TeacherDeskIconInfo.length; i++) {
  3388. if(_role === 0 && _x010607TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3389. continue
  3390. }
  3391. _content = $$("div", {
  3392. className: "U_MD_D_KO",
  3393. "onmousedown": U.UF.C.closure(function (obj) {
  3394. //防止拖動圖標即打開了桌面應用
  3395. U.MD.D.click(this, obj);
  3396. }, [_x010607TeacherDeskIconInfo[i]]),
  3397. "onclick": U.UF.C.closure(function (obj) {
  3398. //防止拖動圖標即打開了桌面應用
  3399. U.MD.D.click(this, obj);
  3400. }, [_x010607TeacherDeskIconInfo[i]])
  3401. }, _frag); //
  3402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010607TeacherDeskIconInfo[i].style }, _iconcontent);
  3404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010607TeacherDeskIconInfo[i].Name }, _iconcontent);
  3405. }
  3406. } else if ((_type == 1 || _type == 4) && _org == "a5efd078-20f6-4185-bef9-6d1c688bee70") {
  3407. for (i = 0; i < _xhlyTeacherDeskIconInfo.length; i++) {
  3408. if(_role === 0 && _xhlyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3409. continue
  3410. }
  3411. _content = $$("div", {
  3412. className: "U_MD_D_KO",
  3413. "onmousedown": U.UF.C.closure(function (obj) {
  3414. //防止拖動圖標即打開了桌面應用
  3415. U.MD.D.click(this, obj);
  3416. }, [_xhlyTeacherDeskIconInfo[i]]),
  3417. "onclick": U.UF.C.closure(function (obj) {
  3418. //防止拖動圖標即打開了桌面應用
  3419. U.MD.D.click(this, obj);
  3420. }, [_xhlyTeacherDeskIconInfo[i]])
  3421. }, _frag); //
  3422. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3423. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xhlyTeacherDeskIconInfo[i].style }, _iconcontent);
  3424. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xhlyTeacherDeskIconInfo[i].Name }, _iconcontent);
  3425. }
  3426. } else if ((_type == 1 || _type == 4) && _oid == "9b46a3c9-7657-11ef-9b30-005056b86db5") {
  3427. for (i = 0; i < _x010608TeacherDeskIconInfo.length; i++) {
  3428. if(_role === 0 && _x010608TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3429. continue
  3430. }
  3431. _content = $$("div", {
  3432. className: "U_MD_D_KO",
  3433. "onmousedown": U.UF.C.closure(function (obj) {
  3434. //防止拖動圖標即打開了桌面應用
  3435. U.MD.D.click(this, obj);
  3436. }, [_x010608TeacherDeskIconInfo[i]]),
  3437. "onclick": U.UF.C.closure(function (obj) {
  3438. //防止拖動圖標即打開了桌面應用
  3439. U.MD.D.click(this, obj);
  3440. }, [_x010608TeacherDeskIconInfo[i]])
  3441. }, _frag); //
  3442. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3443. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010608TeacherDeskIconInfo[i].style }, _iconcontent);
  3444. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010608TeacherDeskIconInfo[i].Name }, _iconcontent);
  3445. }
  3446. } else {
  3447. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  3448. if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher' && _oid != '45facc0a-1211-11ec-80ad-005056b86db5'){
  3449. continue
  3450. }
  3451. _content = $$("div", {
  3452. className: "U_MD_D_KO",
  3453. "onmousedown": U.UF.C.closure(function (obj) {
  3454. //防止拖動圖標即打開了桌面應用
  3455. U.MD.D.click(this, obj);
  3456. }, [_teacherDesktopIconInfo[i]]),
  3457. "onclick": U.UF.C.closure(function (obj) {
  3458. //防止拖動圖標即打開了桌面應用
  3459. U.MD.D.click(this, obj);
  3460. }, [_teacherDesktopIconInfo[i]])
  3461. }, _frag); //
  3462. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3463. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  3464. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  3465. }
  3466. }
  3467. } else {
  3468. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  3469. _content = $$("div", {
  3470. className: "U_MD_D_KO",
  3471. style: { 'width': '124px', 'height': '145px' },
  3472. "onmousedown": U.UF.C.closure(function (obj) {
  3473. //防止拖動圖標即打開了桌面應用
  3474. U.MD.D.click(this, obj);
  3475. }, [_easyDesktopIconInfo[i]]),
  3476. "onclick": U.UF.C.closure(function (obj) {
  3477. //防止拖動圖標即打開了桌面應用
  3478. U.MD.D.click(this, obj);
  3479. }, [_easyDesktopIconInfo[i]])
  3480. }, _frag); //
  3481. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  3482. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  3483. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  3484. }
  3485. }
  3486. if (type == 1) {
  3487. //加載好後給圖標定位
  3488. U.MD.D.iconPostion($(_frag).Child());
  3489. } else {
  3490. //加載好後給圖標定位
  3491. U.MD.D.iconPostion2($(_frag).Child());
  3492. }
  3493. //把圖標加載到頁面
  3494. el.appendChild(_frag);
  3495. }
  3496. /**
  3497. * 顯示任務欄
  3498. *
  3499. * @param {element} 桌面元素
  3500. */
  3501. U.MD.D.I.displayTaskbar = function (el) {
  3502. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  3503. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  3504. //任務欄位置變化
  3505. U.selectEl(el).css({ "bottom": "0px" });
  3506. //桌面位置變話
  3507. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  3508. }
  3509. }
  3510. //#region 桌面圖標拖動邏輯
  3511. /**
  3512. * 桌面排列圖標
  3513. *
  3514. * @param {element} 桌面元素
  3515. * @param {object} 上下相距的距離
  3516. * @param {object} 左右相距的距離
  3517. * @return {object} 命名空間
  3518. */
  3519. U.MD.D.iconPostion = function (childs, top, left) {
  3520. var i; //用於循環處理
  3521. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  3522. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  3523. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  3524. for (i = 0; i < childs.length; i++) {
  3525. //如果豎排top超過了範圍處理
  3526. if (top + 95 > US.height - 10) {
  3527. //left超過了頁面範圍處理,則向上重疊打印處理
  3528. if ((left + 180) > US.width) {
  3529. top -= 110;
  3530. left -= 90;
  3531. }
  3532. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  3533. else {
  3534. left += 90;
  3535. top = 15;
  3536. };
  3537. }
  3538. //給圖標的位置賦值
  3539. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  3540. if (i < childs.length - 1) {
  3541. //頁面圖標每次向下加95
  3542. top += 95;
  3543. }
  3544. }
  3545. //返回最後調用的圖標的位置
  3546. return [top, left];
  3547. }
  3548. /**
  3549. * 桌面排列圖標
  3550. *
  3551. * @param {element} 桌面元素
  3552. * @param {object} 上下相距的距離
  3553. * @param {object} 左右相距的距離
  3554. * @return {object} 命名空間
  3555. */
  3556. U.MD.D.iconPostion2 = function (childs, top, left) {
  3557. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  3558. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  3559. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  3560. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  3561. for (i = 0; i < childs.length; i++) {
  3562. //如果豎排top超過了範圍處理
  3563. if (left + 150 > US.width - 10) {
  3564. //left超過了頁面範圍處理,則向上重疊打印處理
  3565. if ((top + 180) > US.Height) {
  3566. top -= 150;
  3567. left -= 150;
  3568. }
  3569. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  3570. else {
  3571. top += 150;
  3572. left = ol;
  3573. };
  3574. }
  3575. //給圖標的位置賦值
  3576. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  3577. if (i < childs.length - 1) {
  3578. //頁面圖標每次向下加95
  3579. left += 150;
  3580. }
  3581. }
  3582. //返回最後調用的圖標的位置
  3583. return [top, left];
  3584. }
  3585. /**
  3586. * 桌面點擊事件邏輯
  3587. *
  3588. * @param {element} 桌面元素
  3589. * @param {object} 上下相距的距離
  3590. * @param {object} 左右相距的距離
  3591. * @return {object} 命名空間
  3592. */
  3593. U.MD.D.click = function (el, obj) {
  3594. var _buttonnumber = event.button; //點擊的按鈕的事件值
  3595. var _userinfo = US.userInfo;
  3596. U.UF.EV.stopBubble(); //阻止向上冒泡
  3597. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  3598. if (_buttonnumber < 2) {
  3599. //如果是click事件的處理
  3600. if (event.type == "click") {
  3601. //如果元素在mousemove事件中沒有移動則出發click事件
  3602. if (!U.MD.D.I.IsDrag) {
  3603. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3604. U.alert("請先登錄您的賬號!");
  3605. setTimeout(() => {
  3606. U.MD.U.L.login();
  3607. }, 2000);
  3608. } else {
  3609. //打開應用處理
  3610. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  3611. }
  3612. }
  3613. }
  3614. //如果是mouse事件的處理
  3615. else {
  3616. if (US.Config.type == '1') {
  3617. //拖動處理,添加拖動和拖動結束事件
  3618. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  3619. }
  3620. }
  3621. U.MD.D.I.IsDrag = false;
  3622. }
  3623. }
  3624. /**
  3625. * 拖動的處理
  3626. *
  3627. */
  3628. U.MD.D.iconMove = function () {
  3629. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  3630. U.MD.D.I.IsDrag = true;
  3631. }
  3632. /**
  3633. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  3634. *
  3635. * @param {element} 拖動的元素
  3636. * @return {object} 命名空間
  3637. */
  3638. U.MD.D.iconUp = function (el) {
  3639. var _top = 15,
  3640. _left = 20,
  3641. _margin,
  3642. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  3643. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  3644. if (_positioninfo["OT"] > 15) {
  3645. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  3646. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  3647. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  3648. }
  3649. if (_positioninfo["OL"] > 20) {
  3650. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  3651. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  3652. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  3653. }
  3654. //while循環判斷麼一個重疊的元素
  3655. do {
  3656. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  3657. _top = _positioninfo[0] + 95; //得到定位後的top
  3658. _left = _positioninfo[1]; //得到定位後的left
  3659. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  3660. }
  3661. /**
  3662. * 判斷拖動後圖標是否重疊
  3663. *
  3664. * @param {element} 拖動的元素
  3665. * @param {element} 桌面所有的元素
  3666. * @param {array} 拖動元素的位置
  3667. ----------[0] 上 top
  3668. ----------[1] 左 left
  3669. * @return {object} 命名空間
  3670. */
  3671. U.MD.D.isOverlap = function (el, childs, postionarray) {
  3672. //循環所有的圖標
  3673. for (var i = 0; i < childs.length; i++) {
  3674. //判斷有沒有和該圖標誒子重疊的元素
  3675. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  3676. return childs[i]; //如果有返回
  3677. }
  3678. }
  3679. }
  3680. //#endregion
  3681. //#endregion
  3682. //#region 桌面應用
  3683. /**
  3684. * 打開應用
  3685. *
  3686. * @param {string} 類型
  3687. -----------------Disk 網盤系統
  3688. -----------------PDisk 學習系統網盤
  3689. -----------------Poto 圖片
  3690. -----------------Video 視頻
  3691. -----------------Music 音樂
  3692. -----------------Word word
  3693. -----------------Excel excel
  3694. -----------------Txt 記事本
  3695. -----------------PB 學習系統
  3696. -----------------Blog 朋友圈系統
  3697. -----------------FTP ftp系統
  3698. -----------------Group 好友群
  3699. -----------------SY 首頁系統
  3700. -----------------Set 個人設置
  3701. -----------------XSet 系統設置
  3702. -----------------App 我們所有的app
  3703. -----------------BC c.1473.cn 平臺
  3704. -----------------CWeb d.1473.cn 變成平臺
  3705. -----------------其他的外聯系統 我們統一用iframe打開
  3706. * @param {array} 類型
  3707. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  3708. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  3709. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  3710. 如果第一個參數為其他,則無第二個參數
  3711. * @returns {array}
  3712. */
  3713. window.addEventListener('message', function (e) { // 監聽 message 事件
  3714. // alert(e.data.type);
  3715. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  3716. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  3717. //3是展示全部階段 2學生 1老師 4專家
  3718. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  3719. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  3720. //3是展示全部階段 2學生 1老師 4專家
  3721. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  3722. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  3723. //3是展示全部階段 2學生 1老師 4專家
  3724. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  3725. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  3726. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  3727. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  3728. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  3729. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  3730. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  3731. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  3732. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  3733. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  3734. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  3735. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  3736. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  3737. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  3738. //3是展示全部階段 2學生 1老師 4專家
  3739. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  3740. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  3741. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  3742. U.MD.D.I.selectUser();
  3743. } else if (e.data.allScreen && e.data.allScreen == "1") {
  3744. var _formel = document.getElementById("study");
  3745. U.UF.F.windowZooming(_formel);
  3746. } else if (e.data.allScreen && e.data.allScreen == "2") {
  3747. var _formel = document.getElementById("studyDetail");
  3748. U.UF.F.windowZooming(_formel);
  3749. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  3750. var _formel = document.getElementById("studyDetail");
  3751. U.UF.F.windowZooming(_formel);
  3752. } else if (e.data.allScreen && e.data.allScreen == "3") {
  3753. var _formel = document.getElementById("studentStudy");
  3754. U.UF.F.windowZooming(_formel);
  3755. } else if (e.data.allScreen && e.data.allScreen == "6") {
  3756. // var _formel = document.getElementById("study");
  3757. //如果最大化了,那麼就把他縮小
  3758. // if (_formel.ismaximize) {
  3759. // return;
  3760. // }
  3761. // U.UF.F.windowZooming(_formel);
  3762. // U.UF.F.topWindow(_formel);
  3763. } else if (e.data.allScreen && e.data.allScreen == "4") {
  3764. // var _formel = document.getElementById("studyDetail");
  3765. //如果最大化了,那麼就把他縮小
  3766. // if (_formel.ismaximize) {
  3767. // return;
  3768. // }
  3769. // U.UF.F.windowZooming(_formel);
  3770. // U.UF.F.topWindow(_formel);
  3771. } else if (e.data.allScreen && e.data.allScreen == "5") {
  3772. // var _formel = document.getElementById("studentStudy");
  3773. // if (_formel.ismaximize) {
  3774. // return;
  3775. // }
  3776. // U.UF.F.windowZooming(_formel);
  3777. // U.UF.F.topWindow(_formel);
  3778. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  3779. var _formel = document.getElementById("study");
  3780. // if (_formel.ismaximize) {
  3781. // return;
  3782. // }
  3783. // U.UF.F.windowZooming(_formel);
  3784. U.UF.F.topWindow(_formel);
  3785. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  3786. var _formel = document.getElementById("studentIndex");
  3787. U.UF.F.windowZooming(_formel);
  3788. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  3789. var _formel = document.getElementById("studyDetailS");
  3790. U.UF.F.windowZooming(_formel);
  3791. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  3792. var _formel = document.getElementById("studioIndex");
  3793. U.UF.F.windowZooming(_formel);
  3794. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  3795. var _formel = document.getElementById("studyDetailStudio");
  3796. U.UF.F.windowZooming(_formel);
  3797. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  3798. var _formel = document.getElementById("studyDetailStudio");
  3799. U.UF.F.windowZooming(_formel);
  3800. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  3801. var _formel = document.getElementById("studyDetailNT");
  3802. U.UF.F.windowZooming(_formel);
  3803. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  3804. var _formel = document.getElementById("studyDetailS");
  3805. U.UF.F.windowZooming(_formel);
  3806. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  3807. var _formel = document.getElementById("studyDetailS");
  3808. U.UF.F.topWindow(_formel);
  3809. } else if (e.data.tools && e.data.tools == "1") {
  3810. // U.MD.D.I.openApplication("whiteboard")
  3811. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3812. } else if (e.data.tools && e.data.tools == "2") {
  3813. U.MD.D.I.openApplication("note")
  3814. } else if (e.data.tools && e.data.tools == "3") {
  3815. // U.MD.D.I.openApplication("mind")
  3816. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3817. } else if (e.data.tools && e.data.tools == "4") {
  3818. U.MD.D.I.openApplication("investigation")
  3819. } else if (e.data.tools && e.data.tools == "6") {
  3820. // U.MD.D.I.openApplication("doc")
  3821. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3822. } else if (e.data.tools && e.data.tools == "7") {
  3823. // U.MD.D.I.openApplication("mindNetwork")
  3824. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3825. } else if (e.data.tools && e.data.tools == "8") {
  3826. U.MD.D.I.openApplication("library")
  3827. } else if (e.data.tools && e.data.tools == "17") {
  3828. U.MD.D.I.openApplication("stuLibrary")
  3829. } else if (e.data.tools && e.data.tools == "18") {
  3830. U.MD.D.I.openApplication("train")
  3831. } else if (e.data.tools && e.data.tools == "21") {
  3832. U.MD.D.I.openApplication("program")
  3833. } else if (e.data.tools && e.data.tools == "22") {
  3834. U.MD.D.I.openApplication("AIprogram2")
  3835. } else if (e.data.tools && e.data.tools == "23") {
  3836. U.MD.D.I.openApplication("Pythonprogram")
  3837. } else if (e.data.tools && e.data.tools == "24") {
  3838. U.MD.D.I.openApplication("AIprogram")
  3839. } else if (e.data.tools && e.data.tools == "25") {
  3840. U.MD.D.I.openApplication("sys")
  3841. } else if (e.data.tools && e.data.tools == "26") {
  3842. // U.MD.D.I.openApplication("courseDesign")
  3843. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3844. } else if (e.data.tools && e.data.tools == "31") {
  3845. U.MD.D.I.openApplication("netWorkPanel")
  3846. } else if (e.data.tools && e.data.tools == "32") {
  3847. U.MD.D.I.openApplication("codeEdit")
  3848. } else if (e.data.tools && e.data.tools == "57") {
  3849. U.MD.D.I.openApplication("CocoPi")
  3850. } else if (e.data.tools && e.data.tools == "63") {
  3851. U.MD.D.I.openApplication("Wood")
  3852. } else if (e.data.tools && e.data.tools == "58") {
  3853. U.MD.D.I.openApplication("car")
  3854. } else if (e.data.tools && e.data.tools == "59") {
  3855. U.MD.D.I.openApplication("lineSearch")
  3856. } else if (e.data.tools && e.data.tools == "60") {
  3857. U.MD.D.I.openApplication("deepLearning")
  3858. } else if (e.data.tools && e.data.tools == "61") {
  3859. U.MD.D.I.openApplication("allHistory")
  3860. } else if (e.data.tools && e.data.tools == "28") {
  3861. U.MD.D.I.openApplication("translation")
  3862. } else if (e.data.tools && e.data.tools == "37") {
  3863. U.MD.D.I.openApplication("mohe")
  3864. } else if (e.data.tools && e.data.tools == "38") {
  3865. U.MD.D.I.openApplication("24game")
  3866. } else if (e.data.tools && e.data.tools == "39") {
  3867. U.MD.D.I.openApplication("GeoGebra")
  3868. } else if (e.data.tools && e.data.tools == "43") {
  3869. U.MD.D.I.openApplication("studentEvaluate")
  3870. } else if (e.data.tools && e.data.tools == "44") {
  3871. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3872. } else if (e.data.tools && e.data.tools == "46") {
  3873. U.MD.D.I.openApplication("project")
  3874. } else if (e.data.tools && e.data.tools == "71") {
  3875. U.MD.D.I.openApplication("aigptCourse")
  3876. } else if (e.data.tools && e.data.tools == "1s") {
  3877. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3878. } else if (e.data.tools && e.data.tools == "3s") {
  3879. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3880. } else if (e.data.tools && e.data.tools == "6s") {
  3881. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3882. } else if (e.data.tools && e.data.tools == "1studio") {
  3883. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3884. } else if (e.data.tools && e.data.tools == "3studio") {
  3885. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3886. } else if (e.data.tools && e.data.tools == "6studio") {
  3887. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3888. } else if (e.data.tools && e.data.tools == "3y") {
  3889. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3890. } else if (e.data.tools && e.data.tools == "1y") {
  3891. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3892. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3893. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3894. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3895. U.MD.D.I.openApplication("AIAnalyse")
  3896. } else if (e.data.tools && e.data.tools == "1teacher") {
  3897. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3898. } else if (e.data.tools && e.data.tools == "3teacher") {
  3899. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3900. } else if (e.data.tools && e.data.tools == "7teacher") {
  3901. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3902. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3903. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3904. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3905. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3906. } else if (e.data.tools && e.data.tools == "1E") {
  3907. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3908. } else if (e.data.tools && e.data.tools == "3E") {
  3909. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3910. } else if (e.data.tools && e.data.tools == "57y") {
  3911. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3912. } else if (e.data.tools && e.data.tools == "57u") {
  3913. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3914. } else if (e.data.tools && e.data.tools == "57teacher") {
  3915. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3916. } else if (e.data.tools && e.data.tools == "64") {
  3917. U.MD.D.I.openApplication("AIChat")
  3918. } else if (e.data.tools && e.data.tools == "66") {
  3919. U.MD.D.I.openApplication("formulaEdi")
  3920. } else if (e.data.tools && e.data.tools == "67") {
  3921. U.MD.D.I.openApplication("molStr")
  3922. } else if (e.data.tools && e.data.tools == "68") {
  3923. U.MD.D.I.openApplication("timeAxis")
  3924. } else if (e.data.tools && e.data.tools == "openCourse") {
  3925. let _data = {
  3926. typea: e.data.typea || '',
  3927. typeb: e.data.typeb || '',
  3928. typed: e.data.typed || '',
  3929. }
  3930. U.MD.D.I.openInApplication("index", _data)
  3931. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3932. let _data = {
  3933. classid: e.data.classid || '',
  3934. }
  3935. U.MD.D.I.openInApplication("dataClass", _data)
  3936. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3937. let _data = {
  3938. cid: e.data.cid || '',
  3939. gid: e.data.gid || '',
  3940. }
  3941. U.MD.D.I.openInApplication("opencCscl", _data)
  3942. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3943. U.MD.D.I.openApplication("dataBoardTest")
  3944. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3945. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3946. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3947. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3948. }else if (e.data.tools && e.data.tools == "openCourseAiUpdate") {
  3949. U.MD.D.I.openInApplication("openCourseAiUpdate", e.data.cid)
  3950. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3951. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3952. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3953. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3954. }else if (e.data.tools && e.data.tools == "loginSz") {
  3955. U.MD.D.I.openInApplication("loginSz")
  3956. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3957. if($('#classroom_observation_board')[0]){
  3958. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  3959. }
  3960. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  3961. }else if (e.data.tools && e.data.tools == "classroom_observation_ob_comment"){
  3962. if($('#classroom_observation_ob_comment')[0]){
  3963. $('#classroom_observation_ob_comment iframe')[0].contentDocument.location.reload()
  3964. }
  3965. U.MD.D.I.openInApplication("classroom_observation_ob_comment", e.data.type)
  3966. }
  3967. });
  3968. U.MD.D.I.selectUser = function () {
  3969. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3970. if (res.value[0].length > 0) {
  3971. US.userInfo = res.value[0][0];
  3972. $(".userName")[0].innerHTML = US.userInfo.username;
  3973. }
  3974. }, [], { "type": "GET", "withCredentials": true });
  3975. }
  3976. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3977. var _userinfo = US.userInfo, //登錄用戶信息
  3978. _userid = US.userInfo.userid, //登錄用戶id
  3979. _oid = _userinfo.organizeid,
  3980. _type = US.userInfo.type,
  3981. _org = US.userInfo.org,
  3982. _role = US.userInfo.role,
  3983. _classId = US.userInfo.classid;
  3984. if (_type == 4) {
  3985. tType = 4
  3986. }
  3987. switch (str) {
  3988. case "studyDetailNT": //無終端模式
  3989. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3990. setTimeout(() => {
  3991. U.MD.U.L.login();
  3992. }, 2000);
  3993. } else {
  3994. _formdiv = new U.UF.UI.form(
  3995. "課程詳情",
  3996. $$("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 }), {
  3997. "id": "studyDetailNT",
  3998. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3999. "onresize": function () { }
  4000. }, {
  4001. closecallback: function () { }
  4002. }, { "style": { "height": "36px" } }).form; //創建窗體
  4003. _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); } }
  4004. break;
  4005. }
  4006. case "studyDetail":
  4007. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4008. setTimeout(() => {
  4009. U.MD.U.L.login();
  4010. }, 2000);
  4011. } else {
  4012. _formdiv = new U.UF.UI.form(
  4013. "課程詳情",
  4014. $$("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 }), {
  4015. "id": "studyDetail",
  4016. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4017. "onresize": function () { }
  4018. }, {
  4019. closecallback: function () { }
  4020. }, { "style": { "height": "36px" } }).form; //創建窗體
  4021. _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); } }
  4022. break;
  4023. }
  4024. case "studyDetailTrain":
  4025. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4026. setTimeout(() => {
  4027. U.MD.U.L.login();
  4028. }, 2000);
  4029. } else {
  4030. _formdiv = new U.UF.UI.form(
  4031. "培訓詳情",
  4032. $$("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 }), {
  4033. "id": "studyDetailTrain",
  4034. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4035. "onresize": function () { }
  4036. }, {
  4037. closecallback: function () { }
  4038. }, { "style": { "height": "36px" } }).form; //創建窗體
  4039. _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); } }
  4040. break;
  4041. }
  4042. case "studyDetailS":
  4043. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4044. setTimeout(() => {
  4045. U.MD.U.L.login();
  4046. }, 2000);
  4047. } else {
  4048. _formdiv = new U.UF.UI.form(
  4049. "項目詳情",
  4050. $$("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 }), {
  4051. "id": "studyDetailS",
  4052. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4053. "onresize": function () { }
  4054. }, {
  4055. closecallback: function () { }
  4056. }, { "style": { "height": "36px" } }).form; //創建窗體
  4057. _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); } }
  4058. break;
  4059. }
  4060. case "studyDetailStudio":
  4061. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4062. setTimeout(() => {
  4063. U.MD.U.L.login();
  4064. }, 2000);
  4065. } else {
  4066. _formdiv = new U.UF.UI.form(
  4067. "工作詳情",
  4068. $$("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 }), {
  4069. "id": "studyDetailStudio",
  4070. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4071. "onresize": function () { }
  4072. }, {
  4073. closecallback: function () { }
  4074. }, { "style": { "height": "36px" } }).form; //創建窗體
  4075. _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); } }
  4076. break;
  4077. }
  4078. case "studyDetailS5":
  4079. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4080. setTimeout(() => {
  4081. U.MD.U.L.login();
  4082. }, 2000);
  4083. } else {
  4084. _formdiv = new U.UF.UI.form(
  4085. "項目詳情",
  4086. $$("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 }), {
  4087. "id": "studyDetailS",
  4088. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4089. "onresize": function () { }
  4090. }, {
  4091. closecallback: function () { }
  4092. }, { "style": { "height": "36px" } }).form; //創建窗體
  4093. _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); } }
  4094. break;
  4095. }
  4096. case "studyDetailGM":
  4097. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4098. setTimeout(() => {
  4099. U.MD.U.L.login();
  4100. }, 2000);
  4101. } else {
  4102. _formdiv = new U.UF.UI.form(
  4103. "課程詳情",
  4104. $$("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 }), {
  4105. "id": "studyDetail",
  4106. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4107. "onresize": function () { }
  4108. }, {
  4109. closecallback: function () { }
  4110. }, { "style": { "height": "36px" } }).form; //創建窗體
  4111. _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); } }
  4112. break;
  4113. }
  4114. case "hanUrl":
  4115. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4116. setTimeout(() => {
  4117. U.MD.U.L.login();
  4118. }, 2000);
  4119. } else {
  4120. _formdiv = new U.UF.UI.form(
  4121. "漢字宮",
  4122. $$("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" }), {
  4123. "id": "hanUrl",
  4124. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4125. "onresize": function () { }
  4126. }, {
  4127. closecallback: function () { }
  4128. }, { "style": { "height": "36px" } }).form; //創建窗體
  4129. _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); } }
  4130. break;
  4131. }
  4132. case "index":
  4133. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4134. setTimeout(() => {
  4135. U.MD.U.L.login();
  4136. }, 2000);
  4137. } else {
  4138. _formdiv = new U.UF.UI.form(
  4139. "課程中心",
  4140. $$("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 }), {
  4141. "id": "study",
  4142. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4143. "onresize": function () { }
  4144. }, {
  4145. closecallback: function () { }
  4146. }, { "style": { "height": "36px" } }).form; //創建窗體
  4147. _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); } }
  4148. break;
  4149. }
  4150. case "dataClass":
  4151. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4152. setTimeout(() => {
  4153. U.MD.U.L.login();
  4154. }, 2000);
  4155. } else {
  4156. _formdiv = new U.UF.UI.form(
  4157. "數據報告",
  4158. $$("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 }), {
  4159. "id": "dataClass",
  4160. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4161. "onresize": function () { }
  4162. }, {
  4163. closecallback: function () { }
  4164. }, { "style": { "height": "36px" } }).form; //創建窗體
  4165. _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); } }
  4166. break;
  4167. }
  4168. case "opencCscl":
  4169. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4170. setTimeout(() => {
  4171. U.MD.U.L.login();
  4172. }, 2000);
  4173. } else {
  4174. _formdiv = new U.UF.UI.form(
  4175. "協同建構",
  4176. $$("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 }), {
  4177. "id": "futureClass",
  4178. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4179. "onresize": function () { }
  4180. }, {
  4181. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  4182. }, { "style": { "height": "36px" } }).form; //創建窗體
  4183. _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); } }
  4184. break;
  4185. }
  4186. case "openCourseUpdate":
  4187. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4188. setTimeout(() => {
  4189. U.MD.U.L.login();
  4190. }, 2000);
  4191. } else {
  4192. _formdiv = new U.UF.UI.form(
  4193. "課程管理",
  4194. $$("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 }), {
  4195. "id": "openCourseUpdate",
  4196. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4197. "onresize": function () { }
  4198. }, {
  4199. closecallback: function () { }
  4200. }, { "style": { "height": "36px" } }).form; //創建窗體
  4201. break;
  4202. }
  4203. case "openNewCourseUpdate":
  4204. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4205. setTimeout(() => {
  4206. U.MD.U.L.login();
  4207. }, 2000);
  4208. } else {
  4209. _formdiv = new U.UF.UI.form(
  4210. "課程管理",
  4211. $$("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 }), {
  4212. "id": "openCourseUpdate",
  4213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4214. "onresize": function () { }
  4215. }, {
  4216. closecallback: function () { }
  4217. }, { "style": { "height": "36px" } }).form; //創建窗體
  4218. break;
  4219. }
  4220. case "openCourseEUpdate":
  4221. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4222. setTimeout(() => {
  4223. U.MD.U.L.login();
  4224. }, 2000);
  4225. } else {
  4226. _formdiv = new U.UF.UI.form(
  4227. "課程管理",
  4228. $$("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 }), {
  4229. "id": "openCourseUpdate",
  4230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4231. "onresize": function () { }
  4232. }, {
  4233. closecallback: function () { }
  4234. }, { "style": { "height": "36px" } }).form; //創建窗體
  4235. break;
  4236. }
  4237. case "openCourseAiUpdate":
  4238. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4239. setTimeout(() => {
  4240. U.MD.U.L.login();
  4241. }, 2000);
  4242. } else {
  4243. _formdiv = new U.UF.UI.form(
  4244. "課程管理",
  4245. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/aiAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4246. "id": "openCourseUpdate",
  4247. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4248. "onresize": function () { }
  4249. }, {
  4250. closecallback: function () { }
  4251. }, { "style": { "height": "36px" } }).form; //創建窗體
  4252. break;
  4253. }
  4254. case "openCourseNewUpdate":
  4255. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4256. setTimeout(() => {
  4257. U.MD.U.L.login();
  4258. }, 2000);
  4259. } else {
  4260. _formdiv = new U.UF.UI.form(
  4261. "課程管理",
  4262. $$("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 }), {
  4263. "id": "openCourseUpdate",
  4264. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4265. "onresize": function () { }
  4266. }, {
  4267. closecallback: function () { }
  4268. }, { "style": { "height": "36px" } }).form; //創建窗體
  4269. break;
  4270. }
  4271. case "inviteLoginSz":
  4272. _formdiv = new U.UF.UI.form(
  4273. "隨機碼登錄",
  4274. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/inviteLoginSZ?code=" + data }), {
  4275. "id": "loginSz",
  4276. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4277. "onresize": function () { }
  4278. }, {
  4279. closecallback: function () { }
  4280. }, { "style": { "height": "36px" } }).form; //創建窗體
  4281. break;
  4282. case "loginSz":
  4283. _formdiv = new U.UF.UI.form(
  4284. "教師登錄",
  4285. $$("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" }), {
  4286. "id": "loginSz",
  4287. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4288. "onresize": function () { }
  4289. }, {
  4290. closecallback: function () { }
  4291. }, { "style": { "height": "36px" } }).form; //創建窗體
  4292. break;
  4293. case "teacher":
  4294. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4295. setTimeout(() => {
  4296. U.MD.U.L.login();
  4297. }, 2000);
  4298. } else {
  4299. _formdiv = new U.UF.UI.form(
  4300. "教師管理",
  4301. $$("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 }), {
  4302. "id": "teacher",
  4303. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4304. "onresize": function () { }
  4305. }, {
  4306. closecallback: function () { }
  4307. }, { "style": { "height": "36px" } }).form; //創建窗體
  4308. break;
  4309. }
  4310. case "dataBoardSZArea":
  4311. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4312. setTimeout(() => {
  4313. U.MD.U.L.login();
  4314. }, 2000);
  4315. } else {
  4316. _formdiv = new U.UF.UI.form(
  4317. "綜合數據看板",
  4318. $$("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 }), {
  4319. "id": "dataBoardSZArea",
  4320. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4321. "onresize": function () { }
  4322. }, {
  4323. closecallback: function () { }
  4324. }, { "style": { "height": "36px" } }).form; //創建窗體
  4325. break;
  4326. }
  4327. case "dataBoardSZCity":
  4328. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4329. setTimeout(() => {
  4330. U.MD.U.L.login();
  4331. }, 2000);
  4332. } else {
  4333. _formdiv = new U.UF.UI.form(
  4334. "綜合數據看板",
  4335. $$("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 }), {
  4336. "id": "dataBoardSZCity",
  4337. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4338. "onresize": function () { }
  4339. }, {
  4340. closecallback: function () { }
  4341. }, { "style": { "height": "36px" } }).form; //創建窗體
  4342. break;
  4343. }
  4344. case "classroom_observation_board":
  4345. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4346. setTimeout(() => {
  4347. U.MD.U.L.login();
  4348. }, 2000);
  4349. } else {
  4350. _formdiv = new U.UF.UI.form(
  4351. "課堂觀察",
  4352. $$("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 }), {
  4353. "id": "classroom_observation_board",
  4354. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4355. "onresize": function () { }
  4356. }, {
  4357. closecallback: function () { }
  4358. }, { "style": { "height": "36px" } }).form; //創建窗體
  4359. break;
  4360. }
  4361. case "classroom_observation_ob_comment":
  4362. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4363. setTimeout(() => {
  4364. U.MD.U.L.login();
  4365. }, 2000);
  4366. } else {
  4367. _formdiv = new U.UF.UI.form(
  4368. "課堂審核",
  4369. $$("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 }), {
  4370. "id": "classroom_observation_ob_comment",
  4371. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4372. "onresize": function () { }
  4373. }, {
  4374. closecallback: function () { }
  4375. }, { "style": { "height": "36px" } }).form; //創建窗體
  4376. break;
  4377. }
  4378. }
  4379. }
  4380. U.MD.D.I.openApplication = function (str, obj, info) {
  4381. obj = obj || {};
  4382. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  4383. _formdiv, //創建任務欄時同時彈出的窗體元素。
  4384. _userinfo = US.userInfo, //登錄用戶信息
  4385. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  4386. _oid = obj.organizeid || _userinfo.organizeid,
  4387. _type = US.userInfo.type,
  4388. _org = US.userInfo.org,
  4389. _role = US.userInfo.role,
  4390. _classId = US.userInfo.classid,
  4391. _TscreenType = 1
  4392. _screenType = 2,
  4393. _SscreenType = 3;
  4394. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  4395. return;
  4396. }
  4397. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4398. switch (str) {
  4399. case "studnetProject": //好友打開
  4400. _formdiv = new U.UF.UI.form(
  4401. "我的項目",
  4402. $$("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 }), {
  4403. "id": "studnetProject",
  4404. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4405. "onresize": function () { }
  4406. }, {
  4407. closecallback: function () { }
  4408. }, { "style": { "height": "36px" } }).form; //創建窗體
  4409. _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); } }
  4410. break;
  4411. case "studentEvaluate": //好友打開
  4412. _formdiv = new U.UF.UI.form(
  4413. "我的評價",
  4414. $$("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 }), {
  4415. "id": "studentEvaluate",
  4416. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4417. "onresize": function () { }
  4418. }, {
  4419. closecallback: function () { }
  4420. }, { "style": { "height": "36px" } }).form; //創建窗體
  4421. _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); } }
  4422. break;
  4423. case "my":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/data?userid=" + _userid + "&org=" + _org }), {
  4427. "id": "my",
  4428. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4429. "onresize": function () { }
  4430. }, {
  4431. closecallback: function () { }
  4432. }, { "style": { "height": "36px" } }).form; //創建窗體
  4433. _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); } }
  4434. break;
  4435. case "program":
  4436. _formdiv = new U.UF.UI.form(
  4437. "編程平臺",
  4438. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4439. "id": "program",
  4440. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4441. "onresize": function () { }
  4442. }, {
  4443. closecallback: function () { }
  4444. }, { "style": { "height": "36px" } }).form; //創建窗體
  4445. _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); } }
  4446. break;
  4447. case "library":
  4448. _formdiv = new U.UF.UI.form(
  4449. "素材庫",
  4450. $$("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 }), {
  4451. "id": "library",
  4452. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4453. "onresize": function () { }
  4454. }, {
  4455. closecallback: function () { }
  4456. }, { "style": { "height": "36px" } }).form; //創建窗體
  4457. _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); } }
  4458. break;
  4459. case "whiteboard":
  4460. _formdiv = new U.UF.UI.form(
  4461. "電子白板",
  4462. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4463. "id": "whiteboard",
  4464. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4465. "onresize": function () { }
  4466. }, {
  4467. closecallback: function () { }
  4468. }, { "style": { "height": "36px" } }).form; //創建窗體
  4469. _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); } }
  4470. break;
  4471. case "investigation":
  4472. _formdiv = new U.UF.UI.form(
  4473. "問卷調查",
  4474. $$("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 }), {
  4475. "id": "investigation",
  4476. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4477. "onresize": function () { }
  4478. }, {
  4479. closecallback: function () { }
  4480. }, { "style": { "height": "36px" } }).form; //創建窗體
  4481. _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); } }
  4482. break;
  4483. case "note":
  4484. _formdiv = new U.UF.UI.form(
  4485. "便簽分類",
  4486. $$("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 }), {
  4487. "id": "note",
  4488. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4489. "onresize": function () { }
  4490. }, {
  4491. closecallback: function () { }
  4492. }, { "style": { "height": "36px" } }).form; //創建窗體
  4493. _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); } }
  4494. break;
  4495. // case "score":
  4496. // _formdiv = new U.UF.UI.form(
  4497. // "量規評分",
  4498. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4499. // "id": "score",
  4500. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4501. // "onresize": function() {}
  4502. // }, {
  4503. // closecallback: function() {}
  4504. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4505. // _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); } }
  4506. // break;
  4507. case "mind":
  4508. _formdiv = new U.UF.UI.form(
  4509. "思維導圖",
  4510. $$("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"
  4511. "id": "mind",
  4512. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4513. "onresize": function () { }
  4514. }, {
  4515. closecallback: function () { }
  4516. }, { "style": { "height": "36px" } }).form; //創建窗體
  4517. _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); } }
  4518. break;
  4519. case "doc":
  4520. // U.MD.D.I.isRoom();
  4521. _formdiv = new U.UF.UI.form(
  4522. "協同文檔",
  4523. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  4524. "id": "doc",
  4525. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4526. "onresize": function () { }
  4527. }, {
  4528. closecallback: function () { }
  4529. }, { "style": { "height": "36px" } }).form; //創建窗體
  4530. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4531. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4532. // })
  4533. _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); } }
  4534. break;
  4535. case "studentStudy":
  4536. _formdiv = new U.UF.UI.form(
  4537. "課程中心",
  4538. $$("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
  4539. "id": "studentStudy",
  4540. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4541. "onresize": function () { }
  4542. }, {
  4543. closecallback: function () { }
  4544. }, { "style": { "height": "36px" } }).form; //創建窗體
  4545. _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); } }
  4546. break;
  4547. case "train": //好友打開
  4548. _formdiv = new U.UF.UI.form(
  4549. "訓練平臺",
  4550. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4551. "id": "train",
  4552. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4553. "onresize": function () { }
  4554. }, {
  4555. closecallback: function () { }
  4556. }, { "style": { "height": "36px" } }).form; //創建窗體
  4557. _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); } }
  4558. break;
  4559. case "mindNetwork": //好友打開
  4560. _formdiv = new U.UF.UI.form(
  4561. "思維網格",
  4562. $$("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 }), {
  4563. "id": "mindNetwork",
  4564. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4565. "onresize": function () { }
  4566. }, {
  4567. closecallback: function () { }
  4568. }, { "style": { "height": "36px" } }).form; //創建窗體
  4569. _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); } }
  4570. break;
  4571. case "studentClassRoom": //好友打開
  4572. _formdiv = new U.UF.UI.form(
  4573. "實時課堂",
  4574. $$("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 }), {
  4575. "id": "studentClassRoom",
  4576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4577. "onresize": function () { }
  4578. }, {
  4579. closecallback: function () { }
  4580. }, { "style": { "height": "36px" } }).form; //創建窗體
  4581. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "實時課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4582. setTimeout(() => {
  4583. U.UF.F.windowZooming(_formdiv)
  4584. }, 0);
  4585. break;
  4586. }
  4587. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4588. switch (str) {
  4589. case "studnetProject": //好友打開
  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": US.Config.bpbl + "/pbl-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  4593. "id": "studnetProject",
  4594. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4595. "onresize": function () { }
  4596. }, {
  4597. closecallback: function () { }
  4598. }, { "style": { "height": "36px" } }).form; //創建窗體
  4599. _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); } }
  4600. break;
  4601. case "studentEvaluate": //好友打開
  4602. _formdiv = new U.UF.UI.form(
  4603. "我的評價",
  4604. $$("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 }), {
  4605. "id": "studentEvaluate",
  4606. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4607. "onresize": function () { }
  4608. }, {
  4609. closecallback: function () { }
  4610. }, { "style": { "height": "36px" } }).form; //創建窗體
  4611. _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); } }
  4612. break;
  4613. case "my":
  4614. _formdiv = new U.UF.UI.form(
  4615. "我的資料",
  4616. $$("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 }), {
  4617. "id": "my",
  4618. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4619. "onresize": function () { }
  4620. }, {
  4621. closecallback: function () { }
  4622. }, { "style": { "height": "36px" } }).form; //創建窗體
  4623. _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); } }
  4624. break;
  4625. case "program":
  4626. _formdiv = new U.UF.UI.form(
  4627. "編程平臺",
  4628. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4629. "id": "program",
  4630. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4631. "onresize": function () { }
  4632. }, {
  4633. closecallback: function () { }
  4634. }, { "style": { "height": "36px" } }).form; //創建窗體
  4635. _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); } }
  4636. break;
  4637. case "library":
  4638. _formdiv = new U.UF.UI.form(
  4639. "素材庫",
  4640. $$("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 }), {
  4641. "id": "library",
  4642. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4643. "onresize": function () { }
  4644. }, {
  4645. closecallback: function () { }
  4646. }, { "style": { "height": "36px" } }).form; //創建窗體
  4647. _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); } }
  4648. break;
  4649. case "whiteboard":
  4650. _formdiv = new U.UF.UI.form(
  4651. "電子白板",
  4652. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4653. "id": "whiteboard",
  4654. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4655. "onresize": function () { }
  4656. }, {
  4657. closecallback: function () { }
  4658. }, { "style": { "height": "36px" } }).form; //創建窗體
  4659. _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); } }
  4660. break;
  4661. case "investigation":
  4662. _formdiv = new U.UF.UI.form(
  4663. "問卷調查",
  4664. $$("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 }), {
  4665. "id": "investigation",
  4666. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4667. "onresize": function () { }
  4668. }, {
  4669. closecallback: function () { }
  4670. }, { "style": { "height": "36px" } }).form; //創建窗體
  4671. _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); } }
  4672. break;
  4673. case "note":
  4674. _formdiv = new U.UF.UI.form(
  4675. "便簽分類",
  4676. $$("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 }), {
  4677. "id": "note",
  4678. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4679. "onresize": function () { }
  4680. }, {
  4681. closecallback: function () { }
  4682. }, { "style": { "height": "36px" } }).form; //創建窗體
  4683. _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); } }
  4684. break;
  4685. // case "score":
  4686. // _formdiv = new U.UF.UI.form(
  4687. // "量規評分",
  4688. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4689. // "id": "score",
  4690. // "style": { "width": "90%", "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/score.png)" }, "name": "量規評分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4696. // break;
  4697. case "mind":
  4698. _formdiv = new U.UF.UI.form(
  4699. "思維導圖",
  4700. $$("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"
  4701. "id": "mind",
  4702. "style": { "width": "90%", "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/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4708. break;
  4709. case "doc":
  4710. // U.MD.D.I.isRoom();
  4711. _formdiv = new U.UF.UI.form(
  4712. "協同文檔",
  4713. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4714. "id": "doc",
  4715. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4716. "onresize": function () { }
  4717. }, {
  4718. closecallback: function () { }
  4719. }, { "style": { "height": "36px" } }).form; //創建窗體
  4720. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4721. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4722. })
  4723. _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); } }
  4724. break;
  4725. case "train": //好友打開
  4726. _formdiv = new U.UF.UI.form(
  4727. "訓練平臺",
  4728. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4729. "id": "train",
  4730. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4731. "onresize": function () { }
  4732. }, {
  4733. closecallback: function () { }
  4734. }, { "style": { "height": "36px" } }).form; //創建窗體
  4735. _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); } }
  4736. break;
  4737. case "studentStudy":
  4738. _formdiv = new U.UF.UI.form(
  4739. "課程中心",
  4740. $$("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
  4741. "id": "studentStudy",
  4742. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4743. "onresize": function () { }
  4744. }, {
  4745. closecallback: function () { }
  4746. }, { "style": { "height": "36px" } }).form; //創建窗體
  4747. _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); } }
  4748. break;
  4749. case "mindNetwork": //好友打開
  4750. _formdiv = new U.UF.UI.form(
  4751. "思維網格",
  4752. $$("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 }), {
  4753. "id": "mindNetwork",
  4754. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4755. "onresize": function () { }
  4756. }, {
  4757. closecallback: function () { }
  4758. }, { "style": { "height": "36px" } }).form; //創建窗體
  4759. _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); } }
  4760. break;
  4761. case "studentClassRoom": //好友打開
  4762. _formdiv = new U.UF.UI.form(
  4763. "實時課堂",
  4764. $$("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 }), {
  4765. "id": "studentClassRoom",
  4766. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4767. "onresize": function () { }
  4768. }, {
  4769. closecallback: function () { }
  4770. }, { "style": { "height": "36px" } }).form; //創建窗體
  4771. _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); } }
  4772. setTimeout(() => {
  4773. U.UF.F.windowZooming(_formdiv)
  4774. }, 0);
  4775. break;
  4776. }
  4777. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4778. //選擇應用處理
  4779. switch (str) {
  4780. case "project": //好友打開
  4781. _formdiv = new U.UF.UI.form(
  4782. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  4783. $$("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 }), {
  4784. "id": "project",
  4785. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4786. "onresize": function () { }
  4787. }, {
  4788. closecallback: function () { }
  4789. }, { "style": { "height": "36px" } }).form; //創建窗體
  4790. _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); } }
  4791. break;
  4792. case "student":
  4793. _formdiv = new U.UF.UI.form(
  4794. "學生管理",
  4795. $$("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 }), {
  4796. "id": "student",
  4797. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4798. "onresize": function () { }
  4799. }, {
  4800. closecallback: function () { }
  4801. }, { "style": { "height": "36px" } }).form; //創建窗體
  4802. _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); } }
  4803. break;
  4804. case "evaluate":
  4805. _formdiv = new U.UF.UI.form(
  4806. "學生評價",
  4807. $$("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 }), {
  4808. "id": "evaluate",
  4809. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4810. "onresize": function () { }
  4811. }, {
  4812. closecallback: function () { }
  4813. }, { "style": { "height": "36px" } }).form; //創建窗體
  4814. _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); } }
  4815. break;
  4816. case "sys":
  4817. _formdiv = new U.UF.UI.form(
  4818. "目標管理",
  4819. $$("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 }), {
  4820. "id": "sys",
  4821. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4822. "onresize": function () { }
  4823. }, {
  4824. closecallback: function () { }
  4825. }, { "style": { "height": "36px" } }).form; //創建窗體
  4826. _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); } }
  4827. break;
  4828. case "courseDesign":
  4829. _formdiv = new U.UF.UI.form(
  4830. "項目設計",
  4831. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4832. "id": "courseDesign",
  4833. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4834. "onresize": function () { }
  4835. }, {
  4836. closecallback: function () { }
  4837. }, { "style": { "height": "36px" } }).form; //創建窗體
  4838. _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); } }
  4839. break;
  4840. case "program":
  4841. _formdiv = new U.UF.UI.form(
  4842. "編程平臺",
  4843. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4844. "id": "program",
  4845. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4846. "onresize": function () { }
  4847. }, {
  4848. closecallback: function () { }
  4849. }, { "style": { "height": "36px" } }).form; //創建窗體
  4850. _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); } }
  4851. break;
  4852. case "class":
  4853. _formdiv = new U.UF.UI.form(
  4854. "班級管理",
  4855. $$("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 }), {
  4856. "id": "class",
  4857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4858. "onresize": function () { }
  4859. }, {
  4860. closecallback: function () { }
  4861. }, { "style": { "height": "36px" } }).form; //創建窗體
  4862. _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); } }
  4863. break;
  4864. case "Grade":
  4865. _formdiv = new U.UF.UI.form(
  4866. "年級管理",
  4867. $$("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 }), {
  4868. "id": "Grade",
  4869. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4870. "onresize": function () { }
  4871. }, {
  4872. closecallback: function () { }
  4873. }, { "style": { "height": "36px" } }).form; //創建窗體
  4874. _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); } }
  4875. break;
  4876. case "teacherOffice":
  4877. _formdiv = new U.UF.UI.form(
  4878. "教研室",
  4879. $$("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 }), {
  4880. "id": "teacherOffice",
  4881. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4882. "onresize": function () { }
  4883. }, {
  4884. closecallback: function () { }
  4885. }, { "style": { "height": "36px" } }).form; //創建窗體
  4886. _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); } }
  4887. break;
  4888. case "my":
  4889. _formdiv = new U.UF.UI.form(
  4890. "我的資料",
  4891. $$("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 }), {
  4892. "id": "my",
  4893. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4894. "onresize": function () { }
  4895. }, {
  4896. closecallback: function () { }
  4897. }, { "style": { "height": "36px" } }).form; //創建窗體
  4898. _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); } }
  4899. break;
  4900. case "notice":
  4901. _formdiv = new U.UF.UI.form(
  4902. "通知公告",
  4903. $$("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 }), {
  4904. "id": "notice",
  4905. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4906. "onresize": function () { }
  4907. }, {
  4908. closecallback: function () { }
  4909. }, { "style": { "height": "36px" } }).form; //創建窗體
  4910. _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); } }
  4911. break;
  4912. case "library":
  4913. _formdiv = new U.UF.UI.form(
  4914. "素材庫",
  4915. $$("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 }), {
  4916. "id": "library",
  4917. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4918. "onresize": function () { }
  4919. }, {
  4920. closecallback: function () { }
  4921. }, { "style": { "height": "36px" } }).form; //創建窗體
  4922. _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); } }
  4923. break;
  4924. case "whiteboard":
  4925. _formdiv = new U.UF.UI.form(
  4926. "電子白板",
  4927. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4928. "id": "whiteboard",
  4929. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4930. "onresize": function () { }
  4931. }, {
  4932. closecallback: function () { }
  4933. }, { "style": { "height": "36px" } }).form; //創建窗體
  4934. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "電子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4935. break;
  4936. case "investigation":
  4937. _formdiv = new U.UF.UI.form(
  4938. "問卷調查",
  4939. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  4940. "id": "investigation",
  4941. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4942. "onresize": function () { }
  4943. }, {
  4944. closecallback: function () { }
  4945. }, { "style": { "height": "36px" } }).form; //創建窗體
  4946. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "問卷調查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4947. break;
  4948. case "note":
  4949. _formdiv = new U.UF.UI.form(
  4950. "便簽分類",
  4951. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  4952. "id": "note",
  4953. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4954. "onresize": function () { }
  4955. }, {
  4956. closecallback: function () { }
  4957. }, { "style": { "height": "36px" } }).form; //創建窗體
  4958. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便簽分類", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4959. break;
  4960. // case "score":
  4961. // _formdiv = new U.UF.UI.form(
  4962. // "量規評分",
  4963. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4964. // "id": "score",
  4965. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4966. // "onresize": function() {}
  4967. // }, {
  4968. // closecallback: function() {}
  4969. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4970. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量規評分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  4971. // break;
  4972. case "mind":
  4973. _formdiv = new U.UF.UI.form(
  4974. "思維導圖",
  4975. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  4976. "id": "mind",
  4977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4978. "onresize": function () { }
  4979. }, {
  4980. closecallback: function () { }
  4981. }, { "style": { "height": "36px" } }).form; //創建窗體
  4982. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4983. break;
  4984. case "doc":
  4985. // U.MD.D.I.isRoom();
  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": "/Office/Word/WordEditArea.htm" }), {
  4989. "id": "doc",
  4990. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4991. "onresize": function () { }
  4992. }, {
  4993. closecallback: function () { }
  4994. }, { "style": { "height": "36px" } }).form; //創建窗體
  4995. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4996. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4997. })
  4998. _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); } }
  4999. break;
  5000. case "study":
  5001. _formdiv = new U.UF.UI.form(
  5002. "課程中心",
  5003. $$("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
  5004. "id": "study",
  5005. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5006. "onresize": function () { }
  5007. }, {
  5008. closecallback: function () { }
  5009. }, { "style": { "height": "36px" } }).form; //創建窗體
  5010. _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); } }
  5011. break;
  5012. case "mindNetwork": //好友打開
  5013. _formdiv = new U.UF.UI.form(
  5014. "思維網格",
  5015. $$("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 }), {
  5016. "id": "mindNetwork",
  5017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5018. "onresize": function () { }
  5019. }, {
  5020. closecallback: function () { }
  5021. }, { "style": { "height": "36px" } }).form; //創建窗體
  5022. _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); } }
  5023. break;
  5024. case "train": //好友打開
  5025. _formdiv = new U.UF.UI.form(
  5026. "訓練平臺",
  5027. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  5028. "id": "mindNetwork",
  5029. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5030. "onresize": function () { }
  5031. }, {
  5032. closecallback: function () { }
  5033. }, { "style": { "height": "36px" } }).form; //創建窗體
  5034. _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); } }
  5035. break;
  5036. case "teacherClassRoom": //好友打開
  5037. _formdiv = new U.UF.UI.form(
  5038. "實時課堂",
  5039. $$("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 }), {
  5040. "id": "teacherClassRoom",
  5041. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5042. "onresize": function () { }
  5043. }, {
  5044. closecallback: function () { }
  5045. }, { "style": { "height": "36px" } }).form; //創建窗體
  5046. _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); } }
  5047. setTimeout(() => {
  5048. U.UF.F.windowZooming(_formdiv)
  5049. }, 0);
  5050. break;
  5051. }
  5052. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  5053. switch (str) {
  5054. case "project": //好友打開
  5055. _formdiv = new U.UF.UI.form(
  5056. "課程管理",
  5057. $$("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 }), {
  5058. "id": "project",
  5059. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5060. "onresize": function () { }
  5061. }, {
  5062. closecallback: function () { }
  5063. }, { "style": { "height": "36px" } }).form; //創建窗體
  5064. _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); } }
  5065. break;
  5066. case "evaluate":
  5067. _formdiv = new U.UF.UI.form(
  5068. "學生評價",
  5069. $$("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 }), {
  5070. "id": "evaluate",
  5071. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5072. "onresize": function () { }
  5073. }, {
  5074. closecallback: function () { }
  5075. }, { "style": { "height": "36px" } }).form; //創建窗體
  5076. _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); } }
  5077. break;
  5078. case "notice":
  5079. _formdiv = new U.UF.UI.form(
  5080. "通知公告",
  5081. $$("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 }), {
  5082. "id": "notice",
  5083. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5084. "onresize": function () { }
  5085. }, {
  5086. closecallback: function () { }
  5087. }, { "style": { "height": "36px" } }).form; //創建窗體
  5088. _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); } }
  5089. break;
  5090. case "stuLibrary":
  5091. _formdiv = new U.UF.UI.form(
  5092. "學習資料",
  5093. $$("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 }), {
  5094. "id": "stuLibrary",
  5095. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5096. "onresize": function () { }
  5097. }, {
  5098. closecallback: function () { }
  5099. }, { "style": { "height": "36px" } }).form; //創建窗體
  5100. _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); } }
  5101. break;
  5102. case "program":
  5103. _formdiv = new U.UF.UI.form(
  5104. "編程平臺",
  5105. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  5106. "id": "program",
  5107. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5108. "onresize": function () { }
  5109. }, {
  5110. closecallback: function () { }
  5111. }, { "style": { "height": "36px" } }).form; //創建窗體
  5112. _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); } }
  5113. break;
  5114. case "whiteboard":
  5115. _formdiv = new U.UF.UI.form(
  5116. "電子白板",
  5117. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  5118. "id": "whiteboard",
  5119. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5120. "onresize": function () { }
  5121. }, {
  5122. closecallback: function () { }
  5123. }, { "style": { "height": "36px" } }).form; //創建窗體
  5124. _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); } }
  5125. break;
  5126. case "investigation":
  5127. _formdiv = new U.UF.UI.form(
  5128. "問卷調查",
  5129. $$("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 }), {
  5130. "id": "investigation",
  5131. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5132. "onresize": function () { }
  5133. }, {
  5134. closecallback: function () { }
  5135. }, { "style": { "height": "36px" } }).form; //創建窗體
  5136. _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); } }
  5137. break;
  5138. case "mind":
  5139. _formdiv = new U.UF.UI.form(
  5140. "思維導圖",
  5141. $$("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"
  5142. "id": "mind",
  5143. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5144. "onresize": function () { }
  5145. }, {
  5146. closecallback: function () { }
  5147. }, { "style": { "height": "36px" } }).form; //創建窗體
  5148. _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); } }
  5149. break;
  5150. case "doc":
  5151. // U.MD.D.I.isRoom();
  5152. _formdiv = new U.UF.UI.form(
  5153. "協同文檔",
  5154. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  5155. "id": "doc",
  5156. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5157. "onresize": function () { }
  5158. }, {
  5159. closecallback: function () { }
  5160. }, { "style": { "height": "36px" } }).form; //創建窗體
  5161. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5162. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  5163. })
  5164. _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); } }
  5165. break;
  5166. case "study":
  5167. _formdiv = new U.UF.UI.form(
  5168. "課程中心",
  5169. $$("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
  5170. "id": "study",
  5171. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5172. "onresize": function () { }
  5173. }, {
  5174. closecallback: function () { }
  5175. }, { "style": { "height": "36px" } }).form; //創建窗體
  5176. _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); } }
  5177. break;
  5178. case "mindNetwork": //好友打開
  5179. _formdiv = new U.UF.UI.form(
  5180. "思維網格",
  5181. $$("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 }), {
  5182. "id": "mindNetwork",
  5183. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5184. "onresize": function () { }
  5185. }, {
  5186. closecallback: function () { }
  5187. }, { "style": { "height": "36px" } }).form; //創建窗體
  5188. _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); } }
  5189. break;
  5190. case "train": //好友打開
  5191. _formdiv = new U.UF.UI.form(
  5192. "訓練平臺",
  5193. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  5194. "id": "train",
  5195. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5196. "onresize": function () { }
  5197. }, {
  5198. closecallback: function () { }
  5199. }, { "style": { "height": "36px" } }).form; //創建窗體
  5200. _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); } }
  5201. break;
  5202. case "sys":
  5203. _formdiv = new U.UF.UI.form(
  5204. "目標管理",
  5205. $$("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 }), {
  5206. "id": "sys",
  5207. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5208. "onresize": function () { }
  5209. }, {
  5210. closecallback: function () { }
  5211. }, { "style": { "height": "36px" } }).form; //創建窗體
  5212. _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); } }
  5213. break;
  5214. case "courseDesign":
  5215. _formdiv = new U.UF.UI.form(
  5216. "項目設計",
  5217. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  5218. "id": "courseDesign",
  5219. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5220. "onresize": function () { }
  5221. }, {
  5222. closecallback: function () { }
  5223. }, { "style": { "height": "36px" } }).form; //創建窗體
  5224. _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); } }
  5225. break;
  5226. }
  5227. } else if (!_type) {
  5228. switch (str) {
  5229. case "my":
  5230. _formdiv = new U.UF.UI.form(
  5231. "我的資料",
  5232. $$("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 }), {
  5233. "id": "my",
  5234. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5235. "onresize": function () { }
  5236. }, {
  5237. closecallback: function () { }
  5238. }, { "style": { "height": "36px" } }).form; //創建窗體
  5239. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5240. break;
  5241. }
  5242. }
  5243. switch (str) {
  5244. // AIprogram2 AI體驗 aihub.cocorobo.cn
  5245. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  5246. // AIprogram AI編程 ai-blockly.cocorobo.cn
  5247. case "formulaEdi": //公式編輯
  5248. _formdiv = new U.UF.UI.form(
  5249. "公式編輯",
  5250. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  5251. "id": "formulaEdi",
  5252. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5253. "onresize": function () { }
  5254. }, {
  5255. closecallback: function () { }
  5256. }, { "style": { "height": "36px" } }).form; //創建窗體
  5257. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/formulaEdi.png)" }, "name": "公式編輯", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5258. break;
  5259. case "molStr": //分子結構
  5260. _formdiv = new U.UF.UI.form(
  5261. "分子結構",
  5262. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  5263. "id": "molStr",
  5264. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5265. "onresize": function () { }
  5266. }, {
  5267. closecallback: function () { }
  5268. }, { "style": { "height": "36px" } }).form; //創建窗體
  5269. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/molStr.png)" }, "name": "分子結構", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5270. break;
  5271. case "timeAxis": //時間軸
  5272. _formdiv = new U.UF.UI.form(
  5273. "時間軸",
  5274. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  5275. "id": "timeAxis",
  5276. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5277. "onresize": function () { }
  5278. }, {
  5279. closecallback: function () { }
  5280. }, { "style": { "height": "36px" } }).form; //創建窗體
  5281. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/timeAxis.png)" }, "name": "時間軸", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5282. break;
  5283. case "AIprogram2": //AI體驗
  5284. _formdiv = new U.UF.UI.form(
  5285. "AI體驗",
  5286. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  5287. "id": "AIprogram2",
  5288. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5289. "onresize": function () { }
  5290. }, {
  5291. closecallback: function () { }
  5292. }, { "style": { "height": "36px" } }).form; //創建窗體
  5293. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI體驗", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5294. break;
  5295. case "Pythonprogram": //python編程
  5296. _formdiv = new U.UF.UI.form(
  5297. "Python編程",
  5298. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  5299. "id": "Pythonprogram",
  5300. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5301. "onresize": function () { }
  5302. }, {
  5303. closecallback: function () { }
  5304. }, { "style": { "height": "36px" } }).form; //創建窗體
  5305. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Pythonprogram.png)" }, "name": "Python編程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5306. break;
  5307. case "AIprogram": //ai編程
  5308. _formdiv = new U.UF.UI.form(
  5309. "AI編程平臺",
  5310. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  5311. "id": "AIprogram",
  5312. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5313. "onresize": function () { }
  5314. }, {
  5315. closecallback: function () { }
  5316. }, { "style": { "height": "36px" } }).form; //創建窗體
  5317. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram.png)" }, "name": "AI編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5318. break;
  5319. case "CocoPi": //CocoPi
  5320. _formdiv = new U.UF.UI.form(
  5321. "CocoPi",
  5322. $$("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" }), {
  5323. "id": "CocoPi",
  5324. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5325. "onresize": function () { }
  5326. }, {
  5327. closecallback: function () { }
  5328. }, { "style": { "height": "36px" } }).form; //創建窗體
  5329. _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); } }
  5330. break;
  5331. case "Wood": //Wood
  5332. _formdiv = new U.UF.UI.form(
  5333. "海龜編程",
  5334. $$("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/" }), {
  5335. "id": "Wood",
  5336. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5337. "onresize": function () { }
  5338. }, {
  5339. closecallback: function () { }
  5340. }, { "style": { "height": "36px" } }).form; //創建窗體
  5341. _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); } }
  5342. break;
  5343. case "car": //模擬駕駛
  5344. _formdiv = new U.UF.UI.form(
  5345. "模擬駕駛",
  5346. $$("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/" }), {
  5347. "id": "car",
  5348. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5349. "onresize": function () { }
  5350. }, {
  5351. closecallback: function () { }
  5352. }, { "style": { "height": "36px" } }).form; //創建窗體
  5353. _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); } }
  5354. break;
  5355. case "lineSearch": //路徑搜索
  5356. _formdiv = new U.UF.UI.form(
  5357. "路徑搜索",
  5358. $$("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/" }), {
  5359. "id": "lineSearch",
  5360. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5361. "onresize": function () { }
  5362. }, {
  5363. closecallback: function () { }
  5364. }, { "style": { "height": "36px" } }).form; //創建窗體
  5365. _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); } }
  5366. break;
  5367. case "deepLearning": //深度學習
  5368. _formdiv = new U.UF.UI.form(
  5369. "深度學習",
  5370. $$("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/#" }), {
  5371. "id": "deepLearning",
  5372. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5373. "onresize": function () { }
  5374. }, {
  5375. closecallback: function () { }
  5376. }, { "style": { "height": "36px" } }).form; //創建窗體
  5377. _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); } }
  5378. break;
  5379. case "allHistory": //深度學習
  5380. _formdiv = new U.UF.UI.form(
  5381. "全歷史",
  5382. $$("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/" }), {
  5383. "id": "allHistory",
  5384. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5385. "onresize": function () { }
  5386. }, {
  5387. closecallback: function () { }
  5388. }, { "style": { "height": "36px" } }).form; //創建窗體
  5389. _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); } }
  5390. break;
  5391. case "chatPDF": //ai編程
  5392. _formdiv = new U.UF.UI.form(
  5393. "chatPDF",
  5394. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  5395. "id": "chatPDF",
  5396. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5397. "onresize": function () { }
  5398. }, {
  5399. closecallback: function () { }
  5400. }, { "style": { "height": "36px" } }).form; //創建窗體
  5401. _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); } }
  5402. break;
  5403. case "resources": //國家教育
  5404. _formdiv = new U.UF.UI.form(
  5405. "國家教育",
  5406. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  5407. "id": "resources",
  5408. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5409. "onresize": function () { }
  5410. }, {
  5411. closecallback: function () { }
  5412. }, { "style": { "height": "36px" } }).form; //創建窗體
  5413. _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); } }
  5414. break;
  5415. case "codeEdit": //源碼編輯
  5416. _formdiv = new U.UF.UI.form(
  5417. "源碼編輯",
  5418. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  5419. "id": "codeEdit",
  5420. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5421. "onresize": function () { }
  5422. }, {
  5423. closecallback: function () { }
  5424. }, { "style": { "height": "36px" } }).form; //創建窗體
  5425. _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); } }
  5426. break; //
  5427. case "MindMap": //MindMap
  5428. _formdiv = new U.UF.UI.form(
  5429. "MindMap",
  5430. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  5431. "id": "MindMap",
  5432. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5433. "onresize": function () { }
  5434. }, {
  5435. closecallback: function () { }
  5436. }, { "style": { "height": "36px" } }).form; //創建窗體
  5437. _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); } }
  5438. break;
  5439. case "netWorkPanel": //netWorkPanel
  5440. _formdiv = new U.UF.UI.form(
  5441. "netWorkPanel",
  5442. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  5443. "id": "netWorkPanel",
  5444. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5445. "onresize": function () { }
  5446. }, {
  5447. closecallback: function () { }
  5448. }, { "style": { "height": "36px" } }).form; //創建窗體
  5449. _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); } }
  5450. break;
  5451. case "GeoGebra": //GeoGebra
  5452. _formdiv = new U.UF.UI.form(
  5453. "GeoGebra",
  5454. $$("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" }), {
  5455. "id": "GeoGebra",
  5456. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5457. "onresize": function () { }
  5458. }, {
  5459. closecallback: function () { }
  5460. }, { "style": { "height": "36px" } }).form; //創建窗體
  5461. _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); } }
  5462. break;
  5463. case "translation": //翻譯
  5464. _formdiv = new U.UF.UI.form(
  5465. "翻譯",
  5466. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  5467. "id": "translation",
  5468. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5469. "onresize": function () { }
  5470. }, {
  5471. closecallback: function () { }
  5472. }, { "style": { "height": "36px" } }).form; //創建窗體
  5473. _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); } }
  5474. break;
  5475. case "mohe": //魔盒
  5476. _formdiv = new U.UF.UI.form(
  5477. "魔盒識字",
  5478. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  5479. "id": "mohe",
  5480. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5481. "onresize": function () { }
  5482. }, {
  5483. closecallback: function () { }
  5484. }, { "style": { "height": "36px" } }).form; //創建窗體
  5485. _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); } }
  5486. break;
  5487. case "24game": //24點
  5488. _formdiv = new U.UF.UI.form(
  5489. "24點",
  5490. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  5491. "id": "24game",
  5492. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5493. "onresize": function () { }
  5494. }, {
  5495. closecallback: function () { }
  5496. }, { "style": { "height": "36px" } }).form; //創建窗體
  5497. _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); } }
  5498. break;
  5499. case "case":
  5500. _formdiv = new U.UF.UI.form(
  5501. "課程進展",
  5502. $$("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 }), {
  5503. "id": "case",
  5504. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5505. "onresize": function () { }
  5506. }, {
  5507. closecallback: function () { }
  5508. }, { "style": { "height": "36px" } }).form; //創建窗體
  5509. _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); } }
  5510. break;
  5511. case "snf":
  5512. _formdiv = new U.UF.UI.form(
  5513. "賽諾梵",
  5514. $$("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" }), {
  5515. "id": "snf",
  5516. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5517. "onresize": function () { }
  5518. }, {
  5519. closecallback: function () { }
  5520. }, { "style": { "height": "36px" } }).form; //創建窗體
  5521. _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); } }
  5522. break;
  5523. case "hanFamily":
  5524. _formdiv = new U.UF.UI.form(
  5525. "漢字家族",
  5526. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  5527. "id": "hanFamily",
  5528. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5529. "onresize": function () { }
  5530. }, {
  5531. closecallback: function () { }
  5532. }, { "style": { "height": "36px" } }).form; //創建窗體
  5533. _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); } }
  5534. break;
  5535. case "hanClassics":
  5536. _formdiv = new U.UF.UI.form(
  5537. "國學經典",
  5538. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  5539. "id": "hanClassics",
  5540. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5541. "onresize": function () { }
  5542. }, {
  5543. closecallback: function () { }
  5544. }, { "style": { "height": "36px" } }).form; //創建窗體
  5545. _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); } }
  5546. break;
  5547. case "hanTraining":
  5548. _formdiv = new U.UF.UI.form(
  5549. "筆畫訓練",
  5550. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  5551. "id": "hanTraining",
  5552. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5553. "onresize": function () { }
  5554. }, {
  5555. closecallback: function () { }
  5556. }, { "style": { "height": "36px" } }).form; //創建窗體
  5557. _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); } }
  5558. break;
  5559. case "hanClass":
  5560. _formdiv = new U.UF.UI.form(
  5561. "書法課堂",
  5562. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  5563. "id": "hanClass",
  5564. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5565. "onresize": function () { }
  5566. }, {
  5567. closecallback: function () { }
  5568. }, { "style": { "height": "36px" } }).form; //創建窗體
  5569. _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); } }
  5570. break;
  5571. case "han":
  5572. _formdiv = new U.UF.UI.form(
  5573. "漢字宮",
  5574. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  5575. "id": "han",
  5576. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5577. "onresize": function () { }
  5578. }, {
  5579. closecallback: function () { }
  5580. }, { "style": { "height": "36px" } }).form; //創建窗體
  5581. _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); } }
  5582. break;
  5583. case "projectGM": //課程管理
  5584. _formdiv = new U.UF.UI.form(
  5585. "課程管理",
  5586. $$("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 }), {
  5587. "id": "projectGM",
  5588. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5589. "onresize": function () { }
  5590. }, {
  5591. closecallback: function () { }
  5592. }, { "style": { "height": "36px" } }).form; //創建窗體
  5593. _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); } }
  5594. break;
  5595. case "studyGM": //課程中心
  5596. _formdiv = new U.UF.UI.form(
  5597. "課程中心",
  5598. $$("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
  5599. "id": "study",
  5600. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5601. "onresize": function () { }
  5602. }, {
  5603. closecallback: function () { }
  5604. }, { "style": { "height": "36px" } }).form; //創建窗體
  5605. _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); } }
  5606. break;
  5607. // studentGM
  5608. case "studentGM": //學生管理
  5609. _formdiv = new U.UF.UI.form(
  5610. "學生管理",
  5611. $$("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 }), {
  5612. "id": "studentGM",
  5613. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5614. "onresize": function () { }
  5615. }, {
  5616. closecallback: function () { }
  5617. }, { "style": { "height": "36px" } }).form; //創建窗體
  5618. _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); } }
  5619. break;
  5620. case "evaluateGM": //學生評價
  5621. _formdiv = new U.UF.UI.form(
  5622. "學生評價",
  5623. $$("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 }), {
  5624. "id": "evaluateGM",
  5625. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5626. "onresize": function () { }
  5627. }, {
  5628. closecallback: function () { }
  5629. }, { "style": { "height": "36px" } }).form; //創建窗體
  5630. _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); } }
  5631. break;
  5632. // classGM
  5633. case "classGM": //班級管理
  5634. _formdiv = new U.UF.UI.form(
  5635. "班級管理",
  5636. $$("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 }), {
  5637. "id": "classGM",
  5638. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5639. "onresize": function () { }
  5640. }, {
  5641. closecallback: function () { }
  5642. }, { "style": { "height": "36px" } }).form; //創建窗體
  5643. _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); } }
  5644. break;
  5645. // dataGM
  5646. case "dataGM":
  5647. _formdiv = new U.UF.UI.form(
  5648. "我的資料",
  5649. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  5650. "id": "dataGM",
  5651. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5652. "onresize": function () { }
  5653. }, {
  5654. closecallback: function () { }
  5655. }, { "style": { "height": "36px" } }).form; //創建窗體
  5656. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5657. break;
  5658. // caseGM
  5659. case "caseGM": //課程進展
  5660. _formdiv = new U.UF.UI.form(
  5661. "課程進展",
  5662. $$("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 }), {
  5663. "id": "caseGM",
  5664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5665. "onresize": function () { }
  5666. }, {
  5667. closecallback: function () { }
  5668. }, { "style": { "height": "36px" } }).form; //創建窗體
  5669. _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); } }
  5670. break;
  5671. // meterialGM
  5672. case "meterialGM": //素材庫
  5673. _formdiv = new U.UF.UI.form(
  5674. "素材庫",
  5675. $$("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 }), {
  5676. "id": "meterialGM",
  5677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5678. "onresize": function () { }
  5679. }, {
  5680. closecallback: function () { }
  5681. }, { "style": { "height": "36px" } }).form; //創建窗體
  5682. _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); } }
  5683. break;
  5684. // evaluateSGM
  5685. case "evaluateSGM": //我的評價
  5686. _formdiv = new U.UF.UI.form(
  5687. "我的評價",
  5688. $$("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 }), {
  5689. "id": "evaluateSGM",
  5690. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5691. "onresize": function () { }
  5692. }, {
  5693. closecallback: function () { }
  5694. }, { "style": { "height": "36px" } }).form; //創建窗體
  5695. _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); } }
  5696. break;
  5697. case "jupyter": //jupyter
  5698. _formdiv = new U.UF.UI.form(
  5699. "jupyter",
  5700. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  5701. "id": "jupyter",
  5702. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5703. "onresize": function () { }
  5704. }, {
  5705. closecallback: function () { }
  5706. }, { "style": { "height": "36px" } }).form; //創建窗體
  5707. _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); } }
  5708. break;
  5709. case "number": //數字實驗室
  5710. _formdiv = new U.UF.UI.form(
  5711. "數字實驗室",
  5712. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  5713. "id": "number",
  5714. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5715. "onresize": function () { }
  5716. }, {
  5717. closecallback: function () { }
  5718. }, { "style": { "height": "36px" } }).form; //創建窗體
  5719. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "數字實驗室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5720. break;
  5721. case "studentCourse": //項目管理 學生
  5722. _formdiv = new U.UF.UI.form(
  5723. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  5724. $$("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 }), {
  5725. "id": "studentCourse",
  5726. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5727. "onresize": function () { }
  5728. }, {
  5729. closecallback: function () { }
  5730. }, { "style": { "height": "36px" } }).form; //創建窗體
  5731. _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); } }
  5732. break;
  5733. case "studentCourseS": //項目管理 老師
  5734. _formdiv = new U.UF.UI.form(
  5735. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  5736. $$("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 }), {
  5737. "id": "studentCourseS",
  5738. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5739. "onresize": function () { }
  5740. }, {
  5741. closecallback: function () { }
  5742. }, { "style": { "height": "36px" } }).form; //創建窗體
  5743. _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); } }
  5744. break;
  5745. case "studentIndex": //項目中心
  5746. _formdiv = new U.UF.UI.form(
  5747. "項目中心",
  5748. $$("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 }), {
  5749. "id": "studentIndex",
  5750. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5751. "onresize": function () { }
  5752. }, {
  5753. closecallback: function () { }
  5754. }, { "style": { "height": "36px" } }).form; //創建窗體
  5755. _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); } }
  5756. break;
  5757. case "CaseDesignS":
  5758. _formdiv = new U.UF.UI.form(
  5759. "項目進展",
  5760. $$("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 }), {
  5761. "id": "case",
  5762. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5763. "onresize": function () { }
  5764. }, {
  5765. closecallback: function () { }
  5766. }, { "style": { "height": "36px" } }).form; //創建窗體
  5767. _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); } }
  5768. break;
  5769. case "tcStudent": //騰訊學生管理
  5770. _formdiv = new U.UF.UI.form(
  5771. "學生管理",
  5772. $$("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 }), {
  5773. "id": "tcStudent",
  5774. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5775. "onresize": function () { }
  5776. }, {
  5777. closecallback: function () { }
  5778. }, { "style": { "height": "36px" } }).form; //創建窗體
  5779. _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); } }
  5780. break;
  5781. case "tcSchool": //騰訊學校管理
  5782. _formdiv = new U.UF.UI.form(
  5783. "學校管理",
  5784. $$("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 }), {
  5785. "id": "tcSchool",
  5786. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5787. "onresize": function () { }
  5788. }, {
  5789. closecallback: function () { }
  5790. }, { "style": { "height": "36px" } }).form; //創建窗體
  5791. _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); } }
  5792. break;
  5793. case "tcTeacher": //騰訊學校管理
  5794. _formdiv = new U.UF.UI.form(
  5795. "教師管理",
  5796. $$("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 }), {
  5797. "id": "tcTeacher",
  5798. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5799. "onresize": function () { }
  5800. }, {
  5801. closecallback: function () { }
  5802. }, { "style": { "height": "36px" } }).form; //創建窗體
  5803. _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); } }
  5804. break;
  5805. case "tcData": //騰訊我的資料
  5806. _formdiv = new U.UF.UI.form(
  5807. "我的資料",
  5808. $$("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 }), {
  5809. "id": "tcData",
  5810. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5811. "onresize": function () { }
  5812. }, {
  5813. closecallback: function () { }
  5814. }, { "style": { "height": "36px" } }).form; //創建窗體
  5815. _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); } }
  5816. break;
  5817. case "tcNotice": //騰訊消息通知
  5818. _formdiv = new U.UF.UI.form(
  5819. "消息通知",
  5820. $$("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 }), {
  5821. "id": "tcNotice",
  5822. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5823. "onresize": function () { }
  5824. }, {
  5825. closecallback: function () { }
  5826. }, { "style": { "height": "36px" } }).form; //創建窗體
  5827. _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); } }
  5828. break;
  5829. case "myReport": //好友打開
  5830. _formdiv = new U.UF.UI.form(
  5831. "我的評價",
  5832. $$("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 }), {
  5833. "id": "myReport",
  5834. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5835. "onresize": function () { }
  5836. }, {
  5837. closecallback: function () { }
  5838. }, { "style": { "height": "36px" } }).form; //創建窗體
  5839. _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); } }
  5840. break;
  5841. case "learnAna": //好友打開
  5842. _formdiv = new U.UF.UI.form(
  5843. "學習分析",
  5844. $$("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 }), {
  5845. "id": "learnAna",
  5846. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5847. "onresize": function () { }
  5848. }, {
  5849. closecallback: function () { }
  5850. }, { "style": { "height": "36px" } }).form; //創建窗體
  5851. _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); } }
  5852. break;
  5853. case "AIChat": //AI共創
  5854. _formdiv = new U.UF.UI.form(
  5855. "AI共創",
  5856. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  5857. "id": "AIChat",
  5858. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  5859. "onresize": function () { }
  5860. }, {
  5861. istop: true,
  5862. closecallback: function () { $("#aichat_icon").remove(); },
  5863. narrowcallback: function () {
  5864. if (!$("#aichat_icon")[0]) {
  5865. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  5866. }
  5867. },
  5868. }, { "style": { "height": "36px" } }).form; //創建窗體
  5869. _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); } }
  5870. break;
  5871. case "ainew": //AI共創
  5872. _formdiv = new U.UF.UI.form(
  5873. "AI協同",
  5874. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  5875. "id": "ainew",
  5876. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5877. "onresize": function () { }
  5878. }, {
  5879. closecallback: function () { }
  5880. }, { "style": { "height": "36px" } }).form; //創建窗體
  5881. _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); } }
  5882. break;
  5883. case "gpt4": //gpt4
  5884. _formdiv = new U.UF.UI.form(
  5885. "AI助手",
  5886. $$("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 }), {
  5887. "id": "gpt4",
  5888. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5889. "onresize": function () { }
  5890. }, {
  5891. closecallback: function () { }
  5892. }, { "style": { "height": "36px" } }).form; //創建窗體
  5893. _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); } }
  5894. break;
  5895. case "aigpt": //gpt4
  5896. _formdiv = new U.UF.UI.form(
  5897. "AI助手+",
  5898. $$("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 }), {
  5899. "id": "aigpt",
  5900. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5901. "onresize": function () { }
  5902. }, {
  5903. closecallback: function () { }
  5904. }, { "style": { "height": "36px" } }).form; //創建窗體
  5905. _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); } }
  5906. break;
  5907. case "aiKnowledge": //aiKnowledge
  5908. _formdiv = new U.UF.UI.form(
  5909. "知識建構",
  5910. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aigpt/#/knowledge_construction/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5911. "id": "aiKnowledge",
  5912. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5913. "onresize": function () { }
  5914. }, {
  5915. closecallback: function () { }
  5916. }, { "style": { "height": "36px" } }).form; //創建窗體
  5917. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aiKnowledge.png)" }, "name": "知識建構", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5918. break;
  5919. case "futureClass": //AI共創
  5920. _formdiv = new U.UF.UI.form(
  5921. "協同建構",
  5922. $$("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
  5923. "id": "synergyCourse",
  5924. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5925. "onresize": function () { }
  5926. }, {
  5927. closecallback: function () {
  5928. $("iframe", _formdiv)[0].contentWindow.loginout();
  5929. }
  5930. }, { "style": { "height": "36px" } }).form; //創建窗體
  5931. _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); } }
  5932. break;
  5933. case "aiagent": //ai agent
  5934. _formdiv = new U.UF.UI.form(
  5935. "AI Agent",
  5936. $$("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" }), {
  5937. "id": "AIAgent",
  5938. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5939. "onresize": function () { }
  5940. }, {
  5941. closecallback: function () { }
  5942. }, { "style": { "height": "36px" } }).form; //創建窗體
  5943. _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); } }
  5944. break;
  5945. case "dataBoard": //數據看板
  5946. _formdiv = new U.UF.UI.form(
  5947. "數據看板",
  5948. $$("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 }), {
  5949. "id": "dataBoard",
  5950. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5951. "onresize": function () { }
  5952. }, {
  5953. closecallback: function () { }
  5954. }, { "style": { "height": "36px" } }).form; //創建窗體
  5955. _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); } }
  5956. break;
  5957. case "dataBoardSies": //數據融合
  5958. _formdiv = new U.UF.UI.form(
  5959. "數據融合",
  5960. $$("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 }), {
  5961. "id": "dataBoardSies",
  5962. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5963. "onresize": function () { }
  5964. }, {
  5965. closecallback: function () { }
  5966. }, { "style": { "height": "36px" } }).form; //創建窗體
  5967. _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); } }
  5968. break;
  5969. case "dataBoardNew": //數據看板
  5970. _formdiv = new U.UF.UI.form(
  5971. "綜合看板",
  5972. $$("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 }), {
  5973. "id": "dataBoardNew",
  5974. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5975. "onresize": function () { }
  5976. }, {
  5977. closecallback: function () { }
  5978. }, { "style": { "height": "36px" } }).form; //創建窗體
  5979. _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); } }
  5980. break;
  5981. case "dataBoardTest": //數據看板
  5982. _formdiv = new U.UF.UI.form(
  5983. "評測看板",
  5984. $$("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 }), {
  5985. "id": "dataBoardTest",
  5986. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5987. "onresize": function () { }
  5988. }, {
  5989. closecallback: function () { }
  5990. }, { "style": { "height": "36px" } }).form; //創建窗體
  5991. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "評測看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5992. break;
  5993. case "AIAnalyse": //AI共創
  5994. _formdiv = new U.UF.UI.form(
  5995. "AI分析",
  5996. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  5997. "id": "AIAnalyse",
  5998. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5999. "onresize": function () { }
  6000. }, {
  6001. closecallback: function () { }
  6002. }, { "style": { "height": "36px" } }).form; //創建窗體
  6003. _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); } }
  6004. break;
  6005. case "studioCourse": //AI共創
  6006. _formdiv = new U.UF.UI.form(
  6007. "工作管理",
  6008. $$("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 }), {
  6009. "id": "studioCourse",
  6010. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6011. "onresize": function () { }
  6012. }, {
  6013. closecallback: function () { }
  6014. }, { "style": { "height": "36px" } }).form; //創建窗體
  6015. _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); } }
  6016. break;
  6017. case "studioIndex": //AI共創
  6018. _formdiv = new U.UF.UI.form(
  6019. "工作中心",
  6020. $$("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 }), {
  6021. "id": "studioIndex",
  6022. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6023. "onresize": function () { }
  6024. }, {
  6025. closecallback: function () { }
  6026. }, { "style": { "height": "36px" } }).form; //創建窗體
  6027. _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); } }
  6028. break;
  6029. case "source":
  6030. _formdiv = new U.UF.UI.form(
  6031. "教學資源",
  6032. $$("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 }), {
  6033. "id": "source",
  6034. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6035. "onresize": function () { }
  6036. }, {
  6037. closecallback: function () { }
  6038. }, { "style": { "height": "36px" } }).form; //創建窗體
  6039. _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); } }
  6040. break;
  6041. case "testTeacher":
  6042. _formdiv = new U.UF.UI.form(
  6043. "教師管理",
  6044. $$("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 }), {
  6045. "id": "testTeacher",
  6046. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6047. "onresize": function () { }
  6048. }, {
  6049. closecallback: function () { }
  6050. }, { "style": { "height": "36px" } }).form; //創建窗體
  6051. _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); } }
  6052. break;
  6053. case "testStudent":
  6054. _formdiv = new U.UF.UI.form(
  6055. "教師中心",
  6056. $$("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 }), {
  6057. "id": "testStudent",
  6058. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6059. "onresize": function () { }
  6060. }, {
  6061. closecallback: function () { }
  6062. }, { "style": { "height": "36px" } }).form; //創建窗體
  6063. _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); } }
  6064. break;
  6065. case "testTeacherSies":
  6066. _formdiv = new U.UF.UI.form(
  6067. "教師管理",
  6068. $$("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 }), {
  6069. "id": "testTeacherSies",
  6070. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6071. "onresize": function () { }
  6072. }, {
  6073. closecallback: function () { }
  6074. }, { "style": { "height": "36px" } }).form; //創建窗體
  6075. _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); } }
  6076. break;
  6077. case "testStudentSies":
  6078. _formdiv = new U.UF.UI.form(
  6079. "教師中心",
  6080. $$("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 }), {
  6081. "id": "testStudentSies",
  6082. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6083. "onresize": function () { }
  6084. }, {
  6085. closecallback: function () { }
  6086. }, { "style": { "height": "36px" } }).form; //創建窗體
  6087. _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); } }
  6088. break;
  6089. case "ytpbl": //消息通知
  6090. _formdiv = new U.UF.UI.form(
  6091. "案例征集",
  6092. $$("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 }), {
  6093. "id": "ytpbl",
  6094. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6095. "onresize": function () { }
  6096. }, {
  6097. closecallback: function () { }
  6098. }, { "style": { "height": "36px" } }).form; //創建窗體
  6099. _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); } }
  6100. // 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");
  6101. break;
  6102. case "aiCourseResource": //人工智能窗體
  6103. _formdiv = new U.UF.UI.form(
  6104. false,
  6105. $$("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 }), {
  6106. "id": "aiCourseResource",
  6107. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6108. "onresize": function () { },
  6109. "isdrag": false,
  6110. }, {
  6111. closecallback: function () { }
  6112. }, { "style": { "height": "36px" } }).form; //創建窗體
  6113. _taskbar = ''
  6114. break;
  6115. case "szdjgCocooroboX": //圖形化編程
  6116. _formdiv = new U.UF.UI.form(
  6117. "圖形化編程",
  6118. $$("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" }), {
  6119. "id": "szdjgCocooroboX",
  6120. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6121. "onresize": function () { }
  6122. }, {
  6123. closecallback: function () { }
  6124. }, { "style": { "height": "36px" } }).form; //創建窗體
  6125. _taskbar = ''
  6126. break;
  6127. case "szdjgPython": //python編程
  6128. _formdiv = new U.UF.UI.form(
  6129. "Python編程",
  6130. $$("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" }), {
  6131. "id": "szdjgPython",
  6132. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6133. "onresize": function () { }
  6134. }, {
  6135. closecallback: function () { }
  6136. }, { "style": { "height": "36px" } }).form; //創建窗體
  6137. _taskbar = ''
  6138. break;
  6139. case "Record":
  6140. _formdiv = new U.UF.UI.form(
  6141. "觀察記錄",
  6142. $$("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 }), {
  6143. "id": "Record",
  6144. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6145. "onresize": function () { }
  6146. }, {
  6147. closecallback: function () { }
  6148. }, { "style": { "height": "36px" } }).form; //創建窗體
  6149. _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); } }
  6150. break;
  6151. case "aigptCourse":
  6152. _formdiv = new U.UF.UI.form(
  6153. "AI智能體",
  6154. $$("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' }), {
  6155. "id": "aigptCourse",
  6156. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6157. "onresize": function () { }
  6158. }, {
  6159. closecallback: function () { }
  6160. }, { "style": { "height": "36px" } }).form; //創建窗體
  6161. _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); } }
  6162. break;
  6163. case "classroomObservation":
  6164. _formdiv = new U.UF.UI.form(
  6165. "課堂觀察",
  6166. $$("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 }), {
  6167. "id": "classroomObservation",
  6168. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6169. "onresize": function () { }
  6170. }, {
  6171. closecallback: function () { }
  6172. }, { "style": { "height": "36px" } }).form; //創建窗體
  6173. _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); } }
  6174. break;
  6175. case "pblCourse":
  6176. _formdiv = new U.UF.UI.form(
  6177. "學生PBL",
  6178. $$("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 }), {
  6179. "id": "pblCourse",
  6180. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6181. "onresize": function () { }
  6182. }, {
  6183. closecallback: function () { }
  6184. }, { "style": { "height": "36px" } }).form; //創建窗體
  6185. _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); } }
  6186. break;
  6187. }
  6188. //U.MD.D.I.openClick(str);
  6189. //如果有任務欄信息
  6190. if (_taskbar) {
  6191. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6192. }
  6193. }
  6194. // U.MD.D.I.openClick = function(str){
  6195. // var click = '';
  6196. // switch(str){
  6197. // case 'friend':
  6198. // click = '我的好友';
  6199. // break;
  6200. // case 'domain':
  6201. // click = '域名管理';
  6202. // break;
  6203. // case 'disk':
  6204. // click = '我的雲盤';
  6205. // break;
  6206. // case 'word':
  6207. // click = 'Word';
  6208. // break;
  6209. // case 'excel':
  6210. // click = 'Execl';
  6211. // break;
  6212. // case 'txt':
  6213. // click = '文本文件';
  6214. // break;
  6215. // case 'lookupFriend':
  6216. // click = '查找好友';
  6217. // break;
  6218. // case 'ftp':
  6219. // click = 'FTP';
  6220. // break;
  6221. // case 'group':
  6222. // click = '群組';
  6223. // break;
  6224. // case 'set':
  6225. // click = '我的設置';
  6226. // break;
  6227. // case 'systemSet':
  6228. // click = '系統設置';
  6229. // break;
  6230. // case 'boomYun':
  6231. // click = '互聯辦公';
  6232. // break;
  6233. // case 'xz':
  6234. // click = '雲端下載';
  6235. // break;
  6236. // case 'client':
  6237. // click = '有思瀏覽器';
  6238. // break;
  6239. // case 'backEndProgramming':
  6240. // click = '在線後臺編程';
  6241. // break;
  6242. // case 'frontEndProgramming':
  6243. // click = '在線前端編程';
  6244. // break;
  6245. // default: break;
  6246. // }
  6247. // if(U.MD.D.I.Ip && click){
  6248. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  6249. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  6250. // })
  6251. // }
  6252. // }
  6253. /**
  6254. *函數作用:ajax簡易函數,使用post格式
  6255. *@param url {data} 後臺地址
  6256. *@param data {data} 參數json
  6257. *@param fn {data} 回調函數
  6258. *
  6259. */
  6260. // U.MD.D.I.Mysqlrequest = function(url,fn){
  6261. // var xhr = new XMLHttpRequest();
  6262. // xhr.open("GET",url,true);
  6263. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  6264. // xhr.onreadystatechange = function(){
  6265. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  6266. // fn.call(this,xhr.responseText);
  6267. // }
  6268. // };
  6269. // xhr.send();
  6270. // }
  6271. /*判斷是否是內網IP*/
  6272. // U.MD.D.I.isInnerIPFn = function(str){
  6273. // var curPageUrl = str;
  6274. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  6275. // curPageUrl =curPageUrl.replace(reg1,'');
  6276. // // console.log('curPageUrl-1 '+curPageUrl);
  6277. // var reg2 = /\:+/g;//替換冒號為一點
  6278. // curPageUrl =curPageUrl.replace(reg2,'.');
  6279. // // console.log('curPageUrl-2 '+curPageUrl);
  6280. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  6281. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  6282. // if(curPageUrl[2] != '16'){
  6283. // return ipAddress;
  6284. // }else{
  6285. // return false;
  6286. // }
  6287. // }
  6288. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  6289. // //compatibility for firefox and chrome
  6290. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  6291. // var pc = new myPeerConnection({
  6292. // iceServers: []
  6293. // }),
  6294. // noop = function() {},
  6295. // localIPs = {},
  6296. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  6297. // key;
  6298. // function iterateIP(ip) {
  6299. // if (!localIPs[ip]) onNewIP(ip);
  6300. // localIPs[ip] = true;
  6301. // }
  6302. // //create a bogus data channel
  6303. // pc.createDataChannel("");
  6304. // // create offer and set local description
  6305. // pc.createOffer().then(function(sdp) {
  6306. // sdp.sdp.split('\n').forEach(function(line) {
  6307. // if (line.indexOf('candidate') < 0) return;
  6308. // line.match(ipRegex).forEach(iterateIP);
  6309. // });
  6310. // pc.setLocalDescription(sdp, noop, noop);
  6311. // }).catch(function(reason) {
  6312. // // An error occurred, so handle the failure to connect
  6313. // });
  6314. // //sten for candidate events
  6315. // pc.onicecandidate = function(ice) {
  6316. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  6317. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  6318. // };
  6319. // }
  6320. // U.MD.D.I.getUserIpBool = function(callback){
  6321. // U.MD.D.I.getUserIP(function(ip){
  6322. // alert("Got IP! :" + ip);
  6323. // });
  6324. //}
  6325. //#endregion
  6326. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  6327. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6328. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6329. _userinfo = US.userInfo, //登錄用戶信息
  6330. _userid = US.userInfo.userid //登錄用戶id
  6331. let _iframe;
  6332. let _cid = cid,
  6333. _stage = stage,
  6334. _task = task,
  6335. _tool = tool;
  6336. var _jie = $$("div", {
  6337. "style": {
  6338. "position": "absolute",
  6339. "bottom": "50px",
  6340. "right": "50px",
  6341. "zIndex": "9999",
  6342. "backgroundColor": "#2268bc",
  6343. "color": "#fff",
  6344. "padding": "12px 20px",
  6345. "cursor": "pointer",
  6346. "borderRadius": "4px",
  6347. },
  6348. "innerHTML": "提交作業"
  6349. })
  6350. let aTool = ''
  6351. let _loading = document.createElement('div')
  6352. _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;"
  6353. // _loading.id = "";
  6354. let _lchild = document.createElement('div')
  6355. let _limg = document.createElement('img')
  6356. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6357. _limg.style = "width: 26px;margin-right: 10px;"
  6358. _lchild.appendChild(_limg)
  6359. let _lspan = document.createElement('span')
  6360. _lspan.innerHTML = "上傳中..."
  6361. _lchild.appendChild(_lspan)
  6362. _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%);"
  6363. _loading.appendChild(_lchild)
  6364. var _box = $$('div', {
  6365. "style": {
  6366. "position": "relative",
  6367. "width": "100%",
  6368. "height": "100%",
  6369. },
  6370. })
  6371. _box.appendChild(_loading)
  6372. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  6373. switch (str) {
  6374. case "whiteboard":
  6375. aTool = 1;
  6376. _iframe = $$("iframe", {
  6377. "frameborder": "no",
  6378. "border": "0",
  6379. "scrolling ": "no",
  6380. "style": {
  6381. "cssText": "border:0;width:100%;height:100%"
  6382. },
  6383. "src": "https://iwb.cocorobo.hk/"
  6384. })
  6385. _box.appendChild(_iframe);
  6386. _box.appendChild(_jie);
  6387. _formdiv = new U.UF.UI.form(
  6388. "電子白板",
  6389. _box, {
  6390. "id": "whiteboard" + cid + stage + task + tool,
  6391. "style": {
  6392. "width": "90%",
  6393. "height": "90%",
  6394. "overflow": 'hidden'
  6395. },
  6396. "onresize": function () { }
  6397. }, {
  6398. closecallback: function () { }
  6399. }, {
  6400. "style": {
  6401. "height": "36px"
  6402. }
  6403. }).form; //創建窗體
  6404. _taskbar = {
  6405. "id": str + _formdiv.id,
  6406. "style": {
  6407. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6408. },
  6409. "name": "電子白板",
  6410. "forms": _formdiv,
  6411. "click": function () {
  6412. U.MD.D.I.openApplication(str, obj, info);
  6413. }
  6414. }
  6415. break;
  6416. case "mind":
  6417. aTool = 3;
  6418. _iframe = $$("iframe", {
  6419. "frameborder": "no",
  6420. "border": "0",
  6421. "scrolling ": "no",
  6422. "style": {
  6423. "cssText": "border:0;width:100%;height:100%"
  6424. },
  6425. "src": "/kityminder-editor/dist/index.html"
  6426. })
  6427. _box.appendChild(_iframe);
  6428. _box.appendChild(_jie);
  6429. _formdiv = new U.UF.UI.form(
  6430. "思維導圖",
  6431. _box, { //"/jsmind/example/demo.html"
  6432. "id": "mind" + cid + stage + task + tool,
  6433. "style": {
  6434. "width": "90%",
  6435. "height": "90%",
  6436. "overflow": 'hidden'
  6437. },
  6438. "onresize": function () { }
  6439. }, {
  6440. closecallback: function () { }
  6441. }, {
  6442. "style": {
  6443. "height": "36px"
  6444. }
  6445. }).form; //創建窗體
  6446. _taskbar = {
  6447. "id": str + _formdiv.id,
  6448. "style": {
  6449. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6450. },
  6451. "name": "思維導圖",
  6452. "forms": _formdiv,
  6453. "click": function () {
  6454. U.MD.D.I.openApplication(str, obj, info);
  6455. }
  6456. }
  6457. break;
  6458. case "MindMap":
  6459. aTool = 3;
  6460. _iframe = $$("iframe", {
  6461. "frameborder": "no",
  6462. "border": "0",
  6463. "scrolling ": "no",
  6464. "style": {
  6465. "cssText": "border:0;width:100%;height:100%"
  6466. },
  6467. "src": "//cloud.cocorobo.hk/mind/"
  6468. })
  6469. _box.appendChild(_iframe);
  6470. _box.appendChild(_jie);
  6471. _formdiv = new U.UF.UI.form(
  6472. "思維導圖",
  6473. _box, { //"/jsmind/example/demo.html"
  6474. "id": "mind" + cid + stage + task + tool,
  6475. "style": {
  6476. "width": "90%",
  6477. "height": "90%",
  6478. "overflow": 'hidden'
  6479. },
  6480. "onresize": function () { }
  6481. }, {
  6482. closecallback: function () { }
  6483. }, {
  6484. "style": {
  6485. "height": "36px"
  6486. }
  6487. }).form; //創建窗體
  6488. _taskbar = {
  6489. "id": str + _formdiv.id,
  6490. "style": {
  6491. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6492. },
  6493. "name": "思維導圖",
  6494. "forms": _formdiv,
  6495. "click": function () {
  6496. U.MD.D.I.openApplication(str, obj, info);
  6497. }
  6498. }
  6499. break;
  6500. case "doc":
  6501. aTool = 6;
  6502. _iframe = $$("iframe", {
  6503. "frameborder": "no",
  6504. "border": "0",
  6505. "scrolling ": "no",
  6506. "style": {
  6507. "cssText": "border:0;width:100%;height:100%"
  6508. },
  6509. "src": "/Office/Word/WordEditArea.htm"
  6510. })
  6511. _box.appendChild(_iframe);
  6512. _box.appendChild(_jie);
  6513. _formdiv = new U.UF.UI.form(
  6514. "協同文檔",
  6515. _box, {
  6516. "id": "doc" + cid + stage + task + tool,
  6517. "style": {
  6518. "width": "90%",
  6519. "height": "90%",
  6520. "overflow": 'hidden'
  6521. },
  6522. "onresize": function () { }
  6523. }, {
  6524. closecallback: function () { }
  6525. }, {
  6526. "style": {
  6527. "height": "36px"
  6528. }
  6529. }).form; //創建窗體
  6530. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6531. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6532. })
  6533. _taskbar = {
  6534. "id": str + _formdiv.id,
  6535. "style": {
  6536. "backgroundImage": "url(/img/icon/doc.png)"
  6537. },
  6538. "name": "協同文檔",
  6539. "forms": _formdiv,
  6540. "click": function () {
  6541. U.MD.D.I.openApplication(str, obj, info);
  6542. }
  6543. }
  6544. break;
  6545. case "mindNetwork": //好友打開
  6546. aTool = 7;
  6547. _iframe = $$("iframe", {
  6548. "webkitallowfullscreen": "",
  6549. "mozallowfullscreen": "",
  6550. "allowfullscreen": "",
  6551. "frameborder": "no",
  6552. "border": "0",
  6553. "scrolling ": "no",
  6554. "style": {
  6555. "cssText": "border:0; width:100%; height:100%;"
  6556. },
  6557. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6558. })
  6559. _box.appendChild(_iframe);
  6560. _box.appendChild(_jie);
  6561. _formdiv = new U.UF.UI.form(
  6562. "思維網格",
  6563. _box, {
  6564. "id": "mindNetwork" + cid + stage + task + tool,
  6565. "style": {
  6566. "width": "90%",
  6567. "height": "90%",
  6568. "overflow": 'hidden'
  6569. },
  6570. "onresize": function () { }
  6571. }, {
  6572. closecallback: function () { }
  6573. }, {
  6574. "style": {
  6575. "height": "36px"
  6576. }
  6577. }).form; //創建窗體
  6578. _taskbar = {
  6579. "id": str + _formdiv.id,
  6580. "style": {
  6581. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6582. },
  6583. "name": "思維網格",
  6584. "forms": _formdiv,
  6585. "click": function () {
  6586. U.MD.D.I.openApplication(str, obj, info);
  6587. }
  6588. }
  6589. break;
  6590. case "courseDesign":
  6591. _iframe = $$("iframe", {
  6592. "webkitallowfullscreen": "",
  6593. "mozallowfullscreen": "",
  6594. "allowfullscreen": "",
  6595. "frameborder": "no",
  6596. "border": "0",
  6597. "scrolling ": "no",
  6598. "style": {
  6599. "cssText": "border:0; width:100%; height:100%;"
  6600. },
  6601. "src": "/course-design-vue"
  6602. })
  6603. _box.appendChild(_iframe);
  6604. _box.appendChild(_jie);
  6605. _formdiv = new U.UF.UI.form(
  6606. "項目設計",
  6607. _box, {
  6608. "id": "courseDesign" + cid + stage + task + tool,
  6609. "style": {
  6610. "width": "90%",
  6611. "height": "90%",
  6612. "overflow": 'hidden'
  6613. },
  6614. "onresize": function () { }
  6615. }, {
  6616. closecallback: function () { }
  6617. }, {
  6618. "style": {
  6619. "height": "36px"
  6620. }
  6621. }).form; //創建窗體
  6622. _taskbar = {
  6623. "id": str + _formdiv.id,
  6624. "style": {
  6625. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6626. },
  6627. "name": "項目設計",
  6628. "forms": _formdiv,
  6629. "click": function () {
  6630. U.MD.D.I.openApplication(str, obj, info);
  6631. }
  6632. }
  6633. break;
  6634. }
  6635. const script1 = document.createElement("script");
  6636. script1.type = "text/javascript";
  6637. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6638. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6639. const script2 = document.createElement("script");
  6640. script2.type = "text/javascript";
  6641. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6642. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6643. const script3 = document.createElement("script");
  6644. script3.type = "text/javascript";
  6645. script3.charset = "UTF-8";
  6646. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6647. const script4 = document.createElement("script");
  6648. script4.type = "text/javascript";
  6649. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6650. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6651. if (_iframe) {
  6652. if (str == 'doc') {
  6653. _iframe = _formdiv.querySelector('iframe')
  6654. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6655. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6656. _iframe.contentWindow.document.body.appendChild(script1);
  6657. _iframe.contentWindow.document.body.appendChild(script2);
  6658. // _iframe.contentWindow.document.body.appendChild(script3);
  6659. _iframe.contentWindow.document.body.appendChild(script4);
  6660. })
  6661. if (onloadListener) {
  6662. _iframe.contentDocument.location.reload()
  6663. } else {
  6664. _iframe.contentDocument.location.reload()
  6665. }
  6666. } else if (str == 'courseDesign') {
  6667. U.UF.DL.iframeLoad(_iframe, function () {
  6668. // _iframe.contentWindow.U.MD.O.W.load();
  6669. // _iframe.contentWindow.document.body.appendChild(script1);
  6670. _iframe.contentWindow.document.body.appendChild(script2);
  6671. _iframe.contentWindow.document.body.appendChild(script4);
  6672. })
  6673. } else if (str == 'mind') {
  6674. _iframe = _formdiv.querySelector('iframe')
  6675. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6676. //
  6677. _iframe.contentWindow.document.body.appendChild(script1);
  6678. _iframe.contentWindow.document.body.appendChild(script2);
  6679. _iframe.contentWindow.document.body.appendChild(script4);
  6680. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6681. })
  6682. if (onloadListener) {
  6683. _iframe.contentDocument.location.reload()
  6684. } else {
  6685. _iframe.contentDocument.location.reload()
  6686. }
  6687. } else if (str == 'whiteboard') {
  6688. _iframe = _formdiv.querySelector('iframe')
  6689. let onloadListener = _iframe.onload = () => {
  6690. _iframe.contentWindow.document.body.appendChild(script1);
  6691. _iframe.contentWindow.document.body.appendChild(script2);
  6692. _iframe.contentWindow.document.body.appendChild(script4);
  6693. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6694. };
  6695. // if (onloadListener) {
  6696. // try {
  6697. // _iframe.src += "?cocorobo="+new Date().getTime()
  6698. // _iframe.contentWindow.document.location.reload()
  6699. // } catch (error) {
  6700. // }
  6701. // } else {
  6702. // _iframe.contentDocument.location.reload()
  6703. // }
  6704. } else {
  6705. _iframe.onload = () => {
  6706. _iframe.contentWindow.document.body.appendChild(script1);
  6707. _iframe.contentWindow.document.body.appendChild(script2);
  6708. // _iframe.contentWindow.document.body.appendChild(script3);
  6709. _iframe.contentWindow.document.body.appendChild(script4);
  6710. };
  6711. }
  6712. _jie.onclick = async () => {
  6713. let text = ''
  6714. if (aTool == 1) {
  6715. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6716. } else if (aTool == 6) {
  6717. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6718. } else if (aTool == 3) {
  6719. text = await U.MD.D.I.getEditorContent(_iframe);
  6720. }
  6721. _loading.style.display = 'flex'
  6722. console.log(_loading);
  6723. var _ajs = _iframe.contentWindow.document.createElement("script");
  6724. _ajs.type = "text/javascript";
  6725. _ajs.innerHTML =
  6726. // 'console.log(' + _loading + ');\n' +
  6727. 'var _js = document.createElement("script");\n' +
  6728. '_js.type="text/javascript";\n' +
  6729. '_js.charset="UTF-8";\n' +
  6730. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6731. "_js.onload = function(){\n" +
  6732. ' var a = document.getElementsByTagName("img")\n' +
  6733. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6734. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6735. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6736. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6737. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6738. "beforeUpload_shishi(file," +
  6739. "'" +
  6740. _userid +
  6741. "'" +
  6742. ", " +
  6743. "'" +
  6744. _cid +
  6745. "'" +
  6746. ", " +
  6747. "'" +
  6748. _stage +
  6749. "'" +
  6750. ", " +
  6751. "'" +
  6752. _task +
  6753. "'" +
  6754. ", " +
  6755. "'" +
  6756. _tool +
  6757. "'" +
  6758. ", " +
  6759. "'" +
  6760. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  6761. "'" +
  6762. ", " +
  6763. "'" +
  6764. aTool +
  6765. "'" +
  6766. ", " +
  6767. "`" +
  6768. text +
  6769. "`" +
  6770. ")\n" +
  6771. " });\n" +
  6772. "}\n" +
  6773. "document.head.appendChild(_js);\n";
  6774. _iframe.contentWindow.document.head.appendChild(_ajs);
  6775. }
  6776. }
  6777. //U.MD.D.I.openClick(str);
  6778. //如果有任務欄信息
  6779. // if (_taskbar) {
  6780. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6781. // }
  6782. }
  6783. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  6784. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6785. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6786. _userinfo = US.userInfo, //登錄用戶信息
  6787. _userid = US.userInfo.userid //登錄用戶id
  6788. let _iframe;
  6789. let _cid = cid,
  6790. _stage = stage,
  6791. _task = task,
  6792. _tool = tool;
  6793. var _jie = $$("div", {
  6794. "style": {
  6795. "position": "absolute",
  6796. "bottom": "50px",
  6797. "right": "50px",
  6798. "zIndex": "9999",
  6799. "backgroundColor": "#2268bc",
  6800. "color": "#fff",
  6801. "padding": "12px 20px",
  6802. "cursor": "pointer",
  6803. "borderRadius": "4px",
  6804. },
  6805. "innerHTML": "提交作業"
  6806. })
  6807. let aTool = ''
  6808. let _loading = document.createElement('div')
  6809. _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;"
  6810. // _loading.id = "";
  6811. let _lchild = document.createElement('div')
  6812. let _limg = document.createElement('img')
  6813. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6814. _limg.style = "width: 26px;margin-right: 10px;"
  6815. _lchild.appendChild(_limg)
  6816. let _lspan = document.createElement('span')
  6817. _lspan.innerHTML = "上傳中..."
  6818. _lchild.appendChild(_lspan)
  6819. _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%);"
  6820. _loading.appendChild(_lchild)
  6821. let _box = $$('div', {
  6822. "style": {
  6823. "position": "relative",
  6824. "width": "100%",
  6825. "height": "100%",
  6826. },
  6827. })
  6828. _box.appendChild(_loading)
  6829. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  6830. switch (str) {
  6831. case "whiteboard":
  6832. aTool = 1;
  6833. _iframe = $$("iframe", {
  6834. "frameborder": "no",
  6835. "border": "0",
  6836. "scrolling ": "no",
  6837. "style": {
  6838. "cssText": "border:0;width:100%;height:100%"
  6839. },
  6840. "src": "https://iwb.cocorobo.hk/"
  6841. })
  6842. _box.appendChild(_iframe);
  6843. _box.appendChild(_jie);
  6844. _formdiv = new U.UF.UI.form(
  6845. "電子白板",
  6846. _box, {
  6847. "id": "whiteboard" + cid + stage + task + tool,
  6848. "style": {
  6849. "width": "90%",
  6850. "height": "90%",
  6851. "overflow": 'hidden'
  6852. },
  6853. "onresize": function () { }
  6854. }, {
  6855. closecallback: function () { }
  6856. }, {
  6857. "style": {
  6858. "height": "36px"
  6859. }
  6860. }).form; //創建窗體
  6861. _taskbar = {
  6862. "id": str + _formdiv.id,
  6863. "style": {
  6864. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6865. },
  6866. "name": "電子白板",
  6867. "forms": _formdiv,
  6868. "click": function () {
  6869. U.MD.D.I.openApplication(str, obj, info);
  6870. }
  6871. }
  6872. break;
  6873. case "mind":
  6874. aTool = 3;
  6875. _iframe = $$("iframe", {
  6876. "frameborder": "no",
  6877. "border": "0",
  6878. "scrolling ": "no",
  6879. "style": {
  6880. "cssText": "border:0;width:100%;height:100%"
  6881. },
  6882. "src": "/kityminder-editor/dist/index.html"
  6883. })
  6884. _box.appendChild(_iframe);
  6885. _box.appendChild(_jie);
  6886. _formdiv = new U.UF.UI.form(
  6887. "思維導圖",
  6888. _box, { //"/jsmind/example/demo.html"
  6889. "id": "mind" + cid + stage + task + tool,
  6890. "style": {
  6891. "width": "90%",
  6892. "height": "90%",
  6893. "overflow": 'hidden'
  6894. },
  6895. "onresize": function () { }
  6896. }, {
  6897. closecallback: function () { }
  6898. }, {
  6899. "style": {
  6900. "height": "36px"
  6901. }
  6902. }).form; //創建窗體
  6903. _taskbar = {
  6904. "id": str + _formdiv.id,
  6905. "style": {
  6906. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6907. },
  6908. "name": "思維導圖",
  6909. "forms": _formdiv,
  6910. "click": function () {
  6911. U.MD.D.I.openApplication(str, obj, info);
  6912. }
  6913. }
  6914. break;
  6915. case "MindMap":
  6916. aTool = 3;
  6917. _iframe = $$("iframe", {
  6918. "frameborder": "no",
  6919. "border": "0",
  6920. "scrolling ": "no",
  6921. "style": {
  6922. "cssText": "border:0;width:100%;height:100%"
  6923. },
  6924. "src": "//cloud.cocorobo.hk/mind/"
  6925. })
  6926. _box.appendChild(_iframe);
  6927. _box.appendChild(_jie);
  6928. _formdiv = new U.UF.UI.form(
  6929. "思維導圖",
  6930. _box, { //"/jsmind/example/demo.html"
  6931. "id": "mind" + cid + stage + task + tool,
  6932. "style": {
  6933. "width": "90%",
  6934. "height": "90%",
  6935. "overflow": 'hidden'
  6936. },
  6937. "onresize": function () { }
  6938. }, {
  6939. closecallback: function () { }
  6940. }, {
  6941. "style": {
  6942. "height": "36px"
  6943. }
  6944. }).form; //創建窗體
  6945. _taskbar = {
  6946. "id": str + _formdiv.id,
  6947. "style": {
  6948. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6949. },
  6950. "name": "思維導圖",
  6951. "forms": _formdiv,
  6952. "click": function () {
  6953. U.MD.D.I.openApplication(str, obj, info);
  6954. }
  6955. }
  6956. break;
  6957. case "doc":
  6958. aTool = 6;
  6959. _iframe = $$("iframe", {
  6960. "frameborder": "no",
  6961. "border": "0",
  6962. "scrolling ": "no",
  6963. "style": {
  6964. "cssText": "border:0;width:100%;height:100%"
  6965. },
  6966. "src": "/Office/Word/WordEditArea.htm"
  6967. })
  6968. _box.appendChild(_iframe);
  6969. _box.appendChild(_jie);
  6970. _formdiv = new U.UF.UI.form(
  6971. "協同文檔",
  6972. _box, {
  6973. "id": "doc" + cid + stage + task + tool,
  6974. "style": {
  6975. "width": "90%",
  6976. "height": "90%",
  6977. "overflow": 'hidden'
  6978. },
  6979. "onresize": function () { }
  6980. }, {
  6981. closecallback: function () { }
  6982. }, {
  6983. "style": {
  6984. "height": "36px"
  6985. }
  6986. }).form; //創建窗體
  6987. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6988. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6989. })
  6990. _taskbar = {
  6991. "id": str + _formdiv.id,
  6992. "style": {
  6993. "backgroundImage": "url(/img/icon/doc.png)"
  6994. },
  6995. "name": "協同文檔",
  6996. "forms": _formdiv,
  6997. "click": function () {
  6998. U.MD.D.I.openApplication(str, obj, info);
  6999. }
  7000. }
  7001. break;
  7002. case "mindNetwork": //好友打開
  7003. aTool = 7;
  7004. _iframe = $$("iframe", {
  7005. "webkitallowfullscreen": "",
  7006. "mozallowfullscreen": "",
  7007. "allowfullscreen": "",
  7008. "frameborder": "no",
  7009. "border": "0",
  7010. "scrolling ": "no",
  7011. "style": {
  7012. "cssText": "border:0; width:100%; height:100%;"
  7013. },
  7014. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7015. })
  7016. _box.appendChild(_iframe);
  7017. _box.appendChild(_jie);
  7018. _formdiv = new U.UF.UI.form(
  7019. "思維網格",
  7020. _box, {
  7021. "id": "mindNetwork" + cid + stage + task + tool,
  7022. "style": {
  7023. "width": "90%",
  7024. "height": "90%",
  7025. "overflow": 'hidden'
  7026. },
  7027. "onresize": function () { }
  7028. }, {
  7029. closecallback: function () { }
  7030. }, {
  7031. "style": {
  7032. "height": "36px"
  7033. }
  7034. }).form; //創建窗體
  7035. _taskbar = {
  7036. "id": str + _formdiv.id,
  7037. "style": {
  7038. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7039. },
  7040. "name": "思維網格",
  7041. "forms": _formdiv,
  7042. "click": function () {
  7043. U.MD.D.I.openApplication(str, obj, info);
  7044. }
  7045. }
  7046. break;
  7047. case "courseDesign":
  7048. _iframe = $$("iframe", {
  7049. "webkitallowfullscreen": "",
  7050. "mozallowfullscreen": "",
  7051. "allowfullscreen": "",
  7052. "frameborder": "no",
  7053. "border": "0",
  7054. "scrolling ": "no",
  7055. "style": {
  7056. "cssText": "border:0; width:100%; height:100%;"
  7057. },
  7058. "src": "/course-design-vue"
  7059. })
  7060. _box.appendChild(_iframe);
  7061. _box.appendChild(_jie);
  7062. _formdiv = new U.UF.UI.form(
  7063. "項目設計",
  7064. _box, {
  7065. "id": "courseDesign" + cid + stage + task + tool,
  7066. "style": {
  7067. "width": "90%",
  7068. "height": "90%",
  7069. "overflow": 'hidden'
  7070. },
  7071. "onresize": function () { }
  7072. }, {
  7073. closecallback: function () { }
  7074. }, {
  7075. "style": {
  7076. "height": "36px"
  7077. }
  7078. }).form; //創建窗體
  7079. _taskbar = {
  7080. "id": str + _formdiv.id,
  7081. "style": {
  7082. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7083. },
  7084. "name": "項目設計",
  7085. "forms": _formdiv,
  7086. "click": function () {
  7087. U.MD.D.I.openApplication(str, obj, info);
  7088. }
  7089. }
  7090. break;
  7091. }
  7092. const script1 = document.createElement("script");
  7093. script1.type = "text/javascript";
  7094. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7095. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7096. const script2 = document.createElement("script");
  7097. script2.type = "text/javascript";
  7098. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7099. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7100. const script3 = document.createElement("script");
  7101. script3.type = "text/javascript";
  7102. script3.charset = "UTF-8";
  7103. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7104. const script4 = document.createElement("script");
  7105. script4.type = "text/javascript";
  7106. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7107. script4.src = window.origin + "/js/Common/jietu2E.js";
  7108. if (_iframe) {
  7109. if (str == 'doc') {
  7110. _iframe = _formdiv.querySelector('iframe')
  7111. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7112. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7113. _iframe.contentWindow.document.body.appendChild(script1);
  7114. _iframe.contentWindow.document.body.appendChild(script2);
  7115. // _iframe.contentWindow.document.body.appendChild(script3);
  7116. _iframe.contentWindow.document.body.appendChild(script4);
  7117. })
  7118. if (onloadListener) {
  7119. _iframe.contentDocument.location.reload()
  7120. } else {
  7121. _iframe.contentDocument.location.reload()
  7122. }
  7123. } else if (str == 'courseDesign') {
  7124. U.UF.DL.iframeLoad(_iframe, function () {
  7125. // _iframe.contentWindow.U.MD.O.W.load();
  7126. // _iframe.contentWindow.document.body.appendChild(script1);
  7127. _iframe.contentWindow.document.body.appendChild(script2);
  7128. _iframe.contentWindow.document.body.appendChild(script4);
  7129. })
  7130. } else if (str == 'mind') {
  7131. _iframe = _formdiv.querySelector('iframe')
  7132. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7133. //
  7134. _iframe.contentWindow.document.body.appendChild(script1);
  7135. _iframe.contentWindow.document.body.appendChild(script2);
  7136. _iframe.contentWindow.document.body.appendChild(script4);
  7137. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7138. })
  7139. if (onloadListener) {
  7140. _iframe.contentDocument.location.reload()
  7141. } else {
  7142. _iframe.contentDocument.location.reload()
  7143. }
  7144. } else if (str == 'whiteboard') {
  7145. _iframe = _formdiv.querySelector('iframe')
  7146. let onloadListener = _iframe.onload = () => {
  7147. _iframe.contentWindow.document.body.appendChild(script1);
  7148. _iframe.contentWindow.document.body.appendChild(script2);
  7149. _iframe.contentWindow.document.body.appendChild(script4);
  7150. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7151. };
  7152. // if (onloadListener) {
  7153. // try {
  7154. // _iframe.src += "?cocorobo="+new Date().getTime()
  7155. // _iframe.contentWindow.document.location.reload()
  7156. // } catch (error) {
  7157. // }
  7158. // } else {
  7159. // _iframe.contentDocument.location.reload()
  7160. // }
  7161. } else {
  7162. _iframe.onload = () => {
  7163. _iframe.contentWindow.document.body.appendChild(script1);
  7164. _iframe.contentWindow.document.body.appendChild(script2);
  7165. // _iframe.contentWindow.document.body.appendChild(script3);
  7166. _iframe.contentWindow.document.body.appendChild(script4);
  7167. };
  7168. }
  7169. _jie.onclick = async () => {
  7170. let text = ''
  7171. if (aTool == 1) {
  7172. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7173. } else if (aTool == 6) {
  7174. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7175. } else if (aTool == 3) {
  7176. text = await U.MD.D.I.getEditorContent(_iframe);
  7177. }
  7178. _loading.style.display = 'flex'
  7179. console.log(_loading);
  7180. var _ajs = _iframe.contentWindow.document.createElement("script");
  7181. _ajs.type = "text/javascript";
  7182. _ajs.innerHTML =
  7183. // 'console.log(' + _loading + ');\n' +
  7184. 'var _js = document.createElement("script");\n' +
  7185. '_js.type="text/javascript";\n' +
  7186. '_js.charset="UTF-8";\n' +
  7187. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7188. "_js.onload = function(){\n" +
  7189. ' var a = document.getElementsByTagName("img")\n' +
  7190. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7191. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7192. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7193. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7194. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7195. "beforeUpload_shishi(file," +
  7196. "'" +
  7197. _userid +
  7198. "'" +
  7199. ", " +
  7200. "'" +
  7201. _cid +
  7202. "'" +
  7203. ", " +
  7204. "'" +
  7205. _stage +
  7206. "'" +
  7207. ", " +
  7208. "'" +
  7209. _task +
  7210. "'" +
  7211. ", " +
  7212. "'" +
  7213. _tool +
  7214. "'" +
  7215. ", " +
  7216. "'" +
  7217. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  7218. "'" +
  7219. ", " +
  7220. "'" +
  7221. aTool +
  7222. "'" +
  7223. ", " +
  7224. "`" +
  7225. text +
  7226. "`" +
  7227. ")\n" +
  7228. " });\n" +
  7229. "}\n" +
  7230. "document.head.appendChild(_js);\n";
  7231. _iframe.contentWindow.document.head.appendChild(_ajs);
  7232. }
  7233. }
  7234. //U.MD.D.I.openClick(str);
  7235. //如果有任務欄信息
  7236. // if (_taskbar) {
  7237. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7238. // }
  7239. }
  7240. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  7241. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7242. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7243. _userid = student.userid, //登錄用戶id
  7244. _username = student.student //用戶名字
  7245. let _iframe;
  7246. let _cid = cid,
  7247. _stage = stage,
  7248. _task = task,
  7249. _tool = tool;
  7250. var _jie = $$("div", {
  7251. "style": {
  7252. "position": "absolute",
  7253. "bottom": "50px",
  7254. "right": "50px",
  7255. "zIndex": "9999",
  7256. "backgroundColor": "#2268bc",
  7257. "color": "#fff",
  7258. "padding": "12px 20px",
  7259. "cursor": "pointer",
  7260. "borderRadius": "4px",
  7261. },
  7262. "innerHTML": "提交作業"
  7263. })
  7264. let aTool = ''
  7265. let _loading = document.createElement('div')
  7266. _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;"
  7267. // _loading.id = "";
  7268. let _lchild = document.createElement('div')
  7269. let _limg = document.createElement('img')
  7270. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7271. _limg.style = "width: 26px;margin-right: 10px;"
  7272. _lchild.appendChild(_limg)
  7273. let _lspan = document.createElement('span')
  7274. _lspan.innerHTML = "上傳中..."
  7275. _lchild.appendChild(_lspan)
  7276. _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%);"
  7277. _loading.appendChild(_lchild)
  7278. var _box = $$('div', {
  7279. "style": {
  7280. "position": "relative",
  7281. "width": "100%",
  7282. "height": "100%",
  7283. },
  7284. })
  7285. _box.appendChild(_loading)
  7286. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  7287. switch (str) {
  7288. case "whiteboard":
  7289. aTool = 1;
  7290. _iframe = $$("iframe", {
  7291. "frameborder": "no",
  7292. "border": "0",
  7293. "scrolling ": "no",
  7294. "style": {
  7295. "cssText": "border:0;width:100%;height:100%"
  7296. },
  7297. "src": "https://iwb.cocorobo.hk/"
  7298. })
  7299. _box.appendChild(_iframe);
  7300. _box.appendChild(_jie);
  7301. _formdiv = new U.UF.UI.form(
  7302. "電子白板-" + _username,
  7303. _box, {
  7304. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7305. "style": {
  7306. "width": "90%",
  7307. "height": "90%",
  7308. "overflow": 'hidden'
  7309. },
  7310. "onresize": function () { }
  7311. }, {
  7312. closecallback: function () { }
  7313. }, {
  7314. "style": {
  7315. "height": "36px"
  7316. }
  7317. }).form; //創建窗體
  7318. _taskbar = {
  7319. "id": str + _formdiv.id,
  7320. "style": {
  7321. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7322. },
  7323. "name": "電子白板",
  7324. "forms": _formdiv,
  7325. "click": function () {
  7326. U.MD.D.I.openApplication(str, obj, info);
  7327. }
  7328. }
  7329. break;
  7330. case "mind":
  7331. aTool = 3;
  7332. _iframe = $$("iframe", {
  7333. "frameborder": "no",
  7334. "border": "0",
  7335. "scrolling ": "no",
  7336. "style": {
  7337. "cssText": "border:0;width:100%;height:100%"
  7338. },
  7339. "src": "/kityminder-editor/dist/index.html"
  7340. })
  7341. _box.appendChild(_iframe);
  7342. _box.appendChild(_jie);
  7343. _formdiv = new U.UF.UI.form(
  7344. "思維導圖-" + _username,
  7345. _box, { //"/jsmind/example/demo.html"
  7346. "id": "mind" + cid + stage + task + tool + _userid,
  7347. "style": {
  7348. "width": "90%",
  7349. "height": "90%",
  7350. "overflow": 'hidden'
  7351. },
  7352. "onresize": function () { }
  7353. }, {
  7354. closecallback: function () { }
  7355. }, {
  7356. "style": {
  7357. "height": "36px"
  7358. }
  7359. }).form; //創建窗體
  7360. _taskbar = {
  7361. "id": str + _formdiv.id,
  7362. "style": {
  7363. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7364. },
  7365. "name": "思維導圖",
  7366. "forms": _formdiv,
  7367. "click": function () {
  7368. U.MD.D.I.openApplication(str, obj, info);
  7369. }
  7370. }
  7371. break;
  7372. case "MindMap":
  7373. aTool = 3;
  7374. _iframe = $$("iframe", {
  7375. "frameborder": "no",
  7376. "border": "0",
  7377. "scrolling ": "no",
  7378. "style": {
  7379. "cssText": "border:0;width:100%;height:100%"
  7380. },
  7381. "src": "//cloud.cocorobo.hk/mind/"
  7382. })
  7383. _box.appendChild(_iframe);
  7384. _box.appendChild(_jie);
  7385. _formdiv = new U.UF.UI.form(
  7386. "思維導圖-" + _username,
  7387. _box, { //"/jsmind/example/demo.html"
  7388. "id": "mind" + cid + stage + task + tool + _userid,
  7389. "style": {
  7390. "width": "90%",
  7391. "height": "90%",
  7392. "overflow": 'hidden'
  7393. },
  7394. "onresize": function () { }
  7395. }, {
  7396. closecallback: function () { }
  7397. }, {
  7398. "style": {
  7399. "height": "36px"
  7400. }
  7401. }).form; //創建窗體
  7402. _taskbar = {
  7403. "id": str + _formdiv.id,
  7404. "style": {
  7405. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7406. },
  7407. "name": "思維導圖",
  7408. "forms": _formdiv,
  7409. "click": function () {
  7410. U.MD.D.I.openApplication(str, obj, info);
  7411. }
  7412. }
  7413. break;
  7414. case "doc":
  7415. aTool = 6;
  7416. _iframe = $$("iframe", {
  7417. "frameborder": "no",
  7418. "border": "0",
  7419. "scrolling ": "no",
  7420. "style": {
  7421. "cssText": "border:0;width:100%;height:100%"
  7422. },
  7423. "src": "/Office/Word/WordEditArea.htm"
  7424. })
  7425. _box.appendChild(_iframe);
  7426. _box.appendChild(_jie);
  7427. _formdiv = new U.UF.UI.form(
  7428. "協同文檔-" + _username,
  7429. _box, {
  7430. "id": "doc" + cid + stage + task + tool + _userid,
  7431. "style": {
  7432. "width": "90%",
  7433. "height": "90%",
  7434. "overflow": 'hidden'
  7435. },
  7436. "onresize": function () { }
  7437. }, {
  7438. closecallback: function () { }
  7439. }, {
  7440. "style": {
  7441. "height": "36px"
  7442. }
  7443. }).form; //創建窗體
  7444. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7445. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7446. })
  7447. _taskbar = {
  7448. "id": str + _formdiv.id,
  7449. "style": {
  7450. "backgroundImage": "url(/img/icon/doc.png)"
  7451. },
  7452. "name": "協同文檔",
  7453. "forms": _formdiv,
  7454. "click": function () {
  7455. U.MD.D.I.openApplication(str, obj, info);
  7456. }
  7457. }
  7458. break;
  7459. case "mindNetwork": //好友打開
  7460. aTool = 7;
  7461. _iframe = $$("iframe", {
  7462. "webkitallowfullscreen": "",
  7463. "mozallowfullscreen": "",
  7464. "allowfullscreen": "",
  7465. "frameborder": "no",
  7466. "border": "0",
  7467. "scrolling ": "no",
  7468. "style": {
  7469. "cssText": "border:0; width:100%; height:100%;"
  7470. },
  7471. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7472. })
  7473. _box.appendChild(_iframe);
  7474. _box.appendChild(_jie);
  7475. _formdiv = new U.UF.UI.form(
  7476. "思維網格-" + _username,
  7477. _box, {
  7478. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7479. "style": {
  7480. "width": "90%",
  7481. "height": "90%",
  7482. "overflow": 'hidden'
  7483. },
  7484. "onresize": function () { }
  7485. }, {
  7486. closecallback: function () { }
  7487. }, {
  7488. "style": {
  7489. "height": "36px"
  7490. }
  7491. }).form; //創建窗體
  7492. _taskbar = {
  7493. "id": str + _formdiv.id,
  7494. "style": {
  7495. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7496. },
  7497. "name": "思維網格",
  7498. "forms": _formdiv,
  7499. "click": function () {
  7500. U.MD.D.I.openApplication(str, obj, info);
  7501. }
  7502. }
  7503. break;
  7504. case "courseDesign":
  7505. _iframe = $$("iframe", {
  7506. "webkitallowfullscreen": "",
  7507. "mozallowfullscreen": "",
  7508. "allowfullscreen": "",
  7509. "frameborder": "no",
  7510. "border": "0",
  7511. "scrolling ": "no",
  7512. "style": {
  7513. "cssText": "border:0; width:100%; height:100%;"
  7514. },
  7515. "src": "/course-design-vue"
  7516. })
  7517. _box.appendChild(_iframe);
  7518. _box.appendChild(_jie);
  7519. _formdiv = new U.UF.UI.form(
  7520. "項目設計-" + _username,
  7521. _box, {
  7522. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7523. "style": {
  7524. "width": "90%",
  7525. "height": "90%",
  7526. "overflow": 'hidden'
  7527. },
  7528. "onresize": function () { }
  7529. }, {
  7530. closecallback: function () { }
  7531. }, {
  7532. "style": {
  7533. "height": "36px"
  7534. }
  7535. }).form; //創建窗體
  7536. _taskbar = {
  7537. "id": str + _formdiv.id,
  7538. "style": {
  7539. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7540. },
  7541. "name": "項目設計",
  7542. "forms": _formdiv,
  7543. "click": function () {
  7544. U.MD.D.I.openApplication(str, obj, info);
  7545. }
  7546. }
  7547. break;
  7548. }
  7549. const script1 = document.createElement("script");
  7550. script1.type = "text/javascript";
  7551. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7552. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7553. const script2 = document.createElement("script");
  7554. script2.type = "text/javascript";
  7555. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7556. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7557. const script3 = document.createElement("script");
  7558. script3.type = "text/javascript";
  7559. script3.charset = "UTF-8";
  7560. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7561. const script4 = document.createElement("script");
  7562. script4.type = "text/javascript";
  7563. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7564. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  7565. if (_iframe) {
  7566. if (str == 'doc') {
  7567. _iframe = _formdiv.querySelector('iframe')
  7568. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7569. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7570. _iframe.contentWindow.document.body.appendChild(script1);
  7571. _iframe.contentWindow.document.body.appendChild(script2);
  7572. // _iframe.contentWindow.document.body.appendChild(script3);
  7573. _iframe.contentWindow.document.body.appendChild(script4);
  7574. })
  7575. if (onloadListener) {
  7576. _iframe.contentDocument.location.reload()
  7577. } else {
  7578. _iframe.contentDocument.location.reload()
  7579. }
  7580. } else if (str == 'courseDesign') {
  7581. U.UF.DL.iframeLoad(_iframe, function () {
  7582. // _iframe.contentWindow.U.MD.O.W.load();
  7583. // _iframe.contentWindow.document.body.appendChild(script1);
  7584. _iframe.contentWindow.document.body.appendChild(script2);
  7585. _iframe.contentWindow.document.body.appendChild(script4);
  7586. })
  7587. } else if (str == 'mind') {
  7588. _iframe = _formdiv.querySelector('iframe')
  7589. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7590. //
  7591. _iframe.contentWindow.document.body.appendChild(script1);
  7592. _iframe.contentWindow.document.body.appendChild(script2);
  7593. _iframe.contentWindow.document.body.appendChild(script4);
  7594. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7595. })
  7596. if (onloadListener) {
  7597. _iframe.contentDocument.location.reload()
  7598. } else {
  7599. _iframe.contentDocument.location.reload()
  7600. }
  7601. } else if (str == 'whiteboard') {
  7602. _iframe = _formdiv.querySelector('iframe')
  7603. let onloadListener = _iframe.onload = () => {
  7604. _iframe.contentWindow.document.body.appendChild(script1);
  7605. _iframe.contentWindow.document.body.appendChild(script2);
  7606. _iframe.contentWindow.document.body.appendChild(script4);
  7607. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7608. };
  7609. // if (onloadListener) {
  7610. // try {
  7611. // _iframe.src += "?cocorobo="+new Date().getTime()
  7612. // _iframe.contentWindow.document.location.reload()
  7613. // } catch (error) {
  7614. // }
  7615. // } else {
  7616. // _iframe.contentDocument.location.reload()
  7617. // }
  7618. } else {
  7619. _iframe.onload = () => {
  7620. _iframe.contentWindow.document.body.appendChild(script1);
  7621. _iframe.contentWindow.document.body.appendChild(script2);
  7622. // _iframe.contentWindow.document.body.appendChild(script3);
  7623. _iframe.contentWindow.document.body.appendChild(script4);
  7624. };
  7625. }
  7626. _jie.onclick = async () => {
  7627. let text = ''
  7628. if (aTool == 1) {
  7629. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7630. } else if (aTool == 6) {
  7631. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7632. } else if (aTool == 3) {
  7633. text = await U.MD.D.I.getEditorContent(_iframe);
  7634. }
  7635. _loading.style.display = 'flex'
  7636. console.log(_loading);
  7637. var _ajs = _iframe.contentWindow.document.createElement("script");
  7638. _ajs.type = "text/javascript";
  7639. _ajs.innerHTML =
  7640. // 'console.log(' + _loading + ');\n' +
  7641. 'var _js = document.createElement("script");\n' +
  7642. '_js.type="text/javascript";\n' +
  7643. '_js.charset="UTF-8";\n' +
  7644. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7645. "_js.onload = function(){\n" +
  7646. ' var a = document.getElementsByTagName("img")\n' +
  7647. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7648. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7649. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7650. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7651. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7652. "beforeUpload_shishi(file," +
  7653. "'" +
  7654. _userid +
  7655. "'" +
  7656. ", " +
  7657. "'" +
  7658. _cid +
  7659. "'" +
  7660. ", " +
  7661. "'" +
  7662. _stage +
  7663. "'" +
  7664. ", " +
  7665. "'" +
  7666. _task +
  7667. "'" +
  7668. ", " +
  7669. "'" +
  7670. _tool +
  7671. "'" +
  7672. ", " +
  7673. "'" +
  7674. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  7675. "'" +
  7676. ", " +
  7677. "'" +
  7678. aTool +
  7679. "'" +
  7680. ", " +
  7681. "`" +
  7682. text +
  7683. "`" +
  7684. ")\n" +
  7685. " });\n" +
  7686. "}\n" +
  7687. "document.head.appendChild(_js);\n";
  7688. _iframe.contentWindow.document.head.appendChild(_ajs);
  7689. }
  7690. }
  7691. }
  7692. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  7693. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7694. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7695. _userid = student.userid, //登錄用戶id
  7696. _username = student.student //用戶名字
  7697. let _iframe;
  7698. let _cid = cid,
  7699. _stage = stage,
  7700. _task = task,
  7701. _tool = tool;
  7702. var _jie = $$("div", {
  7703. "style": {
  7704. "position": "absolute",
  7705. "bottom": "50px",
  7706. "right": "50px",
  7707. "zIndex": "9999",
  7708. "backgroundColor": "#2268bc",
  7709. "color": "#fff",
  7710. "padding": "12px 20px",
  7711. "cursor": "pointer",
  7712. "borderRadius": "4px",
  7713. },
  7714. "innerHTML": "提交作業"
  7715. })
  7716. let aTool = ''
  7717. let _loading = document.createElement('div')
  7718. _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;"
  7719. // _loading.id = "";
  7720. let _lchild = document.createElement('div')
  7721. let _limg = document.createElement('img')
  7722. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7723. _limg.style = "width: 26px;margin-right: 10px;"
  7724. _lchild.appendChild(_limg)
  7725. let _lspan = document.createElement('span')
  7726. _lspan.innerHTML = "上傳中..."
  7727. _lchild.appendChild(_lspan)
  7728. _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%);"
  7729. _loading.appendChild(_lchild)
  7730. var _box = $$('div', {
  7731. "style": {
  7732. "position": "relative",
  7733. "width": "100%",
  7734. "height": "100%",
  7735. },
  7736. })
  7737. _box.appendChild(_loading)
  7738. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  7739. switch (str) {
  7740. case "whiteboard":
  7741. aTool = 1;
  7742. _iframe = $$("iframe", {
  7743. "frameborder": "no",
  7744. "border": "0",
  7745. "scrolling ": "no",
  7746. "style": {
  7747. "cssText": "border:0;width:100%;height:100%"
  7748. },
  7749. "src": "https://iwb.cocorobo.hk/"
  7750. })
  7751. _box.appendChild(_iframe);
  7752. _box.appendChild(_jie);
  7753. _formdiv = new U.UF.UI.form(
  7754. "電子白板-" + _username,
  7755. _box, {
  7756. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7757. "style": {
  7758. "width": "90%",
  7759. "height": "90%",
  7760. "overflow": 'hidden'
  7761. },
  7762. "onresize": function () { }
  7763. }, {
  7764. closecallback: function () { }
  7765. }, {
  7766. "style": {
  7767. "height": "36px"
  7768. }
  7769. }).form; //創建窗體
  7770. _taskbar = {
  7771. "id": str + _formdiv.id,
  7772. "style": {
  7773. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7774. },
  7775. "name": "電子白板",
  7776. "forms": _formdiv,
  7777. "click": function () {
  7778. U.MD.D.I.openApplication(str, obj, info);
  7779. }
  7780. }
  7781. break;
  7782. case "mind":
  7783. aTool = 3;
  7784. _iframe = $$("iframe", {
  7785. "frameborder": "no",
  7786. "border": "0",
  7787. "scrolling ": "no",
  7788. "style": {
  7789. "cssText": "border:0;width:100%;height:100%"
  7790. },
  7791. "src": "/kityminder-editor/dist/index.html"
  7792. })
  7793. _box.appendChild(_iframe);
  7794. _box.appendChild(_jie);
  7795. _formdiv = new U.UF.UI.form(
  7796. "思維導圖-" + _username,
  7797. _box, { //"/jsmind/example/demo.html"
  7798. "id": "mind" + cid + stage + task + tool + _userid,
  7799. "style": {
  7800. "width": "90%",
  7801. "height": "90%",
  7802. "overflow": 'hidden'
  7803. },
  7804. "onresize": function () { }
  7805. }, {
  7806. closecallback: function () { }
  7807. }, {
  7808. "style": {
  7809. "height": "36px"
  7810. }
  7811. }).form; //創建窗體
  7812. _taskbar = {
  7813. "id": str + _formdiv.id,
  7814. "style": {
  7815. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7816. },
  7817. "name": "思維導圖",
  7818. "forms": _formdiv,
  7819. "click": function () {
  7820. U.MD.D.I.openApplication(str, obj, info);
  7821. }
  7822. }
  7823. break;
  7824. case "MindMap":
  7825. aTool = 3;
  7826. _iframe = $$("iframe", {
  7827. "frameborder": "no",
  7828. "border": "0",
  7829. "scrolling ": "no",
  7830. "style": {
  7831. "cssText": "border:0;width:100%;height:100%"
  7832. },
  7833. "src": "//cloud.cocorobo.hk/mind/"
  7834. })
  7835. _box.appendChild(_iframe);
  7836. _box.appendChild(_jie);
  7837. _formdiv = new U.UF.UI.form(
  7838. "思維導圖-" + _username,
  7839. _box, { //"/jsmind/example/demo.html"
  7840. "id": "mind" + cid + stage + task + tool + _userid,
  7841. "style": {
  7842. "width": "90%",
  7843. "height": "90%",
  7844. "overflow": 'hidden'
  7845. },
  7846. "onresize": function () { }
  7847. }, {
  7848. closecallback: function () { }
  7849. }, {
  7850. "style": {
  7851. "height": "36px"
  7852. }
  7853. }).form; //創建窗體
  7854. _taskbar = {
  7855. "id": str + _formdiv.id,
  7856. "style": {
  7857. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7858. },
  7859. "name": "思維導圖",
  7860. "forms": _formdiv,
  7861. "click": function () {
  7862. U.MD.D.I.openApplication(str, obj, info);
  7863. }
  7864. }
  7865. break;
  7866. case "doc":
  7867. aTool = 6;
  7868. _iframe = $$("iframe", {
  7869. "frameborder": "no",
  7870. "border": "0",
  7871. "scrolling ": "no",
  7872. "style": {
  7873. "cssText": "border:0;width:100%;height:100%"
  7874. },
  7875. "src": "/Office/Word/WordEditArea.htm"
  7876. })
  7877. _box.appendChild(_iframe);
  7878. _box.appendChild(_jie);
  7879. _formdiv = new U.UF.UI.form(
  7880. "協同文檔-" + _username,
  7881. _box, {
  7882. "id": "doc" + cid + stage + task + tool + _userid,
  7883. "style": {
  7884. "width": "90%",
  7885. "height": "90%",
  7886. "overflow": 'hidden'
  7887. },
  7888. "onresize": function () { }
  7889. }, {
  7890. closecallback: function () { }
  7891. }, {
  7892. "style": {
  7893. "height": "36px"
  7894. }
  7895. }).form; //創建窗體
  7896. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7897. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7898. })
  7899. _taskbar = {
  7900. "id": str + _formdiv.id,
  7901. "style": {
  7902. "backgroundImage": "url(/img/icon/doc.png)"
  7903. },
  7904. "name": "協同文檔",
  7905. "forms": _formdiv,
  7906. "click": function () {
  7907. U.MD.D.I.openApplication(str, obj, info);
  7908. }
  7909. }
  7910. break;
  7911. case "mindNetwork": //好友打開
  7912. aTool = 7;
  7913. _iframe = $$("iframe", {
  7914. "webkitallowfullscreen": "",
  7915. "mozallowfullscreen": "",
  7916. "allowfullscreen": "",
  7917. "frameborder": "no",
  7918. "border": "0",
  7919. "scrolling ": "no",
  7920. "style": {
  7921. "cssText": "border:0; width:100%; height:100%;"
  7922. },
  7923. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7924. })
  7925. _box.appendChild(_iframe);
  7926. _box.appendChild(_jie);
  7927. _formdiv = new U.UF.UI.form(
  7928. "思維網格-" + _username,
  7929. _box, {
  7930. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7931. "style": {
  7932. "width": "90%",
  7933. "height": "90%",
  7934. "overflow": 'hidden'
  7935. },
  7936. "onresize": function () { }
  7937. }, {
  7938. closecallback: function () { }
  7939. }, {
  7940. "style": {
  7941. "height": "36px"
  7942. }
  7943. }).form; //創建窗體
  7944. _taskbar = {
  7945. "id": str + _formdiv.id,
  7946. "style": {
  7947. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7948. },
  7949. "name": "思維網格",
  7950. "forms": _formdiv,
  7951. "click": function () {
  7952. U.MD.D.I.openApplication(str, obj, info);
  7953. }
  7954. }
  7955. break;
  7956. case "courseDesign":
  7957. _iframe = $$("iframe", {
  7958. "webkitallowfullscreen": "",
  7959. "mozallowfullscreen": "",
  7960. "allowfullscreen": "",
  7961. "frameborder": "no",
  7962. "border": "0",
  7963. "scrolling ": "no",
  7964. "style": {
  7965. "cssText": "border:0; width:100%; height:100%;"
  7966. },
  7967. "src": "/course-design-vue"
  7968. })
  7969. _box.appendChild(_iframe);
  7970. _box.appendChild(_jie);
  7971. _formdiv = new U.UF.UI.form(
  7972. "項目設計-" + _username,
  7973. _box, {
  7974. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7975. "style": {
  7976. "width": "90%",
  7977. "height": "90%",
  7978. "overflow": 'hidden'
  7979. },
  7980. "onresize": function () { }
  7981. }, {
  7982. closecallback: function () { }
  7983. }, {
  7984. "style": {
  7985. "height": "36px"
  7986. }
  7987. }).form; //創建窗體
  7988. _taskbar = {
  7989. "id": str + _formdiv.id,
  7990. "style": {
  7991. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7992. },
  7993. "name": "項目設計",
  7994. "forms": _formdiv,
  7995. "click": function () {
  7996. U.MD.D.I.openApplication(str, obj, info);
  7997. }
  7998. }
  7999. break;
  8000. }
  8001. const script1 = document.createElement("script");
  8002. script1.type = "text/javascript";
  8003. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8004. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8005. const script2 = document.createElement("script");
  8006. script2.type = "text/javascript";
  8007. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8008. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8009. const script3 = document.createElement("script");
  8010. script3.type = "text/javascript";
  8011. script3.charset = "UTF-8";
  8012. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8013. const script4 = document.createElement("script");
  8014. script4.type = "text/javascript";
  8015. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  8016. script4.src = window.origin + "/js/Common/jietu2E.js";
  8017. if (_iframe) {
  8018. if (str == 'doc') {
  8019. _iframe = _formdiv.querySelector('iframe')
  8020. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8021. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  8022. _iframe.contentWindow.document.body.appendChild(script1);
  8023. _iframe.contentWindow.document.body.appendChild(script2);
  8024. // _iframe.contentWindow.document.body.appendChild(script3);
  8025. _iframe.contentWindow.document.body.appendChild(script4);
  8026. })
  8027. if (onloadListener) {
  8028. _iframe.contentDocument.location.reload()
  8029. } else {
  8030. _iframe.contentDocument.location.reload()
  8031. }
  8032. } else if (str == 'courseDesign') {
  8033. U.UF.DL.iframeLoad(_iframe, function () {
  8034. // _iframe.contentWindow.U.MD.O.W.load();
  8035. // _iframe.contentWindow.document.body.appendChild(script1);
  8036. _iframe.contentWindow.document.body.appendChild(script2);
  8037. _iframe.contentWindow.document.body.appendChild(script4);
  8038. })
  8039. } else if (str == 'mind') {
  8040. _iframe = _formdiv.querySelector('iframe')
  8041. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8042. //
  8043. _iframe.contentWindow.document.body.appendChild(script1);
  8044. _iframe.contentWindow.document.body.appendChild(script2);
  8045. _iframe.contentWindow.document.body.appendChild(script4);
  8046. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  8047. })
  8048. if (onloadListener) {
  8049. _iframe.contentDocument.location.reload()
  8050. } else {
  8051. _iframe.contentDocument.location.reload()
  8052. }
  8053. } else if (str == 'whiteboard') {
  8054. _iframe = _formdiv.querySelector('iframe')
  8055. let onloadListener = _iframe.onload = () => {
  8056. _iframe.contentWindow.document.body.appendChild(script1);
  8057. _iframe.contentWindow.document.body.appendChild(script2);
  8058. _iframe.contentWindow.document.body.appendChild(script4);
  8059. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  8060. };
  8061. // if (onloadListener) {
  8062. // try {
  8063. // _iframe.src += "?cocorobo="+new Date().getTime()
  8064. // _iframe.contentWindow.document.location.reload()
  8065. // } catch (error) {
  8066. // }
  8067. // } else {
  8068. // _iframe.contentDocument.location.reload()
  8069. // }
  8070. } else {
  8071. _iframe.onload = () => {
  8072. _iframe.contentWindow.document.body.appendChild(script1);
  8073. _iframe.contentWindow.document.body.appendChild(script2);
  8074. // _iframe.contentWindow.document.body.appendChild(script3);
  8075. _iframe.contentWindow.document.body.appendChild(script4);
  8076. };
  8077. }
  8078. _jie.onclick = async () => {
  8079. let text = ''
  8080. if (aTool == 1) {
  8081. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8082. } else if (aTool == 6) {
  8083. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8084. } else if (aTool == 3) {
  8085. text = await U.MD.D.I.getEditorContent(_iframe);
  8086. }
  8087. _loading.style.display = 'flex'
  8088. console.log(_loading);
  8089. var _ajs = _iframe.contentWindow.document.createElement("script");
  8090. _ajs.type = "text/javascript";
  8091. _ajs.innerHTML =
  8092. // 'console.log(' + _loading + ');\n' +
  8093. 'var _js = document.createElement("script");\n' +
  8094. '_js.type="text/javascript";\n' +
  8095. '_js.charset="UTF-8";\n' +
  8096. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8097. "_js.onload = function(){\n" +
  8098. ' var a = document.getElementsByTagName("img")\n' +
  8099. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8100. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8101. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8102. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8103. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8104. "beforeUpload_shishi(file," +
  8105. "'" +
  8106. _userid +
  8107. "'" +
  8108. ", " +
  8109. "'" +
  8110. _cid +
  8111. "'" +
  8112. ", " +
  8113. "'" +
  8114. _stage +
  8115. "'" +
  8116. ", " +
  8117. "'" +
  8118. _task +
  8119. "'" +
  8120. ", " +
  8121. "'" +
  8122. _tool +
  8123. "'" +
  8124. ", " +
  8125. "'" +
  8126. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  8127. "'" +
  8128. ", " +
  8129. "'" +
  8130. aTool +
  8131. "'" +
  8132. ", " +
  8133. "`" +
  8134. text +
  8135. "`" +
  8136. ")\n" +
  8137. " });\n" +
  8138. "}\n" +
  8139. "document.head.appendChild(_js);\n";
  8140. _iframe.contentWindow.document.head.appendChild(_ajs);
  8141. }
  8142. }
  8143. }
  8144. U.MD.D.I.getEditorContent = function (iframe) {
  8145. return new Promise((resolve, reject) => {
  8146. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  8147. console.log(content);
  8148. resolve(content)
  8149. });
  8150. });
  8151. }
  8152. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  8153. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  8154. // if (res.value[0].length > 0) {
  8155. // // resolve(res.value[0][0].text);
  8156. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  8157. // $(fileInput).val('');
  8158. // });
  8159. // }
  8160. // }, [], { "type": "GET", "withCredentials": true });
  8161. var xmlhttp;
  8162. var Mac, Sn, DeviceId
  8163. if (window.XMLHttpRequest) {
  8164. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8165. xmlhttp = new XMLHttpRequest();
  8166. }
  8167. else {
  8168. // IE6, IE5 瀏覽器執行代碼
  8169. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8170. }
  8171. xmlhttp.onreadystatechange = function () {
  8172. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8173. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8174. // resolve(res.value[0][0].text);
  8175. if (type == '2') {
  8176. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8177. } else if (type == '3') {
  8178. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8179. }
  8180. } else {
  8181. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  8182. }
  8183. }
  8184. }
  8185. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8186. xmlhttp.send();
  8187. }
  8188. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  8189. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8190. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8191. _userinfo = US.userInfo, //登錄用戶信息
  8192. _userid = US.userInfo.userid //登錄用戶id
  8193. let _iframe;
  8194. let _cid = cid,
  8195. _stage = stage,
  8196. _task = task,
  8197. _tool = tool;
  8198. var _jie = $$("div", {
  8199. "style": {
  8200. "position": "absolute",
  8201. "bottom": "50px",
  8202. "right": "50px",
  8203. "zIndex": "9999",
  8204. "backgroundColor": "#2268bc",
  8205. "color": "#fff",
  8206. "padding": "12px 20px",
  8207. "cursor": "pointer",
  8208. "borderRadius": "4px",
  8209. },
  8210. "innerHTML": "確認並提交"
  8211. })
  8212. let aTool = ''
  8213. let _loading = document.createElement('div')
  8214. _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;"
  8215. // _loading.id = "";
  8216. let _lchild = document.createElement('div')
  8217. let _limg = document.createElement('img')
  8218. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8219. _limg.style = "width: 26px;margin-right: 10px;"
  8220. _lchild.appendChild(_limg)
  8221. let _lspan = document.createElement('span')
  8222. _lspan.innerHTML = "上傳中..."
  8223. _lchild.appendChild(_lspan)
  8224. _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%);"
  8225. _loading.appendChild(_lchild)
  8226. var _box = $$('div', {
  8227. "style": {
  8228. "position": "relative",
  8229. "width": "100%",
  8230. "height": "100%",
  8231. },
  8232. })
  8233. _box.appendChild(_loading)
  8234. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  8235. switch (str) {
  8236. case "whiteboard":
  8237. aTool = 1;
  8238. _iframe = $$("iframe", {
  8239. "frameborder": "no",
  8240. "border": "0",
  8241. "scrolling ": "no",
  8242. "style": {
  8243. "cssText": "border:0;width:100%;height:100%"
  8244. },
  8245. "src": "https://iwb.cocorobo.hk/"
  8246. })
  8247. _box.appendChild(_iframe);
  8248. _box.appendChild(_jie);
  8249. _formdiv = new U.UF.UI.form(
  8250. "電子白板",
  8251. _box, {
  8252. "id": "whiteboards" + cid + stage + task + tool,
  8253. "style": {
  8254. "width": "90%",
  8255. "height": "90%",
  8256. "overflow": 'hidden'
  8257. },
  8258. "onresize": function () { }
  8259. }, {
  8260. closecallback: function () { }
  8261. }, {
  8262. "style": {
  8263. "height": "36px"
  8264. }
  8265. }).form; //創建窗體
  8266. _taskbar = {
  8267. "id": str + _formdiv.id,
  8268. "style": {
  8269. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8270. },
  8271. "name": "電子白板",
  8272. "forms": _formdiv,
  8273. "click": function () {
  8274. U.MD.D.I.openApplication(str, obj, info);
  8275. }
  8276. }
  8277. break;
  8278. case "mind":
  8279. aTool = 3;
  8280. _iframe = $$("iframe", {
  8281. "frameborder": "no",
  8282. "border": "0",
  8283. "scrolling ": "no",
  8284. "style": {
  8285. "cssText": "border:0;width:100%;height:100%"
  8286. },
  8287. "src": "/kityminder-editor/dist/index.html"
  8288. });
  8289. _box.appendChild(_iframe);
  8290. _box.appendChild(_jie);
  8291. _formdiv = new U.UF.UI.form(
  8292. "思維導圖",
  8293. _box, { //"/jsmind/example/demo.html"
  8294. "id": "minds" + cid + stage + task + tool,
  8295. "style": {
  8296. "width": "90%",
  8297. "height": "90%",
  8298. "overflow": 'hidden'
  8299. },
  8300. "onresize": function () { }
  8301. }, {
  8302. closecallback: function () { }
  8303. }, {
  8304. "style": {
  8305. "height": "36px"
  8306. }
  8307. }).form; //創建窗體
  8308. _taskbar = {
  8309. "id": str + _formdiv.id,
  8310. "style": {
  8311. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8312. },
  8313. "name": "思維導圖",
  8314. "forms": _formdiv,
  8315. "click": function () {
  8316. U.MD.D.I.openApplication(str, obj, info);
  8317. }
  8318. }
  8319. break;
  8320. case "doc":
  8321. aTool = 6;
  8322. _iframe = $$("iframe", {
  8323. "frameborder": "no",
  8324. "border": "0",
  8325. "scrolling ": "no",
  8326. "style": {
  8327. "cssText": "border:0;width:100%;height:100%"
  8328. },
  8329. "src": "/Office/Word/WordEditArea.htm"
  8330. })
  8331. _box.appendChild(_iframe);
  8332. _box.appendChild(_jie);
  8333. _formdiv = new U.UF.UI.form(
  8334. "協同文檔",
  8335. _box, {
  8336. "id": "docs" + cid + stage + task + tool,
  8337. "style": {
  8338. "width": "90%",
  8339. "height": "90%",
  8340. "overflow": 'hidden'
  8341. },
  8342. "onresize": function () { }
  8343. }, {
  8344. closecallback: function () { }
  8345. }, {
  8346. "style": {
  8347. "height": "36px"
  8348. }
  8349. }).form; //創建窗體
  8350. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8351. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8352. })
  8353. _taskbar = {
  8354. "id": str + _formdiv.id,
  8355. "style": {
  8356. "backgroundImage": "url(/img/icon/doc.png)"
  8357. },
  8358. "name": "協同文檔",
  8359. "forms": _formdiv,
  8360. "click": function () {
  8361. U.MD.D.I.openApplication(str, obj, info);
  8362. }
  8363. }
  8364. break;
  8365. }
  8366. const script1 = document.createElement("script");
  8367. script1.type = "text/javascript";
  8368. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8369. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8370. const script2 = document.createElement("script");
  8371. script2.type = "text/javascript";
  8372. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8373. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8374. const script3 = document.createElement("script");
  8375. script3.type = "text/javascript";
  8376. script3.charset = "UTF-8";
  8377. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8378. const script4 = document.createElement("script");
  8379. script4.type = "text/javascript";
  8380. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8381. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  8382. if (_iframe) {
  8383. if (str == 'doc') {
  8384. _iframe = _formdiv.querySelector('iframe')
  8385. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8386. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8387. _iframe.contentWindow.document.body.appendChild(script1);
  8388. _iframe.contentWindow.document.body.appendChild(script2);
  8389. // _iframe.contentWindow.document.body.appendChild(script3);
  8390. _iframe.contentWindow.document.body.appendChild(script4);
  8391. })
  8392. if (onloadListener) {
  8393. _iframe.contentDocument.location.reload()
  8394. } else {
  8395. _iframe.contentDocument.location.reload()
  8396. }
  8397. } else if (str == 'mind') {
  8398. _iframe = _formdiv.querySelector('iframe')
  8399. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8400. _iframe.contentWindow.document.body.appendChild(script1);
  8401. _iframe.contentWindow.document.body.appendChild(script2);
  8402. _iframe.contentWindow.document.body.appendChild(script4);
  8403. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8404. })
  8405. if (onloadListener) {
  8406. _iframe.contentDocument.location.reload()
  8407. } else {
  8408. _iframe.contentDocument.location.reload()
  8409. }
  8410. } else {
  8411. _iframe.onload = () => {
  8412. _iframe.contentWindow.document.body.appendChild(script1);
  8413. _iframe.contentWindow.document.body.appendChild(script2);
  8414. // _iframe.contentWindow.document.body.appendChild(script3);
  8415. _iframe.contentWindow.document.body.appendChild(script4);
  8416. };
  8417. }
  8418. _jie.onclick = async () => {
  8419. let text = ''
  8420. if (aTool == 6) {
  8421. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8422. } else if (aTool == 3) {
  8423. text = await U.MD.D.I.getEditorContent(_iframe);
  8424. }
  8425. _loading.style.display = 'flex'
  8426. console.log(_loading);
  8427. var _ajs = _iframe.contentWindow.document.createElement("script");
  8428. _ajs.type = "text/javascript";
  8429. _ajs.innerHTML =
  8430. // 'console.log(' + _loading + ');\n' +
  8431. 'var _js = document.createElement("script");\n' +
  8432. '_js.type="text/javascript";\n' +
  8433. '_js.charset="UTF-8";\n' +
  8434. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8435. "_js.onload = function(){\n" +
  8436. ' var a = document.getElementsByTagName("img")\n' +
  8437. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8438. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8439. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8440. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8441. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8442. "beforeUpload_shishi(file," +
  8443. "'" +
  8444. _userid +
  8445. "'" +
  8446. ", " +
  8447. "'" +
  8448. _cid +
  8449. "'" +
  8450. ", " +
  8451. "'" +
  8452. _stage +
  8453. "'" +
  8454. ", " +
  8455. "'" +
  8456. _task +
  8457. "'" +
  8458. ", " +
  8459. "'" +
  8460. _tool +
  8461. "'" +
  8462. ", " +
  8463. "'" +
  8464. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  8465. "'" +
  8466. ", " +
  8467. "'" +
  8468. aTool +
  8469. "'" +
  8470. ", " +
  8471. "`" +
  8472. text +
  8473. "`" +
  8474. ")\n" +
  8475. " });\n" +
  8476. "}\n" +
  8477. "document.head.appendChild(_js);\n";
  8478. _iframe.contentWindow.document.head.appendChild(_ajs);
  8479. }
  8480. }
  8481. //U.MD.D.I.openClick(str);
  8482. //如果有任務欄信息
  8483. // if (_taskbar) {
  8484. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8485. // }
  8486. }
  8487. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  8488. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8489. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8490. _userinfo = US.userInfo, //登錄用戶信息
  8491. _userid = US.userInfo.userid //登錄用戶id
  8492. let _iframe;
  8493. let _cid = cid,
  8494. _stage = stage,
  8495. _task = task,
  8496. _tool = tool;
  8497. var _jie = $$("div", {
  8498. "style": {
  8499. "position": "absolute",
  8500. "bottom": "50px",
  8501. "right": "50px",
  8502. "zIndex": "9999",
  8503. "backgroundColor": "#2268bc",
  8504. "color": "#fff",
  8505. "padding": "12px 20px",
  8506. "cursor": "pointer",
  8507. "borderRadius": "4px",
  8508. },
  8509. "innerHTML": "確認並提交"
  8510. })
  8511. let aTool = ''
  8512. let _loading = document.createElement('div')
  8513. _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;"
  8514. // _loading.id = "";
  8515. let _lchild = document.createElement('div')
  8516. let _limg = document.createElement('img')
  8517. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8518. _limg.style = "width: 26px;margin-right: 10px;"
  8519. _lchild.appendChild(_limg)
  8520. let _lspan = document.createElement('span')
  8521. _lspan.innerHTML = "上傳中..."
  8522. _lchild.appendChild(_lspan)
  8523. _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%);"
  8524. _loading.appendChild(_lchild)
  8525. var _box = $$('div', {
  8526. "style": {
  8527. "position": "relative",
  8528. "width": "100%",
  8529. "height": "100%",
  8530. },
  8531. })
  8532. _box.appendChild(_loading)
  8533. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  8534. switch (str) {
  8535. case "whiteboard":
  8536. aTool = 1;
  8537. _iframe = $$("iframe", {
  8538. "frameborder": "no",
  8539. "border": "0",
  8540. "scrolling ": "no",
  8541. "style": {
  8542. "cssText": "border:0;width:100%;height:100%"
  8543. },
  8544. "src": "https://iwb.cocorobo.hk/"
  8545. })
  8546. _box.appendChild(_iframe);
  8547. _box.appendChild(_jie);
  8548. _formdiv = new U.UF.UI.form(
  8549. "電子白板",
  8550. _box, {
  8551. "id": "whiteboards" + cid + stage + task + tool,
  8552. "style": {
  8553. "width": "90%",
  8554. "height": "90%",
  8555. "overflow": 'hidden'
  8556. },
  8557. "onresize": function () { }
  8558. }, {
  8559. closecallback: function () { }
  8560. }, {
  8561. "style": {
  8562. "height": "36px"
  8563. }
  8564. }).form; //創建窗體
  8565. _taskbar = {
  8566. "id": str + _formdiv.id,
  8567. "style": {
  8568. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8569. },
  8570. "name": "電子白板",
  8571. "forms": _formdiv,
  8572. "click": function () {
  8573. U.MD.D.I.openApplication(str, obj, info);
  8574. }
  8575. }
  8576. break;
  8577. case "mind":
  8578. aTool = 3;
  8579. _iframe = $$("iframe", {
  8580. "frameborder": "no",
  8581. "border": "0",
  8582. "scrolling ": "no",
  8583. "style": {
  8584. "cssText": "border:0;width:100%;height:100%"
  8585. },
  8586. "src": "/kityminder-editor/dist/index.html"
  8587. });
  8588. _box.appendChild(_iframe);
  8589. _box.appendChild(_jie);
  8590. _formdiv = new U.UF.UI.form(
  8591. "思維導圖",
  8592. _box, { //"/jsmind/example/demo.html"
  8593. "id": "minds" + cid + stage + task + tool,
  8594. "style": {
  8595. "width": "90%",
  8596. "height": "90%",
  8597. "overflow": 'hidden'
  8598. },
  8599. "onresize": function () { }
  8600. }, {
  8601. closecallback: function () { }
  8602. }, {
  8603. "style": {
  8604. "height": "36px"
  8605. }
  8606. }).form; //創建窗體
  8607. _taskbar = {
  8608. "id": str + _formdiv.id,
  8609. "style": {
  8610. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8611. },
  8612. "name": "思維導圖",
  8613. "forms": _formdiv,
  8614. "click": function () {
  8615. U.MD.D.I.openApplication(str, obj, info);
  8616. }
  8617. }
  8618. break;
  8619. case "doc":
  8620. aTool = 6;
  8621. _iframe = $$("iframe", {
  8622. "frameborder": "no",
  8623. "border": "0",
  8624. "scrolling ": "no",
  8625. "style": {
  8626. "cssText": "border:0;width:100%;height:100%"
  8627. },
  8628. "src": "/Office/Word/WordEditArea.htm"
  8629. })
  8630. _box.appendChild(_iframe);
  8631. _box.appendChild(_jie);
  8632. _formdiv = new U.UF.UI.form(
  8633. "協同文檔",
  8634. _box, {
  8635. "id": "docs" + cid + stage + task + tool,
  8636. "style": {
  8637. "width": "90%",
  8638. "height": "90%",
  8639. "overflow": 'hidden'
  8640. },
  8641. "onresize": function () { }
  8642. }, {
  8643. closecallback: function () { }
  8644. }, {
  8645. "style": {
  8646. "height": "36px"
  8647. }
  8648. }).form; //創建窗體
  8649. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8650. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8651. })
  8652. _taskbar = {
  8653. "id": str + _formdiv.id,
  8654. "style": {
  8655. "backgroundImage": "url(/img/icon/doc.png)"
  8656. },
  8657. "name": "協同文檔",
  8658. "forms": _formdiv,
  8659. "click": function () {
  8660. U.MD.D.I.openApplication(str, obj, info);
  8661. }
  8662. }
  8663. break;
  8664. }
  8665. const script1 = document.createElement("script");
  8666. script1.type = "text/javascript";
  8667. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8668. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8669. const script2 = document.createElement("script");
  8670. script2.type = "text/javascript";
  8671. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8672. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8673. const script3 = document.createElement("script");
  8674. script3.type = "text/javascript";
  8675. script3.charset = "UTF-8";
  8676. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8677. const script4 = document.createElement("script");
  8678. script4.type = "text/javascript";
  8679. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8680. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  8681. if (_iframe) {
  8682. if (str == 'doc') {
  8683. _iframe = _formdiv.querySelector('iframe')
  8684. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8685. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8686. _iframe.contentWindow.document.body.appendChild(script1);
  8687. _iframe.contentWindow.document.body.appendChild(script2);
  8688. // _iframe.contentWindow.document.body.appendChild(script3);
  8689. _iframe.contentWindow.document.body.appendChild(script4);
  8690. })
  8691. if (onloadListener) {
  8692. _iframe.contentDocument.location.reload()
  8693. } else {
  8694. _iframe.contentDocument.location.reload()
  8695. }
  8696. } else if (str == 'mind') {
  8697. _iframe = _formdiv.querySelector('iframe')
  8698. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8699. _iframe.contentWindow.document.body.appendChild(script1);
  8700. _iframe.contentWindow.document.body.appendChild(script2);
  8701. _iframe.contentWindow.document.body.appendChild(script4);
  8702. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8703. })
  8704. if (onloadListener) {
  8705. _iframe.contentDocument.location.reload()
  8706. } else {
  8707. _iframe.contentDocument.location.reload()
  8708. }
  8709. } else {
  8710. _iframe.onload = () => {
  8711. _iframe.contentWindow.document.body.appendChild(script1);
  8712. _iframe.contentWindow.document.body.appendChild(script2);
  8713. // _iframe.contentWindow.document.body.appendChild(script3);
  8714. _iframe.contentWindow.document.body.appendChild(script4);
  8715. };
  8716. }
  8717. _jie.onclick = async () => {
  8718. let text = ''
  8719. if (aTool == 6) {
  8720. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8721. } else if (aTool == 3) {
  8722. text = await U.MD.D.I.getEditorContent(_iframe);
  8723. }
  8724. _loading.style.display = 'flex'
  8725. console.log(_loading);
  8726. var _ajs = _iframe.contentWindow.document.createElement("script");
  8727. _ajs.type = "text/javascript";
  8728. _ajs.innerHTML =
  8729. // 'console.log(' + _loading + ');\n' +
  8730. 'var _js = document.createElement("script");\n' +
  8731. '_js.type="text/javascript";\n' +
  8732. '_js.charset="UTF-8";\n' +
  8733. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8734. "_js.onload = function(){\n" +
  8735. ' var a = document.getElementsByTagName("img")\n' +
  8736. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8737. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8738. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8739. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8740. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8741. "beforeUpload_shishi(file," +
  8742. "'" +
  8743. _userid +
  8744. "'" +
  8745. ", " +
  8746. "'" +
  8747. _cid +
  8748. "'" +
  8749. ", " +
  8750. "'" +
  8751. _stage +
  8752. "'" +
  8753. ", " +
  8754. "'" +
  8755. _task +
  8756. "'" +
  8757. ", " +
  8758. "'" +
  8759. _tool +
  8760. "'" +
  8761. ", " +
  8762. "'" +
  8763. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  8764. "'" +
  8765. ", " +
  8766. "'" +
  8767. aTool +
  8768. "'" +
  8769. ", " +
  8770. "`" +
  8771. text +
  8772. "`" +
  8773. ")\n" +
  8774. " });\n" +
  8775. "}\n" +
  8776. "document.head.appendChild(_js);\n";
  8777. _iframe.contentWindow.document.head.appendChild(_ajs);
  8778. }
  8779. }
  8780. //U.MD.D.I.openClick(str);
  8781. //如果有任務欄信息
  8782. // if (_taskbar) {
  8783. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8784. // }
  8785. }
  8786. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  8787. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8788. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8789. _userinfo = US.userInfo, //登錄用戶信息
  8790. _userid = US.userInfo.userid //登錄用戶id
  8791. let _iframe;
  8792. let _cid = cid,
  8793. _stage = stage,
  8794. _task = task,
  8795. _tool = tool;
  8796. var _jie = $$("div", {
  8797. "style": {
  8798. "position": "absolute",
  8799. "bottom": "50px",
  8800. "right": "50px",
  8801. "zIndex": "9999",
  8802. "backgroundColor": "#2268bc",
  8803. "color": "#fff",
  8804. "padding": "12px 20px",
  8805. "cursor": "pointer",
  8806. "borderRadius": "4px",
  8807. },
  8808. "innerHTML": "上傳模板"
  8809. })
  8810. let aTool = ''
  8811. let _loading = document.createElement('div')
  8812. _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;"
  8813. // _loading.id = "";
  8814. let _lchild = document.createElement('div')
  8815. let _limg = document.createElement('img')
  8816. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8817. _limg.style = "width: 26px;margin-right: 10px;"
  8818. _lchild.appendChild(_limg)
  8819. let _lspan = document.createElement('span')
  8820. _lspan.innerHTML = "上傳中..."
  8821. _lchild.appendChild(_lspan)
  8822. _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%);"
  8823. _loading.appendChild(_lchild)
  8824. var _box = $$('div', {
  8825. "style": {
  8826. "position": "relative",
  8827. "width": "100%",
  8828. "height": "100%",
  8829. },
  8830. })
  8831. _box.appendChild(_loading)
  8832. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  8833. switch (str) {
  8834. case "whiteboard":
  8835. aTool = 1;
  8836. _iframe = $$("iframe", {
  8837. "frameborder": "no",
  8838. "border": "0",
  8839. "scrolling ": "no",
  8840. "style": {
  8841. "cssText": "border:0;width:100%;height:100%"
  8842. },
  8843. "src": "https://iwb.cocorobo.hk/"
  8844. })
  8845. _box.appendChild(_iframe);
  8846. _box.appendChild(_jie);
  8847. _formdiv = new U.UF.UI.form(
  8848. "電子白板",
  8849. _box, {
  8850. "id": "whiteboards_Yu" + cid + stage + task + tool,
  8851. "style": {
  8852. "width": "90%",
  8853. "height": "90%",
  8854. "overflow": 'hidden'
  8855. },
  8856. "onresize": function () { }
  8857. }, {
  8858. closecallback: function () { }
  8859. }, {
  8860. "style": {
  8861. "height": "36px"
  8862. }
  8863. }).form; //創建窗體
  8864. _taskbar = {
  8865. "id": str + _formdiv.id,
  8866. "style": {
  8867. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8868. },
  8869. "name": "電子白板",
  8870. "forms": _formdiv,
  8871. "click": function () {
  8872. U.MD.D.I.openApplication(str, obj, info);
  8873. }
  8874. }
  8875. break;
  8876. case "mind":
  8877. aTool = 3;
  8878. _iframe = $$("iframe", {
  8879. "frameborder": "no",
  8880. "border": "0",
  8881. "scrolling ": "no",
  8882. "style": {
  8883. "cssText": "border:0;width:100%;height:100%"
  8884. },
  8885. "src": "/kityminder-editor/dist/index.html"
  8886. });
  8887. _box.appendChild(_iframe);
  8888. _box.appendChild(_jie);
  8889. _formdiv = new U.UF.UI.form(
  8890. "思維導圖",
  8891. _box, { //"/jsmind/example/demo.html"
  8892. "id": "minds_Yu" + cid + stage + task + tool,
  8893. "style": {
  8894. "width": "90%",
  8895. "height": "90%",
  8896. "overflow": 'hidden'
  8897. },
  8898. "onresize": function () { }
  8899. }, {
  8900. closecallback: function () { }
  8901. }, {
  8902. "style": {
  8903. "height": "36px"
  8904. }
  8905. }).form; //創建窗體
  8906. _taskbar = {
  8907. "id": str + _formdiv.id,
  8908. "style": {
  8909. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8910. },
  8911. "name": "思維導圖",
  8912. "forms": _formdiv,
  8913. "click": function () {
  8914. U.MD.D.I.openApplication(str, obj, info);
  8915. }
  8916. }
  8917. break;
  8918. case "doc":
  8919. aTool = 6;
  8920. _iframe = $$("iframe", {
  8921. "frameborder": "no",
  8922. "border": "0",
  8923. "scrolling ": "no",
  8924. "style": {
  8925. "cssText": "border:0;width:100%;height:100%"
  8926. },
  8927. "src": "/Office/Word/WordEditArea.htm"
  8928. })
  8929. _box.appendChild(_iframe);
  8930. _box.appendChild(_jie);
  8931. _formdiv = new U.UF.UI.form(
  8932. "協同文檔",
  8933. _box, {
  8934. "id": "docs_Yu" + cid + stage + task + tool,
  8935. "style": {
  8936. "width": "90%",
  8937. "height": "90%",
  8938. "overflow": 'hidden'
  8939. },
  8940. "onresize": function () { }
  8941. }, {
  8942. closecallback: function () { }
  8943. }, {
  8944. "style": {
  8945. "height": "36px"
  8946. }
  8947. }).form; //創建窗體
  8948. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8949. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8950. })
  8951. _taskbar = {
  8952. "id": str + _formdiv.id,
  8953. "style": {
  8954. "backgroundImage": "url(/img/icon/doc.png)"
  8955. },
  8956. "name": "協同文檔",
  8957. "forms": _formdiv,
  8958. "click": function () {
  8959. U.MD.D.I.openApplication(str, obj, info);
  8960. }
  8961. }
  8962. break;
  8963. case "CocoPi":
  8964. aTool = 57;
  8965. _iframe = $$("iframe", {
  8966. "allowpaymentrequest": "allowpaymentrequest",
  8967. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8968. "webkitallowfullscreen": "",
  8969. "mozallowfullscreen": "",
  8970. "frameborder": "no",
  8971. "border": "0",
  8972. "scrolling ": "no",
  8973. "style": {
  8974. "cssText": "border:0;width:100%;height:100%"
  8975. },
  8976. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8977. })
  8978. _box.appendChild(_iframe);
  8979. _box.appendChild(_jie);
  8980. _formdiv = new U.UF.UI.form(
  8981. "CocoPi",
  8982. _box, {
  8983. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8984. "style": {
  8985. "width": "90%",
  8986. "height": "90%",
  8987. "overflow": 'hidden'
  8988. },
  8989. "onresize": function () { }
  8990. }, {
  8991. closecallback: function () { }
  8992. }, {
  8993. "style": {
  8994. "height": "36px"
  8995. }
  8996. }).form; //創建窗體
  8997. _taskbar = {
  8998. "id": str + _formdiv.id,
  8999. "style": {
  9000. "backgroundImage": "url(/img/icon/cocopi.png)"
  9001. },
  9002. "name": "CocoPi",
  9003. "forms": _formdiv,
  9004. "click": function () {
  9005. U.MD.D.I.openApplication(str, obj, info);
  9006. }
  9007. }
  9008. break;
  9009. }
  9010. if (_iframe) {
  9011. if (str == 'doc') {
  9012. _iframe = _formdiv.querySelector('iframe')
  9013. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9014. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  9015. })
  9016. if (onloadListener) {
  9017. _iframe.contentDocument.location.reload()
  9018. } else {
  9019. _iframe.contentDocument.location.reload()
  9020. }
  9021. } else if (str == 'mind') {
  9022. _iframe = _formdiv.querySelector('iframe')
  9023. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9024. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  9025. })
  9026. if (onloadListener) {
  9027. _iframe.contentDocument.location.reload()
  9028. } else {
  9029. _iframe.contentDocument.location.reload()
  9030. }
  9031. } else if (str == 'whiteboard') {
  9032. _iframe = _formdiv.querySelector('iframe')
  9033. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9034. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  9035. })
  9036. // if (onloadListener) {
  9037. // try {
  9038. // _iframe.src += "?cocorobo="+new Date().getTime()
  9039. // _iframe.contentWindow.document.location.reload()
  9040. // } catch (error) {
  9041. // }
  9042. // } else {
  9043. // _iframe.contentDocument.location.reload()
  9044. // }
  9045. } else if (str == 'CocoPi') {
  9046. _iframe = _formdiv.querySelector('iframe')
  9047. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9048. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  9049. })
  9050. if (onloadListener) {
  9051. _iframe.contentDocument.location.reload()
  9052. } else {
  9053. _iframe.contentDocument.location.reload()
  9054. }
  9055. } else {
  9056. _iframe.onload = () => { };
  9057. }
  9058. _jie.onclick = async () => {
  9059. let text = ''
  9060. let type = '2'
  9061. if (aTool == 1) {
  9062. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  9063. type = '3'
  9064. } else if (aTool == 6) {
  9065. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  9066. type = '1'
  9067. } else if (aTool == 3) {
  9068. text = await U.MD.D.I.getEditorContent(_iframe);
  9069. type = '2'
  9070. } else if (aTool == 57) {
  9071. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  9072. type = '4'
  9073. }
  9074. _loading.style.display = 'flex'
  9075. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  9076. }
  9077. }
  9078. //U.MD.D.I.openClick(str);
  9079. //如果有任務欄信息
  9080. // if (_taskbar) {
  9081. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  9082. // }
  9083. }
  9084. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  9085. var xmlhttp;
  9086. var Mac, Sn, DeviceId
  9087. if (window.XMLHttpRequest) {
  9088. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9089. xmlhttp = new XMLHttpRequest();
  9090. }
  9091. else {
  9092. // IE6, IE5 瀏覽器執行代碼
  9093. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9094. }
  9095. xmlhttp.onreadystatechange = function () {
  9096. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9097. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  9098. // resolve(res.value[0][0].text);
  9099. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  9100. }
  9101. }
  9102. }
  9103. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  9104. xmlhttp.send();
  9105. }
  9106. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  9107. var xmlhttp;
  9108. var Mac, Sn, DeviceId
  9109. if (window.XMLHttpRequest) {
  9110. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9111. xmlhttp = new XMLHttpRequest();
  9112. }
  9113. else {
  9114. // IE6, IE5 瀏覽器執行代碼
  9115. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9116. }
  9117. xmlhttp.onreadystatechange = function () {
  9118. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9119. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  9120. // resolve(res.value[0][0].text);
  9121. if (type == '2') {
  9122. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  9123. } else if (type == '3') {
  9124. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  9125. } else if (type == '4') {
  9126. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  9127. }
  9128. } else {
  9129. if (type == '2') {
  9130. iframe.contentWindow.editor.minder.importData('json', '')
  9131. } else if (type == '3') {
  9132. iframe.contentWindow.h.app.updateScene({ elements: [] })
  9133. } else if (type == '4') {
  9134. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  9135. }
  9136. }
  9137. }
  9138. }
  9139. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  9140. xmlhttp.send();
  9141. }
  9142. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  9143. var xmlhttp;
  9144. var Mac, Sn, DeviceId
  9145. if (window.XMLHttpRequest) {
  9146. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9147. xmlhttp = new XMLHttpRequest();
  9148. }
  9149. else {
  9150. // IE6, IE5 瀏覽器執行代碼
  9151. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9152. }
  9153. xmlhttp.onreadystatechange = function () {
  9154. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9155. if (xmlhttp.response) {
  9156. // resolve(res.value[0][0].text);
  9157. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  9158. // $(fileInput).val('');
  9159. // });
  9160. span.innerHTML = '上傳成功'
  9161. setTimeout(() => {
  9162. loading.style.display = 'none'
  9163. }, 1000);
  9164. }
  9165. }
  9166. }
  9167. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  9168. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  9169. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  9170. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  9171. // 設置請求頭,表示請求體的編碼格式
  9172. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  9173. // 設置請求體,使用url-encoded格式的數據
  9174. }
  9175. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  9176. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  9177. _formdiv, //創建任務欄時同時彈出的窗體元素。
  9178. _userinfo = US.userInfo, //登錄用戶信息
  9179. _userid = US.userInfo.userid //登錄用戶id
  9180. let _iframe;
  9181. let _cid = cid,
  9182. _stage = stage,
  9183. _task = task,
  9184. _tool = tool;
  9185. var _jie = $$("div", {
  9186. "style": {
  9187. "position": "absolute",
  9188. "bottom": "50px",
  9189. "right": "50px",
  9190. "zIndex": "9999",
  9191. "backgroundColor": "#2268bc",
  9192. "color": "#fff",
  9193. "padding": "12px 20px",
  9194. "cursor": "pointer",
  9195. "borderRadius": "4px",
  9196. },
  9197. "innerHTML": "提交作業"
  9198. })
  9199. let aTool = ''
  9200. let _loading = document.createElement('div')
  9201. _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;"
  9202. // _loading.id = "";
  9203. let _lchild = document.createElement('div')
  9204. let _limg = document.createElement('img')
  9205. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  9206. _limg.style = "width: 26px;margin-right: 10px;"
  9207. _lchild.appendChild(_limg)
  9208. let _lspan = document.createElement('span')
  9209. _lspan.innerHTML = "上傳中..."
  9210. _lchild.appendChild(_lspan)
  9211. _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%);"
  9212. _loading.appendChild(_lchild)
  9213. var _box = $$('div', {
  9214. "style": {
  9215. "position": "relative",
  9216. "width": "100%",
  9217. "height": "100%",
  9218. },
  9219. })
  9220. _box.appendChild(_loading)
  9221. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  9222. switch (str) {
  9223. case "CocoPi":
  9224. aTool = 57;
  9225. _iframe = $$("iframe", {
  9226. "allowpaymentrequest": "allowpaymentrequest",
  9227. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9228. "webkitallowfullscreen": "",
  9229. "mozallowfullscreen": "",
  9230. "frameborder": "no",
  9231. "border": "0",
  9232. "scrolling ": "no",
  9233. "style": {
  9234. "cssText": "border:0;width:100%;height:100%"
  9235. },
  9236. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9237. })
  9238. _box.appendChild(_iframe);
  9239. _box.appendChild(_jie);
  9240. _formdiv = new U.UF.UI.form(
  9241. "CocoPi",
  9242. _box, {
  9243. "id": "CocoPi_Upload" + cid + stage + task + tool,
  9244. "style": {
  9245. "width": "90%",
  9246. "height": "90%",
  9247. "overflow": 'hidden'
  9248. },
  9249. "onresize": function () { }
  9250. }, {
  9251. closecallback: function () { }
  9252. }, {
  9253. "style": {
  9254. "height": "36px"
  9255. }
  9256. }).form; //創建窗體
  9257. _taskbar = {
  9258. "id": str + _formdiv.id,
  9259. "style": {
  9260. "backgroundImage": "url(/img/icon/cocopi.png)"
  9261. },
  9262. "name": "CocoPi",
  9263. "forms": _formdiv,
  9264. "click": function () {
  9265. U.MD.D.I.openApplication(str, obj, info);
  9266. }
  9267. }
  9268. break;
  9269. }
  9270. if (_iframe) {
  9271. if (str == 'CocoPi') {
  9272. _iframe = _formdiv.querySelector('iframe')
  9273. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9274. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  9275. })
  9276. if (onloadListener) {
  9277. _iframe.contentDocument.location.reload()
  9278. } else {
  9279. _iframe.contentDocument.location.reload()
  9280. }
  9281. }
  9282. _jie.onclick = async () => {
  9283. let text = ''
  9284. if (aTool == 57) {
  9285. text = _iframe.contentWindow.getLoadXmlStr()
  9286. }
  9287. _loading.style.display = 'flex'
  9288. console.log(_loading);
  9289. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  9290. _loading.style.display = 'none'
  9291. let _div = document.createElement('div')
  9292. _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;"
  9293. let _inner = document.createElement('div')
  9294. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  9295. _inner.innerHTML = "上傳成功"
  9296. _div.appendChild(_inner)
  9297. _iframe.contentWindow.window.document.body.appendChild(_div)
  9298. _div.onclick = () => {
  9299. _iframe.contentWindow.window.document.body.removeChild(_div)
  9300. }
  9301. setTimeout(() => {
  9302. _iframe.contentWindow.window.document.body.removeChild(_div)
  9303. }, 1000);
  9304. }, [], { "type": "POST", "withCredentials": true });
  9305. }
  9306. }
  9307. }
  9308. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  9309. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  9310. _formdiv, //創建任務欄時同時彈出的窗體元素。
  9311. _userid = student.userid, //登錄用戶id
  9312. _username = student.student //用戶名字
  9313. let _iframe;
  9314. let _cid = cid,
  9315. _stage = stage,
  9316. _task = task,
  9317. _tool = tool;
  9318. var _jie = $$("div", {
  9319. "style": {
  9320. "position": "absolute",
  9321. "bottom": "50px",
  9322. "right": "50px",
  9323. "zIndex": "9999",
  9324. "backgroundColor": "#2268bc",
  9325. "color": "#fff",
  9326. "padding": "12px 20px",
  9327. "cursor": "pointer",
  9328. "borderRadius": "4px",
  9329. },
  9330. "innerHTML": "提交作業"
  9331. })
  9332. let aTool = ''
  9333. let _loading = document.createElement('div')
  9334. _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;"
  9335. // _loading.id = "";
  9336. let _lchild = document.createElement('div')
  9337. let _limg = document.createElement('img')
  9338. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  9339. _limg.style = "width: 26px;margin-right: 10px;"
  9340. _lchild.appendChild(_limg)
  9341. let _lspan = document.createElement('span')
  9342. _lspan.innerHTML = "上傳中..."
  9343. _lchild.appendChild(_lspan)
  9344. _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%);"
  9345. _loading.appendChild(_lchild)
  9346. var _box = $$('div', {
  9347. "style": {
  9348. "position": "relative",
  9349. "width": "100%",
  9350. "height": "100%",
  9351. },
  9352. })
  9353. _box.appendChild(_loading)
  9354. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  9355. switch (str) {
  9356. case "CocoPi":
  9357. aTool = 57;
  9358. _iframe = $$("iframe", {
  9359. "allowpaymentrequest": "allowpaymentrequest",
  9360. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9361. "webkitallowfullscreen": "",
  9362. "mozallowfullscreen": "",
  9363. "frameborder": "no",
  9364. "border": "0",
  9365. "scrolling ": "no",
  9366. "style": {
  9367. "cssText": "border:0;width:100%;height:100%"
  9368. },
  9369. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9370. })
  9371. _box.appendChild(_iframe);
  9372. _box.appendChild(_jie);
  9373. _formdiv = new U.UF.UI.form(
  9374. "CocoPi-" + _username,
  9375. _box, {
  9376. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  9377. "style": {
  9378. "width": "90%",
  9379. "height": "90%",
  9380. "overflow": 'hidden'
  9381. },
  9382. "onresize": function () { }
  9383. }, {
  9384. closecallback: function () { }
  9385. }, {
  9386. "style": {
  9387. "height": "36px"
  9388. }
  9389. }).form; //創建窗體
  9390. _taskbar = {
  9391. "id": str + _formdiv.id,
  9392. "style": {
  9393. "backgroundImage": "url(/img/icon/cocopi.png)"
  9394. },
  9395. "name": "CocoPi",
  9396. "forms": _formdiv,
  9397. "click": function () {
  9398. U.MD.D.I.openApplication(str, obj, info);
  9399. }
  9400. }
  9401. break;
  9402. }
  9403. if (_iframe) {
  9404. if (str == 'CocoPi') {
  9405. _iframe = _formdiv.querySelector('iframe')
  9406. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9407. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  9408. })
  9409. if (onloadListener) {
  9410. _iframe.contentDocument.location.reload()
  9411. } else {
  9412. _iframe.contentDocument.location.reload()
  9413. }
  9414. }
  9415. _jie.onclick = async () => {
  9416. let text = ''
  9417. if (aTool == 57) {
  9418. text = _iframe.contentWindow.getLoadXmlStr()
  9419. }
  9420. _loading.style.display = 'flex'
  9421. console.log(_loading);
  9422. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  9423. _loading.style.display = 'none'
  9424. let _div = document.createElement('div')
  9425. _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;"
  9426. let _inner = document.createElement('div')
  9427. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  9428. _inner.innerHTML = "上傳成功"
  9429. _div.appendChild(_inner)
  9430. _iframe.contentWindow.window.document.body.appendChild(_div)
  9431. _div.onclick = () => {
  9432. _iframe.contentWindow.window.document.body.removeChild(_div)
  9433. }
  9434. setTimeout(() => {
  9435. _iframe.contentWindow.window.document.body.removeChild(_div)
  9436. }, 1000);
  9437. }, [], { "type": "POST", "withCredentials": true });
  9438. }
  9439. }
  9440. }
  9441. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  9442. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  9443. if (res.value[0].length > 0) {
  9444. if (atool == 57) {
  9445. iframe.contentWindow.loadingXml(res.value[0][0].content)
  9446. }
  9447. } else {
  9448. if (atool == 57) {
  9449. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  9450. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  9451. }
  9452. }
  9453. }, [], { "type": "POST", "withCredentials": true });
  9454. }