DeskTop.js 581 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474
  1. /*
  2. 此處為桌面系統啟動應用區域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面應用處理
  5. //判斷圖片是否在拖拽,如果是拖拽圖標的過程是不會打開圖片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教師桌面圖標的全局變量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //極簡模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教師桌面圖標的全局變量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "項目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的項目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "學習資料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "漢字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "國學經典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "筆畫訓練", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "書法課堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "課程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "學生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "學生評價", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班級管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "課程進展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的評價", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北師大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "數字實驗室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  458. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  475. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教師桌面圖標的全局變量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教師桌面圖標的全局變量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龍華中心小學教師桌面圖標的全局變量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院實小教師桌面圖標的全局變量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "數據融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "評測看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  633. { "Name": "教師管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  634. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  635. ];
  636. //教科院實小教師桌面圖標的全局變量
  637. U.MD.D.I.siesStudentDeskIcon = [
  638. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  639. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  640. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  641. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  642. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  643. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  644. ];
  645. //中山小學教師桌面圖標的全局變量
  646. U.MD.D.I.guzmsteacherDeskIcon = [
  647. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  648. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  649. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  650. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  651. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  652. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  653. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  654. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  655. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  656. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  657. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  658. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  660. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  661. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  662. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  663. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  664. ];
  665. //中山小學學生桌面圖標的全局變量
  666. U.MD.D.I.guzmsStudentDeskIcon = [
  667. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  668. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  669. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  670. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  671. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  672. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  673. ];
  674. //福田
  675. U.MD.D.I.gdjgTeacherDeskIcon = [
  676. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  677. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  678. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  679. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  680. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  681. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  682. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  683. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  684. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  685. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  686. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  687. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  688. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  689. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  690. ];
  691. //gdjg
  692. U.MD.D.I.gdjgAdminDeskIcon = [
  693. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  694. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  695. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  696. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  697. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  698. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  699. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  700. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  701. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  702. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  704. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  705. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  706. ];
  707. //hk
  708. U.MD.D.I.hkteacherDeskIcon = [
  709. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  710. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  711. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  712. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  713. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  718. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  719. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  720. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  721. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  722. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  726. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  728. ];
  729. //hk
  730. U.MD.D.I.hkStudentDeskIcon = [
  731. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  736. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  737. ];
  738. //hk
  739. U.MD.D.I.hkaceteacherDeskIcon = [
  740. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  741. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  742. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  743. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  744. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  745. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  746. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  747. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  748. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  749. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  750. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  751. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  752. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  753. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  754. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  755. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  756. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  757. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  758. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  759. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  760. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  761. ];
  762. //hk
  763. U.MD.D.I.hkaceStudentDeskIcon = [
  764. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  765. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  766. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  767. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  768. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  769. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  770. ];
  771. //香海正覺蓮社佛教正覺中學
  772. U.MD.D.I.hkZJLSteacherDeskIcon = [
  773. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  774. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  775. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  776. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  777. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  778. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  779. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  780. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  781. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  782. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  783. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  784. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  785. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  786. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  787. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  788. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  789. ];
  790. //香海正覺蓮社佛教正覺中學
  791. U.MD.D.I.hkZJLSStudentDeskIcon = [
  792. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  793. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  794. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  795. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  796. ];
  797. //雲海
  798. U.MD.D.I.yunhaiTeacherDeskIcon = [
  799. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  800. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  801. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  802. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  803. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  804. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  805. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  806. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  807. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  808. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  809. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  810. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  811. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  812. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  813. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  814. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  815. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  816. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  817. ];
  818. //福田
  819. U.MD.D.I.heyuanTeacherDeskIcon = [
  820. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  821. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  822. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  823. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  824. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  825. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  826. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  827. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  828. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  829. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  830. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  831. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  832. ];
  833. //福田
  834. U.MD.D.I.heyuanAdminDeskIcon = [
  835. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  836. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  837. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  838. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  839. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  840. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  841. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  842. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  843. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  844. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  845. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  846. ];
  847. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  848. U.MD.D.I.szherTeacherDeskIcon = [
  849. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  850. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  851. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  852. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  853. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  854. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  855. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  856. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  857. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  858. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  859. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  860. ];
  861. //dsei
  862. U.MD.D.I.dseiTeacherDeskIcon = [
  863. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  864. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  865. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  866. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  867. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  868. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  869. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  870. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  871. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  872. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  873. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  874. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  875. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  876. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  877. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  878. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  879. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  880. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  881. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  882. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  883. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  884. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  885. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  886. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  887. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  888. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  889. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  890. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  891. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  892. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  893. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  894. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  895. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  896. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  897. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  898. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  899. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  900. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  901. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  902. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  903. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  904. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  905. ];
  906. //dsei
  907. U.MD.D.I.dseiAdminDeskIcon = [
  908. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  909. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  910. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  911. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  912. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  913. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  914. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  915. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  916. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  917. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  918. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  919. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  920. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  921. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  922. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  923. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  924. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  925. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  926. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  927. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  928. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  929. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  930. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  931. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  932. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  933. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  934. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  935. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  936. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  937. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  938. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  939. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  940. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  941. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  942. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  943. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  944. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  945. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  946. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  947. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  948. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  949. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  950. ];
  951. //dsei
  952. U.MD.D.I.dseiStudentDeskIcon = [
  953. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  954. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  955. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  956. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  957. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  958. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  959. ];
  960. //未來教育基地
  961. U.MD.D.I.szjkyTeacherDeskIcon = [
  962. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  963. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  964. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  965. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  966. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  967. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  968. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  969. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  970. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  971. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  972. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  973. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  974. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  975. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  976. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  977. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  978. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  979. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  980. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  981. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  982. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  983. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  984. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  985. ];
  986. //未來教育基地
  987. U.MD.D.I.szjkyAdminDeskIcon = [
  988. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  989. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  990. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  991. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  992. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  993. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  994. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  995. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  996. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  997. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  998. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  999. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1000. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1001. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1002. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1003. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1004. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1005. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1006. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1007. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1008. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1009. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1010. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1011. ];
  1012. //未來教育基地
  1013. U.MD.D.I.szjkyStudentDeskIcon = [
  1014. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1015. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1016. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1017. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1018. ];
  1019. //成華教育局
  1020. U.MD.D.I.chjyjTeacherDeskIcon = [
  1021. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1022. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1023. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1024. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1025. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1026. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1027. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1028. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1029. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1030. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1031. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1032. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1033. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1034. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1035. ];
  1036. //成華教育局chjyj
  1037. U.MD.D.I.chjyjAdminDeskIcon = [
  1038. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1039. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1040. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1041. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1042. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1043. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1044. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1045. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1046. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1047. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1048. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1049. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1050. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1051. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1052. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1053. ];
  1054. //成華教育局chjyj
  1055. U.MD.D.I.chjyjStudentDeskIcon = [
  1056. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1057. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1058. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1059. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1060. ];
  1061. //tpc
  1062. U.MD.D.I.tpcStudentDeskIcon = [
  1063. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1064. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1065. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1066. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1067. ];
  1068. //tpc
  1069. U.MD.D.I.tpcTeacherDeskIcon = [
  1070. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1071. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1072. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1073. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1074. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1075. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1076. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1077. ];
  1078. //tpc
  1079. U.MD.D.I.tpcAdminDeskIcon = [
  1080. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1081. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1082. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1083. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1084. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1085. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1086. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1087. ];
  1088. //THU-IOE
  1089. U.MD.D.I.thuioeTeacherDeskIcon = [
  1090. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1091. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1092. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1093. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1094. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1095. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1096. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1097. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1098. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1099. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1100. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1101. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1102. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1103. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1104. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1105. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1106. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1107. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1108. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1109. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1110. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1111. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1112. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1113. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1114. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1115. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1116. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1117. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1118. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1119. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1120. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1121. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1122. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1123. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1124. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1125. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1126. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1127. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1128. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1129. ];
  1130. //THU-IOE
  1131. U.MD.D.I.thuioeStudentDeskIcon = [
  1132. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1133. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1134. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1135. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1136. ];
  1137. //jccssyl
  1138. U.MD.D.I.jccssylTeacherDeskIcon = [
  1139. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1140. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1141. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1142. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1143. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1144. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1145. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1146. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1147. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1148. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1149. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1150. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1151. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1152. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1153. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1154. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1155. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1156. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1157. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1158. ];
  1159. //jccssyl
  1160. U.MD.D.I.jccssylStudentDeskIcon = [
  1161. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1162. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1163. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1164. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1165. ];
  1166. //cale
  1167. U.MD.D.I.caleTeacherDeskIcon = [
  1168. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1169. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1170. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1171. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1172. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1173. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1174. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1175. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1176. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1177. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1178. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1179. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1180. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1181. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1182. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1183. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1184. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1185. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1186. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1187. ];
  1188. //cale
  1189. U.MD.D.I.caleStudentDeskIcon = [
  1190. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1191. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1192. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1193. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1194. ];
  1195. //lqwmsgzs
  1196. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1197. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1198. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1199. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1200. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1201. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1202. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1203. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1204. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1205. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1206. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1207. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1208. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1209. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1210. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1211. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1212. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1213. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1214. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1215. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1216. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1217. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1218. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1219. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1220. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1221. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1222. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1223. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1224. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1225. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1226. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1227. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1228. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1229. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1230. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1231. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1232. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1233. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1234. ];
  1235. //lqwmsgzs
  1236. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1237. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1238. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1239. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1240. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1241. ];
  1242. //鹽田區幼兒園
  1243. U.MD.D.I.ytyTeacherDeskIcon = [
  1244. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1245. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1246. { "Name": "課程評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1247. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1248. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1249. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1250. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1251. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1252. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1253. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1254. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1255. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1256. ];
  1257. //鹽田區幼兒園
  1258. U.MD.D.I.ytyStudentDeskIcon = [
  1259. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1260. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1261. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1262. ];
  1263. //scnuai
  1264. U.MD.D.I.scnuaiTeacherDeskIcon = [
  1265. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1266. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1267. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1268. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1269. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1270. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1271. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1272. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1273. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1274. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1275. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1276. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1277. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1278. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1279. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1280. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1281. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1282. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1283. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1284. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1285. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1286. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1287. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1288. ];
  1289. //scnuai
  1290. U.MD.D.I.scnuaiAdminDeskIcon = [
  1291. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1292. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1293. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1294. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1295. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1296. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1297. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1298. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1299. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1300. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1301. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1302. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1303. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1304. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1305. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1306. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1307. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1308. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1309. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1310. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1311. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1312. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1313. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1314. ];
  1315. //scnuai
  1316. U.MD.D.I.scnuaiStudentDeskIcon = [
  1317. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1318. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1319. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1320. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1321. ];
  1322. //cocobiz
  1323. U.MD.D.I.cocobizteacherDeskIcon = [
  1324. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1325. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1326. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1327. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1328. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1329. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1330. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1331. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1332. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1333. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1334. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1335. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1336. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1337. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1338. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1339. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1340. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1341. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1342. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1343. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1344. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1345. ];
  1346. //cocobiz
  1347. U.MD.D.I.cocobizStudentDeskIcon = [
  1348. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1349. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1350. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1351. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1352. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1353. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1354. ];
  1355. //xxzjky
  1356. U.MD.D.I.xxzjkyteacherDeskIcon = [
  1357. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1358. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1359. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1360. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1361. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1362. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1363. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1364. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1365. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1366. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1367. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1368. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1369. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1370. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1371. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1372. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1373. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1374. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1375. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1376. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1377. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1378. ];
  1379. //xxzjky
  1380. U.MD.D.I.xxzjkyStudentDeskIcon = [
  1381. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1382. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1383. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1384. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1385. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1386. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1387. ];
  1388. //nsfx
  1389. U.MD.D.I.nsfxTeacherDeskIcon = [
  1390. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1391. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1392. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1393. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1394. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1395. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1396. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1397. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1398. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1399. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1400. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1401. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1402. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1403. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1404. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1405. { "Name": "教师中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1406. ];
  1407. //nsfx
  1408. U.MD.D.I.nsfxStudentDeskIcon = [
  1409. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1410. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1411. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1412. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1413. ];
  1414. //#region 桌面初始化a
  1415. /**
  1416. * 初始化桌面的起始函數
  1417. *
  1418. */
  1419. U.MD.D.I.init = function () {
  1420. if ($("#U_MD_D_K")[0]) {
  1421. //初始化桌面圖標
  1422. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1423. // var clickUrl = ':12588/requestIp.php';
  1424. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1425. // U.MD.D.I.Ip = data;
  1426. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1427. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1428. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1429. // })
  1430. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1431. // })
  1432. }
  1433. }
  1434. /**
  1435. * 模式切換
  1436. *
  1437. */
  1438. U.MD.D.I.ModeCheck = function (type) {
  1439. if (US.Config.type == type) {
  1440. return
  1441. }
  1442. US.Config.type = type
  1443. $('.U_PBL_Check .active')[0].className = ''
  1444. if (type == 1) {
  1445. $('.U_PBL_Check div')[0].className = 'active'
  1446. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1447. } else {
  1448. $('.U_PBL_Check div')[1].className = 'active'
  1449. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1450. }
  1451. //初始化桌面圖標
  1452. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1453. if (type == 2) {
  1454. U.MD.D.I.openApplication("project")
  1455. }
  1456. }
  1457. /**
  1458. * 隱藏任務欄
  1459. *
  1460. * @param {element} 桌面元素
  1461. */
  1462. U.MD.D.I.hiddenTaskbar = function (el) {
  1463. //任務欄位置變小
  1464. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1465. //桌面的位置變大
  1466. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1467. }
  1468. /**
  1469. * 隱藏任務欄
  1470. *
  1471. * @param {element} 桌面元素
  1472. */
  1473. U.MD.D.I.hiddenTaskbarout = function (el) {
  1474. //任務欄位置變小
  1475. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1476. //任務欄位置變化
  1477. U.selectEl(el).css({ "bottom": "-60px" });
  1478. //桌面的位置變大
  1479. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1480. }
  1481. }
  1482. /**
  1483. * 初始化打印桌面圖標
  1484. *
  1485. * @param {element} 桌面元素
  1486. */
  1487. U.MD.D.I.initDesktopIcons = function (el, type) {
  1488. var i, //用於循環
  1489. _content, //桌面圖標元素
  1490. _iconcontent, //桌面圖標元素
  1491. _frag = $$("frag"), //定義一個碎片元素
  1492. _type = US.userInfo.type,
  1493. _org = US.userInfo.org,
  1494. _oid = US.userInfo.organizeid,
  1495. _role = US.userInfo.role,
  1496. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1497. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1498. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1499. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1500. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1501. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1502. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1503. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1504. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1505. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1506. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1507. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大
  1508. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1509. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1510. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1511. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1512. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1513. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1514. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1515. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1516. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1517. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1518. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1519. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1520. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1521. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1522. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1523. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1524. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1525. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1526. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1527. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1528. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1529. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1530. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1531. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1532. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1533. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1534. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1535. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1536. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1537. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1538. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1539. _guzmsTeacherDeskIconInfo = U.MD.D.I.guzmsteacherDeskIcon, //guzms
  1540. _guzmsStudentDeskIconInfo = U.MD.D.I.guzmsStudentDeskIcon, //guzms
  1541. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1542. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1543. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1544. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1545. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1546. _cocobizTeacherDeskIconInfo = U.MD.D.I.cocobizteacherDeskIcon, //cocobiz
  1547. _cocobizStudentDeskIconInfo = U.MD.D.I.cocobizStudentDeskIcon, //cocobiz
  1548. _xxzjkyTeacherDeskIconInfo = U.MD.D.I.xxzjkyteacherDeskIcon, //xxzjky
  1549. _xxzjkyStudentDeskIconInfo = U.MD.D.I.xxzjkyStudentDeskIcon, //xxzjky
  1550. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1551. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1552. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1553. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1554. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1555. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1556. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1557. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1558. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1559. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1560. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1561. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1562. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1563. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1564. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 盐田幼儿园
  1565. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 盐田幼儿园
  1566. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1567. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1568. _nsfxStudentDeskIconInfo = U.MD.D.I.nsfxStudentDeskIcon, //nsfx
  1569. _nsfxTeacherDeskIconInfo = U.MD.D.I.nsfxTeacherDeskIcon, //nsfx
  1570. _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未来教育基地
  1571. _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
  1572. _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
  1573. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
  1574. 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'];
  1575. 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'];
  1576. //清楚桌面圖標
  1577. el.innerHTML = "";
  1578. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1579. _teacherDesktopIconInfo.push(
  1580. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1581. { "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)" } },
  1582. )
  1583. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1584. }
  1585. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == '0fec3a8a-ad04-11ed-b13d-005056b86db5') {
  1586. _teacherDesktopIconInfo.push(
  1587. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1588. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1589. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1590. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1591. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1592. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1593. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1594. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1595. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1596. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1597. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1598. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1599. { "Name": "观察记录", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1600. { "Name": "课堂观察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1601. { "Name": "学生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1602. { "Name": "知识建构", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1603. )
  1604. }
  1605. if (_oid == '5f6c97eb-4778-11ed-8c78-005056b86db5') {//松坪學校
  1606. _teacherDesktopIconInfo.push(
  1607. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1608. )
  1609. }
  1610. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1611. // _teacherDesktopIconInfo.push(
  1612. // )
  1613. // }
  1614. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1615. _teacherDesktopIconInfo.push(
  1616. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1617. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1618. )
  1619. }
  1620. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1621. _teacherDesktopIconInfo.push(
  1622. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1623. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1624. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1625. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1626. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1627. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1628. )
  1629. _studentDesktopIconInfo.push(
  1630. )
  1631. }
  1632. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1633. _teacherDesktopIconInfo.push(
  1634. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1635. )
  1636. _studentDesktopIconInfo.push(
  1637. )
  1638. }
  1639. //010606 組織
  1640. if (_oid == 'f297fbdc-f0a0-11ee-b534-005056b86db5') {
  1641. _teacherDesktopIconInfo.push(
  1642. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1643. )
  1644. _studentDesktopIconInfo.push(
  1645. )
  1646. }
  1647. //麒麟二中 和 民新小學
  1648. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1649. _teacherDesktopIconInfo.push(
  1650. )
  1651. }
  1652. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1653. _teacherDesktopIconInfo.push(
  1654. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1655. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1656. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1657. )
  1658. }
  1659. //北师大附中(010601)
  1660. if(_oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7"){
  1661. _teacherDesktopIconInfo.push(
  1662. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1663. )
  1664. _studentDesktopIconInfo.push(
  1665. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1666. )
  1667. }
  1668. //樂善堂余近卿中學
  1669. if(_oid == "8d074a02-6057-11ef-b873-005056b86db5"){
  1670. _teacherDesktopIconInfo.push(
  1671. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1672. )
  1673. }
  1674. // Education Artificial Intelligence
  1675. if(_org == "0f4359aa-1065-423f-afcc-a70cc21ea9d0"){
  1676. _teacherDesktopIconInfo.push(
  1677. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1678. )
  1679. }
  1680. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1681. _teacherDesktopIconInfo.push(
  1682. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1683. )
  1684. }
  1685. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1686. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1687. _teacherDesktopIconInfo.push(
  1688. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1689. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1690. )
  1691. }
  1692. //麒麟二中
  1693. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1694. _studentDesktopIconInfo.push(
  1695. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1696. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1697. )
  1698. }
  1699. //萬科雙語
  1700. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1701. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1702. if (el.Name == '項目管理') {
  1703. el.Name = 'PBL項目'
  1704. }
  1705. return el
  1706. })
  1707. _studentDesktopIconInfo3.push(
  1708. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1709. )
  1710. }
  1711. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1712. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1713. return el.Name != '魔盒識字' && el.Name != '24點'
  1714. })
  1715. }
  1716. 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) {
  1717. _studentDesktopIconInfo.push(
  1718. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1719. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1720. )
  1721. }
  1722. //循環創建桌面圖標
  1723. if (type == 1) {
  1724. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1725. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1726. _content = $$("div", {
  1727. className: "U_MD_D_KO",
  1728. "onmousedown": U.UF.C.closure(function (obj) {
  1729. //防止拖動圖標即打開了桌面應用
  1730. U.MD.D.click(this, obj);
  1731. }, [_studentDesktopIconInfo[i]]),
  1732. "onclick": U.UF.C.closure(function (obj) {
  1733. //防止拖動圖標即打開了桌面應用
  1734. U.MD.D.click(this, obj);
  1735. }, [_studentDesktopIconInfo[i]])
  1736. }, _frag); //
  1737. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1738. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1739. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1740. }
  1741. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1742. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1743. _content = $$("div", {
  1744. className: "U_MD_D_KO",
  1745. "onmousedown": U.UF.C.closure(function (obj) {
  1746. //防止拖動圖標即打開了桌面應用
  1747. U.MD.D.click(this, obj);
  1748. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1749. "onclick": U.UF.C.closure(function (obj) {
  1750. //防止拖動圖標即打開了桌面應用
  1751. U.MD.D.click(this, obj);
  1752. }, [_hkZJLSStudentDeskIconInfo[i]])
  1753. }, _frag); //
  1754. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1755. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1756. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1757. } //
  1758. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1759. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1760. _content = $$("div", {
  1761. className: "U_MD_D_KO",
  1762. "onmousedown": U.UF.C.closure(function (obj) {
  1763. //防止拖動圖標即打開了桌面應用
  1764. U.MD.D.click(this, obj);
  1765. }, [_ytyStudentDeskIconInfo[i]]),
  1766. "onclick": U.UF.C.closure(function (obj) {
  1767. //防止拖動圖標即打開了桌面應用
  1768. U.MD.D.click(this, obj);
  1769. }, [_ytyStudentDeskIconInfo[i]])
  1770. }, _frag); //
  1771. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1772. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1773. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1774. } //
  1775. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1776. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1777. _content = $$("div", {
  1778. className: "U_MD_D_KO",
  1779. "onmousedown": U.UF.C.closure(function (obj) {
  1780. //防止拖動圖標即打開了桌面應用
  1781. U.MD.D.click(this, obj);
  1782. }, [_jccssylStudentDeskIconInfo[i]]),
  1783. "onclick": U.UF.C.closure(function (obj) {
  1784. //防止拖動圖標即打開了桌面應用
  1785. U.MD.D.click(this, obj);
  1786. }, [_jccssylStudentDeskIconInfo[i]])
  1787. }, _frag); //
  1788. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1789. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1790. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1791. }
  1792. } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
  1793. for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
  1794. _content = $$("div", {
  1795. className: "U_MD_D_KO",
  1796. "onmousedown": U.UF.C.closure(function (obj) {
  1797. //防止拖動圖標即打開了桌面應用
  1798. U.MD.D.click(this, obj);
  1799. }, [_scnuaiStudentDeskIconInfo[i]]),
  1800. "onclick": U.UF.C.closure(function (obj) {
  1801. //防止拖動圖標即打開了桌面應用
  1802. U.MD.D.click(this, obj);
  1803. }, [_scnuaiStudentDeskIconInfo[i]])
  1804. }, _frag); //
  1805. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1806. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
  1807. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
  1808. }
  1809. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1810. for (i = 0; i < _caleStudentDeskIconInfo.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. }, [_caleStudentDeskIconInfo[i]]),
  1817. "onclick": U.UF.C.closure(function (obj) {
  1818. //防止拖動圖標即打開了桌面應用
  1819. U.MD.D.click(this, obj);
  1820. }, [_caleStudentDeskIconInfo[i]])
  1821. }, _frag); //
  1822. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1823. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1824. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1825. }
  1826. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1827. for (i = 0; i < _thuioeStudentDeskIconInfo.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. }, [_thuioeStudentDeskIconInfo[i]]),
  1834. "onclick": U.UF.C.closure(function (obj) {
  1835. //防止拖動圖標即打開了桌面應用
  1836. U.MD.D.click(this, obj);
  1837. }, [_thuioeStudentDeskIconInfo[i]])
  1838. }, _frag); //
  1839. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1840. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1841. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1842. }
  1843. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1844. for (i = 0; i < _tpcStudentDeskIconInfo.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. }, [_tpcStudentDeskIconInfo[i]]),
  1851. "onclick": U.UF.C.closure(function (obj) {
  1852. //防止拖動圖標即打開了桌面應用
  1853. U.MD.D.click(this, obj);
  1854. }, [_tpcStudentDeskIconInfo[i]])
  1855. }, _frag); //
  1856. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1857. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1858. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1859. } //
  1860. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1861. for (i = 0; i < _chjyjStudentDeskIconInfo.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. }, [_chjyjStudentDeskIconInfo[i]]),
  1868. "onclick": U.UF.C.closure(function (obj) {
  1869. //防止拖動圖標即打開了桌面應用
  1870. U.MD.D.click(this, obj);
  1871. }, [_chjyjStudentDeskIconInfo[i]])
  1872. }, _frag); //
  1873. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1874. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1875. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1876. }
  1877. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1878. for (i = 0; i < _szjkyStudentDeskIconInfo.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. }, [_szjkyStudentDeskIconInfo[i]]),
  1885. "onclick": U.UF.C.closure(function (obj) {
  1886. //防止拖動圖標即打開了桌面應用
  1887. U.MD.D.click(this, obj);
  1888. }, [_szjkyStudentDeskIconInfo[i]])
  1889. }, _frag); //
  1890. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1891. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1892. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1893. }
  1894. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1895. for (i = 0; i < _dseiStudentDeskIconInfo.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. }, [_dseiStudentDeskIconInfo[i]]),
  1902. "onclick": U.UF.C.closure(function (obj) {
  1903. //防止拖動圖標即打開了桌面應用
  1904. U.MD.D.click(this, obj);
  1905. }, [_dseiStudentDeskIconInfo[i]])
  1906. }, _frag); //
  1907. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1908. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1909. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1910. }
  1911. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1912. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.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. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1919. "onclick": U.UF.C.closure(function (obj) {
  1920. //防止拖動圖標即打開了桌面應用
  1921. U.MD.D.click(this, obj);
  1922. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1923. }, _frag); //
  1924. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1925. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1926. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1927. }
  1928. } else if (_type == 2 && (_oid == "8a352da2-56e1-11ef-b873-005056b86db5")) {
  1929. for (i = 0; i < _nsfxStudentDeskIconInfo.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. }, [_nsfxStudentDeskIconInfo[i]]),
  1936. "onclick": U.UF.C.closure(function (obj) {
  1937. //防止拖动图标即打开了桌面应用
  1938. U.MD.D.click(this, obj);
  1939. }, [_nsfxStudentDeskIconInfo[i]])
  1940. }, _frag); //
  1941. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1942. $$("div", { className: "U_MD_D_KOS U_Img", "style": _nsfxStudentDeskIconInfo[i].style }, _iconcontent);
  1943. $$("div", { className: "U_MD_D_KOX", "innerHTML": _nsfxStudentDeskIconInfo[i].Name }, _iconcontent);
  1944. }
  1945. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1946. for (i = 0; i < _siesStudentDeskIconInfo.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. }, [_siesStudentDeskIconInfo[i]]),
  1953. "onclick": U.UF.C.closure(function (obj) {
  1954. //防止拖動圖標即打開了桌面應用
  1955. U.MD.D.click(this, obj);
  1956. }, [_siesStudentDeskIconInfo[i]])
  1957. }, _frag); //
  1958. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1959. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1960. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1961. }
  1962. } else if (_type == 2 && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  1963. for (i = 0; i < _guzmsStudentDeskIconInfo.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. }, [_guzmsStudentDeskIconInfo[i]]),
  1970. "onclick": U.UF.C.closure(function (obj) {
  1971. //防止拖動圖標即打開了桌面應用
  1972. U.MD.D.click(this, obj);
  1973. }, [_guzmsStudentDeskIconInfo[i]])
  1974. }, _frag); //
  1975. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1976. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsStudentDeskIconInfo[i].style }, _iconcontent);
  1977. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsStudentDeskIconInfo[i].Name }, _iconcontent);
  1978. }
  1979. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1980. for (i = 0; i < _hkStudentDeskIconInfo.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. }, [_hkStudentDeskIconInfo[i]]),
  1987. "onclick": U.UF.C.closure(function (obj) {
  1988. //防止拖動圖標即打開了桌面應用
  1989. U.MD.D.click(this, obj);
  1990. }, [_hkStudentDeskIconInfo[i]])
  1991. }, _frag); //
  1992. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1993. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1994. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1995. }
  1996. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1997. for (i = 0; i < _hkaceStudentDeskIconInfo.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. }, [_hkaceStudentDeskIconInfo[i]]),
  2004. "onclick": U.UF.C.closure(function (obj) {
  2005. //防止拖動圖標即打開了桌面應用
  2006. U.MD.D.click(this, obj);
  2007. }, [_hkaceStudentDeskIconInfo[i]])
  2008. }, _frag); //
  2009. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2010. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  2011. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  2012. }
  2013. } else if (_type == 2 && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  2014. for (i = 0; i < _cocobizStudentDeskIconInfo.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. }, [_cocobizStudentDeskIconInfo[i]]),
  2021. "onclick": U.UF.C.closure(function (obj) {
  2022. //防止拖動圖標即打開了桌面應用
  2023. U.MD.D.click(this, obj);
  2024. }, [_cocobizStudentDeskIconInfo[i]])
  2025. }, _frag); //
  2026. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2027. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizStudentDeskIconInfo[i].style }, _iconcontent);
  2028. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizStudentDeskIconInfo[i].Name }, _iconcontent);
  2029. }
  2030. } else if (_type == 2 && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  2031. for (i = 0; i < _xxzjkyStudentDeskIconInfo.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. }, [_xxzjkyStudentDeskIconInfo[i]]),
  2038. "onclick": U.UF.C.closure(function (obj) {
  2039. //防止拖動圖標即打開了桌面應用
  2040. U.MD.D.click(this, obj);
  2041. }, [_xxzjkyStudentDeskIconInfo[i]])
  2042. }, _frag); //
  2043. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2044. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyStudentDeskIconInfo[i].style }, _iconcontent);
  2045. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  2046. }
  2047. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  2048. for (i = 0; i < _studentDesktopIconInfo.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. }, [_studentDesktopIconInfo[i]]),
  2055. "onclick": U.UF.C.closure(function (obj) {
  2056. //防止拖動圖標即打開了桌面應用
  2057. U.MD.D.click(this, obj);
  2058. }, [_studentDesktopIconInfo[i]])
  2059. }, _frag); //
  2060. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2061. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  2062. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  2063. }
  2064. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  2065. for (i = 0; i < _tcStudentDeskIconInfo.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. }, [_tcStudentDeskIconInfo[i]]),
  2072. "onclick": U.UF.C.closure(function (obj) {
  2073. //防止拖動圖標即打開了桌面應用
  2074. U.MD.D.click(this, obj);
  2075. }, [_tcStudentDeskIconInfo[i]])
  2076. }, _frag); //
  2077. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2078. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  2079. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  2080. }
  2081. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  2082. for (i = 0; i < _szscStudentDeskIconInfo.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. }, [_szscStudentDeskIconInfo[i]]),
  2089. "onclick": U.UF.C.closure(function (obj) {
  2090. //防止拖動圖標即打開了桌面應用
  2091. U.MD.D.click(this, obj);
  2092. }, [_szscStudentDeskIconInfo[i]])
  2093. }, _frag); //
  2094. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2095. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  2096. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  2097. }
  2098. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  2099. for (i = 0; i < _studentDesktopIconInfo3.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. }, [_studentDesktopIconInfo3[i]]),
  2106. "onclick": U.UF.C.closure(function (obj) {
  2107. //防止拖動圖標即打開了桌面應用
  2108. U.MD.D.click(this, obj);
  2109. }, [_studentDesktopIconInfo3[i]])
  2110. }, _frag); //
  2111. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2112. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  2113. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  2114. }
  2115. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  2116. for (i = 0; i < _studentDesktopIconInfo2.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. }, [_studentDesktopIconInfo2[i]]),
  2123. "onclick": U.UF.C.closure(function (obj) {
  2124. //防止拖動圖標即打開了桌面應用
  2125. U.MD.D.click(this, obj);
  2126. }, [_studentDesktopIconInfo2[i]])
  2127. }, _frag); //
  2128. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2129. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  2130. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  2131. }
  2132. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  2133. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  2134. if(_role === 0 && _wanketeacherDesktopIconInfo[i].Url == 'testTeacher'){
  2135. continue
  2136. }
  2137. _content = $$("div", {
  2138. className: "U_MD_D_KO",
  2139. "onmousedown": U.UF.C.closure(function (obj) {
  2140. //防止拖動圖標即打開了桌面應用
  2141. U.MD.D.click(this, obj);
  2142. }, [_wanketeacherDesktopIconInfo[i]]),
  2143. "onclick": U.UF.C.closure(function (obj) {
  2144. //防止拖動圖標即打開了桌面應用
  2145. U.MD.D.click(this, obj);
  2146. }, [_wanketeacherDesktopIconInfo[i]])
  2147. }, _frag); //
  2148. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2149. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  2150. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  2151. }
  2152. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  2153. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  2154. _content = $$("div", {
  2155. className: "U_MD_D_KO",
  2156. "onmousedown": U.UF.C.closure(function (obj) {
  2157. //防止拖動圖標即打開了桌面應用
  2158. U.MD.D.click(this, obj);
  2159. }, [_wankeAdminDesktopIconInfo[i]]),
  2160. "onclick": U.UF.C.closure(function (obj) {
  2161. //防止拖動圖標即打開了桌面應用
  2162. U.MD.D.click(this, obj);
  2163. }, [_wankeAdminDesktopIconInfo[i]])
  2164. }, _frag); //
  2165. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2166. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  2167. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  2168. }
  2169. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
  2170. for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
  2171. if(_role === 0 && _scnuaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2172. continue
  2173. }
  2174. _content = $$("div", {
  2175. className: "U_MD_D_KO",
  2176. "onmousedown": U.UF.C.closure(function (obj) {
  2177. //防止拖動圖標即打開了桌面應用
  2178. U.MD.D.click(this, obj);
  2179. }, [_scnuaiTeacherDeskIconInfo[i]]),
  2180. "onclick": U.UF.C.closure(function (obj) {
  2181. //防止拖動圖標即打開了桌面應用
  2182. U.MD.D.click(this, obj);
  2183. }, [_scnuaiTeacherDeskIconInfo[i]])
  2184. }, _frag); //
  2185. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2186. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2187. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2188. }
  2189. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
  2190. for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
  2191. _content = $$("div", {
  2192. className: "U_MD_D_KO",
  2193. "onmousedown": U.UF.C.closure(function (obj) {
  2194. //防止拖動圖標即打開了桌面應用
  2195. U.MD.D.click(this, obj);
  2196. }, [_scnuaiAdminDeskIconInfo[i]]),
  2197. "onclick": U.UF.C.closure(function (obj) {
  2198. //防止拖動圖標即打開了桌面應用
  2199. U.MD.D.click(this, obj);
  2200. }, [_scnuaiAdminDeskIconInfo[i]])
  2201. }, _frag); //
  2202. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2203. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
  2204. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
  2205. }
  2206. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  2207. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  2208. if(_role === 0 && _jccssylTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2209. continue
  2210. }
  2211. _content = $$("div", {
  2212. className: "U_MD_D_KO",
  2213. "onmousedown": U.UF.C.closure(function (obj) {
  2214. //防止拖動圖標即打開了桌面應用
  2215. U.MD.D.click(this, obj);
  2216. }, [_jccssylTeacherDeskIconInfo[i]]),
  2217. "onclick": U.UF.C.closure(function (obj) {
  2218. //防止拖動圖標即打開了桌面應用
  2219. U.MD.D.click(this, obj);
  2220. }, [_jccssylTeacherDeskIconInfo[i]])
  2221. }, _frag); //
  2222. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2223. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  2224. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  2225. }
  2226. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  2227. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  2228. if(_role === 0 && _caleTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2229. continue
  2230. }
  2231. _content = $$("div", {
  2232. className: "U_MD_D_KO",
  2233. "onmousedown": U.UF.C.closure(function (obj) {
  2234. //防止拖動圖標即打開了桌面應用
  2235. U.MD.D.click(this, obj);
  2236. }, [_caleTeacherDeskIconInfo[i]]),
  2237. "onclick": U.UF.C.closure(function (obj) {
  2238. //防止拖動圖標即打開了桌面應用
  2239. U.MD.D.click(this, obj);
  2240. }, [_caleTeacherDeskIconInfo[i]])
  2241. }, _frag); //
  2242. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2243. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  2244. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  2245. }
  2246. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  2247. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  2248. _content = $$("div", {
  2249. className: "U_MD_D_KO",
  2250. "onmousedown": U.UF.C.closure(function (obj) {
  2251. //防止拖動圖標即打開了桌面應用
  2252. U.MD.D.click(this, obj);
  2253. }, [_tpcOrganizerDeskIconInfo[i]]),
  2254. "onclick": U.UF.C.closure(function (obj) {
  2255. //防止拖動圖標即打開了桌面應用
  2256. U.MD.D.click(this, obj);
  2257. }, [_tpcOrganizerDeskIconInfo[i]])
  2258. }, _frag); //
  2259. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2260. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2261. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2262. }
  2263. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  2264. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  2265. if(_role === 0 && _tpcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2266. continue
  2267. }
  2268. _content = $$("div", {
  2269. className: "U_MD_D_KO",
  2270. "onmousedown": U.UF.C.closure(function (obj) {
  2271. //防止拖動圖標即打開了桌面應用
  2272. U.MD.D.click(this, obj);
  2273. }, [_tpcTeacherDeskIconInfo[i]]),
  2274. "onclick": U.UF.C.closure(function (obj) {
  2275. //防止拖動圖標即打開了桌面應用
  2276. U.MD.D.click(this, obj);
  2277. }, [_tpcTeacherDeskIconInfo[i]])
  2278. }, _frag); //
  2279. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2280. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  2281. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2282. }
  2283. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2284. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  2285. if(_role === 0 && _teacherDesktopIconInfo2[i].Url == 'testTeacher'){
  2286. continue
  2287. }
  2288. _content = $$("div", {
  2289. className: "U_MD_D_KO",
  2290. "onmousedown": U.UF.C.closure(function (obj) {
  2291. //防止拖動圖標即打開了桌面應用
  2292. U.MD.D.click(this, obj);
  2293. }, [_teacherDesktopIconInfo2[i]]),
  2294. "onclick": U.UF.C.closure(function (obj) {
  2295. //防止拖動圖標即打開了桌面應用
  2296. U.MD.D.click(this, obj);
  2297. }, [_teacherDesktopIconInfo2[i]])
  2298. }, _frag); //
  2299. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2300. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  2301. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  2302. }
  2303. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2304. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  2305. if(_role === 0 && _thuioeTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2306. continue
  2307. }
  2308. _content = $$("div", {
  2309. className: "U_MD_D_KO",
  2310. "onmousedown": U.UF.C.closure(function (obj) {
  2311. //防止拖動圖標即打開了桌面應用
  2312. U.MD.D.click(this, obj);
  2313. }, [_thuioeTeacherDeskIconInfo[i]]),
  2314. "onclick": U.UF.C.closure(function (obj) {
  2315. //防止拖動圖標即打開了桌面應用
  2316. U.MD.D.click(this, obj);
  2317. }, [_thuioeTeacherDeskIconInfo[i]])
  2318. }, _frag); //
  2319. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2320. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  2321. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  2322. }
  2323. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  2324. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  2325. if(_role === 0 && _lotechTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2326. continue
  2327. }
  2328. _content = $$("div", {
  2329. className: "U_MD_D_KO",
  2330. "onmousedown": U.UF.C.closure(function (obj) {
  2331. //防止拖動圖標即打開了桌面應用
  2332. U.MD.D.click(this, obj);
  2333. }, [_lotechTeacherDeskIconInfo[i]]),
  2334. "onclick": U.UF.C.closure(function (obj) {
  2335. //防止拖動圖標即打開了桌面應用
  2336. U.MD.D.click(this, obj);
  2337. }, [_lotechTeacherDeskIconInfo[i]])
  2338. }, _frag); //
  2339. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2340. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  2341. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  2342. }//
  2343. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2344. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  2345. if(_role === 0 && _lqwmsgzsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2346. continue
  2347. }
  2348. _content = $$("div", {
  2349. className: "U_MD_D_KO",
  2350. "onmousedown": U.UF.C.closure(function (obj) {
  2351. //防止拖動圖標即打開了桌面應用
  2352. U.MD.D.click(this, obj);
  2353. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  2354. "onclick": U.UF.C.closure(function (obj) {
  2355. //防止拖動圖標即打開了桌面應用
  2356. U.MD.D.click(this, obj);
  2357. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  2358. }, _frag); //
  2359. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2360. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  2361. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2362. }
  2363. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2364. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  2365. if(_role === 0 && _siesTeacherDeskIconInfo[i].Url == 'testTeacherSies'){
  2366. continue
  2367. }
  2368. _content = $$("div", {
  2369. className: "U_MD_D_KO",
  2370. "onmousedown": U.UF.C.closure(function (obj) {
  2371. //防止拖動圖標即打開了桌面應用
  2372. U.MD.D.click(this, obj);
  2373. }, [_siesTeacherDeskIconInfo[i]]),
  2374. "onclick": U.UF.C.closure(function (obj) {
  2375. //防止拖動圖標即打開了桌面應用
  2376. U.MD.D.click(this, obj);
  2377. }, [_siesTeacherDeskIconInfo[i]])
  2378. }, _frag); //
  2379. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2380. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  2381. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  2382. }
  2383. } else if ((_type == 1 || _type == 4) && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  2384. for (i = 0; i < _guzmsTeacherDeskIconInfo.length; i++) {
  2385. if(_role === 0 && _guzmsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2386. continue
  2387. }
  2388. _content = $$("div", {
  2389. className: "U_MD_D_KO",
  2390. "onmousedown": U.UF.C.closure(function (obj) {
  2391. //防止拖動圖標即打開了桌面應用
  2392. U.MD.D.click(this, obj);
  2393. }, [_guzmsTeacherDeskIconInfo[i]]),
  2394. "onclick": U.UF.C.closure(function (obj) {
  2395. //防止拖動圖標即打開了桌面應用
  2396. U.MD.D.click(this, obj);
  2397. }, [_guzmsTeacherDeskIconInfo[i]])
  2398. }, _frag); //
  2399. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2400. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsTeacherDeskIconInfo[i].style }, _iconcontent);
  2401. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2402. }
  2403. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  2404. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2405. if(_role === 0 && _longhuaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2406. continue
  2407. }
  2408. _content = $$("div", {
  2409. className: "U_MD_D_KO",
  2410. "onmousedown": U.UF.C.closure(function (obj) {
  2411. //防止拖動圖標即打開了桌面應用
  2412. U.MD.D.click(this, obj);
  2413. }, [_longhuaTeacherDeskIconInfo[i]]),
  2414. "onclick": U.UF.C.closure(function (obj) {
  2415. //防止拖動圖標即打開了桌面應用
  2416. U.MD.D.click(this, obj);
  2417. }, [_longhuaTeacherDeskIconInfo[i]])
  2418. }, _frag); //
  2419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2422. }
  2423. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2424. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2425. if(_role === 0 && _ytyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2426. continue
  2427. }
  2428. _content = $$("div", {
  2429. className: "U_MD_D_KO",
  2430. "onmousedown": U.UF.C.closure(function (obj) {
  2431. //防止拖動圖標即打開了桌面應用
  2432. U.MD.D.click(this, obj);
  2433. }, [_ytyTeacherDeskIconInfo[i]]),
  2434. "onclick": U.UF.C.closure(function (obj) {
  2435. //防止拖動圖標即打開了桌面應用
  2436. U.MD.D.click(this, obj);
  2437. }, [_ytyTeacherDeskIconInfo[i]])
  2438. }, _frag); //
  2439. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2440. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2441. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2442. }
  2443. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2444. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2445. if(_role === 0 && _yunhaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2446. continue
  2447. }
  2448. _content = $$("div", {
  2449. className: "U_MD_D_KO",
  2450. "onmousedown": U.UF.C.closure(function (obj) {
  2451. //防止拖動圖標即打開了桌面應用
  2452. U.MD.D.click(this, obj);
  2453. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2454. "onclick": U.UF.C.closure(function (obj) {
  2455. //防止拖動圖標即打開了桌面應用
  2456. U.MD.D.click(this, obj);
  2457. }, [_yunhaiTeacherDeskIconInfo[i]])
  2458. }, _frag); //
  2459. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2460. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2461. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2462. } //_hkStudentDeskIconInfo
  2463. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2464. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2465. if(_role === 0 && _hkZJLSTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2466. continue
  2467. }
  2468. _content = $$("div", {
  2469. className: "U_MD_D_KO",
  2470. "onmousedown": U.UF.C.closure(function (obj) {
  2471. //防止拖動圖標即打開了桌面應用
  2472. U.MD.D.click(this, obj);
  2473. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2474. "onclick": U.UF.C.closure(function (obj) {
  2475. //防止拖動圖標即打開了桌面應用
  2476. U.MD.D.click(this, obj);
  2477. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2478. }, _frag); //
  2479. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2480. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2481. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2482. }
  2483. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2484. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2485. if(_role === 0 && _hkTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2486. continue
  2487. }
  2488. _content = $$("div", {
  2489. className: "U_MD_D_KO",
  2490. "onmousedown": U.UF.C.closure(function (obj) {
  2491. //防止拖動圖標即打開了桌面應用
  2492. U.MD.D.click(this, obj);
  2493. }, [_hkTeacherDeskIconInfo[i]]),
  2494. "onclick": U.UF.C.closure(function (obj) {
  2495. //防止拖動圖標即打開了桌面應用
  2496. U.MD.D.click(this, obj);
  2497. }, [_hkTeacherDeskIconInfo[i]])
  2498. }, _frag); //
  2499. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2500. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2501. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2502. }
  2503. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2504. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2505. if(_role === 0 && _hkaceTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2506. continue
  2507. }
  2508. _content = $$("div", {
  2509. className: "U_MD_D_KO",
  2510. "onmousedown": U.UF.C.closure(function (obj) {
  2511. //防止拖動圖標即打開了桌面應用
  2512. U.MD.D.click(this, obj);
  2513. }, [_hkaceTeacherDeskIconInfo[i]]),
  2514. "onclick": U.UF.C.closure(function (obj) {
  2515. //防止拖動圖標即打開了桌面應用
  2516. U.MD.D.click(this, obj);
  2517. }, [_hkaceTeacherDeskIconInfo[i]])
  2518. }, _frag); //
  2519. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2520. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2521. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2522. }
  2523. } else if ((_type == 1 || _type == 4) && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  2524. for (i = 0; i < _cocobizTeacherDeskIconInfo.length; i++) {
  2525. if(_role === 0 && _cocobizTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2526. continue
  2527. }
  2528. _content = $$("div", {
  2529. className: "U_MD_D_KO",
  2530. "onmousedown": U.UF.C.closure(function (obj) {
  2531. //防止拖動圖標即打開了桌面應用
  2532. U.MD.D.click(this, obj);
  2533. }, [_cocobizTeacherDeskIconInfo[i]]),
  2534. "onclick": U.UF.C.closure(function (obj) {
  2535. //防止拖動圖標即打開了桌面應用
  2536. U.MD.D.click(this, obj);
  2537. }, [_cocobizTeacherDeskIconInfo[i]])
  2538. }, _frag); //
  2539. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2540. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizTeacherDeskIconInfo[i].style }, _iconcontent);
  2541. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizTeacherDeskIconInfo[i].Name }, _iconcontent);
  2542. }
  2543. } else if ((_type == 1 || _type == 4) && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  2544. for (i = 0; i < _xxzjkyTeacherDeskIconInfo.length; i++) {
  2545. if(_role === 0 && _xxzjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2546. continue
  2547. }
  2548. _content = $$("div", {
  2549. className: "U_MD_D_KO",
  2550. "onmousedown": U.UF.C.closure(function (obj) {
  2551. //防止拖動圖標即打開了桌面應用
  2552. U.MD.D.click(this, obj);
  2553. }, [_xxzjkyTeacherDeskIconInfo[i]]),
  2554. "onclick": U.UF.C.closure(function (obj) {
  2555. //防止拖動圖標即打開了桌面應用
  2556. U.MD.D.click(this, obj);
  2557. }, [_xxzjkyTeacherDeskIconInfo[i]])
  2558. }, _frag); //
  2559. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2560. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2561. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2562. }
  2563. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2564. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2565. _content = $$("div", {
  2566. className: "U_MD_D_KO",
  2567. "onmousedown": U.UF.C.closure(function (obj) {
  2568. //防止拖動圖標即打開了桌面應用
  2569. U.MD.D.click(this, obj);
  2570. }, [_gdjgAdminDeskIconInfo[i]]),
  2571. "onclick": U.UF.C.closure(function (obj) {
  2572. //防止拖動圖標即打開了桌面應用
  2573. U.MD.D.click(this, obj);
  2574. }, [_gdjgAdminDeskIconInfo[i]])
  2575. }, _frag); //
  2576. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2577. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2578. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2579. }
  2580. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2581. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2582. if(_role === 0 && _gdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2583. continue
  2584. }
  2585. _content = $$("div", {
  2586. className: "U_MD_D_KO",
  2587. "onmousedown": U.UF.C.closure(function (obj) {
  2588. //防止拖動圖標即打開了桌面應用
  2589. U.MD.D.click(this, obj);
  2590. }, [_gdjgTeacherDeskIconInfo[i]]),
  2591. "onclick": U.UF.C.closure(function (obj) {
  2592. //防止拖動圖標即打開了桌面應用
  2593. U.MD.D.click(this, obj);
  2594. }, [_gdjgTeacherDeskIconInfo[i]])
  2595. }, _frag); //
  2596. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2597. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2598. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2599. }
  2600. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2601. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2602. if(_role === 0 && _szherTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2603. continue
  2604. }
  2605. _content = $$("div", {
  2606. className: "U_MD_D_KO",
  2607. "onmousedown": U.UF.C.closure(function (obj) {
  2608. //防止拖動圖標即打開了桌面應用
  2609. U.MD.D.click(this, obj);
  2610. }, [_szherTeacherDeskIconInfo[i]]),
  2611. "onclick": U.UF.C.closure(function (obj) {
  2612. //防止拖動圖標即打開了桌面應用
  2613. U.MD.D.click(this, obj);
  2614. }, [_szherTeacherDeskIconInfo[i]])
  2615. }, _frag); //
  2616. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2617. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2618. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2619. }
  2620. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2621. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2622. _content = $$("div", {
  2623. className: "U_MD_D_KO",
  2624. "onmousedown": U.UF.C.closure(function (obj) {
  2625. //防止拖動圖標即打開了桌面應用
  2626. U.MD.D.click(this, obj);
  2627. }, [_heyuannAdminDeskIconInfo[i]]),
  2628. "onclick": U.UF.C.closure(function (obj) {
  2629. //防止拖動圖標即打開了桌面應用
  2630. U.MD.D.click(this, obj);
  2631. }, [_heyuannAdminDeskIconInfo[i]])
  2632. }, _frag); //
  2633. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2634. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2635. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2636. }
  2637. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2638. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2639. if(_role === 0 && _heyuanTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2640. continue
  2641. }
  2642. _content = $$("div", {
  2643. className: "U_MD_D_KO",
  2644. "onmousedown": U.UF.C.closure(function (obj) {
  2645. //防止拖動圖標即打開了桌面應用
  2646. U.MD.D.click(this, obj);
  2647. }, [_heyuanTeacherDeskIconInfo[i]]),
  2648. "onclick": U.UF.C.closure(function (obj) {
  2649. //防止拖動圖標即打開了桌面應用
  2650. U.MD.D.click(this, obj);
  2651. }, [_heyuanTeacherDeskIconInfo[i]])
  2652. }, _frag); //
  2653. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2654. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2655. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2656. } //
  2657. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2658. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2659. _content = $$("div", {
  2660. className: "U_MD_D_KO",
  2661. "onmousedown": U.UF.C.closure(function (obj) {
  2662. //防止拖動圖標即打開了桌面應用
  2663. U.MD.D.click(this, obj);
  2664. }, [_dseiAdminDeskIconInfo[i]]),
  2665. "onclick": U.UF.C.closure(function (obj) {
  2666. //防止拖動圖標即打開了桌面應用
  2667. U.MD.D.click(this, obj);
  2668. }, [_dseiAdminDeskIconInfo[i]])
  2669. }, _frag); //
  2670. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2671. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2672. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2673. }
  2674. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2675. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2676. if(_role === 0 && _dseiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2677. continue
  2678. }
  2679. _content = $$("div", {
  2680. className: "U_MD_D_KO",
  2681. "onmousedown": U.UF.C.closure(function (obj) {
  2682. //防止拖動圖標即打開了桌面應用
  2683. U.MD.D.click(this, obj);
  2684. }, [_dseiTeacherDeskIconInfo[i]]),
  2685. "onclick": U.UF.C.closure(function (obj) {
  2686. //防止拖動圖標即打開了桌面應用
  2687. U.MD.D.click(this, obj);
  2688. }, [_dseiTeacherDeskIconInfo[i]])
  2689. }, _frag); //
  2690. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2691. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2692. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2693. } //
  2694. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2695. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2696. _content = $$("div", {
  2697. className: "U_MD_D_KO",
  2698. "onmousedown": U.UF.C.closure(function (obj) {
  2699. //防止拖動圖標即打開了桌面應用
  2700. U.MD.D.click(this, obj);
  2701. }, [_chjyjAdminDeskIconInfo[i]]),
  2702. "onclick": U.UF.C.closure(function (obj) {
  2703. //防止拖動圖標即打開了桌面應用
  2704. U.MD.D.click(this, obj);
  2705. }, [_chjyjAdminDeskIconInfo[i]])
  2706. }, _frag); //
  2707. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2708. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2709. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2710. }//
  2711. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2712. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2713. if(_role === 0 && _chjyjTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2714. continue
  2715. }
  2716. _content = $$("div", {
  2717. className: "U_MD_D_KO",
  2718. "onmousedown": U.UF.C.closure(function (obj) {
  2719. //防止拖動圖標即打開了桌面應用
  2720. U.MD.D.click(this, obj);
  2721. }, [_chjyjTeacherDeskIconInfo[i]]),
  2722. "onclick": U.UF.C.closure(function (obj) {
  2723. //防止拖動圖標即打開了桌面應用
  2724. U.MD.D.click(this, obj);
  2725. }, [_chjyjTeacherDeskIconInfo[i]])
  2726. }, _frag); //
  2727. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2728. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2729. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2730. }
  2731. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2732. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2733. _content = $$("div", {
  2734. className: "U_MD_D_KO",
  2735. "onmousedown": U.UF.C.closure(function (obj) {
  2736. //防止拖動圖標即打開了桌面應用
  2737. U.MD.D.click(this, obj);
  2738. }, [_szjkyAdminDeskIconInfo[i]]),
  2739. "onclick": U.UF.C.closure(function (obj) {
  2740. //防止拖動圖標即打開了桌面應用
  2741. U.MD.D.click(this, obj);
  2742. }, [_szjkyAdminDeskIconInfo[i]])
  2743. }, _frag); //
  2744. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2745. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2746. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2747. }//
  2748. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2749. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2750. if(_role === 0 && _szjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2751. continue
  2752. }
  2753. _content = $$("div", {
  2754. className: "U_MD_D_KO",
  2755. "onmousedown": U.UF.C.closure(function (obj) {
  2756. //防止拖動圖標即打開了桌面應用
  2757. U.MD.D.click(this, obj);
  2758. }, [_szjkyTeacherDeskIconInfo[i]]),
  2759. "onclick": U.UF.C.closure(function (obj) {
  2760. //防止拖動圖標即打開了桌面應用
  2761. U.MD.D.click(this, obj);
  2762. }, [_szjkyTeacherDeskIconInfo[i]])
  2763. }, _frag); //
  2764. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2765. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2766. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2767. }
  2768. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2769. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2770. _content = $$("div", {
  2771. className: "U_MD_D_KO",
  2772. "onmousedown": U.UF.C.closure(function (obj) {
  2773. //防止拖動圖標即打開了桌面應用
  2774. U.MD.D.click(this, obj);
  2775. }, [_futianAdminDeskIconInfo[i]]),
  2776. "onclick": U.UF.C.closure(function (obj) {
  2777. //防止拖動圖標即打開了桌面應用
  2778. U.MD.D.click(this, obj);
  2779. }, [_futianAdminDeskIconInfo[i]])
  2780. }, _frag); //
  2781. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2782. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2783. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2784. }
  2785. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2786. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2787. if(_role === 0 && _futianTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2788. continue
  2789. }
  2790. _content = $$("div", {
  2791. className: "U_MD_D_KO",
  2792. "onmousedown": U.UF.C.closure(function (obj) {
  2793. //防止拖動圖標即打開了桌面應用
  2794. U.MD.D.click(this, obj);
  2795. }, [_futianTeacherDeskIconInfo[i]]),
  2796. "onclick": U.UF.C.closure(function (obj) {
  2797. //防止拖動圖標即打開了桌面應用
  2798. U.MD.D.click(this, obj);
  2799. }, [_futianTeacherDeskIconInfo[i]])
  2800. }, _frag); //
  2801. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2802. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2803. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2804. }
  2805. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2806. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2807. if(_role === 0 && _MingdeTeacherDeskIcon[i].Url == 'testTeacher'){
  2808. continue
  2809. }
  2810. _content = $$("div", {
  2811. className: "U_MD_D_KO",
  2812. "onmousedown": U.UF.C.closure(function (obj) {
  2813. //防止拖動圖標即打開了桌面應用
  2814. U.MD.D.click(this, obj);
  2815. }, [_MingdeTeacherDeskIcon[i]]),
  2816. "onclick": U.UF.C.closure(function (obj) {
  2817. //防止拖動圖標即打開了桌面應用
  2818. U.MD.D.click(this, obj);
  2819. }, [_MingdeTeacherDeskIcon[i]])
  2820. }, _frag); //
  2821. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2822. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2823. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2824. }
  2825. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2826. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2827. _content = $$("div", {
  2828. className: "U_MD_D_KO",
  2829. "onmousedown": U.UF.C.closure(function (obj) {
  2830. //防止拖動圖標即打開了桌面應用
  2831. U.MD.D.click(this, obj);
  2832. }, [_lhsAdminDesktopIconInfo[i]]),
  2833. "onclick": U.UF.C.closure(function (obj) {
  2834. //防止拖動圖標即打開了桌面應用
  2835. U.MD.D.click(this, obj);
  2836. }, [_lhsAdminDesktopIconInfo[i]])
  2837. }, _frag); //
  2838. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2839. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2840. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2841. }
  2842. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2843. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2844. if(_role === 0 && _lhsteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2845. continue
  2846. }
  2847. _content = $$("div", {
  2848. className: "U_MD_D_KO",
  2849. "onmousedown": U.UF.C.closure(function (obj) {
  2850. //防止拖動圖標即打開了桌面應用
  2851. U.MD.D.click(this, obj);
  2852. }, [_lhsteacherDesktopIconInfo[i]]),
  2853. "onclick": U.UF.C.closure(function (obj) {
  2854. //防止拖動圖標即打開了桌面應用
  2855. U.MD.D.click(this, obj);
  2856. }, [_lhsteacherDesktopIconInfo[i]])
  2857. }, _frag); //
  2858. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2859. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2860. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2861. }
  2862. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2863. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2864. if(_role === 0 && _zhoujiateacherDesktopIconInfo[i].Url == 'testTeacher'){
  2865. continue
  2866. }
  2867. _content = $$("div", {
  2868. className: "U_MD_D_KO",
  2869. "onmousedown": U.UF.C.closure(function (obj) {
  2870. //防止拖動圖標即打開了桌面應用
  2871. U.MD.D.click(this, obj);
  2872. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2873. "onclick": U.UF.C.closure(function (obj) {
  2874. //防止拖動圖標即打開了桌面應用
  2875. U.MD.D.click(this, obj);
  2876. }, [_zhoujiateacherDesktopIconInfo[i]])
  2877. }, _frag); //
  2878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2881. }
  2882. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2883. for (i = 0; i < _hanDeskIcon.length; i++) {
  2884. if(_role === 0 && _hanDeskIcon[i].Url == 'testTeacher'){
  2885. continue
  2886. }
  2887. _content = $$("div", {
  2888. className: "U_MD_D_KO",
  2889. "onmousedown": U.UF.C.closure(function (obj) {
  2890. //防止拖動圖標即打開了桌面應用
  2891. U.MD.D.click(this, obj);
  2892. }, [_hanDeskIcon[i]]),
  2893. "onclick": U.UF.C.closure(function (obj) {
  2894. //防止拖動圖標即打開了桌面應用
  2895. U.MD.D.click(this, obj);
  2896. }, [_hanDeskIcon[i]])
  2897. }, _frag); //
  2898. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2899. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2900. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2901. }
  2902. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2903. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2904. if(_role === 0 && _orgStemDeskIcon[i].Url == 'testTeacher'){
  2905. continue
  2906. }
  2907. _content = $$("div", {
  2908. className: "U_MD_D_KO",
  2909. "onmousedown": U.UF.C.closure(function (obj) {
  2910. //防止拖動圖標即打開了桌面應用
  2911. U.MD.D.click(this, obj);
  2912. }, [_orgStemDeskIcon[i]]),
  2913. "onclick": U.UF.C.closure(function (obj) {
  2914. //防止拖動圖標即打開了桌面應用
  2915. U.MD.D.click(this, obj);
  2916. }, [_orgStemDeskIcon[i]])
  2917. }, _frag); //
  2918. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2919. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2920. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2921. }
  2922. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2923. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2924. if(_role === 0 && _szulsDeskIcon[i].Url == 'testTeacher'){
  2925. continue
  2926. }
  2927. _content = $$("div", {
  2928. className: "U_MD_D_KO",
  2929. "onmousedown": U.UF.C.closure(function (obj) {
  2930. //防止拖動圖標即打開了桌面應用
  2931. U.MD.D.click(this, obj);
  2932. }, [_szulsDeskIcon[i]]),
  2933. "onclick": U.UF.C.closure(function (obj) {
  2934. //防止拖動圖標即打開了桌面應用
  2935. U.MD.D.click(this, obj);
  2936. }, [_szulsDeskIcon[i]])
  2937. }, _frag); //
  2938. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2939. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2940. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2941. }
  2942. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2943. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2944. if(_role === 0 && _orgDesktopIconInfo[i].Url == 'testTeacher'){
  2945. continue
  2946. }
  2947. _content = $$("div", {
  2948. className: "U_MD_D_KO",
  2949. "onmousedown": U.UF.C.closure(function (obj) {
  2950. //防止拖動圖標即打開了桌面應用
  2951. U.MD.D.click(this, obj);
  2952. }, [_orgDesktopIconInfo[i]]),
  2953. "onclick": U.UF.C.closure(function (obj) {
  2954. //防止拖動圖標即打開了桌面應用
  2955. U.MD.D.click(this, obj);
  2956. }, [_orgDesktopIconInfo[i]])
  2957. }, _frag); //
  2958. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2959. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2960. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2961. }
  2962. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2963. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2964. if(_role === 0 && _schoolDesktopIconInfo[i].Url == 'testTeacher'){
  2965. continue
  2966. }
  2967. _content = $$("div", {
  2968. className: "U_MD_D_KO",
  2969. "onmousedown": U.UF.C.closure(function (obj) {
  2970. //防止拖動圖標即打開了桌面應用
  2971. U.MD.D.click(this, obj);
  2972. }, [_schoolDesktopIconInfo[i]]),
  2973. "onclick": U.UF.C.closure(function (obj) {
  2974. //防止拖動圖標即打開了桌面應用
  2975. U.MD.D.click(this, obj);
  2976. }, [_schoolDesktopIconInfo[i]])
  2977. }, _frag); //
  2978. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2979. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2980. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2981. }
  2982. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2983. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2984. if(_role === 0 && _GMteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2985. continue
  2986. }
  2987. _content = $$("div", {
  2988. className: "U_MD_D_KO",
  2989. "onmousedown": U.UF.C.closure(function (obj) {
  2990. //防止拖動圖標即打開了桌面應用
  2991. U.MD.D.click(this, obj);
  2992. }, [_GMteacherDesktopIconInfo[i]]),
  2993. "onclick": U.UF.C.closure(function (obj) {
  2994. //防止拖動圖標即打開了桌面應用
  2995. U.MD.D.click(this, obj);
  2996. }, [_GMteacherDesktopIconInfo[i]])
  2997. }, _frag); //
  2998. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2999. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  3000. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  3001. }
  3002. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  3003. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  3004. if(_role === 0 && _SONGteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3005. continue
  3006. }
  3007. _content = $$("div", {
  3008. className: "U_MD_D_KO",
  3009. "onmousedown": U.UF.C.closure(function (obj) {
  3010. //防止拖動圖標即打開了桌面應用
  3011. U.MD.D.click(this, obj);
  3012. }, [_SONGteacherDesktopIconInfo[i]]),
  3013. "onclick": U.UF.C.closure(function (obj) {
  3014. //防止拖動圖標即打開了桌面應用
  3015. U.MD.D.click(this, obj);
  3016. }, [_SONGteacherDesktopIconInfo[i]])
  3017. }, _frag); //
  3018. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3019. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  3020. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  3021. }
  3022. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  3023. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  3024. _content = $$("div", {
  3025. className: "U_MD_D_KO",
  3026. "onmousedown": U.UF.C.closure(function (obj) {
  3027. //防止拖動圖標即打開了桌面應用
  3028. U.MD.D.click(this, obj);
  3029. }, [_GMstudentDesktopIconInfo[i]]),
  3030. "onclick": U.UF.C.closure(function (obj) {
  3031. //防止拖動圖標即打開了桌面應用
  3032. U.MD.D.click(this, obj);
  3033. }, [_GMstudentDesktopIconInfo[i]])
  3034. }, _frag); //
  3035. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3036. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  3037. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  3038. }
  3039. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  3040. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  3041. if(_role === 0 && _tcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3042. continue
  3043. }
  3044. _content = $$("div", {
  3045. className: "U_MD_D_KO",
  3046. "onmousedown": U.UF.C.closure(function (obj) {
  3047. //防止拖動圖標即打開了桌面應用
  3048. U.MD.D.click(this, obj);
  3049. }, [_tcTeacherDeskIconInfo[i]]),
  3050. "onclick": U.UF.C.closure(function (obj) {
  3051. //防止拖動圖標即打開了桌面應用
  3052. U.MD.D.click(this, obj);
  3053. }, [_tcTeacherDeskIconInfo[i]])
  3054. }, _frag); //
  3055. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3056. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  3057. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  3058. }
  3059. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  3060. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  3061. if(_role === 0 && _tcOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  3062. continue
  3063. }
  3064. _content = $$("div", {
  3065. className: "U_MD_D_KO",
  3066. "onmousedown": U.UF.C.closure(function (obj) {
  3067. //防止拖動圖標即打開了桌面應用
  3068. U.MD.D.click(this, obj);
  3069. }, [_tcOrganizerDeskIconInfo[i]]),
  3070. "onclick": U.UF.C.closure(function (obj) {
  3071. //防止拖動圖標即打開了桌面應用
  3072. U.MD.D.click(this, obj);
  3073. }, [_tcOrganizerDeskIconInfo[i]])
  3074. }, _frag); //
  3075. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3076. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  3077. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3078. }
  3079. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  3080. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  3081. if(_role === 0 && _szscTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3082. continue
  3083. }
  3084. _content = $$("div", {
  3085. className: "U_MD_D_KO",
  3086. "onmousedown": U.UF.C.closure(function (obj) {
  3087. //防止拖動圖標即打開了桌面應用
  3088. U.MD.D.click(this, obj);
  3089. }, [_szscTeacherDeskIconInfo[i]]),
  3090. "onclick": U.UF.C.closure(function (obj) {
  3091. //防止拖動圖標即打開了桌面應用
  3092. U.MD.D.click(this, obj);
  3093. }, [_szscTeacherDeskIconInfo[i]])
  3094. }, _frag); //
  3095. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3096. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  3097. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  3098. }
  3099. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  3100. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  3101. if(_role === 0 && _szscOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  3102. continue
  3103. }
  3104. _content = $$("div", {
  3105. className: "U_MD_D_KO",
  3106. "onmousedown": U.UF.C.closure(function (obj) {
  3107. //防止拖動圖標即打開了桌面應用
  3108. U.MD.D.click(this, obj);
  3109. }, [_szscOrganizerDeskIconInfo[i]]),
  3110. "onclick": U.UF.C.closure(function (obj) {
  3111. //防止拖動圖標即打開了桌面應用
  3112. U.MD.D.click(this, obj);
  3113. }, [_szscOrganizerDeskIconInfo[i]])
  3114. }, _frag); //
  3115. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3116. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  3117. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3118. }
  3119. } else if ((_type == 1 || _type == 4) && _oid == "8a352da2-56e1-11ef-b873-005056b86db5") {
  3120. for (i = 0; i < _nsfxTeacherDeskIconInfo.length; i++) {
  3121. if(_role === 0 && _nsfxTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3122. continue
  3123. }
  3124. _content = $$("div", {
  3125. className: "U_MD_D_KO",
  3126. "onmousedown": U.UF.C.closure(function (obj) {
  3127. //防止拖动图标即打开了桌面应用
  3128. U.MD.D.click(this, obj);
  3129. }, [_nsfxTeacherDeskIconInfo[i]]),
  3130. "onclick": U.UF.C.closure(function (obj) {
  3131. //防止拖动图标即打开了桌面应用
  3132. U.MD.D.click(this, obj);
  3133. }, [_nsfxTeacherDeskIconInfo[i]])
  3134. }, _frag); //
  3135. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3136. $$("div", { className: "U_MD_D_KOS U_Img", "style": _nsfxTeacherDeskIconInfo[i].style }, _iconcontent);
  3137. $$("div", { className: "U_MD_D_KOX", "innerHTML": _nsfxTeacherDeskIconInfo[i].Name }, _iconcontent);
  3138. }
  3139. } else {
  3140. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  3141. if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher' && _oid != '45facc0a-1211-11ec-80ad-005056b86db5'){
  3142. continue
  3143. }
  3144. _content = $$("div", {
  3145. className: "U_MD_D_KO",
  3146. "onmousedown": U.UF.C.closure(function (obj) {
  3147. //防止拖動圖標即打開了桌面應用
  3148. U.MD.D.click(this, obj);
  3149. }, [_teacherDesktopIconInfo[i]]),
  3150. "onclick": U.UF.C.closure(function (obj) {
  3151. //防止拖動圖標即打開了桌面應用
  3152. U.MD.D.click(this, obj);
  3153. }, [_teacherDesktopIconInfo[i]])
  3154. }, _frag); //
  3155. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3156. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  3157. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  3158. }
  3159. }
  3160. } else {
  3161. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  3162. _content = $$("div", {
  3163. className: "U_MD_D_KO",
  3164. style: { 'width': '124px', 'height': '145px' },
  3165. "onmousedown": U.UF.C.closure(function (obj) {
  3166. //防止拖動圖標即打開了桌面應用
  3167. U.MD.D.click(this, obj);
  3168. }, [_easyDesktopIconInfo[i]]),
  3169. "onclick": U.UF.C.closure(function (obj) {
  3170. //防止拖動圖標即打開了桌面應用
  3171. U.MD.D.click(this, obj);
  3172. }, [_easyDesktopIconInfo[i]])
  3173. }, _frag); //
  3174. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  3175. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  3176. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  3177. }
  3178. }
  3179. if (type == 1) {
  3180. //加載好後給圖標定位
  3181. U.MD.D.iconPostion($(_frag).Child());
  3182. } else {
  3183. //加載好後給圖標定位
  3184. U.MD.D.iconPostion2($(_frag).Child());
  3185. }
  3186. //把圖標加載到頁面
  3187. el.appendChild(_frag);
  3188. }
  3189. /**
  3190. * 顯示任務欄
  3191. *
  3192. * @param {element} 桌面元素
  3193. */
  3194. U.MD.D.I.displayTaskbar = function (el) {
  3195. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  3196. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  3197. //任務欄位置變化
  3198. U.selectEl(el).css({ "bottom": "0px" });
  3199. //桌面位置變話
  3200. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  3201. }
  3202. }
  3203. //#region 桌面圖標拖動邏輯
  3204. /**
  3205. * 桌面排列圖標
  3206. *
  3207. * @param {element} 桌面元素
  3208. * @param {object} 上下相距的距離
  3209. * @param {object} 左右相距的距離
  3210. * @return {object} 命名空間
  3211. */
  3212. U.MD.D.iconPostion = function (childs, top, left) {
  3213. var i; //用於循環處理
  3214. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  3215. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  3216. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  3217. for (i = 0; i < childs.length; i++) {
  3218. //如果豎排top超過了範圍處理
  3219. if (top + 95 > US.height - 10) {
  3220. //left超過了頁面範圍處理,則向上重疊打印處理
  3221. if ((left + 180) > US.width) {
  3222. top -= 110;
  3223. left -= 90;
  3224. }
  3225. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  3226. else {
  3227. left += 90;
  3228. top = 15;
  3229. };
  3230. }
  3231. //給圖標的位置賦值
  3232. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  3233. if (i < childs.length - 1) {
  3234. //頁面圖標每次向下加95
  3235. top += 95;
  3236. }
  3237. }
  3238. //返回最後調用的圖標的位置
  3239. return [top, left];
  3240. }
  3241. /**
  3242. * 桌面排列圖標
  3243. *
  3244. * @param {element} 桌面元素
  3245. * @param {object} 上下相距的距離
  3246. * @param {object} 左右相距的距離
  3247. * @return {object} 命名空間
  3248. */
  3249. U.MD.D.iconPostion2 = function (childs, top, left) {
  3250. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  3251. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  3252. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  3253. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  3254. for (i = 0; i < childs.length; i++) {
  3255. //如果豎排top超過了範圍處理
  3256. if (left + 150 > US.width - 10) {
  3257. //left超過了頁面範圍處理,則向上重疊打印處理
  3258. if ((top + 180) > US.Height) {
  3259. top -= 150;
  3260. left -= 150;
  3261. }
  3262. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  3263. else {
  3264. top += 150;
  3265. left = ol;
  3266. };
  3267. }
  3268. //給圖標的位置賦值
  3269. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  3270. if (i < childs.length - 1) {
  3271. //頁面圖標每次向下加95
  3272. left += 150;
  3273. }
  3274. }
  3275. //返回最後調用的圖標的位置
  3276. return [top, left];
  3277. }
  3278. /**
  3279. * 桌面點擊事件邏輯
  3280. *
  3281. * @param {element} 桌面元素
  3282. * @param {object} 上下相距的距離
  3283. * @param {object} 左右相距的距離
  3284. * @return {object} 命名空間
  3285. */
  3286. U.MD.D.click = function (el, obj) {
  3287. var _buttonnumber = event.button; //點擊的按鈕的事件值
  3288. var _userinfo = US.userInfo;
  3289. U.UF.EV.stopBubble(); //阻止向上冒泡
  3290. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  3291. if (_buttonnumber < 2) {
  3292. //如果是click事件的處理
  3293. if (event.type == "click") {
  3294. //如果元素在mousemove事件中沒有移動則出發click事件
  3295. if (!U.MD.D.I.IsDrag) {
  3296. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3297. U.alert("請先登錄您的賬號!");
  3298. setTimeout(() => {
  3299. U.MD.U.L.login();
  3300. }, 2000);
  3301. } else {
  3302. //打開應用處理
  3303. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  3304. }
  3305. }
  3306. }
  3307. //如果是mouse事件的處理
  3308. else {
  3309. if (US.Config.type == '1') {
  3310. //拖動處理,添加拖動和拖動結束事件
  3311. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  3312. }
  3313. }
  3314. U.MD.D.I.IsDrag = false;
  3315. }
  3316. }
  3317. /**
  3318. * 拖動的處理
  3319. *
  3320. */
  3321. U.MD.D.iconMove = function () {
  3322. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  3323. U.MD.D.I.IsDrag = true;
  3324. }
  3325. /**
  3326. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  3327. *
  3328. * @param {element} 拖動的元素
  3329. * @return {object} 命名空間
  3330. */
  3331. U.MD.D.iconUp = function (el) {
  3332. var _top = 15,
  3333. _left = 20,
  3334. _margin,
  3335. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  3336. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  3337. if (_positioninfo["OT"] > 15) {
  3338. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  3339. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  3340. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  3341. }
  3342. if (_positioninfo["OL"] > 20) {
  3343. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  3344. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  3345. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  3346. }
  3347. //while循環判斷麼一個重疊的元素
  3348. do {
  3349. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  3350. _top = _positioninfo[0] + 95; //得到定位後的top
  3351. _left = _positioninfo[1]; //得到定位後的left
  3352. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  3353. }
  3354. /**
  3355. * 判斷拖動後圖標是否重疊
  3356. *
  3357. * @param {element} 拖動的元素
  3358. * @param {element} 桌面所有的元素
  3359. * @param {array} 拖動元素的位置
  3360. ----------[0] 上 top
  3361. ----------[1] 左 left
  3362. * @return {object} 命名空間
  3363. */
  3364. U.MD.D.isOverlap = function (el, childs, postionarray) {
  3365. //循環所有的圖標
  3366. for (var i = 0; i < childs.length; i++) {
  3367. //判斷有沒有和該圖標誒子重疊的元素
  3368. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  3369. return childs[i]; //如果有返回
  3370. }
  3371. }
  3372. }
  3373. //#endregion
  3374. //#endregion
  3375. //#region 桌面應用
  3376. /**
  3377. * 打開應用
  3378. *
  3379. * @param {string} 類型
  3380. -----------------Disk 網盤系統
  3381. -----------------PDisk 學習系統網盤
  3382. -----------------Poto 圖片
  3383. -----------------Video 視頻
  3384. -----------------Music 音樂
  3385. -----------------Word word
  3386. -----------------Excel excel
  3387. -----------------Txt 記事本
  3388. -----------------PB 學習系統
  3389. -----------------Blog 朋友圈系統
  3390. -----------------FTP ftp系統
  3391. -----------------Group 好友群
  3392. -----------------SY 首頁系統
  3393. -----------------Set 個人設置
  3394. -----------------XSet 系統設置
  3395. -----------------App 我們所有的app
  3396. -----------------BC c.1473.cn 平臺
  3397. -----------------CWeb d.1473.cn 變成平臺
  3398. -----------------其他的外聯系統 我們統一用iframe打開
  3399. * @param {array} 類型
  3400. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  3401. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  3402. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  3403. 如果第一個參數為其他,則無第二個參數
  3404. * @returns {array}
  3405. */
  3406. window.addEventListener('message', function (e) { // 監聽 message 事件
  3407. // alert(e.data.type);
  3408. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  3409. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  3410. //3是展示全部階段 2學生 1老師 4專家
  3411. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  3412. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  3413. //3是展示全部階段 2學生 1老師 4專家
  3414. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  3415. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  3416. //3是展示全部階段 2學生 1老師 4專家
  3417. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  3418. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  3419. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  3420. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  3421. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  3422. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  3423. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  3424. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  3425. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  3426. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  3427. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  3428. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  3429. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  3430. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  3431. //3是展示全部階段 2學生 1老師 4專家
  3432. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  3433. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  3434. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  3435. U.MD.D.I.selectUser();
  3436. } else if (e.data.allScreen && e.data.allScreen == "1") {
  3437. var _formel = document.getElementById("study");
  3438. U.UF.F.windowZooming(_formel);
  3439. } else if (e.data.allScreen && e.data.allScreen == "2") {
  3440. var _formel = document.getElementById("studyDetail");
  3441. U.UF.F.windowZooming(_formel);
  3442. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  3443. var _formel = document.getElementById("studyDetail");
  3444. U.UF.F.windowZooming(_formel);
  3445. } else if (e.data.allScreen && e.data.allScreen == "3") {
  3446. var _formel = document.getElementById("studentStudy");
  3447. U.UF.F.windowZooming(_formel);
  3448. } else if (e.data.allScreen && e.data.allScreen == "6") {
  3449. // var _formel = document.getElementById("study");
  3450. //如果最大化了,那麼就把他縮小
  3451. // if (_formel.ismaximize) {
  3452. // return;
  3453. // }
  3454. // U.UF.F.windowZooming(_formel);
  3455. // U.UF.F.topWindow(_formel);
  3456. } else if (e.data.allScreen && e.data.allScreen == "4") {
  3457. // var _formel = document.getElementById("studyDetail");
  3458. //如果最大化了,那麼就把他縮小
  3459. // if (_formel.ismaximize) {
  3460. // return;
  3461. // }
  3462. // U.UF.F.windowZooming(_formel);
  3463. // U.UF.F.topWindow(_formel);
  3464. } else if (e.data.allScreen && e.data.allScreen == "5") {
  3465. // var _formel = document.getElementById("studentStudy");
  3466. // if (_formel.ismaximize) {
  3467. // return;
  3468. // }
  3469. // U.UF.F.windowZooming(_formel);
  3470. // U.UF.F.topWindow(_formel);
  3471. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  3472. var _formel = document.getElementById("study");
  3473. // if (_formel.ismaximize) {
  3474. // return;
  3475. // }
  3476. // U.UF.F.windowZooming(_formel);
  3477. U.UF.F.topWindow(_formel);
  3478. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  3479. var _formel = document.getElementById("studentIndex");
  3480. U.UF.F.windowZooming(_formel);
  3481. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  3482. var _formel = document.getElementById("studyDetailS");
  3483. U.UF.F.windowZooming(_formel);
  3484. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  3485. var _formel = document.getElementById("studioIndex");
  3486. U.UF.F.windowZooming(_formel);
  3487. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  3488. var _formel = document.getElementById("studyDetailStudio");
  3489. U.UF.F.windowZooming(_formel);
  3490. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  3491. var _formel = document.getElementById("studyDetailStudio");
  3492. U.UF.F.windowZooming(_formel);
  3493. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  3494. var _formel = document.getElementById("studyDetailNT");
  3495. U.UF.F.windowZooming(_formel);
  3496. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  3497. var _formel = document.getElementById("studyDetailS");
  3498. U.UF.F.windowZooming(_formel);
  3499. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  3500. var _formel = document.getElementById("studyDetailS");
  3501. U.UF.F.topWindow(_formel);
  3502. } else if (e.data.tools && e.data.tools == "1") {
  3503. // U.MD.D.I.openApplication("whiteboard")
  3504. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3505. } else if (e.data.tools && e.data.tools == "2") {
  3506. U.MD.D.I.openApplication("note")
  3507. } else if (e.data.tools && e.data.tools == "3") {
  3508. // U.MD.D.I.openApplication("mind")
  3509. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3510. } else if (e.data.tools && e.data.tools == "4") {
  3511. U.MD.D.I.openApplication("investigation")
  3512. } else if (e.data.tools && e.data.tools == "6") {
  3513. // U.MD.D.I.openApplication("doc")
  3514. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3515. } else if (e.data.tools && e.data.tools == "7") {
  3516. // U.MD.D.I.openApplication("mindNetwork")
  3517. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3518. } else if (e.data.tools && e.data.tools == "8") {
  3519. U.MD.D.I.openApplication("library")
  3520. } else if (e.data.tools && e.data.tools == "17") {
  3521. U.MD.D.I.openApplication("stuLibrary")
  3522. } else if (e.data.tools && e.data.tools == "18") {
  3523. U.MD.D.I.openApplication("train")
  3524. } else if (e.data.tools && e.data.tools == "21") {
  3525. U.MD.D.I.openApplication("program")
  3526. } else if (e.data.tools && e.data.tools == "22") {
  3527. U.MD.D.I.openApplication("AIprogram2")
  3528. } else if (e.data.tools && e.data.tools == "23") {
  3529. U.MD.D.I.openApplication("Pythonprogram")
  3530. } else if (e.data.tools && e.data.tools == "24") {
  3531. U.MD.D.I.openApplication("AIprogram")
  3532. } else if (e.data.tools && e.data.tools == "25") {
  3533. U.MD.D.I.openApplication("sys")
  3534. } else if (e.data.tools && e.data.tools == "26") {
  3535. // U.MD.D.I.openApplication("courseDesign")
  3536. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3537. } else if (e.data.tools && e.data.tools == "31") {
  3538. U.MD.D.I.openApplication("netWorkPanel")
  3539. } else if (e.data.tools && e.data.tools == "32") {
  3540. U.MD.D.I.openApplication("codeEdit")
  3541. } else if (e.data.tools && e.data.tools == "57") {
  3542. U.MD.D.I.openApplication("CocoPi")
  3543. } else if (e.data.tools && e.data.tools == "63") {
  3544. U.MD.D.I.openApplication("Wood")
  3545. } else if (e.data.tools && e.data.tools == "58") {
  3546. U.MD.D.I.openApplication("car")
  3547. } else if (e.data.tools && e.data.tools == "59") {
  3548. U.MD.D.I.openApplication("lineSearch")
  3549. } else if (e.data.tools && e.data.tools == "60") {
  3550. U.MD.D.I.openApplication("deepLearning")
  3551. } else if (e.data.tools && e.data.tools == "61") {
  3552. U.MD.D.I.openApplication("allHistory")
  3553. } else if (e.data.tools && e.data.tools == "28") {
  3554. U.MD.D.I.openApplication("translation")
  3555. } else if (e.data.tools && e.data.tools == "37") {
  3556. U.MD.D.I.openApplication("mohe")
  3557. } else if (e.data.tools && e.data.tools == "38") {
  3558. U.MD.D.I.openApplication("24game")
  3559. } else if (e.data.tools && e.data.tools == "39") {
  3560. U.MD.D.I.openApplication("GeoGebra")
  3561. } else if (e.data.tools && e.data.tools == "43") {
  3562. U.MD.D.I.openApplication("studentEvaluate")
  3563. } else if (e.data.tools && e.data.tools == "44") {
  3564. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3565. } else if (e.data.tools && e.data.tools == "46") {
  3566. U.MD.D.I.openApplication("project")
  3567. } else if (e.data.tools && e.data.tools == "71") {
  3568. U.MD.D.I.openApplication("aigptCourse")
  3569. } else if (e.data.tools && e.data.tools == "1s") {
  3570. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3571. } else if (e.data.tools && e.data.tools == "3s") {
  3572. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3573. } else if (e.data.tools && e.data.tools == "6s") {
  3574. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3575. } else if (e.data.tools && e.data.tools == "1studio") {
  3576. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3577. } else if (e.data.tools && e.data.tools == "3studio") {
  3578. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3579. } else if (e.data.tools && e.data.tools == "6studio") {
  3580. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3581. } else if (e.data.tools && e.data.tools == "3y") {
  3582. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3583. } else if (e.data.tools && e.data.tools == "1y") {
  3584. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3585. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3586. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3587. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3588. U.MD.D.I.openApplication("AIAnalyse")
  3589. } else if (e.data.tools && e.data.tools == "1teacher") {
  3590. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3591. } else if (e.data.tools && e.data.tools == "3teacher") {
  3592. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3593. } else if (e.data.tools && e.data.tools == "7teacher") {
  3594. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3595. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3596. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3597. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3598. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3599. } else if (e.data.tools && e.data.tools == "1E") {
  3600. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3601. } else if (e.data.tools && e.data.tools == "3E") {
  3602. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3603. } else if (e.data.tools && e.data.tools == "57y") {
  3604. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3605. } else if (e.data.tools && e.data.tools == "57u") {
  3606. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3607. } else if (e.data.tools && e.data.tools == "57teacher") {
  3608. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3609. } else if (e.data.tools && e.data.tools == "64") {
  3610. U.MD.D.I.openApplication("AIChat")
  3611. } else if (e.data.tools && e.data.tools == "66") {
  3612. U.MD.D.I.openApplication("formulaEdi")
  3613. } else if (e.data.tools && e.data.tools == "67") {
  3614. U.MD.D.I.openApplication("molStr")
  3615. } else if (e.data.tools && e.data.tools == "68") {
  3616. U.MD.D.I.openApplication("timeAxis")
  3617. } else if (e.data.tools && e.data.tools == "openCourse") {
  3618. let _data = {
  3619. typea: e.data.typea || '',
  3620. typeb: e.data.typeb || '',
  3621. typed: e.data.typed || '',
  3622. }
  3623. U.MD.D.I.openInApplication("index", _data)
  3624. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3625. let _data = {
  3626. classid: e.data.classid || '',
  3627. }
  3628. U.MD.D.I.openInApplication("dataClass", _data)
  3629. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3630. let _data = {
  3631. cid: e.data.cid || '',
  3632. gid: e.data.gid || '',
  3633. }
  3634. U.MD.D.I.openInApplication("opencCscl", _data)
  3635. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3636. U.MD.D.I.openApplication("dataBoardTest")
  3637. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  3638. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  3639. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  3640. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  3641. }else if (e.data.tools && e.data.tools == "openCourseAiUpdate") {
  3642. U.MD.D.I.openInApplication("openCourseAiUpdate", e.data.cid)
  3643. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  3644. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  3645. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  3646. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  3647. }else if (e.data.tools && e.data.tools == "loginSz") {
  3648. U.MD.D.I.openInApplication("loginSz")
  3649. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  3650. if($('#classroom_observation_board')[0]){
  3651. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  3652. }
  3653. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  3654. }else if (e.data.tools && e.data.tools == "classroom_observation_ob_comment"){
  3655. if($('#classroom_observation_ob_comment')[0]){
  3656. $('#classroom_observation_ob_comment iframe')[0].contentDocument.location.reload()
  3657. }
  3658. U.MD.D.I.openInApplication("classroom_observation_ob_comment", e.data.type)
  3659. }
  3660. });
  3661. U.MD.D.I.selectUser = function () {
  3662. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3663. if (res.value[0].length > 0) {
  3664. US.userInfo = res.value[0][0];
  3665. $(".userName")[0].innerHTML = US.userInfo.username;
  3666. }
  3667. }, [], { "type": "GET", "withCredentials": true });
  3668. }
  3669. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3670. var _userinfo = US.userInfo, //登錄用戶信息
  3671. _userid = US.userInfo.userid, //登錄用戶id
  3672. _oid = _userinfo.organizeid,
  3673. _type = US.userInfo.type,
  3674. _org = US.userInfo.org,
  3675. _role = US.userInfo.role,
  3676. _classId = US.userInfo.classid;
  3677. if (_type == 4) {
  3678. tType = 4
  3679. }
  3680. switch (str) {
  3681. case "studyDetailNT": //無終端模式
  3682. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3683. setTimeout(() => {
  3684. U.MD.U.L.login();
  3685. }, 2000);
  3686. } else {
  3687. _formdiv = new U.UF.UI.form(
  3688. "課程詳情",
  3689. $$("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 }), {
  3690. "id": "studyDetailNT",
  3691. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3692. "onresize": function () { }
  3693. }, {
  3694. closecallback: function () { }
  3695. }, { "style": { "height": "36px" } }).form; //創建窗體
  3696. _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); } }
  3697. break;
  3698. }
  3699. case "studyDetail":
  3700. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3701. setTimeout(() => {
  3702. U.MD.U.L.login();
  3703. }, 2000);
  3704. } else {
  3705. _formdiv = new U.UF.UI.form(
  3706. "課程詳情",
  3707. $$("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 }), {
  3708. "id": "studyDetail",
  3709. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3710. "onresize": function () { }
  3711. }, {
  3712. closecallback: function () { }
  3713. }, { "style": { "height": "36px" } }).form; //創建窗體
  3714. _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); } }
  3715. break;
  3716. }
  3717. case "studyDetailTrain":
  3718. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3719. setTimeout(() => {
  3720. U.MD.U.L.login();
  3721. }, 2000);
  3722. } else {
  3723. _formdiv = new U.UF.UI.form(
  3724. "培訓詳情",
  3725. $$("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 }), {
  3726. "id": "studyDetailTrain",
  3727. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3728. "onresize": function () { }
  3729. }, {
  3730. closecallback: function () { }
  3731. }, { "style": { "height": "36px" } }).form; //創建窗體
  3732. _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); } }
  3733. break;
  3734. }
  3735. case "studyDetailS":
  3736. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3737. setTimeout(() => {
  3738. U.MD.U.L.login();
  3739. }, 2000);
  3740. } else {
  3741. _formdiv = new U.UF.UI.form(
  3742. "項目詳情",
  3743. $$("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 }), {
  3744. "id": "studyDetailS",
  3745. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3746. "onresize": function () { }
  3747. }, {
  3748. closecallback: function () { }
  3749. }, { "style": { "height": "36px" } }).form; //創建窗體
  3750. _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); } }
  3751. break;
  3752. }
  3753. case "studyDetailStudio":
  3754. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3755. setTimeout(() => {
  3756. U.MD.U.L.login();
  3757. }, 2000);
  3758. } else {
  3759. _formdiv = new U.UF.UI.form(
  3760. "工作詳情",
  3761. $$("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 }), {
  3762. "id": "studyDetailStudio",
  3763. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3764. "onresize": function () { }
  3765. }, {
  3766. closecallback: function () { }
  3767. }, { "style": { "height": "36px" } }).form; //創建窗體
  3768. _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); } }
  3769. break;
  3770. }
  3771. case "studyDetailS5":
  3772. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3773. setTimeout(() => {
  3774. U.MD.U.L.login();
  3775. }, 2000);
  3776. } else {
  3777. _formdiv = new U.UF.UI.form(
  3778. "項目詳情",
  3779. $$("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 }), {
  3780. "id": "studyDetailS",
  3781. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3782. "onresize": function () { }
  3783. }, {
  3784. closecallback: function () { }
  3785. }, { "style": { "height": "36px" } }).form; //創建窗體
  3786. _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); } }
  3787. break;
  3788. }
  3789. case "studyDetailGM":
  3790. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3791. setTimeout(() => {
  3792. U.MD.U.L.login();
  3793. }, 2000);
  3794. } else {
  3795. _formdiv = new U.UF.UI.form(
  3796. "課程詳情",
  3797. $$("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 }), {
  3798. "id": "studyDetail",
  3799. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3800. "onresize": function () { }
  3801. }, {
  3802. closecallback: function () { }
  3803. }, { "style": { "height": "36px" } }).form; //創建窗體
  3804. _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); } }
  3805. break;
  3806. }
  3807. case "hanUrl":
  3808. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3809. setTimeout(() => {
  3810. U.MD.U.L.login();
  3811. }, 2000);
  3812. } else {
  3813. _formdiv = new U.UF.UI.form(
  3814. "漢字宮",
  3815. $$("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" }), {
  3816. "id": "hanUrl",
  3817. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3818. "onresize": function () { }
  3819. }, {
  3820. closecallback: function () { }
  3821. }, { "style": { "height": "36px" } }).form; //創建窗體
  3822. _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); } }
  3823. break;
  3824. }
  3825. case "index":
  3826. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3827. setTimeout(() => {
  3828. U.MD.U.L.login();
  3829. }, 2000);
  3830. } else {
  3831. _formdiv = new U.UF.UI.form(
  3832. "課程中心",
  3833. $$("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 }), {
  3834. "id": "study",
  3835. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3836. "onresize": function () { }
  3837. }, {
  3838. closecallback: function () { }
  3839. }, { "style": { "height": "36px" } }).form; //創建窗體
  3840. _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); } }
  3841. break;
  3842. }
  3843. case "dataClass":
  3844. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3845. setTimeout(() => {
  3846. U.MD.U.L.login();
  3847. }, 2000);
  3848. } else {
  3849. _formdiv = new U.UF.UI.form(
  3850. "數據報告",
  3851. $$("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 }), {
  3852. "id": "dataClass",
  3853. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3854. "onresize": function () { }
  3855. }, {
  3856. closecallback: function () { }
  3857. }, { "style": { "height": "36px" } }).form; //創建窗體
  3858. _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); } }
  3859. break;
  3860. }
  3861. case "opencCscl":
  3862. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3863. setTimeout(() => {
  3864. U.MD.U.L.login();
  3865. }, 2000);
  3866. } else {
  3867. _formdiv = new U.UF.UI.form(
  3868. "協同建構",
  3869. $$("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 }), {
  3870. "id": "futureClass",
  3871. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3872. "onresize": function () { }
  3873. }, {
  3874. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3875. }, { "style": { "height": "36px" } }).form; //創建窗體
  3876. _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); } }
  3877. break;
  3878. }
  3879. case "openCourseUpdate":
  3880. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3881. setTimeout(() => {
  3882. U.MD.U.L.login();
  3883. }, 2000);
  3884. } else {
  3885. _formdiv = new U.UF.UI.form(
  3886. "課程管理",
  3887. $$("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 }), {
  3888. "id": "openCourseUpdate",
  3889. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3890. "onresize": function () { }
  3891. }, {
  3892. closecallback: function () { }
  3893. }, { "style": { "height": "36px" } }).form; //創建窗體
  3894. break;
  3895. }
  3896. case "openNewCourseUpdate":
  3897. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3898. setTimeout(() => {
  3899. U.MD.U.L.login();
  3900. }, 2000);
  3901. } else {
  3902. _formdiv = new U.UF.UI.form(
  3903. "課程管理",
  3904. $$("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 }), {
  3905. "id": "openCourseUpdate",
  3906. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3907. "onresize": function () { }
  3908. }, {
  3909. closecallback: function () { }
  3910. }, { "style": { "height": "36px" } }).form; //創建窗體
  3911. break;
  3912. }
  3913. case "openCourseEUpdate":
  3914. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3915. setTimeout(() => {
  3916. U.MD.U.L.login();
  3917. }, 2000);
  3918. } else {
  3919. _formdiv = new U.UF.UI.form(
  3920. "課程管理",
  3921. $$("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 }), {
  3922. "id": "openCourseUpdate",
  3923. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3924. "onresize": function () { }
  3925. }, {
  3926. closecallback: function () { }
  3927. }, { "style": { "height": "36px" } }).form; //創建窗體
  3928. break;
  3929. }
  3930. case "openCourseAiUpdate":
  3931. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3932. setTimeout(() => {
  3933. U.MD.U.L.login();
  3934. }, 2000);
  3935. } else {
  3936. _formdiv = new U.UF.UI.form(
  3937. "課程管理",
  3938. $$("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 }), {
  3939. "id": "openCourseUpdate",
  3940. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3941. "onresize": function () { }
  3942. }, {
  3943. closecallback: function () { }
  3944. }, { "style": { "height": "36px" } }).form; //創建窗體
  3945. break;
  3946. }
  3947. case "openCourseNewUpdate":
  3948. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3949. setTimeout(() => {
  3950. U.MD.U.L.login();
  3951. }, 2000);
  3952. } else {
  3953. _formdiv = new U.UF.UI.form(
  3954. "課程管理",
  3955. $$("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 }), {
  3956. "id": "openCourseUpdate",
  3957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3958. "onresize": function () { }
  3959. }, {
  3960. closecallback: function () { }
  3961. }, { "style": { "height": "36px" } }).form; //創建窗體
  3962. break;
  3963. }
  3964. case "inviteLoginSz":
  3965. _formdiv = new U.UF.UI.form(
  3966. "隨機碼登錄",
  3967. $$("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 }), {
  3968. "id": "loginSz",
  3969. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3970. "onresize": function () { }
  3971. }, {
  3972. closecallback: function () { }
  3973. }, { "style": { "height": "36px" } }).form; //創建窗體
  3974. break;
  3975. case "loginSz":
  3976. _formdiv = new U.UF.UI.form(
  3977. "教師登錄",
  3978. $$("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" }), {
  3979. "id": "loginSz",
  3980. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3981. "onresize": function () { }
  3982. }, {
  3983. closecallback: function () { }
  3984. }, { "style": { "height": "36px" } }).form; //創建窗體
  3985. break;
  3986. case "teacher":
  3987. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3988. setTimeout(() => {
  3989. U.MD.U.L.login();
  3990. }, 2000);
  3991. } else {
  3992. _formdiv = new U.UF.UI.form(
  3993. "教師管理",
  3994. $$("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 }), {
  3995. "id": "teacher",
  3996. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3997. "onresize": function () { }
  3998. }, {
  3999. closecallback: function () { }
  4000. }, { "style": { "height": "36px" } }).form; //創建窗體
  4001. break;
  4002. }
  4003. case "dataBoardSZArea":
  4004. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4005. setTimeout(() => {
  4006. U.MD.U.L.login();
  4007. }, 2000);
  4008. } else {
  4009. _formdiv = new U.UF.UI.form(
  4010. "綜合數據看板",
  4011. $$("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 }), {
  4012. "id": "dataBoardSZArea",
  4013. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4014. "onresize": function () { }
  4015. }, {
  4016. closecallback: function () { }
  4017. }, { "style": { "height": "36px" } }).form; //創建窗體
  4018. break;
  4019. }
  4020. case "dataBoardSZCity":
  4021. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4022. setTimeout(() => {
  4023. U.MD.U.L.login();
  4024. }, 2000);
  4025. } else {
  4026. _formdiv = new U.UF.UI.form(
  4027. "綜合數據看板",
  4028. $$("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 }), {
  4029. "id": "dataBoardSZCity",
  4030. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4031. "onresize": function () { }
  4032. }, {
  4033. closecallback: function () { }
  4034. }, { "style": { "height": "36px" } }).form; //創建窗體
  4035. break;
  4036. }
  4037. case "classroom_observation_board":
  4038. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4039. setTimeout(() => {
  4040. U.MD.U.L.login();
  4041. }, 2000);
  4042. } else {
  4043. _formdiv = new U.UF.UI.form(
  4044. "課堂觀察",
  4045. $$("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 }), {
  4046. "id": "classroom_observation_board",
  4047. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4048. "onresize": function () { }
  4049. }, {
  4050. closecallback: function () { }
  4051. }, { "style": { "height": "36px" } }).form; //創建窗體
  4052. break;
  4053. }
  4054. case "classroom_observation_ob_comment":
  4055. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4056. setTimeout(() => {
  4057. U.MD.U.L.login();
  4058. }, 2000);
  4059. } else {
  4060. _formdiv = new U.UF.UI.form(
  4061. "課堂審核",
  4062. $$("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 }), {
  4063. "id": "classroom_observation_ob_comment",
  4064. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4065. "onresize": function () { }
  4066. }, {
  4067. closecallback: function () { }
  4068. }, { "style": { "height": "36px" } }).form; //創建窗體
  4069. break;
  4070. }
  4071. }
  4072. }
  4073. U.MD.D.I.openApplication = function (str, obj, info) {
  4074. obj = obj || {};
  4075. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  4076. _formdiv, //創建任務欄時同時彈出的窗體元素。
  4077. _userinfo = US.userInfo, //登錄用戶信息
  4078. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  4079. _oid = obj.organizeid || _userinfo.organizeid,
  4080. _type = US.userInfo.type,
  4081. _org = US.userInfo.org,
  4082. _role = US.userInfo.role,
  4083. _classId = US.userInfo.classid,
  4084. _TscreenType = 1
  4085. _screenType = 2,
  4086. _SscreenType = 3;
  4087. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  4088. return;
  4089. }
  4090. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4091. switch (str) {
  4092. case "studnetProject": //好友打開
  4093. _formdiv = new U.UF.UI.form(
  4094. "我的項目",
  4095. $$("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 }), {
  4096. "id": "studnetProject",
  4097. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4098. "onresize": function () { }
  4099. }, {
  4100. closecallback: function () { }
  4101. }, { "style": { "height": "36px" } }).form; //創建窗體
  4102. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/project.png)" }, "name": "我的項目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4103. break;
  4104. case "studentEvaluate": //好友打開
  4105. _formdiv = new U.UF.UI.form(
  4106. "我的評價",
  4107. $$("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 }), {
  4108. "id": "studentEvaluate",
  4109. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4110. "onresize": function () { }
  4111. }, {
  4112. closecallback: function () { }
  4113. }, { "style": { "height": "36px" } }).form; //創建窗體
  4114. _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); } }
  4115. break;
  4116. case "my":
  4117. _formdiv = new U.UF.UI.form(
  4118. "我的資料",
  4119. $$("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 }), {
  4120. "id": "my",
  4121. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4122. "onresize": function () { }
  4123. }, {
  4124. closecallback: function () { }
  4125. }, { "style": { "height": "36px" } }).form; //創建窗體
  4126. _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); } }
  4127. break;
  4128. case "program":
  4129. _formdiv = new U.UF.UI.form(
  4130. "編程平臺",
  4131. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4132. "id": "program",
  4133. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4134. "onresize": function () { }
  4135. }, {
  4136. closecallback: function () { }
  4137. }, { "style": { "height": "36px" } }).form; //創建窗體
  4138. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4139. break;
  4140. case "library":
  4141. _formdiv = new U.UF.UI.form(
  4142. "素材庫",
  4143. $$("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 }), {
  4144. "id": "library",
  4145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4146. "onresize": function () { }
  4147. }, {
  4148. closecallback: function () { }
  4149. }, { "style": { "height": "36px" } }).form; //創建窗體
  4150. _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); } }
  4151. break;
  4152. case "whiteboard":
  4153. _formdiv = new U.UF.UI.form(
  4154. "電子白板",
  4155. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4156. "id": "whiteboard",
  4157. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4158. "onresize": function () { }
  4159. }, {
  4160. closecallback: function () { }
  4161. }, { "style": { "height": "36px" } }).form; //創建窗體
  4162. _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); } }
  4163. break;
  4164. case "investigation":
  4165. _formdiv = new U.UF.UI.form(
  4166. "問卷調查",
  4167. $$("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 }), {
  4168. "id": "investigation",
  4169. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. closecallback: function () { }
  4173. }, { "style": { "height": "36px" } }).form; //創建窗體
  4174. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "問卷調查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4175. break;
  4176. case "note":
  4177. _formdiv = new U.UF.UI.form(
  4178. "便簽分類",
  4179. $$("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 }), {
  4180. "id": "note",
  4181. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4182. "onresize": function () { }
  4183. }, {
  4184. closecallback: function () { }
  4185. }, { "style": { "height": "36px" } }).form; //創建窗體
  4186. _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); } }
  4187. break;
  4188. // case "score":
  4189. // _formdiv = new U.UF.UI.form(
  4190. // "量規評分",
  4191. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4192. // "id": "score",
  4193. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4194. // "onresize": function() {}
  4195. // }, {
  4196. // closecallback: function() {}
  4197. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4198. // _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); } }
  4199. // break;
  4200. case "mind":
  4201. _formdiv = new U.UF.UI.form(
  4202. "思維導圖",
  4203. $$("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"
  4204. "id": "mind",
  4205. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4206. "onresize": function () { }
  4207. }, {
  4208. closecallback: function () { }
  4209. }, { "style": { "height": "36px" } }).form; //創建窗體
  4210. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4211. break;
  4212. case "doc":
  4213. // U.MD.D.I.isRoom();
  4214. _formdiv = new U.UF.UI.form(
  4215. "協同文檔",
  4216. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  4217. "id": "doc",
  4218. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4219. "onresize": function () { }
  4220. }, {
  4221. closecallback: function () { }
  4222. }, { "style": { "height": "36px" } }).form; //創建窗體
  4223. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4224. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4225. // })
  4226. _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); } }
  4227. break;
  4228. case "studentStudy":
  4229. _formdiv = new U.UF.UI.form(
  4230. "課程中心",
  4231. $$("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
  4232. "id": "studentStudy",
  4233. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4234. "onresize": function () { }
  4235. }, {
  4236. closecallback: function () { }
  4237. }, { "style": { "height": "36px" } }).form; //創建窗體
  4238. _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); } }
  4239. break;
  4240. case "train": //好友打開
  4241. _formdiv = new U.UF.UI.form(
  4242. "訓練平臺",
  4243. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4244. "id": "train",
  4245. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4246. "onresize": function () { }
  4247. }, {
  4248. closecallback: function () { }
  4249. }, { "style": { "height": "36px" } }).form; //創建窗體
  4250. _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); } }
  4251. break;
  4252. case "mindNetwork": //好友打開
  4253. _formdiv = new U.UF.UI.form(
  4254. "思維網格",
  4255. $$("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 }), {
  4256. "id": "mindNetwork",
  4257. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4258. "onresize": function () { }
  4259. }, {
  4260. closecallback: function () { }
  4261. }, { "style": { "height": "36px" } }).form; //創建窗體
  4262. _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); } }
  4263. break;
  4264. case "studentClassRoom": //好友打開
  4265. _formdiv = new U.UF.UI.form(
  4266. "實時課堂",
  4267. $$("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 }), {
  4268. "id": "studentClassRoom",
  4269. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4270. "onresize": function () { }
  4271. }, {
  4272. closecallback: function () { }
  4273. }, { "style": { "height": "36px" } }).form; //創建窗體
  4274. _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); } }
  4275. setTimeout(() => {
  4276. U.UF.F.windowZooming(_formdiv)
  4277. }, 0);
  4278. break;
  4279. }
  4280. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4281. switch (str) {
  4282. case "studnetProject": //好友打開
  4283. _formdiv = new U.UF.UI.form(
  4284. "我的項目",
  4285. $$("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 }), {
  4286. "id": "studnetProject",
  4287. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4288. "onresize": function () { }
  4289. }, {
  4290. closecallback: function () { }
  4291. }, { "style": { "height": "36px" } }).form; //創建窗體
  4292. _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); } }
  4293. break;
  4294. case "studentEvaluate": //好友打開
  4295. _formdiv = new U.UF.UI.form(
  4296. "我的評價",
  4297. $$("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 }), {
  4298. "id": "studentEvaluate",
  4299. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4300. "onresize": function () { }
  4301. }, {
  4302. closecallback: function () { }
  4303. }, { "style": { "height": "36px" } }).form; //創建窗體
  4304. _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); } }
  4305. break;
  4306. case "my":
  4307. _formdiv = new U.UF.UI.form(
  4308. "我的資料",
  4309. $$("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 }), {
  4310. "id": "my",
  4311. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4312. "onresize": function () { }
  4313. }, {
  4314. closecallback: function () { }
  4315. }, { "style": { "height": "36px" } }).form; //創建窗體
  4316. _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); } }
  4317. break;
  4318. case "program":
  4319. _formdiv = new U.UF.UI.form(
  4320. "編程平臺",
  4321. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4322. "id": "program",
  4323. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4324. "onresize": function () { }
  4325. }, {
  4326. closecallback: function () { }
  4327. }, { "style": { "height": "36px" } }).form; //創建窗體
  4328. _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); } }
  4329. break;
  4330. case "library":
  4331. _formdiv = new U.UF.UI.form(
  4332. "素材庫",
  4333. $$("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 }), {
  4334. "id": "library",
  4335. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4336. "onresize": function () { }
  4337. }, {
  4338. closecallback: function () { }
  4339. }, { "style": { "height": "36px" } }).form; //創建窗體
  4340. _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); } }
  4341. break;
  4342. case "whiteboard":
  4343. _formdiv = new U.UF.UI.form(
  4344. "電子白板",
  4345. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4346. "id": "whiteboard",
  4347. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4348. "onresize": function () { }
  4349. }, {
  4350. closecallback: function () { }
  4351. }, { "style": { "height": "36px" } }).form; //創建窗體
  4352. _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); } }
  4353. break;
  4354. case "investigation":
  4355. _formdiv = new U.UF.UI.form(
  4356. "問卷調查",
  4357. $$("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 }), {
  4358. "id": "investigation",
  4359. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4360. "onresize": function () { }
  4361. }, {
  4362. closecallback: function () { }
  4363. }, { "style": { "height": "36px" } }).form; //創建窗體
  4364. _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); } }
  4365. break;
  4366. case "note":
  4367. _formdiv = new U.UF.UI.form(
  4368. "便簽分類",
  4369. $$("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 }), {
  4370. "id": "note",
  4371. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4372. "onresize": function () { }
  4373. }, {
  4374. closecallback: function () { }
  4375. }, { "style": { "height": "36px" } }).form; //創建窗體
  4376. _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); } }
  4377. break;
  4378. // case "score":
  4379. // _formdiv = new U.UF.UI.form(
  4380. // "量規評分",
  4381. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4382. // "id": "score",
  4383. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4384. // "onresize": function() {}
  4385. // }, {
  4386. // closecallback: function() {}
  4387. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4388. // _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); } }
  4389. // break;
  4390. case "mind":
  4391. _formdiv = new U.UF.UI.form(
  4392. "思維導圖",
  4393. $$("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"
  4394. "id": "mind",
  4395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4396. "onresize": function () { }
  4397. }, {
  4398. closecallback: function () { }
  4399. }, { "style": { "height": "36px" } }).form; //創建窗體
  4400. _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); } }
  4401. break;
  4402. case "doc":
  4403. // U.MD.D.I.isRoom();
  4404. _formdiv = new U.UF.UI.form(
  4405. "協同文檔",
  4406. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4407. "id": "doc",
  4408. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4409. "onresize": function () { }
  4410. }, {
  4411. closecallback: function () { }
  4412. }, { "style": { "height": "36px" } }).form; //創建窗體
  4413. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4414. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4415. })
  4416. _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); } }
  4417. break;
  4418. case "train": //好友打開
  4419. _formdiv = new U.UF.UI.form(
  4420. "訓練平臺",
  4421. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4422. "id": "train",
  4423. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4424. "onresize": function () { }
  4425. }, {
  4426. closecallback: function () { }
  4427. }, { "style": { "height": "36px" } }).form; //創建窗體
  4428. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4429. break;
  4430. case "studentStudy":
  4431. _formdiv = new U.UF.UI.form(
  4432. "課程中心",
  4433. $$("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
  4434. "id": "studentStudy",
  4435. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4436. "onresize": function () { }
  4437. }, {
  4438. closecallback: function () { }
  4439. }, { "style": { "height": "36px" } }).form; //創建窗體
  4440. _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); } }
  4441. break;
  4442. case "mindNetwork": //好友打開
  4443. _formdiv = new U.UF.UI.form(
  4444. "思維網格",
  4445. $$("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 }), {
  4446. "id": "mindNetwork",
  4447. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4448. "onresize": function () { }
  4449. }, {
  4450. closecallback: function () { }
  4451. }, { "style": { "height": "36px" } }).form; //創建窗體
  4452. _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); } }
  4453. break;
  4454. case "studentClassRoom": //好友打開
  4455. _formdiv = new U.UF.UI.form(
  4456. "實時課堂",
  4457. $$("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 }), {
  4458. "id": "studentClassRoom",
  4459. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4460. "onresize": function () { }
  4461. }, {
  4462. closecallback: function () { }
  4463. }, { "style": { "height": "36px" } }).form; //創建窗體
  4464. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "實時課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4465. setTimeout(() => {
  4466. U.UF.F.windowZooming(_formdiv)
  4467. }, 0);
  4468. break;
  4469. }
  4470. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4471. //選擇應用處理
  4472. switch (str) {
  4473. case "project": //好友打開
  4474. _formdiv = new U.UF.UI.form(
  4475. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  4476. $$("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 }), {
  4477. "id": "project",
  4478. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4479. "onresize": function () { }
  4480. }, {
  4481. closecallback: function () { }
  4482. }, { "style": { "height": "36px" } }).form; //創建窗體
  4483. _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); } }
  4484. break;
  4485. case "student":
  4486. _formdiv = new U.UF.UI.form(
  4487. "學生管理",
  4488. $$("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 }), {
  4489. "id": "student",
  4490. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4491. "onresize": function () { }
  4492. }, {
  4493. closecallback: function () { }
  4494. }, { "style": { "height": "36px" } }).form; //創建窗體
  4495. _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); } }
  4496. break;
  4497. case "evaluate":
  4498. _formdiv = new U.UF.UI.form(
  4499. "學生評價",
  4500. $$("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 }), {
  4501. "id": "evaluate",
  4502. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4503. "onresize": function () { }
  4504. }, {
  4505. closecallback: function () { }
  4506. }, { "style": { "height": "36px" } }).form; //創建窗體
  4507. _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); } }
  4508. break;
  4509. case "sys":
  4510. _formdiv = new U.UF.UI.form(
  4511. "目標管理",
  4512. $$("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 }), {
  4513. "id": "sys",
  4514. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4515. "onresize": function () { }
  4516. }, {
  4517. closecallback: function () { }
  4518. }, { "style": { "height": "36px" } }).form; //創建窗體
  4519. _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); } }
  4520. break;
  4521. case "courseDesign":
  4522. _formdiv = new U.UF.UI.form(
  4523. "項目設計",
  4524. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4525. "id": "courseDesign",
  4526. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4527. "onresize": function () { }
  4528. }, {
  4529. closecallback: function () { }
  4530. }, { "style": { "height": "36px" } }).form; //創建窗體
  4531. _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); } }
  4532. break;
  4533. case "program":
  4534. _formdiv = new U.UF.UI.form(
  4535. "編程平臺",
  4536. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4537. "id": "program",
  4538. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4539. "onresize": function () { }
  4540. }, {
  4541. closecallback: function () { }
  4542. }, { "style": { "height": "36px" } }).form; //創建窗體
  4543. _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); } }
  4544. break;
  4545. case "class":
  4546. _formdiv = new U.UF.UI.form(
  4547. "班級管理",
  4548. $$("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 }), {
  4549. "id": "class",
  4550. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4551. "onresize": function () { }
  4552. }, {
  4553. closecallback: function () { }
  4554. }, { "style": { "height": "36px" } }).form; //創建窗體
  4555. _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); } }
  4556. break;
  4557. case "Grade":
  4558. _formdiv = new U.UF.UI.form(
  4559. "年級管理",
  4560. $$("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 }), {
  4561. "id": "Grade",
  4562. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4563. "onresize": function () { }
  4564. }, {
  4565. closecallback: function () { }
  4566. }, { "style": { "height": "36px" } }).form; //創建窗體
  4567. _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); } }
  4568. break;
  4569. case "teacherOffice":
  4570. _formdiv = new U.UF.UI.form(
  4571. "教研室",
  4572. $$("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 }), {
  4573. "id": "teacherOffice",
  4574. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4575. "onresize": function () { }
  4576. }, {
  4577. closecallback: function () { }
  4578. }, { "style": { "height": "36px" } }).form; //創建窗體
  4579. _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); } }
  4580. break;
  4581. case "my":
  4582. _formdiv = new U.UF.UI.form(
  4583. "我的資料",
  4584. $$("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 }), {
  4585. "id": "my",
  4586. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4587. "onresize": function () { }
  4588. }, {
  4589. closecallback: function () { }
  4590. }, { "style": { "height": "36px" } }).form; //創建窗體
  4591. _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); } }
  4592. break;
  4593. case "notice":
  4594. _formdiv = new U.UF.UI.form(
  4595. "通知公告",
  4596. $$("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 }), {
  4597. "id": "notice",
  4598. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4599. "onresize": function () { }
  4600. }, {
  4601. closecallback: function () { }
  4602. }, { "style": { "height": "36px" } }).form; //創建窗體
  4603. _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); } }
  4604. break;
  4605. case "library":
  4606. _formdiv = new U.UF.UI.form(
  4607. "素材庫",
  4608. $$("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 }), {
  4609. "id": "library",
  4610. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4611. "onresize": function () { }
  4612. }, {
  4613. closecallback: function () { }
  4614. }, { "style": { "height": "36px" } }).form; //創建窗體
  4615. _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); } }
  4616. break;
  4617. case "whiteboard":
  4618. _formdiv = new U.UF.UI.form(
  4619. "電子白板",
  4620. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4621. "id": "whiteboard",
  4622. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4623. "onresize": function () { }
  4624. }, {
  4625. closecallback: function () { }
  4626. }, { "style": { "height": "36px" } }).form; //創建窗體
  4627. _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); } }
  4628. break;
  4629. case "investigation":
  4630. _formdiv = new U.UF.UI.form(
  4631. "問卷調查",
  4632. $$("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 }), {
  4633. "id": "investigation",
  4634. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4635. "onresize": function () { }
  4636. }, {
  4637. closecallback: function () { }
  4638. }, { "style": { "height": "36px" } }).form; //創建窗體
  4639. _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); } }
  4640. break;
  4641. case "note":
  4642. _formdiv = new U.UF.UI.form(
  4643. "便簽分類",
  4644. $$("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 }), {
  4645. "id": "note",
  4646. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4647. "onresize": function () { }
  4648. }, {
  4649. closecallback: function () { }
  4650. }, { "style": { "height": "36px" } }).form; //創建窗體
  4651. _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); } }
  4652. break;
  4653. // case "score":
  4654. // _formdiv = new U.UF.UI.form(
  4655. // "量規評分",
  4656. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4657. // "id": "score",
  4658. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4659. // "onresize": function() {}
  4660. // }, {
  4661. // closecallback: function() {}
  4662. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4663. // _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); } }
  4664. // break;
  4665. case "mind":
  4666. _formdiv = new U.UF.UI.form(
  4667. "思維導圖",
  4668. $$("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"
  4669. "id": "mind",
  4670. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4671. "onresize": function () { }
  4672. }, {
  4673. closecallback: function () { }
  4674. }, { "style": { "height": "36px" } }).form; //創建窗體
  4675. _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); } }
  4676. break;
  4677. case "doc":
  4678. // U.MD.D.I.isRoom();
  4679. _formdiv = new U.UF.UI.form(
  4680. "協同文檔",
  4681. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4682. "id": "doc",
  4683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4684. "onresize": function () { }
  4685. }, {
  4686. closecallback: function () { }
  4687. }, { "style": { "height": "36px" } }).form; //創建窗體
  4688. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4689. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4690. })
  4691. _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); } }
  4692. break;
  4693. case "study":
  4694. _formdiv = new U.UF.UI.form(
  4695. "課程中心",
  4696. $$("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
  4697. "id": "study",
  4698. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4699. "onresize": function () { }
  4700. }, {
  4701. closecallback: function () { }
  4702. }, { "style": { "height": "36px" } }).form; //創建窗體
  4703. _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); } }
  4704. break;
  4705. case "mindNetwork": //好友打開
  4706. _formdiv = new U.UF.UI.form(
  4707. "思維網格",
  4708. $$("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 }), {
  4709. "id": "mindNetwork",
  4710. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4711. "onresize": function () { }
  4712. }, {
  4713. closecallback: function () { }
  4714. }, { "style": { "height": "36px" } }).form; //創建窗體
  4715. _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); } }
  4716. break;
  4717. case "train": //好友打開
  4718. _formdiv = new U.UF.UI.form(
  4719. "訓練平臺",
  4720. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4721. "id": "mindNetwork",
  4722. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4723. "onresize": function () { }
  4724. }, {
  4725. closecallback: function () { }
  4726. }, { "style": { "height": "36px" } }).form; //創建窗體
  4727. _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); } }
  4728. break;
  4729. case "teacherClassRoom": //好友打開
  4730. _formdiv = new U.UF.UI.form(
  4731. "實時課堂",
  4732. $$("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 }), {
  4733. "id": "teacherClassRoom",
  4734. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4735. "onresize": function () { }
  4736. }, {
  4737. closecallback: function () { }
  4738. }, { "style": { "height": "36px" } }).form; //創建窗體
  4739. _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); } }
  4740. setTimeout(() => {
  4741. U.UF.F.windowZooming(_formdiv)
  4742. }, 0);
  4743. break;
  4744. }
  4745. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4746. switch (str) {
  4747. case "project": //好友打開
  4748. _formdiv = new U.UF.UI.form(
  4749. "課程管理",
  4750. $$("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 }), {
  4751. "id": "project",
  4752. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4753. "onresize": function () { }
  4754. }, {
  4755. closecallback: function () { }
  4756. }, { "style": { "height": "36px" } }).form; //創建窗體
  4757. _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); } }
  4758. break;
  4759. case "evaluate":
  4760. _formdiv = new U.UF.UI.form(
  4761. "學生評價",
  4762. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4763. "id": "evaluate",
  4764. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4765. "onresize": function () { }
  4766. }, {
  4767. closecallback: function () { }
  4768. }, { "style": { "height": "36px" } }).form; //創建窗體
  4769. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "學生評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4770. break;
  4771. case "notice":
  4772. _formdiv = new U.UF.UI.form(
  4773. "通知公告",
  4774. $$("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 }), {
  4775. "id": "notice",
  4776. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4777. "onresize": function () { }
  4778. }, {
  4779. closecallback: function () { }
  4780. }, { "style": { "height": "36px" } }).form; //創建窗體
  4781. _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); } }
  4782. break;
  4783. case "stuLibrary":
  4784. _formdiv = new U.UF.UI.form(
  4785. "學習資料",
  4786. $$("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 }), {
  4787. "id": "stuLibrary",
  4788. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4789. "onresize": function () { }
  4790. }, {
  4791. closecallback: function () { }
  4792. }, { "style": { "height": "36px" } }).form; //創建窗體
  4793. _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); } }
  4794. break;
  4795. case "program":
  4796. _formdiv = new U.UF.UI.form(
  4797. "編程平臺",
  4798. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4799. "id": "program",
  4800. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4801. "onresize": function () { }
  4802. }, {
  4803. closecallback: function () { }
  4804. }, { "style": { "height": "36px" } }).form; //創建窗體
  4805. _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); } }
  4806. break;
  4807. case "whiteboard":
  4808. _formdiv = new U.UF.UI.form(
  4809. "電子白板",
  4810. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4811. "id": "whiteboard",
  4812. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4813. "onresize": function () { }
  4814. }, {
  4815. closecallback: function () { }
  4816. }, { "style": { "height": "36px" } }).form; //創建窗體
  4817. _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); } }
  4818. break;
  4819. case "investigation":
  4820. _formdiv = new U.UF.UI.form(
  4821. "問卷調查",
  4822. $$("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 }), {
  4823. "id": "investigation",
  4824. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4825. "onresize": function () { }
  4826. }, {
  4827. closecallback: function () { }
  4828. }, { "style": { "height": "36px" } }).form; //創建窗體
  4829. _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); } }
  4830. break;
  4831. case "mind":
  4832. _formdiv = new U.UF.UI.form(
  4833. "思維導圖",
  4834. $$("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"
  4835. "id": "mind",
  4836. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4837. "onresize": function () { }
  4838. }, {
  4839. closecallback: function () { }
  4840. }, { "style": { "height": "36px" } }).form; //創建窗體
  4841. _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); } }
  4842. break;
  4843. case "doc":
  4844. // U.MD.D.I.isRoom();
  4845. _formdiv = new U.UF.UI.form(
  4846. "協同文檔",
  4847. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4848. "id": "doc",
  4849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4850. "onresize": function () { }
  4851. }, {
  4852. closecallback: function () { }
  4853. }, { "style": { "height": "36px" } }).form; //創建窗體
  4854. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4855. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4856. })
  4857. _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); } }
  4858. break;
  4859. case "study":
  4860. _formdiv = new U.UF.UI.form(
  4861. "課程中心",
  4862. $$("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
  4863. "id": "study",
  4864. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4865. "onresize": function () { }
  4866. }, {
  4867. closecallback: function () { }
  4868. }, { "style": { "height": "36px" } }).form; //創建窗體
  4869. _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); } }
  4870. break;
  4871. case "mindNetwork": //好友打開
  4872. _formdiv = new U.UF.UI.form(
  4873. "思維網格",
  4874. $$("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 }), {
  4875. "id": "mindNetwork",
  4876. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4877. "onresize": function () { }
  4878. }, {
  4879. closecallback: function () { }
  4880. }, { "style": { "height": "36px" } }).form; //創建窗體
  4881. _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); } }
  4882. break;
  4883. case "train": //好友打開
  4884. _formdiv = new U.UF.UI.form(
  4885. "訓練平臺",
  4886. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4887. "id": "train",
  4888. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4889. "onresize": function () { }
  4890. }, {
  4891. closecallback: function () { }
  4892. }, { "style": { "height": "36px" } }).form; //創建窗體
  4893. _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); } }
  4894. break;
  4895. case "sys":
  4896. _formdiv = new U.UF.UI.form(
  4897. "目標管理",
  4898. $$("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 }), {
  4899. "id": "sys",
  4900. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4901. "onresize": function () { }
  4902. }, {
  4903. closecallback: function () { }
  4904. }, { "style": { "height": "36px" } }).form; //創建窗體
  4905. _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); } }
  4906. break;
  4907. case "courseDesign":
  4908. _formdiv = new U.UF.UI.form(
  4909. "項目設計",
  4910. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4911. "id": "courseDesign",
  4912. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4913. "onresize": function () { }
  4914. }, {
  4915. closecallback: function () { }
  4916. }, { "style": { "height": "36px" } }).form; //創建窗體
  4917. _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); } }
  4918. break;
  4919. }
  4920. } else if (!_type) {
  4921. switch (str) {
  4922. case "my":
  4923. _formdiv = new U.UF.UI.form(
  4924. "我的資料",
  4925. $$("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 }), {
  4926. "id": "my",
  4927. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4928. "onresize": function () { }
  4929. }, {
  4930. closecallback: function () { }
  4931. }, { "style": { "height": "36px" } }).form; //創建窗體
  4932. _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); } }
  4933. break;
  4934. }
  4935. }
  4936. switch (str) {
  4937. // AIprogram2 AI體驗 aihub.cocorobo.cn
  4938. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  4939. // AIprogram AI編程 ai-blockly.cocorobo.cn
  4940. case "formulaEdi": //公式編輯
  4941. _formdiv = new U.UF.UI.form(
  4942. "公式編輯",
  4943. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4944. "id": "formulaEdi",
  4945. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4946. "onresize": function () { }
  4947. }, {
  4948. closecallback: function () { }
  4949. }, { "style": { "height": "36px" } }).form; //創建窗體
  4950. _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); } }
  4951. break;
  4952. case "molStr": //分子結構
  4953. _formdiv = new U.UF.UI.form(
  4954. "分子結構",
  4955. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4956. "id": "molStr",
  4957. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4958. "onresize": function () { }
  4959. }, {
  4960. closecallback: function () { }
  4961. }, { "style": { "height": "36px" } }).form; //創建窗體
  4962. _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); } }
  4963. break;
  4964. case "timeAxis": //時間軸
  4965. _formdiv = new U.UF.UI.form(
  4966. "時間軸",
  4967. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4968. "id": "timeAxis",
  4969. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4970. "onresize": function () { }
  4971. }, {
  4972. closecallback: function () { }
  4973. }, { "style": { "height": "36px" } }).form; //創建窗體
  4974. _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); } }
  4975. break;
  4976. case "AIprogram2": //AI體驗
  4977. _formdiv = new U.UF.UI.form(
  4978. "AI體驗",
  4979. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4980. "id": "AIprogram2",
  4981. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4982. "onresize": function () { }
  4983. }, {
  4984. closecallback: function () { }
  4985. }, { "style": { "height": "36px" } }).form; //創建窗體
  4986. _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); } }
  4987. break;
  4988. case "Pythonprogram": //python編程
  4989. _formdiv = new U.UF.UI.form(
  4990. "Python編程",
  4991. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4992. "id": "Pythonprogram",
  4993. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4994. "onresize": function () { }
  4995. }, {
  4996. closecallback: function () { }
  4997. }, { "style": { "height": "36px" } }).form; //創建窗體
  4998. _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); } }
  4999. break;
  5000. case "AIprogram": //ai編程
  5001. _formdiv = new U.UF.UI.form(
  5002. "AI編程平臺",
  5003. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  5004. "id": "AIprogram",
  5005. "style": { "width": "70%", "height": "90%", "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/AIprogram.png)" }, "name": "AI編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5011. break;
  5012. case "CocoPi": //CocoPi
  5013. _formdiv = new U.UF.UI.form(
  5014. "CocoPi",
  5015. $$("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" }), {
  5016. "id": "CocoPi",
  5017. "style": { "width": "70%", "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/cocopi.png)" }, "name": "CocoPi", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5023. break;
  5024. case "Wood": //Wood
  5025. _formdiv = new U.UF.UI.form(
  5026. "海龜編程",
  5027. $$("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/" }), {
  5028. "id": "Wood",
  5029. "style": { "width": "70%", "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/Wood.png)" }, "name": "海龜編程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5035. break;
  5036. case "car": //模擬駕駛
  5037. _formdiv = new U.UF.UI.form(
  5038. "模擬駕駛",
  5039. $$("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/" }), {
  5040. "id": "car",
  5041. "style": { "width": "70%", "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/car.png)" }, "name": "模擬駕駛", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5047. break;
  5048. case "lineSearch": //路徑搜索
  5049. _formdiv = new U.UF.UI.form(
  5050. "路徑搜索",
  5051. $$("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/" }), {
  5052. "id": "lineSearch",
  5053. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5054. "onresize": function () { }
  5055. }, {
  5056. closecallback: function () { }
  5057. }, { "style": { "height": "36px" } }).form; //創建窗體
  5058. _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); } }
  5059. break;
  5060. case "deepLearning": //深度學習
  5061. _formdiv = new U.UF.UI.form(
  5062. "深度學習",
  5063. $$("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/#" }), {
  5064. "id": "deepLearning",
  5065. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5066. "onresize": function () { }
  5067. }, {
  5068. closecallback: function () { }
  5069. }, { "style": { "height": "36px" } }).form; //創建窗體
  5070. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度學習", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5071. break;
  5072. case "allHistory": //深度學習
  5073. _formdiv = new U.UF.UI.form(
  5074. "全歷史",
  5075. $$("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/" }), {
  5076. "id": "allHistory",
  5077. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5078. "onresize": function () { }
  5079. }, {
  5080. closecallback: function () { }
  5081. }, { "style": { "height": "36px" } }).form; //創建窗體
  5082. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全歷史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5083. break;
  5084. case "chatPDF": //ai編程
  5085. _formdiv = new U.UF.UI.form(
  5086. "chatPDF",
  5087. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  5088. "id": "chatPDF",
  5089. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5090. "onresize": function () { }
  5091. }, {
  5092. closecallback: function () { }
  5093. }, { "style": { "height": "36px" } }).form; //創建窗體
  5094. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5095. break;
  5096. case "resources": //國家教育
  5097. _formdiv = new U.UF.UI.form(
  5098. "國家教育",
  5099. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  5100. "id": "resources",
  5101. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5102. "onresize": function () { }
  5103. }, {
  5104. closecallback: function () { }
  5105. }, { "style": { "height": "36px" } }).form; //創建窗體
  5106. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "國家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5107. break;
  5108. case "codeEdit": //源碼編輯
  5109. _formdiv = new U.UF.UI.form(
  5110. "源碼編輯",
  5111. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  5112. "id": "codeEdit",
  5113. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5114. "onresize": function () { }
  5115. }, {
  5116. closecallback: function () { }
  5117. }, { "style": { "height": "36px" } }).form; //創建窗體
  5118. _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); } }
  5119. break; //
  5120. case "MindMap": //MindMap
  5121. _formdiv = new U.UF.UI.form(
  5122. "MindMap",
  5123. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  5124. "id": "MindMap",
  5125. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5126. "onresize": function () { }
  5127. }, {
  5128. closecallback: function () { }
  5129. }, { "style": { "height": "36px" } }).form; //創建窗體
  5130. _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); } }
  5131. break;
  5132. case "netWorkPanel": //netWorkPanel
  5133. _formdiv = new U.UF.UI.form(
  5134. "netWorkPanel",
  5135. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  5136. "id": "netWorkPanel",
  5137. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5138. "onresize": function () { }
  5139. }, {
  5140. closecallback: function () { }
  5141. }, { "style": { "height": "36px" } }).form; //創建窗體
  5142. _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); } }
  5143. break;
  5144. case "GeoGebra": //GeoGebra
  5145. _formdiv = new U.UF.UI.form(
  5146. "GeoGebra",
  5147. $$("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" }), {
  5148. "id": "GeoGebra",
  5149. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5150. "onresize": function () { }
  5151. }, {
  5152. closecallback: function () { }
  5153. }, { "style": { "height": "36px" } }).form; //創建窗體
  5154. _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); } }
  5155. break;
  5156. case "translation": //翻譯
  5157. _formdiv = new U.UF.UI.form(
  5158. "翻譯",
  5159. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  5160. "id": "translation",
  5161. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5162. "onresize": function () { }
  5163. }, {
  5164. closecallback: function () { }
  5165. }, { "style": { "height": "36px" } }).form; //創建窗體
  5166. _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); } }
  5167. break;
  5168. case "mohe": //魔盒
  5169. _formdiv = new U.UF.UI.form(
  5170. "魔盒識字",
  5171. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  5172. "id": "mohe",
  5173. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5174. "onresize": function () { }
  5175. }, {
  5176. closecallback: function () { }
  5177. }, { "style": { "height": "36px" } }).form; //創建窗體
  5178. _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); } }
  5179. break;
  5180. case "24game": //24點
  5181. _formdiv = new U.UF.UI.form(
  5182. "24點",
  5183. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  5184. "id": "24game",
  5185. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5186. "onresize": function () { }
  5187. }, {
  5188. closecallback: function () { }
  5189. }, { "style": { "height": "36px" } }).form; //創建窗體
  5190. _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); } }
  5191. break;
  5192. case "case":
  5193. _formdiv = new U.UF.UI.form(
  5194. "課程進展",
  5195. $$("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 }), {
  5196. "id": "case",
  5197. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5198. "onresize": function () { }
  5199. }, {
  5200. closecallback: function () { }
  5201. }, { "style": { "height": "36px" } }).form; //創建窗體
  5202. _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); } }
  5203. break;
  5204. case "snf":
  5205. _formdiv = new U.UF.UI.form(
  5206. "賽諾梵",
  5207. $$("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" }), {
  5208. "id": "snf",
  5209. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5210. "onresize": function () { }
  5211. }, {
  5212. closecallback: function () { }
  5213. }, { "style": { "height": "36px" } }).form; //創建窗體
  5214. _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); } }
  5215. break;
  5216. case "hanFamily":
  5217. _formdiv = new U.UF.UI.form(
  5218. "漢字家族",
  5219. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  5220. "id": "hanFamily",
  5221. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5222. "onresize": function () { }
  5223. }, {
  5224. closecallback: function () { }
  5225. }, { "style": { "height": "36px" } }).form; //創建窗體
  5226. _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); } }
  5227. break;
  5228. case "hanClassics":
  5229. _formdiv = new U.UF.UI.form(
  5230. "國學經典",
  5231. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  5232. "id": "hanClassics",
  5233. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5234. "onresize": function () { }
  5235. }, {
  5236. closecallback: function () { }
  5237. }, { "style": { "height": "36px" } }).form; //創建窗體
  5238. _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); } }
  5239. break;
  5240. case "hanTraining":
  5241. _formdiv = new U.UF.UI.form(
  5242. "筆畫訓練",
  5243. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  5244. "id": "hanTraining",
  5245. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5246. "onresize": function () { }
  5247. }, {
  5248. closecallback: function () { }
  5249. }, { "style": { "height": "36px" } }).form; //創建窗體
  5250. _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); } }
  5251. break;
  5252. case "hanClass":
  5253. _formdiv = new U.UF.UI.form(
  5254. "書法課堂",
  5255. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  5256. "id": "hanClass",
  5257. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5258. "onresize": function () { }
  5259. }, {
  5260. closecallback: function () { }
  5261. }, { "style": { "height": "36px" } }).form; //創建窗體
  5262. _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); } }
  5263. break;
  5264. case "han":
  5265. _formdiv = new U.UF.UI.form(
  5266. "漢字宮",
  5267. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  5268. "id": "han",
  5269. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5270. "onresize": function () { }
  5271. }, {
  5272. closecallback: function () { }
  5273. }, { "style": { "height": "36px" } }).form; //創建窗體
  5274. _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); } }
  5275. break;
  5276. case "projectGM": //課程管理
  5277. _formdiv = new U.UF.UI.form(
  5278. "課程管理",
  5279. $$("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 }), {
  5280. "id": "projectGM",
  5281. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5282. "onresize": function () { }
  5283. }, {
  5284. closecallback: function () { }
  5285. }, { "style": { "height": "36px" } }).form; //創建窗體
  5286. _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); } }
  5287. break;
  5288. case "studyGM": //課程中心
  5289. _formdiv = new U.UF.UI.form(
  5290. "課程中心",
  5291. $$("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
  5292. "id": "study",
  5293. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5294. "onresize": function () { }
  5295. }, {
  5296. closecallback: function () { }
  5297. }, { "style": { "height": "36px" } }).form; //創建窗體
  5298. _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); } }
  5299. break;
  5300. // studentGM
  5301. case "studentGM": //學生管理
  5302. _formdiv = new U.UF.UI.form(
  5303. "學生管理",
  5304. $$("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 }), {
  5305. "id": "studentGM",
  5306. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5307. "onresize": function () { }
  5308. }, {
  5309. closecallback: function () { }
  5310. }, { "style": { "height": "36px" } }).form; //創建窗體
  5311. _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); } }
  5312. break;
  5313. case "evaluateGM": //學生評價
  5314. _formdiv = new U.UF.UI.form(
  5315. "學生評價",
  5316. $$("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 }), {
  5317. "id": "evaluateGM",
  5318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5319. "onresize": function () { }
  5320. }, {
  5321. closecallback: function () { }
  5322. }, { "style": { "height": "36px" } }).form; //創建窗體
  5323. _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); } }
  5324. break;
  5325. // classGM
  5326. case "classGM": //班級管理
  5327. _formdiv = new U.UF.UI.form(
  5328. "班級管理",
  5329. $$("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 }), {
  5330. "id": "classGM",
  5331. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5332. "onresize": function () { }
  5333. }, {
  5334. closecallback: function () { }
  5335. }, { "style": { "height": "36px" } }).form; //創建窗體
  5336. _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); } }
  5337. break;
  5338. // dataGM
  5339. case "dataGM":
  5340. _formdiv = new U.UF.UI.form(
  5341. "我的資料",
  5342. $$("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 }), {
  5343. "id": "dataGM",
  5344. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5345. "onresize": function () { }
  5346. }, {
  5347. closecallback: function () { }
  5348. }, { "style": { "height": "36px" } }).form; //創建窗體
  5349. _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); } }
  5350. break;
  5351. // caseGM
  5352. case "caseGM": //課程進展
  5353. _formdiv = new U.UF.UI.form(
  5354. "課程進展",
  5355. $$("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 }), {
  5356. "id": "caseGM",
  5357. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5358. "onresize": function () { }
  5359. }, {
  5360. closecallback: function () { }
  5361. }, { "style": { "height": "36px" } }).form; //創建窗體
  5362. _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); } }
  5363. break;
  5364. // meterialGM
  5365. case "meterialGM": //素材庫
  5366. _formdiv = new U.UF.UI.form(
  5367. "素材庫",
  5368. $$("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 }), {
  5369. "id": "meterialGM",
  5370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5371. "onresize": function () { }
  5372. }, {
  5373. closecallback: function () { }
  5374. }, { "style": { "height": "36px" } }).form; //創建窗體
  5375. _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); } }
  5376. break;
  5377. // evaluateSGM
  5378. case "evaluateSGM": //我的評價
  5379. _formdiv = new U.UF.UI.form(
  5380. "我的評價",
  5381. $$("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 }), {
  5382. "id": "evaluateSGM",
  5383. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5384. "onresize": function () { }
  5385. }, {
  5386. closecallback: function () { }
  5387. }, { "style": { "height": "36px" } }).form; //創建窗體
  5388. _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); } }
  5389. break;
  5390. case "jupyter": //jupyter
  5391. _formdiv = new U.UF.UI.form(
  5392. "jupyter",
  5393. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  5394. "id": "jupyter",
  5395. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5396. "onresize": function () { }
  5397. }, {
  5398. closecallback: function () { }
  5399. }, { "style": { "height": "36px" } }).form; //創建窗體
  5400. _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); } }
  5401. break;
  5402. case "number": //數字實驗室
  5403. _formdiv = new U.UF.UI.form(
  5404. "數字實驗室",
  5405. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  5406. "id": "number",
  5407. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5408. "onresize": function () { }
  5409. }, {
  5410. closecallback: function () { }
  5411. }, { "style": { "height": "36px" } }).form; //創建窗體
  5412. _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); } }
  5413. break;
  5414. case "studentCourse": //項目管理 學生
  5415. _formdiv = new U.UF.UI.form(
  5416. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  5417. $$("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 }), {
  5418. "id": "studentCourse",
  5419. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5420. "onresize": function () { }
  5421. }, {
  5422. closecallback: function () { }
  5423. }, { "style": { "height": "36px" } }).form; //創建窗體
  5424. _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); } }
  5425. break;
  5426. case "studentCourseS": //項目管理 老師
  5427. _formdiv = new U.UF.UI.form(
  5428. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  5429. $$("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 }), {
  5430. "id": "studentCourseS",
  5431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5432. "onresize": function () { }
  5433. }, {
  5434. closecallback: function () { }
  5435. }, { "style": { "height": "36px" } }).form; //創建窗體
  5436. _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); } }
  5437. break;
  5438. case "studentIndex": //項目中心
  5439. _formdiv = new U.UF.UI.form(
  5440. "項目中心",
  5441. $$("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 }), {
  5442. "id": "studentIndex",
  5443. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5444. "onresize": function () { }
  5445. }, {
  5446. closecallback: function () { }
  5447. }, { "style": { "height": "36px" } }).form; //創建窗體
  5448. _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); } }
  5449. break;
  5450. case "CaseDesignS":
  5451. _formdiv = new U.UF.UI.form(
  5452. "項目進展",
  5453. $$("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 }), {
  5454. "id": "case",
  5455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5456. "onresize": function () { }
  5457. }, {
  5458. closecallback: function () { }
  5459. }, { "style": { "height": "36px" } }).form; //創建窗體
  5460. _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); } }
  5461. break;
  5462. case "tcStudent": //騰訊學生管理
  5463. _formdiv = new U.UF.UI.form(
  5464. "學生管理",
  5465. $$("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 }), {
  5466. "id": "tcStudent",
  5467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5468. "onresize": function () { }
  5469. }, {
  5470. closecallback: function () { }
  5471. }, { "style": { "height": "36px" } }).form; //創建窗體
  5472. _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); } }
  5473. break;
  5474. case "tcSchool": //騰訊學校管理
  5475. _formdiv = new U.UF.UI.form(
  5476. "學校管理",
  5477. $$("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 }), {
  5478. "id": "tcSchool",
  5479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5480. "onresize": function () { }
  5481. }, {
  5482. closecallback: function () { }
  5483. }, { "style": { "height": "36px" } }).form; //創建窗體
  5484. _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); } }
  5485. break;
  5486. case "tcTeacher": //騰訊學校管理
  5487. _formdiv = new U.UF.UI.form(
  5488. "教師管理",
  5489. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5490. "id": "tcTeacher",
  5491. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5492. "onresize": function () { }
  5493. }, {
  5494. closecallback: function () { }
  5495. }, { "style": { "height": "36px" } }).form; //創建窗體
  5496. _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); } }
  5497. break;
  5498. case "tcData": //騰訊我的資料
  5499. _formdiv = new U.UF.UI.form(
  5500. "我的資料",
  5501. $$("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 }), {
  5502. "id": "tcData",
  5503. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5504. "onresize": function () { }
  5505. }, {
  5506. closecallback: function () { }
  5507. }, { "style": { "height": "36px" } }).form; //創建窗體
  5508. _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); } }
  5509. break;
  5510. case "tcNotice": //騰訊消息通知
  5511. _formdiv = new U.UF.UI.form(
  5512. "消息通知",
  5513. $$("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 }), {
  5514. "id": "tcNotice",
  5515. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5516. "onresize": function () { }
  5517. }, {
  5518. closecallback: function () { }
  5519. }, { "style": { "height": "36px" } }).form; //創建窗體
  5520. _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); } }
  5521. break;
  5522. case "myReport": //好友打開
  5523. _formdiv = new U.UF.UI.form(
  5524. "我的評價",
  5525. $$("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 }), {
  5526. "id": "myReport",
  5527. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5528. "onresize": function () { }
  5529. }, {
  5530. closecallback: function () { }
  5531. }, { "style": { "height": "36px" } }).form; //創建窗體
  5532. _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); } }
  5533. break;
  5534. case "learnAna": //好友打開
  5535. _formdiv = new U.UF.UI.form(
  5536. "學習分析",
  5537. $$("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 }), {
  5538. "id": "learnAna",
  5539. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5540. "onresize": function () { }
  5541. }, {
  5542. closecallback: function () { }
  5543. }, { "style": { "height": "36px" } }).form; //創建窗體
  5544. _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); } }
  5545. break;
  5546. case "AIChat": //AI共創
  5547. _formdiv = new U.UF.UI.form(
  5548. "AI共創",
  5549. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  5550. "id": "AIChat",
  5551. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  5552. "onresize": function () { }
  5553. }, {
  5554. istop: true,
  5555. closecallback: function () { $("#aichat_icon").remove(); },
  5556. narrowcallback: function () {
  5557. if (!$("#aichat_icon")[0]) {
  5558. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  5559. }
  5560. },
  5561. }, { "style": { "height": "36px" } }).form; //創建窗體
  5562. _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); } }
  5563. break;
  5564. case "ainew": //AI共創
  5565. _formdiv = new U.UF.UI.form(
  5566. "AI協同",
  5567. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  5568. "id": "ainew",
  5569. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5570. "onresize": function () { }
  5571. }, {
  5572. closecallback: function () { }
  5573. }, { "style": { "height": "36px" } }).form; //創建窗體
  5574. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIChat.png)" }, "name": "AI協同", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5575. break;
  5576. case "gpt4": //gpt4
  5577. _formdiv = new U.UF.UI.form(
  5578. "AI助手",
  5579. $$("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 }), {
  5580. "id": "gpt4",
  5581. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5582. "onresize": function () { }
  5583. }, {
  5584. closecallback: function () { }
  5585. }, { "style": { "height": "36px" } }).form; //創建窗體
  5586. _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); } }
  5587. break;
  5588. case "aigpt": //gpt4
  5589. _formdiv = new U.UF.UI.form(
  5590. "AI助手+",
  5591. $$("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 }), {
  5592. "id": "aigpt",
  5593. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5594. "onresize": function () { }
  5595. }, {
  5596. closecallback: function () { }
  5597. }, { "style": { "height": "36px" } }).form; //創建窗體
  5598. _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); } }
  5599. break;
  5600. case "aiKnowledge": //aiKnowledge
  5601. _formdiv = new U.UF.UI.form(
  5602. "知识建构",
  5603. $$("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 }), {
  5604. "id": "aiKnowledge",
  5605. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5606. "onresize": function () { }
  5607. }, {
  5608. closecallback: function () { }
  5609. }, { "style": { "height": "36px" } }).form; //创建窗体
  5610. _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); } }
  5611. break;
  5612. case "futureClass": //AI共创
  5613. _formdiv = new U.UF.UI.form(
  5614. "協同建構",
  5615. $$("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
  5616. "id": "synergyCourse",
  5617. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5618. "onresize": function () { }
  5619. }, {
  5620. closecallback: function () {
  5621. $("iframe", _formdiv)[0].contentWindow.loginout();
  5622. }
  5623. }, { "style": { "height": "36px" } }).form; //創建窗體
  5624. _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); } }
  5625. break;
  5626. case "aiagent": //ai agent
  5627. _formdiv = new U.UF.UI.form(
  5628. "AI Agent",
  5629. $$("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" }), {
  5630. "id": "AIAgent",
  5631. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5632. "onresize": function () { }
  5633. }, {
  5634. closecallback: function () { }
  5635. }, { "style": { "height": "36px" } }).form; //創建窗體
  5636. _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); } }
  5637. break;
  5638. case "dataBoard": //數據看板
  5639. _formdiv = new U.UF.UI.form(
  5640. "數據看板",
  5641. $$("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 }), {
  5642. "id": "dataBoard",
  5643. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5644. "onresize": function () { }
  5645. }, {
  5646. closecallback: function () { }
  5647. }, { "style": { "height": "36px" } }).form; //創建窗體
  5648. _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); } }
  5649. break;
  5650. case "dataBoardSies": //數據融合
  5651. _formdiv = new U.UF.UI.form(
  5652. "數據融合",
  5653. $$("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 }), {
  5654. "id": "dataBoardSies",
  5655. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5656. "onresize": function () { }
  5657. }, {
  5658. closecallback: function () { }
  5659. }, { "style": { "height": "36px" } }).form; //創建窗體
  5660. _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); } }
  5661. break;
  5662. case "dataBoardNew": //數據看板
  5663. _formdiv = new U.UF.UI.form(
  5664. "綜合看板",
  5665. $$("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 }), {
  5666. "id": "dataBoardNew",
  5667. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5668. "onresize": function () { }
  5669. }, {
  5670. closecallback: function () { }
  5671. }, { "style": { "height": "36px" } }).form; //創建窗體
  5672. _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); } }
  5673. break;
  5674. case "dataBoardTest": //數據看板
  5675. _formdiv = new U.UF.UI.form(
  5676. "評測看板",
  5677. $$("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 }), {
  5678. "id": "dataBoardTest",
  5679. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5680. "onresize": function () { }
  5681. }, {
  5682. closecallback: function () { }
  5683. }, { "style": { "height": "36px" } }).form; //創建窗體
  5684. _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); } }
  5685. break;
  5686. case "AIAnalyse": //AI共創
  5687. _formdiv = new U.UF.UI.form(
  5688. "AI分析",
  5689. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  5690. "id": "AIAnalyse",
  5691. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5692. "onresize": function () { }
  5693. }, {
  5694. closecallback: function () { }
  5695. }, { "style": { "height": "36px" } }).form; //創建窗體
  5696. _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); } }
  5697. break;
  5698. case "studioCourse": //AI共創
  5699. _formdiv = new U.UF.UI.form(
  5700. "工作管理",
  5701. $$("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 }), {
  5702. "id": "studioCourse",
  5703. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5704. "onresize": function () { }
  5705. }, {
  5706. closecallback: function () { }
  5707. }, { "style": { "height": "36px" } }).form; //創建窗體
  5708. _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); } }
  5709. break;
  5710. case "studioIndex": //AI共創
  5711. _formdiv = new U.UF.UI.form(
  5712. "工作中心",
  5713. $$("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 }), {
  5714. "id": "studioIndex",
  5715. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5716. "onresize": function () { }
  5717. }, {
  5718. closecallback: function () { }
  5719. }, { "style": { "height": "36px" } }).form; //創建窗體
  5720. _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); } }
  5721. break;
  5722. case "source":
  5723. _formdiv = new U.UF.UI.form(
  5724. "教學資源",
  5725. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacherSource?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  5726. "id": "source",
  5727. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5728. "onresize": function () { }
  5729. }, {
  5730. closecallback: function () { }
  5731. }, { "style": { "height": "36px" } }).form; //創建窗體
  5732. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教學資源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5733. break;
  5734. case "testTeacher":
  5735. _formdiv = new U.UF.UI.form(
  5736. "教師管理",
  5737. $$("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 }), {
  5738. "id": "testTeacher",
  5739. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5740. "onresize": function () { }
  5741. }, {
  5742. closecallback: function () { }
  5743. }, { "style": { "height": "36px" } }).form; //創建窗體
  5744. _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); } }
  5745. break;
  5746. case "testStudent":
  5747. _formdiv = new U.UF.UI.form(
  5748. "教師中心",
  5749. $$("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 }), {
  5750. "id": "testStudent",
  5751. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5752. "onresize": function () { }
  5753. }, {
  5754. closecallback: function () { }
  5755. }, { "style": { "height": "36px" } }).form; //創建窗體
  5756. _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); } }
  5757. break;
  5758. case "testTeacherSies":
  5759. _formdiv = new U.UF.UI.form(
  5760. "教師管理",
  5761. $$("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 }), {
  5762. "id": "testTeacherSies",
  5763. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5764. "onresize": function () { }
  5765. }, {
  5766. closecallback: function () { }
  5767. }, { "style": { "height": "36px" } }).form; //創建窗體
  5768. _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); } }
  5769. break;
  5770. case "testStudentSies":
  5771. _formdiv = new U.UF.UI.form(
  5772. "教師中心",
  5773. $$("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 }), {
  5774. "id": "testStudentSies",
  5775. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5776. "onresize": function () { }
  5777. }, {
  5778. closecallback: function () { }
  5779. }, { "style": { "height": "36px" } }).form; //創建窗體
  5780. _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); } }
  5781. break;
  5782. case "ytpbl": //消息通知
  5783. _formdiv = new U.UF.UI.form(
  5784. "案例征集",
  5785. $$("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 }), {
  5786. "id": "ytpbl",
  5787. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5788. "onresize": function () { }
  5789. }, {
  5790. closecallback: function () { }
  5791. }, { "style": { "height": "36px" } }).form; //創建窗體
  5792. _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); } }
  5793. // 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");
  5794. break;
  5795. case "aiCourseResource": //人工智能窗體
  5796. _formdiv = new U.UF.UI.form(
  5797. false,
  5798. $$("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 }), {
  5799. "id": "aiCourseResource",
  5800. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5801. "onresize": function () { },
  5802. "isdrag": false,
  5803. }, {
  5804. closecallback: function () { }
  5805. }, { "style": { "height": "36px" } }).form; //創建窗體
  5806. _taskbar = ''
  5807. break;
  5808. case "szdjgCocooroboX": //圖形化編程
  5809. _formdiv = new U.UF.UI.form(
  5810. "圖形化編程",
  5811. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/index.html" }), {
  5812. "id": "szdjgCocooroboX",
  5813. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5814. "onresize": function () { }
  5815. }, {
  5816. closecallback: function () { }
  5817. }, { "style": { "height": "36px" } }).form; //創建窗體
  5818. _taskbar = ''
  5819. break;
  5820. case "szdjgPython": //python編程
  5821. _formdiv = new U.UF.UI.form(
  5822. "Python編程",
  5823. $$("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" }), {
  5824. "id": "szdjgPython",
  5825. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5826. "onresize": function () { }
  5827. }, {
  5828. closecallback: function () { }
  5829. }, { "style": { "height": "36px" } }).form; //創建窗體
  5830. _taskbar = ''
  5831. break;
  5832. case "Record":
  5833. _formdiv = new U.UF.UI.form(
  5834. "觀察記錄",
  5835. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5836. "id": "Record",
  5837. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5838. "onresize": function () { }
  5839. }, {
  5840. closecallback: function () { }
  5841. }, { "style": { "height": "36px" } }).form; //創建窗體
  5842. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "觀察記錄", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5843. break;
  5844. case "aigptCourse":
  5845. _formdiv = new U.UF.UI.form(
  5846. "AI智能體",
  5847. $$("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' }), {
  5848. "id": "aigptCourse",
  5849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5850. "onresize": function () { }
  5851. }, {
  5852. closecallback: function () { }
  5853. }, { "style": { "height": "36px" } }).form; //創建窗體
  5854. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigptCourse.png)" }, "name": "AI智能體", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5855. break;
  5856. case "classroomObservation":
  5857. _formdiv = new U.UF.UI.form(
  5858. "課堂觀察",
  5859. $$("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 }), {
  5860. "id": "classroomObservation",
  5861. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5862. "onresize": function () { }
  5863. }, {
  5864. closecallback: function () { }
  5865. }, { "style": { "height": "36px" } }).form; //創建窗體
  5866. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classroomObservation.png)" }, "name": "課堂觀察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5867. break;
  5868. case "pblCourse":
  5869. _formdiv = new U.UF.UI.form(
  5870. "學生PBL",
  5871. $$("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 }), {
  5872. "id": "pblCourse",
  5873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5874. "onresize": function () { }
  5875. }, {
  5876. closecallback: function () { }
  5877. }, { "style": { "height": "36px" } }).form; //創建窗體
  5878. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/pblCourse.png)" }, "name": "課堂觀察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5879. break;
  5880. }
  5881. //U.MD.D.I.openClick(str);
  5882. //如果有任務欄信息
  5883. if (_taskbar) {
  5884. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5885. }
  5886. }
  5887. // U.MD.D.I.openClick = function(str){
  5888. // var click = '';
  5889. // switch(str){
  5890. // case 'friend':
  5891. // click = '我的好友';
  5892. // break;
  5893. // case 'domain':
  5894. // click = '域名管理';
  5895. // break;
  5896. // case 'disk':
  5897. // click = '我的雲盤';
  5898. // break;
  5899. // case 'word':
  5900. // click = 'Word';
  5901. // break;
  5902. // case 'excel':
  5903. // click = 'Execl';
  5904. // break;
  5905. // case 'txt':
  5906. // click = '文本文件';
  5907. // break;
  5908. // case 'lookupFriend':
  5909. // click = '查找好友';
  5910. // break;
  5911. // case 'ftp':
  5912. // click = 'FTP';
  5913. // break;
  5914. // case 'group':
  5915. // click = '群組';
  5916. // break;
  5917. // case 'set':
  5918. // click = '我的設置';
  5919. // break;
  5920. // case 'systemSet':
  5921. // click = '系統設置';
  5922. // break;
  5923. // case 'boomYun':
  5924. // click = '互聯辦公';
  5925. // break;
  5926. // case 'xz':
  5927. // click = '雲端下載';
  5928. // break;
  5929. // case 'client':
  5930. // click = '有思瀏覽器';
  5931. // break;
  5932. // case 'backEndProgramming':
  5933. // click = '在線後臺編程';
  5934. // break;
  5935. // case 'frontEndProgramming':
  5936. // click = '在線前端編程';
  5937. // break;
  5938. // default: break;
  5939. // }
  5940. // if(U.MD.D.I.Ip && click){
  5941. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5942. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5943. // })
  5944. // }
  5945. // }
  5946. /**
  5947. *函數作用:ajax簡易函數,使用post格式
  5948. *@param url {data} 後臺地址
  5949. *@param data {data} 參數json
  5950. *@param fn {data} 回調函數
  5951. *
  5952. */
  5953. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5954. // var xhr = new XMLHttpRequest();
  5955. // xhr.open("GET",url,true);
  5956. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5957. // xhr.onreadystatechange = function(){
  5958. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5959. // fn.call(this,xhr.responseText);
  5960. // }
  5961. // };
  5962. // xhr.send();
  5963. // }
  5964. /*判斷是否是內網IP*/
  5965. // U.MD.D.I.isInnerIPFn = function(str){
  5966. // var curPageUrl = str;
  5967. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  5968. // curPageUrl =curPageUrl.replace(reg1,'');
  5969. // // console.log('curPageUrl-1 '+curPageUrl);
  5970. // var reg2 = /\:+/g;//替換冒號為一點
  5971. // curPageUrl =curPageUrl.replace(reg2,'.');
  5972. // // console.log('curPageUrl-2 '+curPageUrl);
  5973. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  5974. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5975. // if(curPageUrl[2] != '16'){
  5976. // return ipAddress;
  5977. // }else{
  5978. // return false;
  5979. // }
  5980. // }
  5981. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5982. // //compatibility for firefox and chrome
  5983. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5984. // var pc = new myPeerConnection({
  5985. // iceServers: []
  5986. // }),
  5987. // noop = function() {},
  5988. // localIPs = {},
  5989. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5990. // key;
  5991. // function iterateIP(ip) {
  5992. // if (!localIPs[ip]) onNewIP(ip);
  5993. // localIPs[ip] = true;
  5994. // }
  5995. // //create a bogus data channel
  5996. // pc.createDataChannel("");
  5997. // // create offer and set local description
  5998. // pc.createOffer().then(function(sdp) {
  5999. // sdp.sdp.split('\n').forEach(function(line) {
  6000. // if (line.indexOf('candidate') < 0) return;
  6001. // line.match(ipRegex).forEach(iterateIP);
  6002. // });
  6003. // pc.setLocalDescription(sdp, noop, noop);
  6004. // }).catch(function(reason) {
  6005. // // An error occurred, so handle the failure to connect
  6006. // });
  6007. // //sten for candidate events
  6008. // pc.onicecandidate = function(ice) {
  6009. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  6010. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  6011. // };
  6012. // }
  6013. // U.MD.D.I.getUserIpBool = function(callback){
  6014. // U.MD.D.I.getUserIP(function(ip){
  6015. // alert("Got IP! :" + ip);
  6016. // });
  6017. //}
  6018. //#endregion
  6019. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  6020. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6021. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6022. _userinfo = US.userInfo, //登錄用戶信息
  6023. _userid = US.userInfo.userid //登錄用戶id
  6024. let _iframe;
  6025. let _cid = cid,
  6026. _stage = stage,
  6027. _task = task,
  6028. _tool = tool;
  6029. var _jie = $$("div", {
  6030. "style": {
  6031. "position": "absolute",
  6032. "bottom": "50px",
  6033. "right": "50px",
  6034. "zIndex": "9999",
  6035. "backgroundColor": "#2268bc",
  6036. "color": "#fff",
  6037. "padding": "12px 20px",
  6038. "cursor": "pointer",
  6039. "borderRadius": "4px",
  6040. },
  6041. "innerHTML": "提交作業"
  6042. })
  6043. let aTool = ''
  6044. let _loading = document.createElement('div')
  6045. _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;"
  6046. // _loading.id = "";
  6047. let _lchild = document.createElement('div')
  6048. let _limg = document.createElement('img')
  6049. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6050. _limg.style = "width: 26px;margin-right: 10px;"
  6051. _lchild.appendChild(_limg)
  6052. let _lspan = document.createElement('span')
  6053. _lspan.innerHTML = "上傳中..."
  6054. _lchild.appendChild(_lspan)
  6055. _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%);"
  6056. _loading.appendChild(_lchild)
  6057. var _box = $$('div', {
  6058. "style": {
  6059. "position": "relative",
  6060. "width": "100%",
  6061. "height": "100%",
  6062. },
  6063. })
  6064. _box.appendChild(_loading)
  6065. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  6066. switch (str) {
  6067. case "whiteboard":
  6068. aTool = 1;
  6069. _iframe = $$("iframe", {
  6070. "frameborder": "no",
  6071. "border": "0",
  6072. "scrolling ": "no",
  6073. "style": {
  6074. "cssText": "border:0;width:100%;height:100%"
  6075. },
  6076. "src": "https://iwb.cocorobo.hk/"
  6077. })
  6078. _box.appendChild(_iframe);
  6079. _box.appendChild(_jie);
  6080. _formdiv = new U.UF.UI.form(
  6081. "電子白板",
  6082. _box, {
  6083. "id": "whiteboard" + cid + stage + task + tool,
  6084. "style": {
  6085. "width": "90%",
  6086. "height": "90%",
  6087. "overflow": 'hidden'
  6088. },
  6089. "onresize": function () { }
  6090. }, {
  6091. closecallback: function () { }
  6092. }, {
  6093. "style": {
  6094. "height": "36px"
  6095. }
  6096. }).form; //創建窗體
  6097. _taskbar = {
  6098. "id": str + _formdiv.id,
  6099. "style": {
  6100. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6101. },
  6102. "name": "電子白板",
  6103. "forms": _formdiv,
  6104. "click": function () {
  6105. U.MD.D.I.openApplication(str, obj, info);
  6106. }
  6107. }
  6108. break;
  6109. case "mind":
  6110. aTool = 3;
  6111. _iframe = $$("iframe", {
  6112. "frameborder": "no",
  6113. "border": "0",
  6114. "scrolling ": "no",
  6115. "style": {
  6116. "cssText": "border:0;width:100%;height:100%"
  6117. },
  6118. "src": "/kityminder-editor/dist/index.html"
  6119. })
  6120. _box.appendChild(_iframe);
  6121. _box.appendChild(_jie);
  6122. _formdiv = new U.UF.UI.form(
  6123. "思維導圖",
  6124. _box, { //"/jsmind/example/demo.html"
  6125. "id": "mind" + cid + stage + task + tool,
  6126. "style": {
  6127. "width": "90%",
  6128. "height": "90%",
  6129. "overflow": 'hidden'
  6130. },
  6131. "onresize": function () { }
  6132. }, {
  6133. closecallback: function () { }
  6134. }, {
  6135. "style": {
  6136. "height": "36px"
  6137. }
  6138. }).form; //創建窗體
  6139. _taskbar = {
  6140. "id": str + _formdiv.id,
  6141. "style": {
  6142. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6143. },
  6144. "name": "思維導圖",
  6145. "forms": _formdiv,
  6146. "click": function () {
  6147. U.MD.D.I.openApplication(str, obj, info);
  6148. }
  6149. }
  6150. break;
  6151. case "MindMap":
  6152. aTool = 3;
  6153. _iframe = $$("iframe", {
  6154. "frameborder": "no",
  6155. "border": "0",
  6156. "scrolling ": "no",
  6157. "style": {
  6158. "cssText": "border:0;width:100%;height:100%"
  6159. },
  6160. "src": "//cloud.cocorobo.hk/mind/"
  6161. })
  6162. _box.appendChild(_iframe);
  6163. _box.appendChild(_jie);
  6164. _formdiv = new U.UF.UI.form(
  6165. "思維導圖",
  6166. _box, { //"/jsmind/example/demo.html"
  6167. "id": "mind" + cid + stage + task + tool,
  6168. "style": {
  6169. "width": "90%",
  6170. "height": "90%",
  6171. "overflow": 'hidden'
  6172. },
  6173. "onresize": function () { }
  6174. }, {
  6175. closecallback: function () { }
  6176. }, {
  6177. "style": {
  6178. "height": "36px"
  6179. }
  6180. }).form; //創建窗體
  6181. _taskbar = {
  6182. "id": str + _formdiv.id,
  6183. "style": {
  6184. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6185. },
  6186. "name": "思維導圖",
  6187. "forms": _formdiv,
  6188. "click": function () {
  6189. U.MD.D.I.openApplication(str, obj, info);
  6190. }
  6191. }
  6192. break;
  6193. case "doc":
  6194. aTool = 6;
  6195. _iframe = $$("iframe", {
  6196. "frameborder": "no",
  6197. "border": "0",
  6198. "scrolling ": "no",
  6199. "style": {
  6200. "cssText": "border:0;width:100%;height:100%"
  6201. },
  6202. "src": "/Office/Word/WordEditArea.htm"
  6203. })
  6204. _box.appendChild(_iframe);
  6205. _box.appendChild(_jie);
  6206. _formdiv = new U.UF.UI.form(
  6207. "協同文檔",
  6208. _box, {
  6209. "id": "doc" + cid + stage + task + tool,
  6210. "style": {
  6211. "width": "90%",
  6212. "height": "90%",
  6213. "overflow": 'hidden'
  6214. },
  6215. "onresize": function () { }
  6216. }, {
  6217. closecallback: function () { }
  6218. }, {
  6219. "style": {
  6220. "height": "36px"
  6221. }
  6222. }).form; //創建窗體
  6223. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6224. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6225. })
  6226. _taskbar = {
  6227. "id": str + _formdiv.id,
  6228. "style": {
  6229. "backgroundImage": "url(/img/icon/doc.png)"
  6230. },
  6231. "name": "協同文檔",
  6232. "forms": _formdiv,
  6233. "click": function () {
  6234. U.MD.D.I.openApplication(str, obj, info);
  6235. }
  6236. }
  6237. break;
  6238. case "mindNetwork": //好友打開
  6239. aTool = 7;
  6240. _iframe = $$("iframe", {
  6241. "webkitallowfullscreen": "",
  6242. "mozallowfullscreen": "",
  6243. "allowfullscreen": "",
  6244. "frameborder": "no",
  6245. "border": "0",
  6246. "scrolling ": "no",
  6247. "style": {
  6248. "cssText": "border:0; width:100%; height:100%;"
  6249. },
  6250. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6251. })
  6252. _box.appendChild(_iframe);
  6253. _box.appendChild(_jie);
  6254. _formdiv = new U.UF.UI.form(
  6255. "思維網格",
  6256. _box, {
  6257. "id": "mindNetwork" + cid + stage + task + tool,
  6258. "style": {
  6259. "width": "90%",
  6260. "height": "90%",
  6261. "overflow": 'hidden'
  6262. },
  6263. "onresize": function () { }
  6264. }, {
  6265. closecallback: function () { }
  6266. }, {
  6267. "style": {
  6268. "height": "36px"
  6269. }
  6270. }).form; //創建窗體
  6271. _taskbar = {
  6272. "id": str + _formdiv.id,
  6273. "style": {
  6274. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6275. },
  6276. "name": "思維網格",
  6277. "forms": _formdiv,
  6278. "click": function () {
  6279. U.MD.D.I.openApplication(str, obj, info);
  6280. }
  6281. }
  6282. break;
  6283. case "courseDesign":
  6284. _iframe = $$("iframe", {
  6285. "webkitallowfullscreen": "",
  6286. "mozallowfullscreen": "",
  6287. "allowfullscreen": "",
  6288. "frameborder": "no",
  6289. "border": "0",
  6290. "scrolling ": "no",
  6291. "style": {
  6292. "cssText": "border:0; width:100%; height:100%;"
  6293. },
  6294. "src": "/course-design-vue"
  6295. })
  6296. _box.appendChild(_iframe);
  6297. _box.appendChild(_jie);
  6298. _formdiv = new U.UF.UI.form(
  6299. "項目設計",
  6300. _box, {
  6301. "id": "courseDesign" + cid + stage + task + tool,
  6302. "style": {
  6303. "width": "90%",
  6304. "height": "90%",
  6305. "overflow": 'hidden'
  6306. },
  6307. "onresize": function () { }
  6308. }, {
  6309. closecallback: function () { }
  6310. }, {
  6311. "style": {
  6312. "height": "36px"
  6313. }
  6314. }).form; //創建窗體
  6315. _taskbar = {
  6316. "id": str + _formdiv.id,
  6317. "style": {
  6318. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6319. },
  6320. "name": "項目設計",
  6321. "forms": _formdiv,
  6322. "click": function () {
  6323. U.MD.D.I.openApplication(str, obj, info);
  6324. }
  6325. }
  6326. break;
  6327. }
  6328. const script1 = document.createElement("script");
  6329. script1.type = "text/javascript";
  6330. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6331. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6332. const script2 = document.createElement("script");
  6333. script2.type = "text/javascript";
  6334. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6335. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6336. const script3 = document.createElement("script");
  6337. script3.type = "text/javascript";
  6338. script3.charset = "UTF-8";
  6339. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6340. const script4 = document.createElement("script");
  6341. script4.type = "text/javascript";
  6342. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6343. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6344. if (_iframe) {
  6345. if (str == 'doc') {
  6346. _iframe = _formdiv.querySelector('iframe')
  6347. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6348. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6349. _iframe.contentWindow.document.body.appendChild(script1);
  6350. _iframe.contentWindow.document.body.appendChild(script2);
  6351. // _iframe.contentWindow.document.body.appendChild(script3);
  6352. _iframe.contentWindow.document.body.appendChild(script4);
  6353. })
  6354. if (onloadListener) {
  6355. _iframe.contentDocument.location.reload()
  6356. } else {
  6357. _iframe.contentDocument.location.reload()
  6358. }
  6359. } else if (str == 'courseDesign') {
  6360. U.UF.DL.iframeLoad(_iframe, function () {
  6361. // _iframe.contentWindow.U.MD.O.W.load();
  6362. // _iframe.contentWindow.document.body.appendChild(script1);
  6363. _iframe.contentWindow.document.body.appendChild(script2);
  6364. _iframe.contentWindow.document.body.appendChild(script4);
  6365. })
  6366. } else if (str == 'mind') {
  6367. _iframe = _formdiv.querySelector('iframe')
  6368. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6369. //
  6370. _iframe.contentWindow.document.body.appendChild(script1);
  6371. _iframe.contentWindow.document.body.appendChild(script2);
  6372. _iframe.contentWindow.document.body.appendChild(script4);
  6373. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6374. })
  6375. if (onloadListener) {
  6376. _iframe.contentDocument.location.reload()
  6377. } else {
  6378. _iframe.contentDocument.location.reload()
  6379. }
  6380. } else if (str == 'whiteboard') {
  6381. _iframe = _formdiv.querySelector('iframe')
  6382. let onloadListener = _iframe.onload = () => {
  6383. _iframe.contentWindow.document.body.appendChild(script1);
  6384. _iframe.contentWindow.document.body.appendChild(script2);
  6385. _iframe.contentWindow.document.body.appendChild(script4);
  6386. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6387. };
  6388. // if (onloadListener) {
  6389. // try {
  6390. // _iframe.src += "?cocorobo="+new Date().getTime()
  6391. // _iframe.contentWindow.document.location.reload()
  6392. // } catch (error) {
  6393. // }
  6394. // } else {
  6395. // _iframe.contentDocument.location.reload()
  6396. // }
  6397. } else {
  6398. _iframe.onload = () => {
  6399. _iframe.contentWindow.document.body.appendChild(script1);
  6400. _iframe.contentWindow.document.body.appendChild(script2);
  6401. // _iframe.contentWindow.document.body.appendChild(script3);
  6402. _iframe.contentWindow.document.body.appendChild(script4);
  6403. };
  6404. }
  6405. _jie.onclick = async () => {
  6406. let text = ''
  6407. if (aTool == 1) {
  6408. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6409. } else if (aTool == 6) {
  6410. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6411. } else if (aTool == 3) {
  6412. text = await U.MD.D.I.getEditorContent(_iframe);
  6413. }
  6414. _loading.style.display = 'flex'
  6415. console.log(_loading);
  6416. var _ajs = _iframe.contentWindow.document.createElement("script");
  6417. _ajs.type = "text/javascript";
  6418. _ajs.innerHTML =
  6419. // 'console.log(' + _loading + ');\n' +
  6420. 'var _js = document.createElement("script");\n' +
  6421. '_js.type="text/javascript";\n' +
  6422. '_js.charset="UTF-8";\n' +
  6423. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6424. "_js.onload = function(){\n" +
  6425. ' var a = document.getElementsByTagName("img")\n' +
  6426. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6427. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6428. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6429. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6430. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6431. "beforeUpload_shishi(file," +
  6432. "'" +
  6433. _userid +
  6434. "'" +
  6435. ", " +
  6436. "'" +
  6437. _cid +
  6438. "'" +
  6439. ", " +
  6440. "'" +
  6441. _stage +
  6442. "'" +
  6443. ", " +
  6444. "'" +
  6445. _task +
  6446. "'" +
  6447. ", " +
  6448. "'" +
  6449. _tool +
  6450. "'" +
  6451. ", " +
  6452. "'" +
  6453. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  6454. "'" +
  6455. ", " +
  6456. "'" +
  6457. aTool +
  6458. "'" +
  6459. ", " +
  6460. "`" +
  6461. text +
  6462. "`" +
  6463. ")\n" +
  6464. " });\n" +
  6465. "}\n" +
  6466. "document.head.appendChild(_js);\n";
  6467. _iframe.contentWindow.document.head.appendChild(_ajs);
  6468. }
  6469. }
  6470. //U.MD.D.I.openClick(str);
  6471. //如果有任務欄信息
  6472. // if (_taskbar) {
  6473. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6474. // }
  6475. }
  6476. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  6477. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6478. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6479. _userinfo = US.userInfo, //登錄用戶信息
  6480. _userid = US.userInfo.userid //登錄用戶id
  6481. let _iframe;
  6482. let _cid = cid,
  6483. _stage = stage,
  6484. _task = task,
  6485. _tool = tool;
  6486. var _jie = $$("div", {
  6487. "style": {
  6488. "position": "absolute",
  6489. "bottom": "50px",
  6490. "right": "50px",
  6491. "zIndex": "9999",
  6492. "backgroundColor": "#2268bc",
  6493. "color": "#fff",
  6494. "padding": "12px 20px",
  6495. "cursor": "pointer",
  6496. "borderRadius": "4px",
  6497. },
  6498. "innerHTML": "提交作業"
  6499. })
  6500. let aTool = ''
  6501. let _loading = document.createElement('div')
  6502. _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;"
  6503. // _loading.id = "";
  6504. let _lchild = document.createElement('div')
  6505. let _limg = document.createElement('img')
  6506. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6507. _limg.style = "width: 26px;margin-right: 10px;"
  6508. _lchild.appendChild(_limg)
  6509. let _lspan = document.createElement('span')
  6510. _lspan.innerHTML = "上傳中..."
  6511. _lchild.appendChild(_lspan)
  6512. _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%);"
  6513. _loading.appendChild(_lchild)
  6514. let _box = $$('div', {
  6515. "style": {
  6516. "position": "relative",
  6517. "width": "100%",
  6518. "height": "100%",
  6519. },
  6520. })
  6521. _box.appendChild(_loading)
  6522. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  6523. switch (str) {
  6524. case "whiteboard":
  6525. aTool = 1;
  6526. _iframe = $$("iframe", {
  6527. "frameborder": "no",
  6528. "border": "0",
  6529. "scrolling ": "no",
  6530. "style": {
  6531. "cssText": "border:0;width:100%;height:100%"
  6532. },
  6533. "src": "https://iwb.cocorobo.hk/"
  6534. })
  6535. _box.appendChild(_iframe);
  6536. _box.appendChild(_jie);
  6537. _formdiv = new U.UF.UI.form(
  6538. "電子白板",
  6539. _box, {
  6540. "id": "whiteboard" + cid + stage + task + tool,
  6541. "style": {
  6542. "width": "90%",
  6543. "height": "90%",
  6544. "overflow": 'hidden'
  6545. },
  6546. "onresize": function () { }
  6547. }, {
  6548. closecallback: function () { }
  6549. }, {
  6550. "style": {
  6551. "height": "36px"
  6552. }
  6553. }).form; //創建窗體
  6554. _taskbar = {
  6555. "id": str + _formdiv.id,
  6556. "style": {
  6557. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6558. },
  6559. "name": "電子白板",
  6560. "forms": _formdiv,
  6561. "click": function () {
  6562. U.MD.D.I.openApplication(str, obj, info);
  6563. }
  6564. }
  6565. break;
  6566. case "mind":
  6567. aTool = 3;
  6568. _iframe = $$("iframe", {
  6569. "frameborder": "no",
  6570. "border": "0",
  6571. "scrolling ": "no",
  6572. "style": {
  6573. "cssText": "border:0;width:100%;height:100%"
  6574. },
  6575. "src": "/kityminder-editor/dist/index.html"
  6576. })
  6577. _box.appendChild(_iframe);
  6578. _box.appendChild(_jie);
  6579. _formdiv = new U.UF.UI.form(
  6580. "思維導圖",
  6581. _box, { //"/jsmind/example/demo.html"
  6582. "id": "mind" + cid + stage + task + tool,
  6583. "style": {
  6584. "width": "90%",
  6585. "height": "90%",
  6586. "overflow": 'hidden'
  6587. },
  6588. "onresize": function () { }
  6589. }, {
  6590. closecallback: function () { }
  6591. }, {
  6592. "style": {
  6593. "height": "36px"
  6594. }
  6595. }).form; //創建窗體
  6596. _taskbar = {
  6597. "id": str + _formdiv.id,
  6598. "style": {
  6599. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6600. },
  6601. "name": "思維導圖",
  6602. "forms": _formdiv,
  6603. "click": function () {
  6604. U.MD.D.I.openApplication(str, obj, info);
  6605. }
  6606. }
  6607. break;
  6608. case "MindMap":
  6609. aTool = 3;
  6610. _iframe = $$("iframe", {
  6611. "frameborder": "no",
  6612. "border": "0",
  6613. "scrolling ": "no",
  6614. "style": {
  6615. "cssText": "border:0;width:100%;height:100%"
  6616. },
  6617. "src": "//cloud.cocorobo.hk/mind/"
  6618. })
  6619. _box.appendChild(_iframe);
  6620. _box.appendChild(_jie);
  6621. _formdiv = new U.UF.UI.form(
  6622. "思維導圖",
  6623. _box, { //"/jsmind/example/demo.html"
  6624. "id": "mind" + cid + stage + task + tool,
  6625. "style": {
  6626. "width": "90%",
  6627. "height": "90%",
  6628. "overflow": 'hidden'
  6629. },
  6630. "onresize": function () { }
  6631. }, {
  6632. closecallback: function () { }
  6633. }, {
  6634. "style": {
  6635. "height": "36px"
  6636. }
  6637. }).form; //創建窗體
  6638. _taskbar = {
  6639. "id": str + _formdiv.id,
  6640. "style": {
  6641. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6642. },
  6643. "name": "思維導圖",
  6644. "forms": _formdiv,
  6645. "click": function () {
  6646. U.MD.D.I.openApplication(str, obj, info);
  6647. }
  6648. }
  6649. break;
  6650. case "doc":
  6651. aTool = 6;
  6652. _iframe = $$("iframe", {
  6653. "frameborder": "no",
  6654. "border": "0",
  6655. "scrolling ": "no",
  6656. "style": {
  6657. "cssText": "border:0;width:100%;height:100%"
  6658. },
  6659. "src": "/Office/Word/WordEditArea.htm"
  6660. })
  6661. _box.appendChild(_iframe);
  6662. _box.appendChild(_jie);
  6663. _formdiv = new U.UF.UI.form(
  6664. "協同文檔",
  6665. _box, {
  6666. "id": "doc" + cid + stage + task + tool,
  6667. "style": {
  6668. "width": "90%",
  6669. "height": "90%",
  6670. "overflow": 'hidden'
  6671. },
  6672. "onresize": function () { }
  6673. }, {
  6674. closecallback: function () { }
  6675. }, {
  6676. "style": {
  6677. "height": "36px"
  6678. }
  6679. }).form; //創建窗體
  6680. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6681. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6682. })
  6683. _taskbar = {
  6684. "id": str + _formdiv.id,
  6685. "style": {
  6686. "backgroundImage": "url(/img/icon/doc.png)"
  6687. },
  6688. "name": "協同文檔",
  6689. "forms": _formdiv,
  6690. "click": function () {
  6691. U.MD.D.I.openApplication(str, obj, info);
  6692. }
  6693. }
  6694. break;
  6695. case "mindNetwork": //好友打開
  6696. aTool = 7;
  6697. _iframe = $$("iframe", {
  6698. "webkitallowfullscreen": "",
  6699. "mozallowfullscreen": "",
  6700. "allowfullscreen": "",
  6701. "frameborder": "no",
  6702. "border": "0",
  6703. "scrolling ": "no",
  6704. "style": {
  6705. "cssText": "border:0; width:100%; height:100%;"
  6706. },
  6707. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6708. })
  6709. _box.appendChild(_iframe);
  6710. _box.appendChild(_jie);
  6711. _formdiv = new U.UF.UI.form(
  6712. "思維網格",
  6713. _box, {
  6714. "id": "mindNetwork" + cid + stage + task + tool,
  6715. "style": {
  6716. "width": "90%",
  6717. "height": "90%",
  6718. "overflow": 'hidden'
  6719. },
  6720. "onresize": function () { }
  6721. }, {
  6722. closecallback: function () { }
  6723. }, {
  6724. "style": {
  6725. "height": "36px"
  6726. }
  6727. }).form; //創建窗體
  6728. _taskbar = {
  6729. "id": str + _formdiv.id,
  6730. "style": {
  6731. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6732. },
  6733. "name": "思維網格",
  6734. "forms": _formdiv,
  6735. "click": function () {
  6736. U.MD.D.I.openApplication(str, obj, info);
  6737. }
  6738. }
  6739. break;
  6740. case "courseDesign":
  6741. _iframe = $$("iframe", {
  6742. "webkitallowfullscreen": "",
  6743. "mozallowfullscreen": "",
  6744. "allowfullscreen": "",
  6745. "frameborder": "no",
  6746. "border": "0",
  6747. "scrolling ": "no",
  6748. "style": {
  6749. "cssText": "border:0; width:100%; height:100%;"
  6750. },
  6751. "src": "/course-design-vue"
  6752. })
  6753. _box.appendChild(_iframe);
  6754. _box.appendChild(_jie);
  6755. _formdiv = new U.UF.UI.form(
  6756. "項目設計",
  6757. _box, {
  6758. "id": "courseDesign" + cid + stage + task + tool,
  6759. "style": {
  6760. "width": "90%",
  6761. "height": "90%",
  6762. "overflow": 'hidden'
  6763. },
  6764. "onresize": function () { }
  6765. }, {
  6766. closecallback: function () { }
  6767. }, {
  6768. "style": {
  6769. "height": "36px"
  6770. }
  6771. }).form; //創建窗體
  6772. _taskbar = {
  6773. "id": str + _formdiv.id,
  6774. "style": {
  6775. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6776. },
  6777. "name": "項目設計",
  6778. "forms": _formdiv,
  6779. "click": function () {
  6780. U.MD.D.I.openApplication(str, obj, info);
  6781. }
  6782. }
  6783. break;
  6784. }
  6785. const script1 = document.createElement("script");
  6786. script1.type = "text/javascript";
  6787. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6788. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6789. const script2 = document.createElement("script");
  6790. script2.type = "text/javascript";
  6791. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6792. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6793. const script3 = document.createElement("script");
  6794. script3.type = "text/javascript";
  6795. script3.charset = "UTF-8";
  6796. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6797. const script4 = document.createElement("script");
  6798. script4.type = "text/javascript";
  6799. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6800. script4.src = window.origin + "/js/Common/jietu2E.js";
  6801. if (_iframe) {
  6802. if (str == 'doc') {
  6803. _iframe = _formdiv.querySelector('iframe')
  6804. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6805. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6806. _iframe.contentWindow.document.body.appendChild(script1);
  6807. _iframe.contentWindow.document.body.appendChild(script2);
  6808. // _iframe.contentWindow.document.body.appendChild(script3);
  6809. _iframe.contentWindow.document.body.appendChild(script4);
  6810. })
  6811. if (onloadListener) {
  6812. _iframe.contentDocument.location.reload()
  6813. } else {
  6814. _iframe.contentDocument.location.reload()
  6815. }
  6816. } else if (str == 'courseDesign') {
  6817. U.UF.DL.iframeLoad(_iframe, function () {
  6818. // _iframe.contentWindow.U.MD.O.W.load();
  6819. // _iframe.contentWindow.document.body.appendChild(script1);
  6820. _iframe.contentWindow.document.body.appendChild(script2);
  6821. _iframe.contentWindow.document.body.appendChild(script4);
  6822. })
  6823. } else if (str == 'mind') {
  6824. _iframe = _formdiv.querySelector('iframe')
  6825. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6826. //
  6827. _iframe.contentWindow.document.body.appendChild(script1);
  6828. _iframe.contentWindow.document.body.appendChild(script2);
  6829. _iframe.contentWindow.document.body.appendChild(script4);
  6830. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6831. })
  6832. if (onloadListener) {
  6833. _iframe.contentDocument.location.reload()
  6834. } else {
  6835. _iframe.contentDocument.location.reload()
  6836. }
  6837. } else if (str == 'whiteboard') {
  6838. _iframe = _formdiv.querySelector('iframe')
  6839. let onloadListener = _iframe.onload = () => {
  6840. _iframe.contentWindow.document.body.appendChild(script1);
  6841. _iframe.contentWindow.document.body.appendChild(script2);
  6842. _iframe.contentWindow.document.body.appendChild(script4);
  6843. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6844. };
  6845. // if (onloadListener) {
  6846. // try {
  6847. // _iframe.src += "?cocorobo="+new Date().getTime()
  6848. // _iframe.contentWindow.document.location.reload()
  6849. // } catch (error) {
  6850. // }
  6851. // } else {
  6852. // _iframe.contentDocument.location.reload()
  6853. // }
  6854. } else {
  6855. _iframe.onload = () => {
  6856. _iframe.contentWindow.document.body.appendChild(script1);
  6857. _iframe.contentWindow.document.body.appendChild(script2);
  6858. // _iframe.contentWindow.document.body.appendChild(script3);
  6859. _iframe.contentWindow.document.body.appendChild(script4);
  6860. };
  6861. }
  6862. _jie.onclick = async () => {
  6863. let text = ''
  6864. if (aTool == 1) {
  6865. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6866. } else if (aTool == 6) {
  6867. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6868. } else if (aTool == 3) {
  6869. text = await U.MD.D.I.getEditorContent(_iframe);
  6870. }
  6871. _loading.style.display = 'flex'
  6872. console.log(_loading);
  6873. var _ajs = _iframe.contentWindow.document.createElement("script");
  6874. _ajs.type = "text/javascript";
  6875. _ajs.innerHTML =
  6876. // 'console.log(' + _loading + ');\n' +
  6877. 'var _js = document.createElement("script");\n' +
  6878. '_js.type="text/javascript";\n' +
  6879. '_js.charset="UTF-8";\n' +
  6880. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6881. "_js.onload = function(){\n" +
  6882. ' var a = document.getElementsByTagName("img")\n' +
  6883. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6884. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6885. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6886. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6887. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6888. "beforeUpload_shishi(file," +
  6889. "'" +
  6890. _userid +
  6891. "'" +
  6892. ", " +
  6893. "'" +
  6894. _cid +
  6895. "'" +
  6896. ", " +
  6897. "'" +
  6898. _stage +
  6899. "'" +
  6900. ", " +
  6901. "'" +
  6902. _task +
  6903. "'" +
  6904. ", " +
  6905. "'" +
  6906. _tool +
  6907. "'" +
  6908. ", " +
  6909. "'" +
  6910. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6911. "'" +
  6912. ", " +
  6913. "'" +
  6914. aTool +
  6915. "'" +
  6916. ", " +
  6917. "`" +
  6918. text +
  6919. "`" +
  6920. ")\n" +
  6921. " });\n" +
  6922. "}\n" +
  6923. "document.head.appendChild(_js);\n";
  6924. _iframe.contentWindow.document.head.appendChild(_ajs);
  6925. }
  6926. }
  6927. //U.MD.D.I.openClick(str);
  6928. //如果有任務欄信息
  6929. // if (_taskbar) {
  6930. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6931. // }
  6932. }
  6933. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6934. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6935. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6936. _userid = student.userid, //登錄用戶id
  6937. _username = student.student //用戶名字
  6938. let _iframe;
  6939. let _cid = cid,
  6940. _stage = stage,
  6941. _task = task,
  6942. _tool = tool;
  6943. var _jie = $$("div", {
  6944. "style": {
  6945. "position": "absolute",
  6946. "bottom": "50px",
  6947. "right": "50px",
  6948. "zIndex": "9999",
  6949. "backgroundColor": "#2268bc",
  6950. "color": "#fff",
  6951. "padding": "12px 20px",
  6952. "cursor": "pointer",
  6953. "borderRadius": "4px",
  6954. },
  6955. "innerHTML": "提交作業"
  6956. })
  6957. let aTool = ''
  6958. let _loading = document.createElement('div')
  6959. _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;"
  6960. // _loading.id = "";
  6961. let _lchild = document.createElement('div')
  6962. let _limg = document.createElement('img')
  6963. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6964. _limg.style = "width: 26px;margin-right: 10px;"
  6965. _lchild.appendChild(_limg)
  6966. let _lspan = document.createElement('span')
  6967. _lspan.innerHTML = "上傳中..."
  6968. _lchild.appendChild(_lspan)
  6969. _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%);"
  6970. _loading.appendChild(_lchild)
  6971. var _box = $$('div', {
  6972. "style": {
  6973. "position": "relative",
  6974. "width": "100%",
  6975. "height": "100%",
  6976. },
  6977. })
  6978. _box.appendChild(_loading)
  6979. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6980. switch (str) {
  6981. case "whiteboard":
  6982. aTool = 1;
  6983. _iframe = $$("iframe", {
  6984. "frameborder": "no",
  6985. "border": "0",
  6986. "scrolling ": "no",
  6987. "style": {
  6988. "cssText": "border:0;width:100%;height:100%"
  6989. },
  6990. "src": "https://iwb.cocorobo.hk/"
  6991. })
  6992. _box.appendChild(_iframe);
  6993. _box.appendChild(_jie);
  6994. _formdiv = new U.UF.UI.form(
  6995. "電子白板-" + _username,
  6996. _box, {
  6997. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6998. "style": {
  6999. "width": "90%",
  7000. "height": "90%",
  7001. "overflow": 'hidden'
  7002. },
  7003. "onresize": function () { }
  7004. }, {
  7005. closecallback: function () { }
  7006. }, {
  7007. "style": {
  7008. "height": "36px"
  7009. }
  7010. }).form; //創建窗體
  7011. _taskbar = {
  7012. "id": str + _formdiv.id,
  7013. "style": {
  7014. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7015. },
  7016. "name": "電子白板",
  7017. "forms": _formdiv,
  7018. "click": function () {
  7019. U.MD.D.I.openApplication(str, obj, info);
  7020. }
  7021. }
  7022. break;
  7023. case "mind":
  7024. aTool = 3;
  7025. _iframe = $$("iframe", {
  7026. "frameborder": "no",
  7027. "border": "0",
  7028. "scrolling ": "no",
  7029. "style": {
  7030. "cssText": "border:0;width:100%;height:100%"
  7031. },
  7032. "src": "/kityminder-editor/dist/index.html"
  7033. })
  7034. _box.appendChild(_iframe);
  7035. _box.appendChild(_jie);
  7036. _formdiv = new U.UF.UI.form(
  7037. "思維導圖-" + _username,
  7038. _box, { //"/jsmind/example/demo.html"
  7039. "id": "mind" + cid + stage + task + tool + _userid,
  7040. "style": {
  7041. "width": "90%",
  7042. "height": "90%",
  7043. "overflow": 'hidden'
  7044. },
  7045. "onresize": function () { }
  7046. }, {
  7047. closecallback: function () { }
  7048. }, {
  7049. "style": {
  7050. "height": "36px"
  7051. }
  7052. }).form; //創建窗體
  7053. _taskbar = {
  7054. "id": str + _formdiv.id,
  7055. "style": {
  7056. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7057. },
  7058. "name": "思維導圖",
  7059. "forms": _formdiv,
  7060. "click": function () {
  7061. U.MD.D.I.openApplication(str, obj, info);
  7062. }
  7063. }
  7064. break;
  7065. case "MindMap":
  7066. aTool = 3;
  7067. _iframe = $$("iframe", {
  7068. "frameborder": "no",
  7069. "border": "0",
  7070. "scrolling ": "no",
  7071. "style": {
  7072. "cssText": "border:0;width:100%;height:100%"
  7073. },
  7074. "src": "//cloud.cocorobo.hk/mind/"
  7075. })
  7076. _box.appendChild(_iframe);
  7077. _box.appendChild(_jie);
  7078. _formdiv = new U.UF.UI.form(
  7079. "思維導圖-" + _username,
  7080. _box, { //"/jsmind/example/demo.html"
  7081. "id": "mind" + cid + stage + task + tool + _userid,
  7082. "style": {
  7083. "width": "90%",
  7084. "height": "90%",
  7085. "overflow": 'hidden'
  7086. },
  7087. "onresize": function () { }
  7088. }, {
  7089. closecallback: function () { }
  7090. }, {
  7091. "style": {
  7092. "height": "36px"
  7093. }
  7094. }).form; //創建窗體
  7095. _taskbar = {
  7096. "id": str + _formdiv.id,
  7097. "style": {
  7098. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7099. },
  7100. "name": "思維導圖",
  7101. "forms": _formdiv,
  7102. "click": function () {
  7103. U.MD.D.I.openApplication(str, obj, info);
  7104. }
  7105. }
  7106. break;
  7107. case "doc":
  7108. aTool = 6;
  7109. _iframe = $$("iframe", {
  7110. "frameborder": "no",
  7111. "border": "0",
  7112. "scrolling ": "no",
  7113. "style": {
  7114. "cssText": "border:0;width:100%;height:100%"
  7115. },
  7116. "src": "/Office/Word/WordEditArea.htm"
  7117. })
  7118. _box.appendChild(_iframe);
  7119. _box.appendChild(_jie);
  7120. _formdiv = new U.UF.UI.form(
  7121. "協同文檔-" + _username,
  7122. _box, {
  7123. "id": "doc" + cid + stage + task + tool + _userid,
  7124. "style": {
  7125. "width": "90%",
  7126. "height": "90%",
  7127. "overflow": 'hidden'
  7128. },
  7129. "onresize": function () { }
  7130. }, {
  7131. closecallback: function () { }
  7132. }, {
  7133. "style": {
  7134. "height": "36px"
  7135. }
  7136. }).form; //創建窗體
  7137. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7138. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7139. })
  7140. _taskbar = {
  7141. "id": str + _formdiv.id,
  7142. "style": {
  7143. "backgroundImage": "url(/img/icon/doc.png)"
  7144. },
  7145. "name": "協同文檔",
  7146. "forms": _formdiv,
  7147. "click": function () {
  7148. U.MD.D.I.openApplication(str, obj, info);
  7149. }
  7150. }
  7151. break;
  7152. case "mindNetwork": //好友打開
  7153. aTool = 7;
  7154. _iframe = $$("iframe", {
  7155. "webkitallowfullscreen": "",
  7156. "mozallowfullscreen": "",
  7157. "allowfullscreen": "",
  7158. "frameborder": "no",
  7159. "border": "0",
  7160. "scrolling ": "no",
  7161. "style": {
  7162. "cssText": "border:0; width:100%; height:100%;"
  7163. },
  7164. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7165. })
  7166. _box.appendChild(_iframe);
  7167. _box.appendChild(_jie);
  7168. _formdiv = new U.UF.UI.form(
  7169. "思維網格-" + _username,
  7170. _box, {
  7171. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7172. "style": {
  7173. "width": "90%",
  7174. "height": "90%",
  7175. "overflow": 'hidden'
  7176. },
  7177. "onresize": function () { }
  7178. }, {
  7179. closecallback: function () { }
  7180. }, {
  7181. "style": {
  7182. "height": "36px"
  7183. }
  7184. }).form; //創建窗體
  7185. _taskbar = {
  7186. "id": str + _formdiv.id,
  7187. "style": {
  7188. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7189. },
  7190. "name": "思維網格",
  7191. "forms": _formdiv,
  7192. "click": function () {
  7193. U.MD.D.I.openApplication(str, obj, info);
  7194. }
  7195. }
  7196. break;
  7197. case "courseDesign":
  7198. _iframe = $$("iframe", {
  7199. "webkitallowfullscreen": "",
  7200. "mozallowfullscreen": "",
  7201. "allowfullscreen": "",
  7202. "frameborder": "no",
  7203. "border": "0",
  7204. "scrolling ": "no",
  7205. "style": {
  7206. "cssText": "border:0; width:100%; height:100%;"
  7207. },
  7208. "src": "/course-design-vue"
  7209. })
  7210. _box.appendChild(_iframe);
  7211. _box.appendChild(_jie);
  7212. _formdiv = new U.UF.UI.form(
  7213. "項目設計-" + _username,
  7214. _box, {
  7215. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7216. "style": {
  7217. "width": "90%",
  7218. "height": "90%",
  7219. "overflow": 'hidden'
  7220. },
  7221. "onresize": function () { }
  7222. }, {
  7223. closecallback: function () { }
  7224. }, {
  7225. "style": {
  7226. "height": "36px"
  7227. }
  7228. }).form; //創建窗體
  7229. _taskbar = {
  7230. "id": str + _formdiv.id,
  7231. "style": {
  7232. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7233. },
  7234. "name": "項目設計",
  7235. "forms": _formdiv,
  7236. "click": function () {
  7237. U.MD.D.I.openApplication(str, obj, info);
  7238. }
  7239. }
  7240. break;
  7241. }
  7242. const script1 = document.createElement("script");
  7243. script1.type = "text/javascript";
  7244. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7245. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7246. const script2 = document.createElement("script");
  7247. script2.type = "text/javascript";
  7248. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7249. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7250. const script3 = document.createElement("script");
  7251. script3.type = "text/javascript";
  7252. script3.charset = "UTF-8";
  7253. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7254. const script4 = document.createElement("script");
  7255. script4.type = "text/javascript";
  7256. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7257. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  7258. if (_iframe) {
  7259. if (str == 'doc') {
  7260. _iframe = _formdiv.querySelector('iframe')
  7261. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7262. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7263. _iframe.contentWindow.document.body.appendChild(script1);
  7264. _iframe.contentWindow.document.body.appendChild(script2);
  7265. // _iframe.contentWindow.document.body.appendChild(script3);
  7266. _iframe.contentWindow.document.body.appendChild(script4);
  7267. })
  7268. if (onloadListener) {
  7269. _iframe.contentDocument.location.reload()
  7270. } else {
  7271. _iframe.contentDocument.location.reload()
  7272. }
  7273. } else if (str == 'courseDesign') {
  7274. U.UF.DL.iframeLoad(_iframe, function () {
  7275. // _iframe.contentWindow.U.MD.O.W.load();
  7276. // _iframe.contentWindow.document.body.appendChild(script1);
  7277. _iframe.contentWindow.document.body.appendChild(script2);
  7278. _iframe.contentWindow.document.body.appendChild(script4);
  7279. })
  7280. } else if (str == 'mind') {
  7281. _iframe = _formdiv.querySelector('iframe')
  7282. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7283. //
  7284. _iframe.contentWindow.document.body.appendChild(script1);
  7285. _iframe.contentWindow.document.body.appendChild(script2);
  7286. _iframe.contentWindow.document.body.appendChild(script4);
  7287. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7288. })
  7289. if (onloadListener) {
  7290. _iframe.contentDocument.location.reload()
  7291. } else {
  7292. _iframe.contentDocument.location.reload()
  7293. }
  7294. } else if (str == 'whiteboard') {
  7295. _iframe = _formdiv.querySelector('iframe')
  7296. let onloadListener = _iframe.onload = () => {
  7297. _iframe.contentWindow.document.body.appendChild(script1);
  7298. _iframe.contentWindow.document.body.appendChild(script2);
  7299. _iframe.contentWindow.document.body.appendChild(script4);
  7300. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7301. };
  7302. // if (onloadListener) {
  7303. // try {
  7304. // _iframe.src += "?cocorobo="+new Date().getTime()
  7305. // _iframe.contentWindow.document.location.reload()
  7306. // } catch (error) {
  7307. // }
  7308. // } else {
  7309. // _iframe.contentDocument.location.reload()
  7310. // }
  7311. } else {
  7312. _iframe.onload = () => {
  7313. _iframe.contentWindow.document.body.appendChild(script1);
  7314. _iframe.contentWindow.document.body.appendChild(script2);
  7315. // _iframe.contentWindow.document.body.appendChild(script3);
  7316. _iframe.contentWindow.document.body.appendChild(script4);
  7317. };
  7318. }
  7319. _jie.onclick = async () => {
  7320. let text = ''
  7321. if (aTool == 1) {
  7322. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7323. } else if (aTool == 6) {
  7324. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7325. } else if (aTool == 3) {
  7326. text = await U.MD.D.I.getEditorContent(_iframe);
  7327. }
  7328. _loading.style.display = 'flex'
  7329. console.log(_loading);
  7330. var _ajs = _iframe.contentWindow.document.createElement("script");
  7331. _ajs.type = "text/javascript";
  7332. _ajs.innerHTML =
  7333. // 'console.log(' + _loading + ');\n' +
  7334. 'var _js = document.createElement("script");\n' +
  7335. '_js.type="text/javascript";\n' +
  7336. '_js.charset="UTF-8";\n' +
  7337. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7338. "_js.onload = function(){\n" +
  7339. ' var a = document.getElementsByTagName("img")\n' +
  7340. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7341. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7342. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7343. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7344. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7345. "beforeUpload_shishi(file," +
  7346. "'" +
  7347. _userid +
  7348. "'" +
  7349. ", " +
  7350. "'" +
  7351. _cid +
  7352. "'" +
  7353. ", " +
  7354. "'" +
  7355. _stage +
  7356. "'" +
  7357. ", " +
  7358. "'" +
  7359. _task +
  7360. "'" +
  7361. ", " +
  7362. "'" +
  7363. _tool +
  7364. "'" +
  7365. ", " +
  7366. "'" +
  7367. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  7368. "'" +
  7369. ", " +
  7370. "'" +
  7371. aTool +
  7372. "'" +
  7373. ", " +
  7374. "`" +
  7375. text +
  7376. "`" +
  7377. ")\n" +
  7378. " });\n" +
  7379. "}\n" +
  7380. "document.head.appendChild(_js);\n";
  7381. _iframe.contentWindow.document.head.appendChild(_ajs);
  7382. }
  7383. }
  7384. }
  7385. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  7386. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7387. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7388. _userid = student.userid, //登錄用戶id
  7389. _username = student.student //用戶名字
  7390. let _iframe;
  7391. let _cid = cid,
  7392. _stage = stage,
  7393. _task = task,
  7394. _tool = tool;
  7395. var _jie = $$("div", {
  7396. "style": {
  7397. "position": "absolute",
  7398. "bottom": "50px",
  7399. "right": "50px",
  7400. "zIndex": "9999",
  7401. "backgroundColor": "#2268bc",
  7402. "color": "#fff",
  7403. "padding": "12px 20px",
  7404. "cursor": "pointer",
  7405. "borderRadius": "4px",
  7406. },
  7407. "innerHTML": "提交作業"
  7408. })
  7409. let aTool = ''
  7410. let _loading = document.createElement('div')
  7411. _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;"
  7412. // _loading.id = "";
  7413. let _lchild = document.createElement('div')
  7414. let _limg = document.createElement('img')
  7415. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7416. _limg.style = "width: 26px;margin-right: 10px;"
  7417. _lchild.appendChild(_limg)
  7418. let _lspan = document.createElement('span')
  7419. _lspan.innerHTML = "上傳中..."
  7420. _lchild.appendChild(_lspan)
  7421. _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%);"
  7422. _loading.appendChild(_lchild)
  7423. var _box = $$('div', {
  7424. "style": {
  7425. "position": "relative",
  7426. "width": "100%",
  7427. "height": "100%",
  7428. },
  7429. })
  7430. _box.appendChild(_loading)
  7431. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  7432. switch (str) {
  7433. case "whiteboard":
  7434. aTool = 1;
  7435. _iframe = $$("iframe", {
  7436. "frameborder": "no",
  7437. "border": "0",
  7438. "scrolling ": "no",
  7439. "style": {
  7440. "cssText": "border:0;width:100%;height:100%"
  7441. },
  7442. "src": "https://iwb.cocorobo.hk/"
  7443. })
  7444. _box.appendChild(_iframe);
  7445. _box.appendChild(_jie);
  7446. _formdiv = new U.UF.UI.form(
  7447. "電子白板-" + _username,
  7448. _box, {
  7449. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7450. "style": {
  7451. "width": "90%",
  7452. "height": "90%",
  7453. "overflow": 'hidden'
  7454. },
  7455. "onresize": function () { }
  7456. }, {
  7457. closecallback: function () { }
  7458. }, {
  7459. "style": {
  7460. "height": "36px"
  7461. }
  7462. }).form; //創建窗體
  7463. _taskbar = {
  7464. "id": str + _formdiv.id,
  7465. "style": {
  7466. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7467. },
  7468. "name": "電子白板",
  7469. "forms": _formdiv,
  7470. "click": function () {
  7471. U.MD.D.I.openApplication(str, obj, info);
  7472. }
  7473. }
  7474. break;
  7475. case "mind":
  7476. aTool = 3;
  7477. _iframe = $$("iframe", {
  7478. "frameborder": "no",
  7479. "border": "0",
  7480. "scrolling ": "no",
  7481. "style": {
  7482. "cssText": "border:0;width:100%;height:100%"
  7483. },
  7484. "src": "/kityminder-editor/dist/index.html"
  7485. })
  7486. _box.appendChild(_iframe);
  7487. _box.appendChild(_jie);
  7488. _formdiv = new U.UF.UI.form(
  7489. "思維導圖-" + _username,
  7490. _box, { //"/jsmind/example/demo.html"
  7491. "id": "mind" + cid + stage + task + tool + _userid,
  7492. "style": {
  7493. "width": "90%",
  7494. "height": "90%",
  7495. "overflow": 'hidden'
  7496. },
  7497. "onresize": function () { }
  7498. }, {
  7499. closecallback: function () { }
  7500. }, {
  7501. "style": {
  7502. "height": "36px"
  7503. }
  7504. }).form; //創建窗體
  7505. _taskbar = {
  7506. "id": str + _formdiv.id,
  7507. "style": {
  7508. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7509. },
  7510. "name": "思維導圖",
  7511. "forms": _formdiv,
  7512. "click": function () {
  7513. U.MD.D.I.openApplication(str, obj, info);
  7514. }
  7515. }
  7516. break;
  7517. case "MindMap":
  7518. aTool = 3;
  7519. _iframe = $$("iframe", {
  7520. "frameborder": "no",
  7521. "border": "0",
  7522. "scrolling ": "no",
  7523. "style": {
  7524. "cssText": "border:0;width:100%;height:100%"
  7525. },
  7526. "src": "//cloud.cocorobo.hk/mind/"
  7527. })
  7528. _box.appendChild(_iframe);
  7529. _box.appendChild(_jie);
  7530. _formdiv = new U.UF.UI.form(
  7531. "思維導圖-" + _username,
  7532. _box, { //"/jsmind/example/demo.html"
  7533. "id": "mind" + cid + stage + task + tool + _userid,
  7534. "style": {
  7535. "width": "90%",
  7536. "height": "90%",
  7537. "overflow": 'hidden'
  7538. },
  7539. "onresize": function () { }
  7540. }, {
  7541. closecallback: function () { }
  7542. }, {
  7543. "style": {
  7544. "height": "36px"
  7545. }
  7546. }).form; //創建窗體
  7547. _taskbar = {
  7548. "id": str + _formdiv.id,
  7549. "style": {
  7550. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7551. },
  7552. "name": "思維導圖",
  7553. "forms": _formdiv,
  7554. "click": function () {
  7555. U.MD.D.I.openApplication(str, obj, info);
  7556. }
  7557. }
  7558. break;
  7559. case "doc":
  7560. aTool = 6;
  7561. _iframe = $$("iframe", {
  7562. "frameborder": "no",
  7563. "border": "0",
  7564. "scrolling ": "no",
  7565. "style": {
  7566. "cssText": "border:0;width:100%;height:100%"
  7567. },
  7568. "src": "/Office/Word/WordEditArea.htm"
  7569. })
  7570. _box.appendChild(_iframe);
  7571. _box.appendChild(_jie);
  7572. _formdiv = new U.UF.UI.form(
  7573. "協同文檔-" + _username,
  7574. _box, {
  7575. "id": "doc" + cid + stage + task + tool + _userid,
  7576. "style": {
  7577. "width": "90%",
  7578. "height": "90%",
  7579. "overflow": 'hidden'
  7580. },
  7581. "onresize": function () { }
  7582. }, {
  7583. closecallback: function () { }
  7584. }, {
  7585. "style": {
  7586. "height": "36px"
  7587. }
  7588. }).form; //創建窗體
  7589. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7590. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7591. })
  7592. _taskbar = {
  7593. "id": str + _formdiv.id,
  7594. "style": {
  7595. "backgroundImage": "url(/img/icon/doc.png)"
  7596. },
  7597. "name": "協同文檔",
  7598. "forms": _formdiv,
  7599. "click": function () {
  7600. U.MD.D.I.openApplication(str, obj, info);
  7601. }
  7602. }
  7603. break;
  7604. case "mindNetwork": //好友打開
  7605. aTool = 7;
  7606. _iframe = $$("iframe", {
  7607. "webkitallowfullscreen": "",
  7608. "mozallowfullscreen": "",
  7609. "allowfullscreen": "",
  7610. "frameborder": "no",
  7611. "border": "0",
  7612. "scrolling ": "no",
  7613. "style": {
  7614. "cssText": "border:0; width:100%; height:100%;"
  7615. },
  7616. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7617. })
  7618. _box.appendChild(_iframe);
  7619. _box.appendChild(_jie);
  7620. _formdiv = new U.UF.UI.form(
  7621. "思維網格-" + _username,
  7622. _box, {
  7623. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7624. "style": {
  7625. "width": "90%",
  7626. "height": "90%",
  7627. "overflow": 'hidden'
  7628. },
  7629. "onresize": function () { }
  7630. }, {
  7631. closecallback: function () { }
  7632. }, {
  7633. "style": {
  7634. "height": "36px"
  7635. }
  7636. }).form; //創建窗體
  7637. _taskbar = {
  7638. "id": str + _formdiv.id,
  7639. "style": {
  7640. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7641. },
  7642. "name": "思維網格",
  7643. "forms": _formdiv,
  7644. "click": function () {
  7645. U.MD.D.I.openApplication(str, obj, info);
  7646. }
  7647. }
  7648. break;
  7649. case "courseDesign":
  7650. _iframe = $$("iframe", {
  7651. "webkitallowfullscreen": "",
  7652. "mozallowfullscreen": "",
  7653. "allowfullscreen": "",
  7654. "frameborder": "no",
  7655. "border": "0",
  7656. "scrolling ": "no",
  7657. "style": {
  7658. "cssText": "border:0; width:100%; height:100%;"
  7659. },
  7660. "src": "/course-design-vue"
  7661. })
  7662. _box.appendChild(_iframe);
  7663. _box.appendChild(_jie);
  7664. _formdiv = new U.UF.UI.form(
  7665. "項目設計-" + _username,
  7666. _box, {
  7667. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7668. "style": {
  7669. "width": "90%",
  7670. "height": "90%",
  7671. "overflow": 'hidden'
  7672. },
  7673. "onresize": function () { }
  7674. }, {
  7675. closecallback: function () { }
  7676. }, {
  7677. "style": {
  7678. "height": "36px"
  7679. }
  7680. }).form; //創建窗體
  7681. _taskbar = {
  7682. "id": str + _formdiv.id,
  7683. "style": {
  7684. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7685. },
  7686. "name": "項目設計",
  7687. "forms": _formdiv,
  7688. "click": function () {
  7689. U.MD.D.I.openApplication(str, obj, info);
  7690. }
  7691. }
  7692. break;
  7693. }
  7694. const script1 = document.createElement("script");
  7695. script1.type = "text/javascript";
  7696. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7697. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7698. const script2 = document.createElement("script");
  7699. script2.type = "text/javascript";
  7700. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7701. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7702. const script3 = document.createElement("script");
  7703. script3.type = "text/javascript";
  7704. script3.charset = "UTF-8";
  7705. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7706. const script4 = document.createElement("script");
  7707. script4.type = "text/javascript";
  7708. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7709. script4.src = window.origin + "/js/Common/jietu2E.js";
  7710. if (_iframe) {
  7711. if (str == 'doc') {
  7712. _iframe = _formdiv.querySelector('iframe')
  7713. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7714. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7715. _iframe.contentWindow.document.body.appendChild(script1);
  7716. _iframe.contentWindow.document.body.appendChild(script2);
  7717. // _iframe.contentWindow.document.body.appendChild(script3);
  7718. _iframe.contentWindow.document.body.appendChild(script4);
  7719. })
  7720. if (onloadListener) {
  7721. _iframe.contentDocument.location.reload()
  7722. } else {
  7723. _iframe.contentDocument.location.reload()
  7724. }
  7725. } else if (str == 'courseDesign') {
  7726. U.UF.DL.iframeLoad(_iframe, function () {
  7727. // _iframe.contentWindow.U.MD.O.W.load();
  7728. // _iframe.contentWindow.document.body.appendChild(script1);
  7729. _iframe.contentWindow.document.body.appendChild(script2);
  7730. _iframe.contentWindow.document.body.appendChild(script4);
  7731. })
  7732. } else if (str == 'mind') {
  7733. _iframe = _formdiv.querySelector('iframe')
  7734. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7735. //
  7736. _iframe.contentWindow.document.body.appendChild(script1);
  7737. _iframe.contentWindow.document.body.appendChild(script2);
  7738. _iframe.contentWindow.document.body.appendChild(script4);
  7739. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7740. })
  7741. if (onloadListener) {
  7742. _iframe.contentDocument.location.reload()
  7743. } else {
  7744. _iframe.contentDocument.location.reload()
  7745. }
  7746. } else if (str == 'whiteboard') {
  7747. _iframe = _formdiv.querySelector('iframe')
  7748. let onloadListener = _iframe.onload = () => {
  7749. _iframe.contentWindow.document.body.appendChild(script1);
  7750. _iframe.contentWindow.document.body.appendChild(script2);
  7751. _iframe.contentWindow.document.body.appendChild(script4);
  7752. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7753. };
  7754. // if (onloadListener) {
  7755. // try {
  7756. // _iframe.src += "?cocorobo="+new Date().getTime()
  7757. // _iframe.contentWindow.document.location.reload()
  7758. // } catch (error) {
  7759. // }
  7760. // } else {
  7761. // _iframe.contentDocument.location.reload()
  7762. // }
  7763. } else {
  7764. _iframe.onload = () => {
  7765. _iframe.contentWindow.document.body.appendChild(script1);
  7766. _iframe.contentWindow.document.body.appendChild(script2);
  7767. // _iframe.contentWindow.document.body.appendChild(script3);
  7768. _iframe.contentWindow.document.body.appendChild(script4);
  7769. };
  7770. }
  7771. _jie.onclick = async () => {
  7772. let text = ''
  7773. if (aTool == 1) {
  7774. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7775. } else if (aTool == 6) {
  7776. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7777. } else if (aTool == 3) {
  7778. text = await U.MD.D.I.getEditorContent(_iframe);
  7779. }
  7780. _loading.style.display = 'flex'
  7781. console.log(_loading);
  7782. var _ajs = _iframe.contentWindow.document.createElement("script");
  7783. _ajs.type = "text/javascript";
  7784. _ajs.innerHTML =
  7785. // 'console.log(' + _loading + ');\n' +
  7786. 'var _js = document.createElement("script");\n' +
  7787. '_js.type="text/javascript";\n' +
  7788. '_js.charset="UTF-8";\n' +
  7789. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7790. "_js.onload = function(){\n" +
  7791. ' var a = document.getElementsByTagName("img")\n' +
  7792. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7793. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7794. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7795. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7796. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7797. "beforeUpload_shishi(file," +
  7798. "'" +
  7799. _userid +
  7800. "'" +
  7801. ", " +
  7802. "'" +
  7803. _cid +
  7804. "'" +
  7805. ", " +
  7806. "'" +
  7807. _stage +
  7808. "'" +
  7809. ", " +
  7810. "'" +
  7811. _task +
  7812. "'" +
  7813. ", " +
  7814. "'" +
  7815. _tool +
  7816. "'" +
  7817. ", " +
  7818. "'" +
  7819. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7820. "'" +
  7821. ", " +
  7822. "'" +
  7823. aTool +
  7824. "'" +
  7825. ", " +
  7826. "`" +
  7827. text +
  7828. "`" +
  7829. ")\n" +
  7830. " });\n" +
  7831. "}\n" +
  7832. "document.head.appendChild(_js);\n";
  7833. _iframe.contentWindow.document.head.appendChild(_ajs);
  7834. }
  7835. }
  7836. }
  7837. U.MD.D.I.getEditorContent = function (iframe) {
  7838. return new Promise((resolve, reject) => {
  7839. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7840. console.log(content);
  7841. resolve(content)
  7842. });
  7843. });
  7844. }
  7845. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7846. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7847. // if (res.value[0].length > 0) {
  7848. // // resolve(res.value[0][0].text);
  7849. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7850. // $(fileInput).val('');
  7851. // });
  7852. // }
  7853. // }, [], { "type": "GET", "withCredentials": true });
  7854. var xmlhttp;
  7855. var Mac, Sn, DeviceId
  7856. if (window.XMLHttpRequest) {
  7857. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7858. xmlhttp = new XMLHttpRequest();
  7859. }
  7860. else {
  7861. // IE6, IE5 瀏覽器執行代碼
  7862. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7863. }
  7864. xmlhttp.onreadystatechange = function () {
  7865. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7866. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7867. // resolve(res.value[0][0].text);
  7868. if (type == '2') {
  7869. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7870. } else if (type == '3') {
  7871. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7872. }
  7873. } else {
  7874. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7875. }
  7876. }
  7877. }
  7878. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7879. xmlhttp.send();
  7880. }
  7881. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7882. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7883. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7884. _userinfo = US.userInfo, //登錄用戶信息
  7885. _userid = US.userInfo.userid //登錄用戶id
  7886. let _iframe;
  7887. let _cid = cid,
  7888. _stage = stage,
  7889. _task = task,
  7890. _tool = tool;
  7891. var _jie = $$("div", {
  7892. "style": {
  7893. "position": "absolute",
  7894. "bottom": "50px",
  7895. "right": "50px",
  7896. "zIndex": "9999",
  7897. "backgroundColor": "#2268bc",
  7898. "color": "#fff",
  7899. "padding": "12px 20px",
  7900. "cursor": "pointer",
  7901. "borderRadius": "4px",
  7902. },
  7903. "innerHTML": "確認並提交"
  7904. })
  7905. let aTool = ''
  7906. let _loading = document.createElement('div')
  7907. _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;"
  7908. // _loading.id = "";
  7909. let _lchild = document.createElement('div')
  7910. let _limg = document.createElement('img')
  7911. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7912. _limg.style = "width: 26px;margin-right: 10px;"
  7913. _lchild.appendChild(_limg)
  7914. let _lspan = document.createElement('span')
  7915. _lspan.innerHTML = "上傳中..."
  7916. _lchild.appendChild(_lspan)
  7917. _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%);"
  7918. _loading.appendChild(_lchild)
  7919. var _box = $$('div', {
  7920. "style": {
  7921. "position": "relative",
  7922. "width": "100%",
  7923. "height": "100%",
  7924. },
  7925. })
  7926. _box.appendChild(_loading)
  7927. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7928. switch (str) {
  7929. case "whiteboard":
  7930. aTool = 1;
  7931. _iframe = $$("iframe", {
  7932. "frameborder": "no",
  7933. "border": "0",
  7934. "scrolling ": "no",
  7935. "style": {
  7936. "cssText": "border:0;width:100%;height:100%"
  7937. },
  7938. "src": "https://iwb.cocorobo.hk/"
  7939. })
  7940. _box.appendChild(_iframe);
  7941. _box.appendChild(_jie);
  7942. _formdiv = new U.UF.UI.form(
  7943. "電子白板",
  7944. _box, {
  7945. "id": "whiteboards" + cid + stage + task + tool,
  7946. "style": {
  7947. "width": "90%",
  7948. "height": "90%",
  7949. "overflow": 'hidden'
  7950. },
  7951. "onresize": function () { }
  7952. }, {
  7953. closecallback: function () { }
  7954. }, {
  7955. "style": {
  7956. "height": "36px"
  7957. }
  7958. }).form; //創建窗體
  7959. _taskbar = {
  7960. "id": str + _formdiv.id,
  7961. "style": {
  7962. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7963. },
  7964. "name": "電子白板",
  7965. "forms": _formdiv,
  7966. "click": function () {
  7967. U.MD.D.I.openApplication(str, obj, info);
  7968. }
  7969. }
  7970. break;
  7971. case "mind":
  7972. aTool = 3;
  7973. _iframe = $$("iframe", {
  7974. "frameborder": "no",
  7975. "border": "0",
  7976. "scrolling ": "no",
  7977. "style": {
  7978. "cssText": "border:0;width:100%;height:100%"
  7979. },
  7980. "src": "/kityminder-editor/dist/index.html"
  7981. });
  7982. _box.appendChild(_iframe);
  7983. _box.appendChild(_jie);
  7984. _formdiv = new U.UF.UI.form(
  7985. "思維導圖",
  7986. _box, { //"/jsmind/example/demo.html"
  7987. "id": "minds" + cid + stage + task + tool,
  7988. "style": {
  7989. "width": "90%",
  7990. "height": "90%",
  7991. "overflow": 'hidden'
  7992. },
  7993. "onresize": function () { }
  7994. }, {
  7995. closecallback: function () { }
  7996. }, {
  7997. "style": {
  7998. "height": "36px"
  7999. }
  8000. }).form; //創建窗體
  8001. _taskbar = {
  8002. "id": str + _formdiv.id,
  8003. "style": {
  8004. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8005. },
  8006. "name": "思維導圖",
  8007. "forms": _formdiv,
  8008. "click": function () {
  8009. U.MD.D.I.openApplication(str, obj, info);
  8010. }
  8011. }
  8012. break;
  8013. case "doc":
  8014. aTool = 6;
  8015. _iframe = $$("iframe", {
  8016. "frameborder": "no",
  8017. "border": "0",
  8018. "scrolling ": "no",
  8019. "style": {
  8020. "cssText": "border:0;width:100%;height:100%"
  8021. },
  8022. "src": "/Office/Word/WordEditArea.htm"
  8023. })
  8024. _box.appendChild(_iframe);
  8025. _box.appendChild(_jie);
  8026. _formdiv = new U.UF.UI.form(
  8027. "協同文檔",
  8028. _box, {
  8029. "id": "docs" + cid + stage + task + tool,
  8030. "style": {
  8031. "width": "90%",
  8032. "height": "90%",
  8033. "overflow": 'hidden'
  8034. },
  8035. "onresize": function () { }
  8036. }, {
  8037. closecallback: function () { }
  8038. }, {
  8039. "style": {
  8040. "height": "36px"
  8041. }
  8042. }).form; //創建窗體
  8043. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8044. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8045. })
  8046. _taskbar = {
  8047. "id": str + _formdiv.id,
  8048. "style": {
  8049. "backgroundImage": "url(/img/icon/doc.png)"
  8050. },
  8051. "name": "協同文檔",
  8052. "forms": _formdiv,
  8053. "click": function () {
  8054. U.MD.D.I.openApplication(str, obj, info);
  8055. }
  8056. }
  8057. break;
  8058. }
  8059. const script1 = document.createElement("script");
  8060. script1.type = "text/javascript";
  8061. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8062. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8063. const script2 = document.createElement("script");
  8064. script2.type = "text/javascript";
  8065. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8066. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8067. const script3 = document.createElement("script");
  8068. script3.type = "text/javascript";
  8069. script3.charset = "UTF-8";
  8070. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8071. const script4 = document.createElement("script");
  8072. script4.type = "text/javascript";
  8073. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8074. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  8075. if (_iframe) {
  8076. if (str == 'doc') {
  8077. _iframe = _formdiv.querySelector('iframe')
  8078. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8079. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8080. _iframe.contentWindow.document.body.appendChild(script1);
  8081. _iframe.contentWindow.document.body.appendChild(script2);
  8082. // _iframe.contentWindow.document.body.appendChild(script3);
  8083. _iframe.contentWindow.document.body.appendChild(script4);
  8084. })
  8085. if (onloadListener) {
  8086. _iframe.contentDocument.location.reload()
  8087. } else {
  8088. _iframe.contentDocument.location.reload()
  8089. }
  8090. } else if (str == 'mind') {
  8091. _iframe = _formdiv.querySelector('iframe')
  8092. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8093. _iframe.contentWindow.document.body.appendChild(script1);
  8094. _iframe.contentWindow.document.body.appendChild(script2);
  8095. _iframe.contentWindow.document.body.appendChild(script4);
  8096. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8097. })
  8098. if (onloadListener) {
  8099. _iframe.contentDocument.location.reload()
  8100. } else {
  8101. _iframe.contentDocument.location.reload()
  8102. }
  8103. } else {
  8104. _iframe.onload = () => {
  8105. _iframe.contentWindow.document.body.appendChild(script1);
  8106. _iframe.contentWindow.document.body.appendChild(script2);
  8107. // _iframe.contentWindow.document.body.appendChild(script3);
  8108. _iframe.contentWindow.document.body.appendChild(script4);
  8109. };
  8110. }
  8111. _jie.onclick = async () => {
  8112. let text = ''
  8113. if (aTool == 6) {
  8114. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8115. } else if (aTool == 3) {
  8116. text = await U.MD.D.I.getEditorContent(_iframe);
  8117. }
  8118. _loading.style.display = 'flex'
  8119. console.log(_loading);
  8120. var _ajs = _iframe.contentWindow.document.createElement("script");
  8121. _ajs.type = "text/javascript";
  8122. _ajs.innerHTML =
  8123. // 'console.log(' + _loading + ');\n' +
  8124. 'var _js = document.createElement("script");\n' +
  8125. '_js.type="text/javascript";\n' +
  8126. '_js.charset="UTF-8";\n' +
  8127. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8128. "_js.onload = function(){\n" +
  8129. ' var a = document.getElementsByTagName("img")\n' +
  8130. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8131. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8132. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8133. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8134. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8135. "beforeUpload_shishi(file," +
  8136. "'" +
  8137. _userid +
  8138. "'" +
  8139. ", " +
  8140. "'" +
  8141. _cid +
  8142. "'" +
  8143. ", " +
  8144. "'" +
  8145. _stage +
  8146. "'" +
  8147. ", " +
  8148. "'" +
  8149. _task +
  8150. "'" +
  8151. ", " +
  8152. "'" +
  8153. _tool +
  8154. "'" +
  8155. ", " +
  8156. "'" +
  8157. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  8158. "'" +
  8159. ", " +
  8160. "'" +
  8161. aTool +
  8162. "'" +
  8163. ", " +
  8164. "`" +
  8165. text +
  8166. "`" +
  8167. ")\n" +
  8168. " });\n" +
  8169. "}\n" +
  8170. "document.head.appendChild(_js);\n";
  8171. _iframe.contentWindow.document.head.appendChild(_ajs);
  8172. }
  8173. }
  8174. //U.MD.D.I.openClick(str);
  8175. //如果有任務欄信息
  8176. // if (_taskbar) {
  8177. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8178. // }
  8179. }
  8180. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  8181. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8182. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8183. _userinfo = US.userInfo, //登錄用戶信息
  8184. _userid = US.userInfo.userid //登錄用戶id
  8185. let _iframe;
  8186. let _cid = cid,
  8187. _stage = stage,
  8188. _task = task,
  8189. _tool = tool;
  8190. var _jie = $$("div", {
  8191. "style": {
  8192. "position": "absolute",
  8193. "bottom": "50px",
  8194. "right": "50px",
  8195. "zIndex": "9999",
  8196. "backgroundColor": "#2268bc",
  8197. "color": "#fff",
  8198. "padding": "12px 20px",
  8199. "cursor": "pointer",
  8200. "borderRadius": "4px",
  8201. },
  8202. "innerHTML": "確認並提交"
  8203. })
  8204. let aTool = ''
  8205. let _loading = document.createElement('div')
  8206. _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;"
  8207. // _loading.id = "";
  8208. let _lchild = document.createElement('div')
  8209. let _limg = document.createElement('img')
  8210. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8211. _limg.style = "width: 26px;margin-right: 10px;"
  8212. _lchild.appendChild(_limg)
  8213. let _lspan = document.createElement('span')
  8214. _lspan.innerHTML = "上傳中..."
  8215. _lchild.appendChild(_lspan)
  8216. _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%);"
  8217. _loading.appendChild(_lchild)
  8218. var _box = $$('div', {
  8219. "style": {
  8220. "position": "relative",
  8221. "width": "100%",
  8222. "height": "100%",
  8223. },
  8224. })
  8225. _box.appendChild(_loading)
  8226. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  8227. switch (str) {
  8228. case "whiteboard":
  8229. aTool = 1;
  8230. _iframe = $$("iframe", {
  8231. "frameborder": "no",
  8232. "border": "0",
  8233. "scrolling ": "no",
  8234. "style": {
  8235. "cssText": "border:0;width:100%;height:100%"
  8236. },
  8237. "src": "https://iwb.cocorobo.hk/"
  8238. })
  8239. _box.appendChild(_iframe);
  8240. _box.appendChild(_jie);
  8241. _formdiv = new U.UF.UI.form(
  8242. "電子白板",
  8243. _box, {
  8244. "id": "whiteboards" + cid + stage + task + tool,
  8245. "style": {
  8246. "width": "90%",
  8247. "height": "90%",
  8248. "overflow": 'hidden'
  8249. },
  8250. "onresize": function () { }
  8251. }, {
  8252. closecallback: function () { }
  8253. }, {
  8254. "style": {
  8255. "height": "36px"
  8256. }
  8257. }).form; //創建窗體
  8258. _taskbar = {
  8259. "id": str + _formdiv.id,
  8260. "style": {
  8261. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8262. },
  8263. "name": "電子白板",
  8264. "forms": _formdiv,
  8265. "click": function () {
  8266. U.MD.D.I.openApplication(str, obj, info);
  8267. }
  8268. }
  8269. break;
  8270. case "mind":
  8271. aTool = 3;
  8272. _iframe = $$("iframe", {
  8273. "frameborder": "no",
  8274. "border": "0",
  8275. "scrolling ": "no",
  8276. "style": {
  8277. "cssText": "border:0;width:100%;height:100%"
  8278. },
  8279. "src": "/kityminder-editor/dist/index.html"
  8280. });
  8281. _box.appendChild(_iframe);
  8282. _box.appendChild(_jie);
  8283. _formdiv = new U.UF.UI.form(
  8284. "思維導圖",
  8285. _box, { //"/jsmind/example/demo.html"
  8286. "id": "minds" + cid + stage + task + tool,
  8287. "style": {
  8288. "width": "90%",
  8289. "height": "90%",
  8290. "overflow": 'hidden'
  8291. },
  8292. "onresize": function () { }
  8293. }, {
  8294. closecallback: function () { }
  8295. }, {
  8296. "style": {
  8297. "height": "36px"
  8298. }
  8299. }).form; //創建窗體
  8300. _taskbar = {
  8301. "id": str + _formdiv.id,
  8302. "style": {
  8303. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8304. },
  8305. "name": "思維導圖",
  8306. "forms": _formdiv,
  8307. "click": function () {
  8308. U.MD.D.I.openApplication(str, obj, info);
  8309. }
  8310. }
  8311. break;
  8312. case "doc":
  8313. aTool = 6;
  8314. _iframe = $$("iframe", {
  8315. "frameborder": "no",
  8316. "border": "0",
  8317. "scrolling ": "no",
  8318. "style": {
  8319. "cssText": "border:0;width:100%;height:100%"
  8320. },
  8321. "src": "/Office/Word/WordEditArea.htm"
  8322. })
  8323. _box.appendChild(_iframe);
  8324. _box.appendChild(_jie);
  8325. _formdiv = new U.UF.UI.form(
  8326. "協同文檔",
  8327. _box, {
  8328. "id": "docs" + cid + stage + task + tool,
  8329. "style": {
  8330. "width": "90%",
  8331. "height": "90%",
  8332. "overflow": 'hidden'
  8333. },
  8334. "onresize": function () { }
  8335. }, {
  8336. closecallback: function () { }
  8337. }, {
  8338. "style": {
  8339. "height": "36px"
  8340. }
  8341. }).form; //創建窗體
  8342. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8343. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8344. })
  8345. _taskbar = {
  8346. "id": str + _formdiv.id,
  8347. "style": {
  8348. "backgroundImage": "url(/img/icon/doc.png)"
  8349. },
  8350. "name": "協同文檔",
  8351. "forms": _formdiv,
  8352. "click": function () {
  8353. U.MD.D.I.openApplication(str, obj, info);
  8354. }
  8355. }
  8356. break;
  8357. }
  8358. const script1 = document.createElement("script");
  8359. script1.type = "text/javascript";
  8360. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8361. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8362. const script2 = document.createElement("script");
  8363. script2.type = "text/javascript";
  8364. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8365. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8366. const script3 = document.createElement("script");
  8367. script3.type = "text/javascript";
  8368. script3.charset = "UTF-8";
  8369. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8370. const script4 = document.createElement("script");
  8371. script4.type = "text/javascript";
  8372. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8373. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  8374. if (_iframe) {
  8375. if (str == 'doc') {
  8376. _iframe = _formdiv.querySelector('iframe')
  8377. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8378. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8379. _iframe.contentWindow.document.body.appendChild(script1);
  8380. _iframe.contentWindow.document.body.appendChild(script2);
  8381. // _iframe.contentWindow.document.body.appendChild(script3);
  8382. _iframe.contentWindow.document.body.appendChild(script4);
  8383. })
  8384. if (onloadListener) {
  8385. _iframe.contentDocument.location.reload()
  8386. } else {
  8387. _iframe.contentDocument.location.reload()
  8388. }
  8389. } else if (str == 'mind') {
  8390. _iframe = _formdiv.querySelector('iframe')
  8391. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8392. _iframe.contentWindow.document.body.appendChild(script1);
  8393. _iframe.contentWindow.document.body.appendChild(script2);
  8394. _iframe.contentWindow.document.body.appendChild(script4);
  8395. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8396. })
  8397. if (onloadListener) {
  8398. _iframe.contentDocument.location.reload()
  8399. } else {
  8400. _iframe.contentDocument.location.reload()
  8401. }
  8402. } else {
  8403. _iframe.onload = () => {
  8404. _iframe.contentWindow.document.body.appendChild(script1);
  8405. _iframe.contentWindow.document.body.appendChild(script2);
  8406. // _iframe.contentWindow.document.body.appendChild(script3);
  8407. _iframe.contentWindow.document.body.appendChild(script4);
  8408. };
  8409. }
  8410. _jie.onclick = async () => {
  8411. let text = ''
  8412. if (aTool == 6) {
  8413. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8414. } else if (aTool == 3) {
  8415. text = await U.MD.D.I.getEditorContent(_iframe);
  8416. }
  8417. _loading.style.display = 'flex'
  8418. console.log(_loading);
  8419. var _ajs = _iframe.contentWindow.document.createElement("script");
  8420. _ajs.type = "text/javascript";
  8421. _ajs.innerHTML =
  8422. // 'console.log(' + _loading + ');\n' +
  8423. 'var _js = document.createElement("script");\n' +
  8424. '_js.type="text/javascript";\n' +
  8425. '_js.charset="UTF-8";\n' +
  8426. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8427. "_js.onload = function(){\n" +
  8428. ' var a = document.getElementsByTagName("img")\n' +
  8429. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8430. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8431. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8432. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8433. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8434. "beforeUpload_shishi(file," +
  8435. "'" +
  8436. _userid +
  8437. "'" +
  8438. ", " +
  8439. "'" +
  8440. _cid +
  8441. "'" +
  8442. ", " +
  8443. "'" +
  8444. _stage +
  8445. "'" +
  8446. ", " +
  8447. "'" +
  8448. _task +
  8449. "'" +
  8450. ", " +
  8451. "'" +
  8452. _tool +
  8453. "'" +
  8454. ", " +
  8455. "'" +
  8456. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  8457. "'" +
  8458. ", " +
  8459. "'" +
  8460. aTool +
  8461. "'" +
  8462. ", " +
  8463. "`" +
  8464. text +
  8465. "`" +
  8466. ")\n" +
  8467. " });\n" +
  8468. "}\n" +
  8469. "document.head.appendChild(_js);\n";
  8470. _iframe.contentWindow.document.head.appendChild(_ajs);
  8471. }
  8472. }
  8473. //U.MD.D.I.openClick(str);
  8474. //如果有任務欄信息
  8475. // if (_taskbar) {
  8476. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8477. // }
  8478. }
  8479. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  8480. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8481. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8482. _userinfo = US.userInfo, //登錄用戶信息
  8483. _userid = US.userInfo.userid //登錄用戶id
  8484. let _iframe;
  8485. let _cid = cid,
  8486. _stage = stage,
  8487. _task = task,
  8488. _tool = tool;
  8489. var _jie = $$("div", {
  8490. "style": {
  8491. "position": "absolute",
  8492. "bottom": "50px",
  8493. "right": "50px",
  8494. "zIndex": "9999",
  8495. "backgroundColor": "#2268bc",
  8496. "color": "#fff",
  8497. "padding": "12px 20px",
  8498. "cursor": "pointer",
  8499. "borderRadius": "4px",
  8500. },
  8501. "innerHTML": "上傳模板"
  8502. })
  8503. let aTool = ''
  8504. let _loading = document.createElement('div')
  8505. _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;"
  8506. // _loading.id = "";
  8507. let _lchild = document.createElement('div')
  8508. let _limg = document.createElement('img')
  8509. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8510. _limg.style = "width: 26px;margin-right: 10px;"
  8511. _lchild.appendChild(_limg)
  8512. let _lspan = document.createElement('span')
  8513. _lspan.innerHTML = "上傳中..."
  8514. _lchild.appendChild(_lspan)
  8515. _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%);"
  8516. _loading.appendChild(_lchild)
  8517. var _box = $$('div', {
  8518. "style": {
  8519. "position": "relative",
  8520. "width": "100%",
  8521. "height": "100%",
  8522. },
  8523. })
  8524. _box.appendChild(_loading)
  8525. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  8526. switch (str) {
  8527. case "whiteboard":
  8528. aTool = 1;
  8529. _iframe = $$("iframe", {
  8530. "frameborder": "no",
  8531. "border": "0",
  8532. "scrolling ": "no",
  8533. "style": {
  8534. "cssText": "border:0;width:100%;height:100%"
  8535. },
  8536. "src": "https://iwb.cocorobo.hk/"
  8537. })
  8538. _box.appendChild(_iframe);
  8539. _box.appendChild(_jie);
  8540. _formdiv = new U.UF.UI.form(
  8541. "電子白板",
  8542. _box, {
  8543. "id": "whiteboards_Yu" + cid + stage + task + tool,
  8544. "style": {
  8545. "width": "90%",
  8546. "height": "90%",
  8547. "overflow": 'hidden'
  8548. },
  8549. "onresize": function () { }
  8550. }, {
  8551. closecallback: function () { }
  8552. }, {
  8553. "style": {
  8554. "height": "36px"
  8555. }
  8556. }).form; //創建窗體
  8557. _taskbar = {
  8558. "id": str + _formdiv.id,
  8559. "style": {
  8560. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8561. },
  8562. "name": "電子白板",
  8563. "forms": _formdiv,
  8564. "click": function () {
  8565. U.MD.D.I.openApplication(str, obj, info);
  8566. }
  8567. }
  8568. break;
  8569. case "mind":
  8570. aTool = 3;
  8571. _iframe = $$("iframe", {
  8572. "frameborder": "no",
  8573. "border": "0",
  8574. "scrolling ": "no",
  8575. "style": {
  8576. "cssText": "border:0;width:100%;height:100%"
  8577. },
  8578. "src": "/kityminder-editor/dist/index.html"
  8579. });
  8580. _box.appendChild(_iframe);
  8581. _box.appendChild(_jie);
  8582. _formdiv = new U.UF.UI.form(
  8583. "思維導圖",
  8584. _box, { //"/jsmind/example/demo.html"
  8585. "id": "minds_Yu" + cid + stage + task + tool,
  8586. "style": {
  8587. "width": "90%",
  8588. "height": "90%",
  8589. "overflow": 'hidden'
  8590. },
  8591. "onresize": function () { }
  8592. }, {
  8593. closecallback: function () { }
  8594. }, {
  8595. "style": {
  8596. "height": "36px"
  8597. }
  8598. }).form; //創建窗體
  8599. _taskbar = {
  8600. "id": str + _formdiv.id,
  8601. "style": {
  8602. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8603. },
  8604. "name": "思維導圖",
  8605. "forms": _formdiv,
  8606. "click": function () {
  8607. U.MD.D.I.openApplication(str, obj, info);
  8608. }
  8609. }
  8610. break;
  8611. case "doc":
  8612. aTool = 6;
  8613. _iframe = $$("iframe", {
  8614. "frameborder": "no",
  8615. "border": "0",
  8616. "scrolling ": "no",
  8617. "style": {
  8618. "cssText": "border:0;width:100%;height:100%"
  8619. },
  8620. "src": "/Office/Word/WordEditArea.htm"
  8621. })
  8622. _box.appendChild(_iframe);
  8623. _box.appendChild(_jie);
  8624. _formdiv = new U.UF.UI.form(
  8625. "協同文檔",
  8626. _box, {
  8627. "id": "docs_Yu" + cid + stage + task + tool,
  8628. "style": {
  8629. "width": "90%",
  8630. "height": "90%",
  8631. "overflow": 'hidden'
  8632. },
  8633. "onresize": function () { }
  8634. }, {
  8635. closecallback: function () { }
  8636. }, {
  8637. "style": {
  8638. "height": "36px"
  8639. }
  8640. }).form; //創建窗體
  8641. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8642. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8643. })
  8644. _taskbar = {
  8645. "id": str + _formdiv.id,
  8646. "style": {
  8647. "backgroundImage": "url(/img/icon/doc.png)"
  8648. },
  8649. "name": "協同文檔",
  8650. "forms": _formdiv,
  8651. "click": function () {
  8652. U.MD.D.I.openApplication(str, obj, info);
  8653. }
  8654. }
  8655. break;
  8656. case "CocoPi":
  8657. aTool = 57;
  8658. _iframe = $$("iframe", {
  8659. "allowpaymentrequest": "allowpaymentrequest",
  8660. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8661. "webkitallowfullscreen": "",
  8662. "mozallowfullscreen": "",
  8663. "frameborder": "no",
  8664. "border": "0",
  8665. "scrolling ": "no",
  8666. "style": {
  8667. "cssText": "border:0;width:100%;height:100%"
  8668. },
  8669. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8670. })
  8671. _box.appendChild(_iframe);
  8672. _box.appendChild(_jie);
  8673. _formdiv = new U.UF.UI.form(
  8674. "CocoPi",
  8675. _box, {
  8676. "id": "CocoPi_Yu" + cid + stage + task + tool,
  8677. "style": {
  8678. "width": "90%",
  8679. "height": "90%",
  8680. "overflow": 'hidden'
  8681. },
  8682. "onresize": function () { }
  8683. }, {
  8684. closecallback: function () { }
  8685. }, {
  8686. "style": {
  8687. "height": "36px"
  8688. }
  8689. }).form; //創建窗體
  8690. _taskbar = {
  8691. "id": str + _formdiv.id,
  8692. "style": {
  8693. "backgroundImage": "url(/img/icon/cocopi.png)"
  8694. },
  8695. "name": "CocoPi",
  8696. "forms": _formdiv,
  8697. "click": function () {
  8698. U.MD.D.I.openApplication(str, obj, info);
  8699. }
  8700. }
  8701. break;
  8702. }
  8703. if (_iframe) {
  8704. if (str == 'doc') {
  8705. _iframe = _formdiv.querySelector('iframe')
  8706. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8707. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8708. })
  8709. if (onloadListener) {
  8710. _iframe.contentDocument.location.reload()
  8711. } else {
  8712. _iframe.contentDocument.location.reload()
  8713. }
  8714. } else if (str == 'mind') {
  8715. _iframe = _formdiv.querySelector('iframe')
  8716. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8717. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  8718. })
  8719. if (onloadListener) {
  8720. _iframe.contentDocument.location.reload()
  8721. } else {
  8722. _iframe.contentDocument.location.reload()
  8723. }
  8724. } else if (str == 'whiteboard') {
  8725. _iframe = _formdiv.querySelector('iframe')
  8726. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8727. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  8728. })
  8729. // if (onloadListener) {
  8730. // try {
  8731. // _iframe.src += "?cocorobo="+new Date().getTime()
  8732. // _iframe.contentWindow.document.location.reload()
  8733. // } catch (error) {
  8734. // }
  8735. // } else {
  8736. // _iframe.contentDocument.location.reload()
  8737. // }
  8738. } else if (str == 'CocoPi') {
  8739. _iframe = _formdiv.querySelector('iframe')
  8740. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8741. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  8742. })
  8743. if (onloadListener) {
  8744. _iframe.contentDocument.location.reload()
  8745. } else {
  8746. _iframe.contentDocument.location.reload()
  8747. }
  8748. } else {
  8749. _iframe.onload = () => { };
  8750. }
  8751. _jie.onclick = async () => {
  8752. let text = ''
  8753. let type = '2'
  8754. if (aTool == 1) {
  8755. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8756. type = '3'
  8757. } else if (aTool == 6) {
  8758. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8759. type = '1'
  8760. } else if (aTool == 3) {
  8761. text = await U.MD.D.I.getEditorContent(_iframe);
  8762. type = '2'
  8763. } else if (aTool == 57) {
  8764. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  8765. type = '4'
  8766. }
  8767. _loading.style.display = 'flex'
  8768. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  8769. }
  8770. }
  8771. //U.MD.D.I.openClick(str);
  8772. //如果有任務欄信息
  8773. // if (_taskbar) {
  8774. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8775. // }
  8776. }
  8777. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  8778. var xmlhttp;
  8779. var Mac, Sn, DeviceId
  8780. if (window.XMLHttpRequest) {
  8781. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8782. xmlhttp = new XMLHttpRequest();
  8783. }
  8784. else {
  8785. // IE6, IE5 瀏覽器執行代碼
  8786. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8787. }
  8788. xmlhttp.onreadystatechange = function () {
  8789. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8790. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8791. // resolve(res.value[0][0].text);
  8792. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8793. }
  8794. }
  8795. }
  8796. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8797. xmlhttp.send();
  8798. }
  8799. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8800. var xmlhttp;
  8801. var Mac, Sn, DeviceId
  8802. if (window.XMLHttpRequest) {
  8803. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8804. xmlhttp = new XMLHttpRequest();
  8805. }
  8806. else {
  8807. // IE6, IE5 瀏覽器執行代碼
  8808. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8809. }
  8810. xmlhttp.onreadystatechange = function () {
  8811. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8812. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8813. // resolve(res.value[0][0].text);
  8814. if (type == '2') {
  8815. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8816. } else if (type == '3') {
  8817. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8818. } else if (type == '4') {
  8819. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8820. }
  8821. } else {
  8822. if (type == '2') {
  8823. iframe.contentWindow.editor.minder.importData('json', '')
  8824. } else if (type == '3') {
  8825. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8826. } else if (type == '4') {
  8827. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8828. }
  8829. }
  8830. }
  8831. }
  8832. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8833. xmlhttp.send();
  8834. }
  8835. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8836. var xmlhttp;
  8837. var Mac, Sn, DeviceId
  8838. if (window.XMLHttpRequest) {
  8839. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8840. xmlhttp = new XMLHttpRequest();
  8841. }
  8842. else {
  8843. // IE6, IE5 瀏覽器執行代碼
  8844. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8845. }
  8846. xmlhttp.onreadystatechange = function () {
  8847. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8848. if (xmlhttp.response) {
  8849. // resolve(res.value[0][0].text);
  8850. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8851. // $(fileInput).val('');
  8852. // });
  8853. span.innerHTML = '上傳成功'
  8854. setTimeout(() => {
  8855. loading.style.display = 'none'
  8856. }, 1000);
  8857. }
  8858. }
  8859. }
  8860. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8861. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8862. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8863. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8864. // 設置請求頭,表示請求體的編碼格式
  8865. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8866. // 設置請求體,使用url-encoded格式的數據
  8867. }
  8868. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8869. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8870. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8871. _userinfo = US.userInfo, //登錄用戶信息
  8872. _userid = US.userInfo.userid //登錄用戶id
  8873. let _iframe;
  8874. let _cid = cid,
  8875. _stage = stage,
  8876. _task = task,
  8877. _tool = tool;
  8878. var _jie = $$("div", {
  8879. "style": {
  8880. "position": "absolute",
  8881. "bottom": "50px",
  8882. "right": "50px",
  8883. "zIndex": "9999",
  8884. "backgroundColor": "#2268bc",
  8885. "color": "#fff",
  8886. "padding": "12px 20px",
  8887. "cursor": "pointer",
  8888. "borderRadius": "4px",
  8889. },
  8890. "innerHTML": "提交作業"
  8891. })
  8892. let aTool = ''
  8893. let _loading = document.createElement('div')
  8894. _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;"
  8895. // _loading.id = "";
  8896. let _lchild = document.createElement('div')
  8897. let _limg = document.createElement('img')
  8898. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8899. _limg.style = "width: 26px;margin-right: 10px;"
  8900. _lchild.appendChild(_limg)
  8901. let _lspan = document.createElement('span')
  8902. _lspan.innerHTML = "上傳中..."
  8903. _lchild.appendChild(_lspan)
  8904. _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%);"
  8905. _loading.appendChild(_lchild)
  8906. var _box = $$('div', {
  8907. "style": {
  8908. "position": "relative",
  8909. "width": "100%",
  8910. "height": "100%",
  8911. },
  8912. })
  8913. _box.appendChild(_loading)
  8914. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8915. switch (str) {
  8916. case "CocoPi":
  8917. aTool = 57;
  8918. _iframe = $$("iframe", {
  8919. "allowpaymentrequest": "allowpaymentrequest",
  8920. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8921. "webkitallowfullscreen": "",
  8922. "mozallowfullscreen": "",
  8923. "frameborder": "no",
  8924. "border": "0",
  8925. "scrolling ": "no",
  8926. "style": {
  8927. "cssText": "border:0;width:100%;height:100%"
  8928. },
  8929. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8930. })
  8931. _box.appendChild(_iframe);
  8932. _box.appendChild(_jie);
  8933. _formdiv = new U.UF.UI.form(
  8934. "CocoPi",
  8935. _box, {
  8936. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8937. "style": {
  8938. "width": "90%",
  8939. "height": "90%",
  8940. "overflow": 'hidden'
  8941. },
  8942. "onresize": function () { }
  8943. }, {
  8944. closecallback: function () { }
  8945. }, {
  8946. "style": {
  8947. "height": "36px"
  8948. }
  8949. }).form; //創建窗體
  8950. _taskbar = {
  8951. "id": str + _formdiv.id,
  8952. "style": {
  8953. "backgroundImage": "url(/img/icon/cocopi.png)"
  8954. },
  8955. "name": "CocoPi",
  8956. "forms": _formdiv,
  8957. "click": function () {
  8958. U.MD.D.I.openApplication(str, obj, info);
  8959. }
  8960. }
  8961. break;
  8962. }
  8963. if (_iframe) {
  8964. if (str == 'CocoPi') {
  8965. _iframe = _formdiv.querySelector('iframe')
  8966. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8967. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8968. })
  8969. if (onloadListener) {
  8970. _iframe.contentDocument.location.reload()
  8971. } else {
  8972. _iframe.contentDocument.location.reload()
  8973. }
  8974. }
  8975. _jie.onclick = async () => {
  8976. let text = ''
  8977. if (aTool == 57) {
  8978. text = _iframe.contentWindow.getLoadXmlStr()
  8979. }
  8980. _loading.style.display = 'flex'
  8981. console.log(_loading);
  8982. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8983. _loading.style.display = 'none'
  8984. let _div = document.createElement('div')
  8985. _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;"
  8986. let _inner = document.createElement('div')
  8987. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8988. _inner.innerHTML = "上傳成功"
  8989. _div.appendChild(_inner)
  8990. _iframe.contentWindow.window.document.body.appendChild(_div)
  8991. _div.onclick = () => {
  8992. _iframe.contentWindow.window.document.body.removeChild(_div)
  8993. }
  8994. setTimeout(() => {
  8995. _iframe.contentWindow.window.document.body.removeChild(_div)
  8996. }, 1000);
  8997. }, [], { "type": "POST", "withCredentials": true });
  8998. }
  8999. }
  9000. }
  9001. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  9002. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  9003. _formdiv, //創建任務欄時同時彈出的窗體元素。
  9004. _userid = student.userid, //登錄用戶id
  9005. _username = student.student //用戶名字
  9006. let _iframe;
  9007. let _cid = cid,
  9008. _stage = stage,
  9009. _task = task,
  9010. _tool = tool;
  9011. var _jie = $$("div", {
  9012. "style": {
  9013. "position": "absolute",
  9014. "bottom": "50px",
  9015. "right": "50px",
  9016. "zIndex": "9999",
  9017. "backgroundColor": "#2268bc",
  9018. "color": "#fff",
  9019. "padding": "12px 20px",
  9020. "cursor": "pointer",
  9021. "borderRadius": "4px",
  9022. },
  9023. "innerHTML": "提交作業"
  9024. })
  9025. let aTool = ''
  9026. let _loading = document.createElement('div')
  9027. _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;"
  9028. // _loading.id = "";
  9029. let _lchild = document.createElement('div')
  9030. let _limg = document.createElement('img')
  9031. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  9032. _limg.style = "width: 26px;margin-right: 10px;"
  9033. _lchild.appendChild(_limg)
  9034. let _lspan = document.createElement('span')
  9035. _lspan.innerHTML = "上傳中..."
  9036. _lchild.appendChild(_lspan)
  9037. _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%);"
  9038. _loading.appendChild(_lchild)
  9039. var _box = $$('div', {
  9040. "style": {
  9041. "position": "relative",
  9042. "width": "100%",
  9043. "height": "100%",
  9044. },
  9045. })
  9046. _box.appendChild(_loading)
  9047. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  9048. switch (str) {
  9049. case "CocoPi":
  9050. aTool = 57;
  9051. _iframe = $$("iframe", {
  9052. "allowpaymentrequest": "allowpaymentrequest",
  9053. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9054. "webkitallowfullscreen": "",
  9055. "mozallowfullscreen": "",
  9056. "frameborder": "no",
  9057. "border": "0",
  9058. "scrolling ": "no",
  9059. "style": {
  9060. "cssText": "border:0;width:100%;height:100%"
  9061. },
  9062. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9063. })
  9064. _box.appendChild(_iframe);
  9065. _box.appendChild(_jie);
  9066. _formdiv = new U.UF.UI.form(
  9067. "CocoPi-" + _username,
  9068. _box, {
  9069. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  9070. "style": {
  9071. "width": "90%",
  9072. "height": "90%",
  9073. "overflow": 'hidden'
  9074. },
  9075. "onresize": function () { }
  9076. }, {
  9077. closecallback: function () { }
  9078. }, {
  9079. "style": {
  9080. "height": "36px"
  9081. }
  9082. }).form; //創建窗體
  9083. _taskbar = {
  9084. "id": str + _formdiv.id,
  9085. "style": {
  9086. "backgroundImage": "url(/img/icon/cocopi.png)"
  9087. },
  9088. "name": "CocoPi",
  9089. "forms": _formdiv,
  9090. "click": function () {
  9091. U.MD.D.I.openApplication(str, obj, info);
  9092. }
  9093. }
  9094. break;
  9095. }
  9096. if (_iframe) {
  9097. if (str == 'CocoPi') {
  9098. _iframe = _formdiv.querySelector('iframe')
  9099. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9100. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  9101. })
  9102. if (onloadListener) {
  9103. _iframe.contentDocument.location.reload()
  9104. } else {
  9105. _iframe.contentDocument.location.reload()
  9106. }
  9107. }
  9108. _jie.onclick = async () => {
  9109. let text = ''
  9110. if (aTool == 57) {
  9111. text = _iframe.contentWindow.getLoadXmlStr()
  9112. }
  9113. _loading.style.display = 'flex'
  9114. console.log(_loading);
  9115. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  9116. _loading.style.display = 'none'
  9117. let _div = document.createElement('div')
  9118. _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;"
  9119. let _inner = document.createElement('div')
  9120. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  9121. _inner.innerHTML = "上傳成功"
  9122. _div.appendChild(_inner)
  9123. _iframe.contentWindow.window.document.body.appendChild(_div)
  9124. _div.onclick = () => {
  9125. _iframe.contentWindow.window.document.body.removeChild(_div)
  9126. }
  9127. setTimeout(() => {
  9128. _iframe.contentWindow.window.document.body.removeChild(_div)
  9129. }, 1000);
  9130. }, [], { "type": "POST", "withCredentials": true });
  9131. }
  9132. }
  9133. }
  9134. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  9135. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  9136. if (res.value[0].length > 0) {
  9137. if (atool == 57) {
  9138. iframe.contentWindow.loadingXml(res.value[0][0].content)
  9139. }
  9140. } else {
  9141. if (atool == 57) {
  9142. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  9143. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  9144. }
  9145. }
  9146. }, [], { "type": "POST", "withCredentials": true });
  9147. }