DeskTop.js 499 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337
  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. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "漢字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "國學經典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "筆畫訓練", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "書法課堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "課程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "學生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "學生評價", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班級管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "課程進展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的評價", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北師大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "數字實驗室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  426. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  427. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  428. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  429. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  431. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  432. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  433. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  434. ];
  435. U.MD.D.I.wankeAdminDeskIcon = [
  436. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  437. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  438. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  439. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  440. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  441. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  442. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  444. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  445. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  446. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  447. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  448. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  449. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  450. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  451. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  452. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  453. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  454. ];
  455. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  456. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  457. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  458. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  459. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  460. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  461. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  462. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  463. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  464. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  465. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  466. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  467. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  468. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  469. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  470. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  471. ];
  472. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  473. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  474. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  475. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  476. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  477. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  478. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  479. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  480. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  481. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  482. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  483. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  484. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  485. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  486. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  487. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  488. ];
  489. //明德教師桌面圖標的全局變量
  490. U.MD.D.I.MingdeTeacherDeskIcon = [
  491. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  492. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  493. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  494. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  495. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  496. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  497. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  498. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  499. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  500. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  501. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  502. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  503. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  504. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  505. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  506. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  507. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  508. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  509. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  510. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  511. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  512. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  513. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  514. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  515. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  516. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  517. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  518. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  519. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  520. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  521. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  522. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  523. ];
  524. //97c4ee8b-d010-4042-986d-e9d3c217264f
  525. //教師桌面圖標的全局變量
  526. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  527. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  528. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  529. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  530. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  531. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  532. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  533. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  534. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  535. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  536. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  537. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  538. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  539. ];
  540. //福田
  541. U.MD.D.I.futianTeacherDeskIcon = [
  542. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  543. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  544. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  545. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  546. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  547. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  548. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  550. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  551. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  552. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  553. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  554. ];
  555. //福田
  556. U.MD.D.I.futianAdminDeskIcon = [
  557. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  558. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  559. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  560. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  561. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  562. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  563. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  565. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  566. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  567. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  568. ];
  569. //lotech
  570. U.MD.D.I.lotechTeacherDeskIcon = [
  571. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  572. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  573. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  574. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  575. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  576. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  577. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  578. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  579. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  580. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  581. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  582. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  583. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  586. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  587. ];
  588. //龍華中心小學教師桌面圖標的全局變量
  589. U.MD.D.I.longhuateacherDeskIcon = [
  590. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  591. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  592. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  593. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  594. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  595. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  596. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  597. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  598. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  599. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  600. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  601. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  602. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  603. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  604. ];
  605. //教科院實小教師桌面圖標的全局變量
  606. U.MD.D.I.siesteacherDeskIcon = [
  607. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  608. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  609. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  611. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  612. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  613. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  614. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  615. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  616. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  617. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  618. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  619. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  620. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  621. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  622. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  623. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  624. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  626. { "Name": "數據融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  627. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  628. { "Name": "評測看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  629. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. { "Name": "教師管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  631. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  632. ];
  633. //教科院實小教師桌面圖標的全局變量
  634. U.MD.D.I.siesStudentDeskIcon = [
  635. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  639. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  640. ];
  641. //福田
  642. U.MD.D.I.gdjgTeacherDeskIcon = [
  643. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  644. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  645. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  646. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  647. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  648. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  649. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  650. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  651. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  652. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  653. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  655. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  656. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  657. ];
  658. //gdjg
  659. U.MD.D.I.gdjgAdminDeskIcon = [
  660. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  661. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  662. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  663. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  664. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  665. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  666. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  668. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  669. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  671. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  672. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  673. ];
  674. //hk
  675. U.MD.D.I.hkteacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  679. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  680. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  681. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  682. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  683. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  684. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  685. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  686. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  687. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  688. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  689. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  692. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  693. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  694. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  695. ];
  696. //hk
  697. U.MD.D.I.hkStudentDeskIcon = [
  698. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  699. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  700. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  704. ];
  705. //hk
  706. U.MD.D.I.hkaceteacherDeskIcon = [
  707. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  708. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  709. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  710. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  711. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  712. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  713. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  714. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  715. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  716. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  717. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  718. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  719. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  720. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  721. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  723. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  724. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  725. ];
  726. //hk
  727. U.MD.D.I.hkaceStudentDeskIcon = [
  728. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  729. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  730. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  731. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  732. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  733. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  734. ];
  735. //香海正覺蓮社佛教正覺中學
  736. U.MD.D.I.hkZJLSteacherDeskIcon = [
  737. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  738. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  739. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  740. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  741. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  742. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  743. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  744. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  745. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  746. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  747. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  748. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  749. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  750. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  751. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  752. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  753. ];
  754. //香海正覺蓮社佛教正覺中學
  755. U.MD.D.I.hkZJLSStudentDeskIcon = [
  756. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  757. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  758. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  759. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  760. ];
  761. //雲海
  762. U.MD.D.I.yunhaiTeacherDeskIcon = [
  763. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  764. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  765. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  766. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  767. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  768. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  769. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  770. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  771. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  772. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  773. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  774. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  775. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  776. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  777. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  778. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  779. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  780. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  781. ];
  782. //福田
  783. U.MD.D.I.heyuanTeacherDeskIcon = [
  784. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  785. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  786. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  787. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  788. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  789. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  790. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  791. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  792. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  793. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  794. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  795. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  796. ];
  797. //福田
  798. U.MD.D.I.heyuanAdminDeskIcon = [
  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": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  802. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  803. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  804. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  805. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  806. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  807. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  808. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  809. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  810. ];
  811. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  812. U.MD.D.I.szherTeacherDeskIcon = [
  813. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  814. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  815. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  816. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  817. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  818. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  819. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  820. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  821. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  822. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  823. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  824. ];
  825. //dsei
  826. U.MD.D.I.dseiTeacherDeskIcon = [
  827. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  828. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  829. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  830. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  831. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  832. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  833. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  834. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  835. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  836. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  837. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  838. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  839. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  840. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  841. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  842. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  843. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  844. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  845. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  846. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  847. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  848. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  849. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  850. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  851. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  852. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  853. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  854. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  855. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  856. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  857. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  858. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  859. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  860. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  861. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  862. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  863. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  864. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  865. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  866. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  867. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  868. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  869. ];
  870. //dsei
  871. U.MD.D.I.dseiAdminDeskIcon = [
  872. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  873. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  874. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  875. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  876. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  877. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  878. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  879. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  880. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  881. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  882. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  883. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  884. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  885. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  886. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  887. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  888. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  889. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  890. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  891. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  892. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  893. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  894. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  895. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  896. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  897. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  898. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  899. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  900. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  901. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  902. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  903. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  904. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  905. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  906. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  907. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  908. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  909. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  910. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  911. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  912. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  913. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  914. ];
  915. //dsei
  916. U.MD.D.I.dseiStudentDeskIcon = [
  917. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  918. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  919. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  920. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  921. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  922. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  923. ];
  924. //未來教育基地
  925. U.MD.D.I.szjkyTeacherDeskIcon = [
  926. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  927. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  928. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  929. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  930. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  931. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  932. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  933. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  934. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  935. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  936. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  937. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  938. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  939. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  940. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  941. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  942. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  943. { "Name": "評測管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  944. { "Name": "評測中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  945. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  946. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  947. ];
  948. //未來教育基地
  949. U.MD.D.I.szjkyAdminDeskIcon = [
  950. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  951. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  952. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  953. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  954. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  955. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  956. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  957. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  958. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  959. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  960. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  961. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  962. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  963. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  964. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  965. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  966. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  967. { "Name": "評測管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  968. { "Name": "評測中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  969. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  970. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  971. ];
  972. //未來教育基地
  973. U.MD.D.I.szjkyStudentDeskIcon = [
  974. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  975. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  976. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  977. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  978. ];
  979. //成華教育局
  980. U.MD.D.I.chjyjTeacherDeskIcon = [
  981. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  982. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  983. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  984. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  985. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  986. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  987. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  988. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  989. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  990. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  991. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  992. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  994. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  995. ];
  996. //成華教育局chjyj
  997. U.MD.D.I.chjyjAdminDeskIcon = [
  998. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  999. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1000. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1001. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1002. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1003. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1004. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1005. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1006. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1007. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1008. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1009. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1010. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1012. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1013. ];
  1014. //成華教育局chjyj
  1015. U.MD.D.I.chjyjStudentDeskIcon = [
  1016. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1017. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1018. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1019. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1020. ];
  1021. //tpc
  1022. U.MD.D.I.tpcStudentDeskIcon = [
  1023. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1024. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1025. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1026. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1027. ];
  1028. //tpc
  1029. U.MD.D.I.tpcTeacherDeskIcon = [
  1030. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1031. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1032. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1033. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1034. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1035. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1036. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1037. ];
  1038. //tpc
  1039. U.MD.D.I.tpcAdminDeskIcon = [
  1040. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1041. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1042. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1043. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1044. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1045. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1046. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1047. ];
  1048. //THU-IOE
  1049. U.MD.D.I.thuioeTeacherDeskIcon = [
  1050. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1051. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1052. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1053. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1054. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1055. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1056. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1057. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1058. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1059. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1060. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1061. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1062. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1063. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1064. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1065. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1066. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1067. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1068. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1069. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1070. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1071. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1072. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1073. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1074. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1075. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1076. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1077. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1078. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1079. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1080. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1081. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1082. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1083. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1084. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1085. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1086. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1087. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1088. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1089. ];
  1090. //THU-IOE
  1091. U.MD.D.I.thuioeStudentDeskIcon = [
  1092. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1093. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1094. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1095. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1096. ];
  1097. //jccssyl
  1098. U.MD.D.I.jccssylTeacherDeskIcon = [
  1099. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1100. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1101. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1102. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1103. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1104. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1105. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1106. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1107. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1108. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1109. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1110. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1111. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1112. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1113. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1114. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1115. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1116. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1117. ];
  1118. //jccssyl
  1119. U.MD.D.I.jccssylStudentDeskIcon = [
  1120. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1121. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1122. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1123. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1124. ];
  1125. //#region 桌面初始化a
  1126. /**
  1127. * 初始化桌面的起始函數
  1128. *
  1129. */
  1130. U.MD.D.I.init = function () {
  1131. if ($("#U_MD_D_K")[0]) {
  1132. //初始化桌面圖標
  1133. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1134. // var clickUrl = ':12588/requestIp.php';
  1135. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1136. // U.MD.D.I.Ip = data;
  1137. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1138. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1139. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1140. // })
  1141. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1142. // })
  1143. }
  1144. }
  1145. /**
  1146. * 模式切換
  1147. *
  1148. */
  1149. U.MD.D.I.ModeCheck = function (type) {
  1150. if (US.Config.type == type) {
  1151. return
  1152. }
  1153. US.Config.type = type
  1154. $('.U_PBL_Check .active')[0].className = ''
  1155. if (type == 1) {
  1156. $('.U_PBL_Check div')[0].className = 'active'
  1157. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1158. } else {
  1159. $('.U_PBL_Check div')[1].className = 'active'
  1160. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1161. }
  1162. //初始化桌面圖標
  1163. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1164. if (type == 2) {
  1165. U.MD.D.I.openApplication("project")
  1166. }
  1167. }
  1168. /**
  1169. * 隱藏任務欄
  1170. *
  1171. * @param {element} 桌面元素
  1172. */
  1173. U.MD.D.I.hiddenTaskbar = function (el) {
  1174. //任務欄位置變小
  1175. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1176. //桌面的位置變大
  1177. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1178. }
  1179. /**
  1180. * 隱藏任務欄
  1181. *
  1182. * @param {element} 桌面元素
  1183. */
  1184. U.MD.D.I.hiddenTaskbarout = function (el) {
  1185. //任務欄位置變小
  1186. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1187. //任務欄位置變化
  1188. U.selectEl(el).css({ "bottom": "-60px" });
  1189. //桌面的位置變大
  1190. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1191. }
  1192. }
  1193. /**
  1194. * 初始化打印桌面圖標
  1195. *
  1196. * @param {element} 桌面元素
  1197. */
  1198. U.MD.D.I.initDesktopIcons = function (el, type) {
  1199. var i, //用於循環
  1200. _content, //桌面圖標元素
  1201. _iconcontent, //桌面圖標元素
  1202. _frag = $$("frag"), //定義一個碎片元素
  1203. _type = US.userInfo.type,
  1204. _org = US.userInfo.org,
  1205. _oid = US.userInfo.organizeid,
  1206. _role = US.userInfo.role,
  1207. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1208. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1209. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1210. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1211. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1212. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1213. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1214. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1215. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1216. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1217. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1218. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大
  1219. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1220. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1221. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1222. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1223. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1224. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1225. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1226. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1227. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1228. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1229. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1230. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1231. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1232. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1233. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1234. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1235. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1236. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1237. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1238. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1239. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1240. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1241. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1242. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1243. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1244. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1245. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1246. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1247. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1248. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1249. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1250. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1251. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1252. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1253. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1254. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1255. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1256. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1257. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1258. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1259. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1260. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1261. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1262. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1263. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1264. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1265. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
  1266. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
  1267. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //網絡夏令營
  1268. 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'];
  1269. 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'];
  1270. //清楚桌面圖標
  1271. el.innerHTML = "";
  1272. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1273. _teacherDesktopIconInfo.push(
  1274. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1275. { "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)" } },
  1276. )
  1277. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1278. }
  1279. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1280. _teacherDesktopIconInfo.push(
  1281. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1282. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1283. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1284. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1285. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1286. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1287. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1288. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1289. { "Name": "評測管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1290. { "Name": "評測中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1291. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1292. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1293. )
  1294. }
  1295. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1296. // _teacherDesktopIconInfo.push(
  1297. // )
  1298. // }
  1299. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1300. _teacherDesktopIconInfo.push(
  1301. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1302. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1303. )
  1304. }
  1305. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1306. _teacherDesktopIconInfo.push(
  1307. )
  1308. }
  1309. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1310. _teacherDesktopIconInfo.push(
  1311. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1312. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1313. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1314. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1315. )
  1316. _studentDesktopIconInfo.push(
  1317. )
  1318. }
  1319. //麒麟二中 和 民新小學
  1320. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1321. _teacherDesktopIconInfo.push(
  1322. )
  1323. }
  1324. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1325. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1326. _teacherDesktopIconInfo.push(
  1327. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1328. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1329. )
  1330. }
  1331. //麒麟二中
  1332. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1333. _studentDesktopIconInfo.push(
  1334. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1335. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1336. )
  1337. }
  1338. //萬科雙語
  1339. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1340. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1341. if (el.Name == '項目管理') {
  1342. el.Name = 'PBL項目'
  1343. }
  1344. return el
  1345. })
  1346. _studentDesktopIconInfo3.push(
  1347. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1348. )
  1349. }
  1350. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1351. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1352. return el.Name != '魔盒識字' && el.Name != '24點'
  1353. })
  1354. }
  1355. 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) {
  1356. _studentDesktopIconInfo.push(
  1357. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1358. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1359. )
  1360. }
  1361. //循環創建桌面圖標
  1362. if (type == 1) {
  1363. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1364. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1365. _content = $$("div", {
  1366. className: "U_MD_D_KO",
  1367. "onmousedown": U.UF.C.closure(function (obj) {
  1368. //防止拖動圖標即打開了桌面應用
  1369. U.MD.D.click(this, obj);
  1370. }, [_studentDesktopIconInfo[i]]),
  1371. "onclick": U.UF.C.closure(function (obj) {
  1372. //防止拖動圖標即打開了桌面應用
  1373. U.MD.D.click(this, obj);
  1374. }, [_studentDesktopIconInfo[i]])
  1375. }, _frag); //
  1376. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1377. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1378. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1379. }
  1380. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1381. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1382. _content = $$("div", {
  1383. className: "U_MD_D_KO",
  1384. "onmousedown": U.UF.C.closure(function (obj) {
  1385. //防止拖動圖標即打開了桌面應用
  1386. U.MD.D.click(this, obj);
  1387. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1388. "onclick": U.UF.C.closure(function (obj) {
  1389. //防止拖動圖標即打開了桌面應用
  1390. U.MD.D.click(this, obj);
  1391. }, [_hkZJLSStudentDeskIconInfo[i]])
  1392. }, _frag); //
  1393. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1394. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1395. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1396. } //
  1397. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1398. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1399. _content = $$("div", {
  1400. className: "U_MD_D_KO",
  1401. "onmousedown": U.UF.C.closure(function (obj) {
  1402. //防止拖動圖標即打開了桌面應用
  1403. U.MD.D.click(this, obj);
  1404. }, [_jccssylStudentDeskIconInfo[i]]),
  1405. "onclick": U.UF.C.closure(function (obj) {
  1406. //防止拖動圖標即打開了桌面應用
  1407. U.MD.D.click(this, obj);
  1408. }, [_jccssylStudentDeskIconInfo[i]])
  1409. }, _frag); //
  1410. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1411. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1412. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1413. }
  1414. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1415. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1416. _content = $$("div", {
  1417. className: "U_MD_D_KO",
  1418. "onmousedown": U.UF.C.closure(function (obj) {
  1419. //防止拖動圖標即打開了桌面應用
  1420. U.MD.D.click(this, obj);
  1421. }, [_thuioeStudentDeskIconInfo[i]]),
  1422. "onclick": U.UF.C.closure(function (obj) {
  1423. //防止拖動圖標即打開了桌面應用
  1424. U.MD.D.click(this, obj);
  1425. }, [_thuioeStudentDeskIconInfo[i]])
  1426. }, _frag); //
  1427. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1428. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1429. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1430. }
  1431. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1432. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1433. _content = $$("div", {
  1434. className: "U_MD_D_KO",
  1435. "onmousedown": U.UF.C.closure(function (obj) {
  1436. //防止拖動圖標即打開了桌面應用
  1437. U.MD.D.click(this, obj);
  1438. }, [_tpcStudentDeskIconInfo[i]]),
  1439. "onclick": U.UF.C.closure(function (obj) {
  1440. //防止拖動圖標即打開了桌面應用
  1441. U.MD.D.click(this, obj);
  1442. }, [_tpcStudentDeskIconInfo[i]])
  1443. }, _frag); //
  1444. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1445. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1446. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1447. } //
  1448. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1449. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1450. _content = $$("div", {
  1451. className: "U_MD_D_KO",
  1452. "onmousedown": U.UF.C.closure(function (obj) {
  1453. //防止拖動圖標即打開了桌面應用
  1454. U.MD.D.click(this, obj);
  1455. }, [_chjyjStudentDeskIconInfo[i]]),
  1456. "onclick": U.UF.C.closure(function (obj) {
  1457. //防止拖動圖標即打開了桌面應用
  1458. U.MD.D.click(this, obj);
  1459. }, [_chjyjStudentDeskIconInfo[i]])
  1460. }, _frag); //
  1461. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1462. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1463. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1464. }
  1465. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1466. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1467. _content = $$("div", {
  1468. className: "U_MD_D_KO",
  1469. "onmousedown": U.UF.C.closure(function (obj) {
  1470. //防止拖動圖標即打開了桌面應用
  1471. U.MD.D.click(this, obj);
  1472. }, [_szjkyStudentDeskIconInfo[i]]),
  1473. "onclick": U.UF.C.closure(function (obj) {
  1474. //防止拖動圖標即打開了桌面應用
  1475. U.MD.D.click(this, obj);
  1476. }, [_szjkyStudentDeskIconInfo[i]])
  1477. }, _frag); //
  1478. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1479. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1480. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1481. }
  1482. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1483. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1484. _content = $$("div", {
  1485. className: "U_MD_D_KO",
  1486. "onmousedown": U.UF.C.closure(function (obj) {
  1487. //防止拖動圖標即打開了桌面應用
  1488. U.MD.D.click(this, obj);
  1489. }, [_dseiStudentDeskIconInfo[i]]),
  1490. "onclick": U.UF.C.closure(function (obj) {
  1491. //防止拖動圖標即打開了桌面應用
  1492. U.MD.D.click(this, obj);
  1493. }, [_dseiStudentDeskIconInfo[i]])
  1494. }, _frag); //
  1495. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1496. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1497. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1498. }
  1499. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1500. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1501. _content = $$("div", {
  1502. className: "U_MD_D_KO",
  1503. "onmousedown": U.UF.C.closure(function (obj) {
  1504. //防止拖動圖標即打開了桌面應用
  1505. U.MD.D.click(this, obj);
  1506. }, [_siesStudentDeskIconInfo[i]]),
  1507. "onclick": U.UF.C.closure(function (obj) {
  1508. //防止拖動圖標即打開了桌面應用
  1509. U.MD.D.click(this, obj);
  1510. }, [_siesStudentDeskIconInfo[i]])
  1511. }, _frag); //
  1512. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1513. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1514. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1515. }
  1516. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1517. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1518. _content = $$("div", {
  1519. className: "U_MD_D_KO",
  1520. "onmousedown": U.UF.C.closure(function (obj) {
  1521. //防止拖動圖標即打開了桌面應用
  1522. U.MD.D.click(this, obj);
  1523. }, [_hkStudentDeskIconInfo[i]]),
  1524. "onclick": U.UF.C.closure(function (obj) {
  1525. //防止拖動圖標即打開了桌面應用
  1526. U.MD.D.click(this, obj);
  1527. }, [_hkStudentDeskIconInfo[i]])
  1528. }, _frag); //
  1529. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1530. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1531. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1532. }
  1533. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1534. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1535. _content = $$("div", {
  1536. className: "U_MD_D_KO",
  1537. "onmousedown": U.UF.C.closure(function (obj) {
  1538. //防止拖動圖標即打開了桌面應用
  1539. U.MD.D.click(this, obj);
  1540. }, [_hkaceStudentDeskIconInfo[i]]),
  1541. "onclick": U.UF.C.closure(function (obj) {
  1542. //防止拖動圖標即打開了桌面應用
  1543. U.MD.D.click(this, obj);
  1544. }, [_hkaceStudentDeskIconInfo[i]])
  1545. }, _frag); //
  1546. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1547. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1548. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1549. }
  1550. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1551. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1552. _content = $$("div", {
  1553. className: "U_MD_D_KO",
  1554. "onmousedown": U.UF.C.closure(function (obj) {
  1555. //防止拖動圖標即打開了桌面應用
  1556. U.MD.D.click(this, obj);
  1557. }, [_studentDesktopIconInfo[i]]),
  1558. "onclick": U.UF.C.closure(function (obj) {
  1559. //防止拖動圖標即打開了桌面應用
  1560. U.MD.D.click(this, obj);
  1561. }, [_studentDesktopIconInfo[i]])
  1562. }, _frag); //
  1563. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1564. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1565. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1566. }
  1567. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1568. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1569. _content = $$("div", {
  1570. className: "U_MD_D_KO",
  1571. "onmousedown": U.UF.C.closure(function (obj) {
  1572. //防止拖動圖標即打開了桌面應用
  1573. U.MD.D.click(this, obj);
  1574. }, [_tcStudentDeskIconInfo[i]]),
  1575. "onclick": U.UF.C.closure(function (obj) {
  1576. //防止拖動圖標即打開了桌面應用
  1577. U.MD.D.click(this, obj);
  1578. }, [_tcStudentDeskIconInfo[i]])
  1579. }, _frag); //
  1580. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1581. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1582. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1583. }
  1584. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1585. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1586. _content = $$("div", {
  1587. className: "U_MD_D_KO",
  1588. "onmousedown": U.UF.C.closure(function (obj) {
  1589. //防止拖動圖標即打開了桌面應用
  1590. U.MD.D.click(this, obj);
  1591. }, [_szscStudentDeskIconInfo[i]]),
  1592. "onclick": U.UF.C.closure(function (obj) {
  1593. //防止拖動圖標即打開了桌面應用
  1594. U.MD.D.click(this, obj);
  1595. }, [_szscStudentDeskIconInfo[i]])
  1596. }, _frag); //
  1597. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1598. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1599. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1600. }
  1601. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1602. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1603. _content = $$("div", {
  1604. className: "U_MD_D_KO",
  1605. "onmousedown": U.UF.C.closure(function (obj) {
  1606. //防止拖動圖標即打開了桌面應用
  1607. U.MD.D.click(this, obj);
  1608. }, [_studentDesktopIconInfo3[i]]),
  1609. "onclick": U.UF.C.closure(function (obj) {
  1610. //防止拖動圖標即打開了桌面應用
  1611. U.MD.D.click(this, obj);
  1612. }, [_studentDesktopIconInfo3[i]])
  1613. }, _frag); //
  1614. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1615. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1616. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1617. }
  1618. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1619. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1620. _content = $$("div", {
  1621. className: "U_MD_D_KO",
  1622. "onmousedown": U.UF.C.closure(function (obj) {
  1623. //防止拖動圖標即打開了桌面應用
  1624. U.MD.D.click(this, obj);
  1625. }, [_studentDesktopIconInfo2[i]]),
  1626. "onclick": U.UF.C.closure(function (obj) {
  1627. //防止拖動圖標即打開了桌面應用
  1628. U.MD.D.click(this, obj);
  1629. }, [_studentDesktopIconInfo2[i]])
  1630. }, _frag); //
  1631. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1632. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1633. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1634. }
  1635. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1636. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1637. _content = $$("div", {
  1638. className: "U_MD_D_KO",
  1639. "onmousedown": U.UF.C.closure(function (obj) {
  1640. //防止拖動圖標即打開了桌面應用
  1641. U.MD.D.click(this, obj);
  1642. }, [_wanketeacherDesktopIconInfo[i]]),
  1643. "onclick": U.UF.C.closure(function (obj) {
  1644. //防止拖動圖標即打開了桌面應用
  1645. U.MD.D.click(this, obj);
  1646. }, [_wanketeacherDesktopIconInfo[i]])
  1647. }, _frag); //
  1648. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1649. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1650. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1651. }
  1652. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1653. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1654. _content = $$("div", {
  1655. className: "U_MD_D_KO",
  1656. "onmousedown": U.UF.C.closure(function (obj) {
  1657. //防止拖動圖標即打開了桌面應用
  1658. U.MD.D.click(this, obj);
  1659. }, [_wankeAdminDesktopIconInfo[i]]),
  1660. "onclick": U.UF.C.closure(function (obj) {
  1661. //防止拖動圖標即打開了桌面應用
  1662. U.MD.D.click(this, obj);
  1663. }, [_wankeAdminDesktopIconInfo[i]])
  1664. }, _frag); //
  1665. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1666. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1667. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1668. }
  1669. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1670. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1671. _content = $$("div", {
  1672. className: "U_MD_D_KO",
  1673. "onmousedown": U.UF.C.closure(function (obj) {
  1674. //防止拖動圖標即打開了桌面應用
  1675. U.MD.D.click(this, obj);
  1676. }, [_jccssylTeacherDeskIconInfo[i]]),
  1677. "onclick": U.UF.C.closure(function (obj) {
  1678. //防止拖動圖標即打開了桌面應用
  1679. U.MD.D.click(this, obj);
  1680. }, [_jccssylTeacherDeskIconInfo[i]])
  1681. }, _frag); //
  1682. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1683. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1684. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1685. }
  1686. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1687. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1688. _content = $$("div", {
  1689. className: "U_MD_D_KO",
  1690. "onmousedown": U.UF.C.closure(function (obj) {
  1691. //防止拖動圖標即打開了桌面應用
  1692. U.MD.D.click(this, obj);
  1693. }, [_tpcOrganizerDeskIconInfo[i]]),
  1694. "onclick": U.UF.C.closure(function (obj) {
  1695. //防止拖動圖標即打開了桌面應用
  1696. U.MD.D.click(this, obj);
  1697. }, [_tpcOrganizerDeskIconInfo[i]])
  1698. }, _frag); //
  1699. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1700. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1701. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1702. }
  1703. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1704. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1705. _content = $$("div", {
  1706. className: "U_MD_D_KO",
  1707. "onmousedown": U.UF.C.closure(function (obj) {
  1708. //防止拖動圖標即打開了桌面應用
  1709. U.MD.D.click(this, obj);
  1710. }, [_tpcTeacherDeskIconInfo[i]]),
  1711. "onclick": U.UF.C.closure(function (obj) {
  1712. //防止拖動圖標即打開了桌面應用
  1713. U.MD.D.click(this, obj);
  1714. }, [_tpcTeacherDeskIconInfo[i]])
  1715. }, _frag); //
  1716. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1717. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1718. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1719. }
  1720. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1721. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1722. _content = $$("div", {
  1723. className: "U_MD_D_KO",
  1724. "onmousedown": U.UF.C.closure(function (obj) {
  1725. //防止拖動圖標即打開了桌面應用
  1726. U.MD.D.click(this, obj);
  1727. }, [_teacherDesktopIconInfo2[i]]),
  1728. "onclick": U.UF.C.closure(function (obj) {
  1729. //防止拖動圖標即打開了桌面應用
  1730. U.MD.D.click(this, obj);
  1731. }, [_teacherDesktopIconInfo2[i]])
  1732. }, _frag); //
  1733. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1734. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1735. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1736. }
  1737. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1738. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1739. _content = $$("div", {
  1740. className: "U_MD_D_KO",
  1741. "onmousedown": U.UF.C.closure(function (obj) {
  1742. //防止拖動圖標即打開了桌面應用
  1743. U.MD.D.click(this, obj);
  1744. }, [_thuioeTeacherDeskIconInfo[i]]),
  1745. "onclick": U.UF.C.closure(function (obj) {
  1746. //防止拖動圖標即打開了桌面應用
  1747. U.MD.D.click(this, obj);
  1748. }, [_thuioeTeacherDeskIconInfo[i]])
  1749. }, _frag); //
  1750. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1751. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1752. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1753. }
  1754. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1755. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1756. _content = $$("div", {
  1757. className: "U_MD_D_KO",
  1758. "onmousedown": U.UF.C.closure(function (obj) {
  1759. //防止拖動圖標即打開了桌面應用
  1760. U.MD.D.click(this, obj);
  1761. }, [_lotechTeacherDeskIconInfo[i]]),
  1762. "onclick": U.UF.C.closure(function (obj) {
  1763. //防止拖動圖標即打開了桌面應用
  1764. U.MD.D.click(this, obj);
  1765. }, [_lotechTeacherDeskIconInfo[i]])
  1766. }, _frag); //
  1767. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1768. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1769. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1770. }//
  1771. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1772. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1773. _content = $$("div", {
  1774. className: "U_MD_D_KO",
  1775. "onmousedown": U.UF.C.closure(function (obj) {
  1776. //防止拖動圖標即打開了桌面應用
  1777. U.MD.D.click(this, obj);
  1778. }, [_siesTeacherDeskIconInfo[i]]),
  1779. "onclick": U.UF.C.closure(function (obj) {
  1780. //防止拖動圖標即打開了桌面應用
  1781. U.MD.D.click(this, obj);
  1782. }, [_siesTeacherDeskIconInfo[i]])
  1783. }, _frag); //
  1784. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1785. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1786. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1787. }
  1788. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1789. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1790. _content = $$("div", {
  1791. className: "U_MD_D_KO",
  1792. "onmousedown": U.UF.C.closure(function (obj) {
  1793. //防止拖動圖標即打開了桌面應用
  1794. U.MD.D.click(this, obj);
  1795. }, [_longhuaTeacherDeskIconInfo[i]]),
  1796. "onclick": U.UF.C.closure(function (obj) {
  1797. //防止拖動圖標即打開了桌面應用
  1798. U.MD.D.click(this, obj);
  1799. }, [_longhuaTeacherDeskIconInfo[i]])
  1800. }, _frag); //
  1801. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1802. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1803. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1804. }
  1805. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1806. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1807. _content = $$("div", {
  1808. className: "U_MD_D_KO",
  1809. "onmousedown": U.UF.C.closure(function (obj) {
  1810. //防止拖動圖標即打開了桌面應用
  1811. U.MD.D.click(this, obj);
  1812. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1813. "onclick": U.UF.C.closure(function (obj) {
  1814. //防止拖動圖標即打開了桌面應用
  1815. U.MD.D.click(this, obj);
  1816. }, [_yunhaiTeacherDeskIconInfo[i]])
  1817. }, _frag); //
  1818. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1819. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1820. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1821. } //_hkStudentDeskIconInfo
  1822. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1823. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1824. _content = $$("div", {
  1825. className: "U_MD_D_KO",
  1826. "onmousedown": U.UF.C.closure(function (obj) {
  1827. //防止拖動圖標即打開了桌面應用
  1828. U.MD.D.click(this, obj);
  1829. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1830. "onclick": U.UF.C.closure(function (obj) {
  1831. //防止拖動圖標即打開了桌面應用
  1832. U.MD.D.click(this, obj);
  1833. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1834. }, _frag); //
  1835. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1836. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1837. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1838. }
  1839. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1840. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1841. _content = $$("div", {
  1842. className: "U_MD_D_KO",
  1843. "onmousedown": U.UF.C.closure(function (obj) {
  1844. //防止拖動圖標即打開了桌面應用
  1845. U.MD.D.click(this, obj);
  1846. }, [_hkTeacherDeskIconInfo[i]]),
  1847. "onclick": U.UF.C.closure(function (obj) {
  1848. //防止拖動圖標即打開了桌面應用
  1849. U.MD.D.click(this, obj);
  1850. }, [_hkTeacherDeskIconInfo[i]])
  1851. }, _frag); //
  1852. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1853. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1854. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1855. }
  1856. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1857. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1858. _content = $$("div", {
  1859. className: "U_MD_D_KO",
  1860. "onmousedown": U.UF.C.closure(function (obj) {
  1861. //防止拖動圖標即打開了桌面應用
  1862. U.MD.D.click(this, obj);
  1863. }, [_hkaceTeacherDeskIconInfo[i]]),
  1864. "onclick": U.UF.C.closure(function (obj) {
  1865. //防止拖動圖標即打開了桌面應用
  1866. U.MD.D.click(this, obj);
  1867. }, [_hkaceTeacherDeskIconInfo[i]])
  1868. }, _frag); //
  1869. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1870. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1871. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1872. }
  1873. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1874. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1875. _content = $$("div", {
  1876. className: "U_MD_D_KO",
  1877. "onmousedown": U.UF.C.closure(function (obj) {
  1878. //防止拖動圖標即打開了桌面應用
  1879. U.MD.D.click(this, obj);
  1880. }, [_gdjgAdminDeskIconInfo[i]]),
  1881. "onclick": U.UF.C.closure(function (obj) {
  1882. //防止拖動圖標即打開了桌面應用
  1883. U.MD.D.click(this, obj);
  1884. }, [_gdjgAdminDeskIconInfo[i]])
  1885. }, _frag); //
  1886. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1887. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1888. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1889. }
  1890. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1891. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1892. _content = $$("div", {
  1893. className: "U_MD_D_KO",
  1894. "onmousedown": U.UF.C.closure(function (obj) {
  1895. //防止拖動圖標即打開了桌面應用
  1896. U.MD.D.click(this, obj);
  1897. }, [_gdjgTeacherDeskIconInfo[i]]),
  1898. "onclick": U.UF.C.closure(function (obj) {
  1899. //防止拖動圖標即打開了桌面應用
  1900. U.MD.D.click(this, obj);
  1901. }, [_gdjgTeacherDeskIconInfo[i]])
  1902. }, _frag); //
  1903. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1904. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1905. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1906. }
  1907. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1908. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1909. _content = $$("div", {
  1910. className: "U_MD_D_KO",
  1911. "onmousedown": U.UF.C.closure(function (obj) {
  1912. //防止拖動圖標即打開了桌面應用
  1913. U.MD.D.click(this, obj);
  1914. }, [_szherTeacherDeskIconInfo[i]]),
  1915. "onclick": U.UF.C.closure(function (obj) {
  1916. //防止拖動圖標即打開了桌面應用
  1917. U.MD.D.click(this, obj);
  1918. }, [_szherTeacherDeskIconInfo[i]])
  1919. }, _frag); //
  1920. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1921. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1922. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1923. }
  1924. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1925. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1926. _content = $$("div", {
  1927. className: "U_MD_D_KO",
  1928. "onmousedown": U.UF.C.closure(function (obj) {
  1929. //防止拖動圖標即打開了桌面應用
  1930. U.MD.D.click(this, obj);
  1931. }, [_heyuannAdminDeskIconInfo[i]]),
  1932. "onclick": U.UF.C.closure(function (obj) {
  1933. //防止拖動圖標即打開了桌面應用
  1934. U.MD.D.click(this, obj);
  1935. }, [_heyuannAdminDeskIconInfo[i]])
  1936. }, _frag); //
  1937. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1938. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1939. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1940. }
  1941. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1942. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1943. _content = $$("div", {
  1944. className: "U_MD_D_KO",
  1945. "onmousedown": U.UF.C.closure(function (obj) {
  1946. //防止拖動圖標即打開了桌面應用
  1947. U.MD.D.click(this, obj);
  1948. }, [_heyuanTeacherDeskIconInfo[i]]),
  1949. "onclick": U.UF.C.closure(function (obj) {
  1950. //防止拖動圖標即打開了桌面應用
  1951. U.MD.D.click(this, obj);
  1952. }, [_heyuanTeacherDeskIconInfo[i]])
  1953. }, _frag); //
  1954. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1955. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1956. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1957. } //
  1958. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1959. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1960. _content = $$("div", {
  1961. className: "U_MD_D_KO",
  1962. "onmousedown": U.UF.C.closure(function (obj) {
  1963. //防止拖動圖標即打開了桌面應用
  1964. U.MD.D.click(this, obj);
  1965. }, [_dseiAdminDeskIconInfo[i]]),
  1966. "onclick": U.UF.C.closure(function (obj) {
  1967. //防止拖動圖標即打開了桌面應用
  1968. U.MD.D.click(this, obj);
  1969. }, [_dseiAdminDeskIconInfo[i]])
  1970. }, _frag); //
  1971. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1972. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1973. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1974. }
  1975. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1976. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1977. _content = $$("div", {
  1978. className: "U_MD_D_KO",
  1979. "onmousedown": U.UF.C.closure(function (obj) {
  1980. //防止拖動圖標即打開了桌面應用
  1981. U.MD.D.click(this, obj);
  1982. }, [_dseiTeacherDeskIconInfo[i]]),
  1983. "onclick": U.UF.C.closure(function (obj) {
  1984. //防止拖動圖標即打開了桌面應用
  1985. U.MD.D.click(this, obj);
  1986. }, [_dseiTeacherDeskIconInfo[i]])
  1987. }, _frag); //
  1988. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1989. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1990. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1991. } //
  1992. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1993. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1994. _content = $$("div", {
  1995. className: "U_MD_D_KO",
  1996. "onmousedown": U.UF.C.closure(function (obj) {
  1997. //防止拖動圖標即打開了桌面應用
  1998. U.MD.D.click(this, obj);
  1999. }, [_chjyjAdminDeskIconInfo[i]]),
  2000. "onclick": U.UF.C.closure(function (obj) {
  2001. //防止拖動圖標即打開了桌面應用
  2002. U.MD.D.click(this, obj);
  2003. }, [_chjyjAdminDeskIconInfo[i]])
  2004. }, _frag); //
  2005. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2006. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2007. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2008. }//
  2009. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2010. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2011. _content = $$("div", {
  2012. className: "U_MD_D_KO",
  2013. "onmousedown": U.UF.C.closure(function (obj) {
  2014. //防止拖動圖標即打開了桌面應用
  2015. U.MD.D.click(this, obj);
  2016. }, [_chjyjTeacherDeskIconInfo[i]]),
  2017. "onclick": U.UF.C.closure(function (obj) {
  2018. //防止拖動圖標即打開了桌面應用
  2019. U.MD.D.click(this, obj);
  2020. }, [_chjyjTeacherDeskIconInfo[i]])
  2021. }, _frag); //
  2022. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2023. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2024. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2025. }
  2026. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2027. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2028. _content = $$("div", {
  2029. className: "U_MD_D_KO",
  2030. "onmousedown": U.UF.C.closure(function (obj) {
  2031. //防止拖動圖標即打開了桌面應用
  2032. U.MD.D.click(this, obj);
  2033. }, [_szjkyAdminDeskIconInfo[i]]),
  2034. "onclick": U.UF.C.closure(function (obj) {
  2035. //防止拖動圖標即打開了桌面應用
  2036. U.MD.D.click(this, obj);
  2037. }, [_szjkyAdminDeskIconInfo[i]])
  2038. }, _frag); //
  2039. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2040. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2041. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2042. }//
  2043. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2044. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2045. _content = $$("div", {
  2046. className: "U_MD_D_KO",
  2047. "onmousedown": U.UF.C.closure(function (obj) {
  2048. //防止拖動圖標即打開了桌面應用
  2049. U.MD.D.click(this, obj);
  2050. }, [_szjkyTeacherDeskIconInfo[i]]),
  2051. "onclick": U.UF.C.closure(function (obj) {
  2052. //防止拖動圖標即打開了桌面應用
  2053. U.MD.D.click(this, obj);
  2054. }, [_szjkyTeacherDeskIconInfo[i]])
  2055. }, _frag); //
  2056. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2057. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2058. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2059. }
  2060. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2061. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2062. _content = $$("div", {
  2063. className: "U_MD_D_KO",
  2064. "onmousedown": U.UF.C.closure(function (obj) {
  2065. //防止拖動圖標即打開了桌面應用
  2066. U.MD.D.click(this, obj);
  2067. }, [_futianAdminDeskIconInfo[i]]),
  2068. "onclick": U.UF.C.closure(function (obj) {
  2069. //防止拖動圖標即打開了桌面應用
  2070. U.MD.D.click(this, obj);
  2071. }, [_futianAdminDeskIconInfo[i]])
  2072. }, _frag); //
  2073. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2074. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2075. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2076. }
  2077. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2078. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2079. _content = $$("div", {
  2080. className: "U_MD_D_KO",
  2081. "onmousedown": U.UF.C.closure(function (obj) {
  2082. //防止拖動圖標即打開了桌面應用
  2083. U.MD.D.click(this, obj);
  2084. }, [_futianTeacherDeskIconInfo[i]]),
  2085. "onclick": U.UF.C.closure(function (obj) {
  2086. //防止拖動圖標即打開了桌面應用
  2087. U.MD.D.click(this, obj);
  2088. }, [_futianTeacherDeskIconInfo[i]])
  2089. }, _frag); //
  2090. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2091. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2092. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2093. }
  2094. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2095. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2096. _content = $$("div", {
  2097. className: "U_MD_D_KO",
  2098. "onmousedown": U.UF.C.closure(function (obj) {
  2099. //防止拖動圖標即打開了桌面應用
  2100. U.MD.D.click(this, obj);
  2101. }, [_MingdeTeacherDeskIcon[i]]),
  2102. "onclick": U.UF.C.closure(function (obj) {
  2103. //防止拖動圖標即打開了桌面應用
  2104. U.MD.D.click(this, obj);
  2105. }, [_MingdeTeacherDeskIcon[i]])
  2106. }, _frag); //
  2107. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2108. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2109. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2110. }
  2111. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2112. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2113. _content = $$("div", {
  2114. className: "U_MD_D_KO",
  2115. "onmousedown": U.UF.C.closure(function (obj) {
  2116. //防止拖動圖標即打開了桌面應用
  2117. U.MD.D.click(this, obj);
  2118. }, [_lhsAdminDesktopIconInfo[i]]),
  2119. "onclick": U.UF.C.closure(function (obj) {
  2120. //防止拖動圖標即打開了桌面應用
  2121. U.MD.D.click(this, obj);
  2122. }, [_lhsAdminDesktopIconInfo[i]])
  2123. }, _frag); //
  2124. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2125. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2126. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2127. }
  2128. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2129. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2130. _content = $$("div", {
  2131. className: "U_MD_D_KO",
  2132. "onmousedown": U.UF.C.closure(function (obj) {
  2133. //防止拖動圖標即打開了桌面應用
  2134. U.MD.D.click(this, obj);
  2135. }, [_lhsteacherDesktopIconInfo[i]]),
  2136. "onclick": U.UF.C.closure(function (obj) {
  2137. //防止拖動圖標即打開了桌面應用
  2138. U.MD.D.click(this, obj);
  2139. }, [_lhsteacherDesktopIconInfo[i]])
  2140. }, _frag); //
  2141. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2142. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2143. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2144. }
  2145. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2146. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2147. _content = $$("div", {
  2148. className: "U_MD_D_KO",
  2149. "onmousedown": U.UF.C.closure(function (obj) {
  2150. //防止拖動圖標即打開了桌面應用
  2151. U.MD.D.click(this, obj);
  2152. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2153. "onclick": U.UF.C.closure(function (obj) {
  2154. //防止拖動圖標即打開了桌面應用
  2155. U.MD.D.click(this, obj);
  2156. }, [_zhoujiateacherDesktopIconInfo[i]])
  2157. }, _frag); //
  2158. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2159. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2160. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2161. }
  2162. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2163. for (i = 0; i < _hanDeskIcon.length; i++) {
  2164. _content = $$("div", {
  2165. className: "U_MD_D_KO",
  2166. "onmousedown": U.UF.C.closure(function (obj) {
  2167. //防止拖動圖標即打開了桌面應用
  2168. U.MD.D.click(this, obj);
  2169. }, [_hanDeskIcon[i]]),
  2170. "onclick": U.UF.C.closure(function (obj) {
  2171. //防止拖動圖標即打開了桌面應用
  2172. U.MD.D.click(this, obj);
  2173. }, [_hanDeskIcon[i]])
  2174. }, _frag); //
  2175. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2176. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2177. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2178. }
  2179. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2180. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2181. _content = $$("div", {
  2182. className: "U_MD_D_KO",
  2183. "onmousedown": U.UF.C.closure(function (obj) {
  2184. //防止拖動圖標即打開了桌面應用
  2185. U.MD.D.click(this, obj);
  2186. }, [_orgStemDeskIcon[i]]),
  2187. "onclick": U.UF.C.closure(function (obj) {
  2188. //防止拖動圖標即打開了桌面應用
  2189. U.MD.D.click(this, obj);
  2190. }, [_orgStemDeskIcon[i]])
  2191. }, _frag); //
  2192. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2193. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2194. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2195. }
  2196. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2197. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2198. _content = $$("div", {
  2199. className: "U_MD_D_KO",
  2200. "onmousedown": U.UF.C.closure(function (obj) {
  2201. //防止拖動圖標即打開了桌面應用
  2202. U.MD.D.click(this, obj);
  2203. }, [_szulsDeskIcon[i]]),
  2204. "onclick": U.UF.C.closure(function (obj) {
  2205. //防止拖動圖標即打開了桌面應用
  2206. U.MD.D.click(this, obj);
  2207. }, [_szulsDeskIcon[i]])
  2208. }, _frag); //
  2209. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2210. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2211. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2212. }
  2213. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2214. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2215. _content = $$("div", {
  2216. className: "U_MD_D_KO",
  2217. "onmousedown": U.UF.C.closure(function (obj) {
  2218. //防止拖動圖標即打開了桌面應用
  2219. U.MD.D.click(this, obj);
  2220. }, [_orgDesktopIconInfo[i]]),
  2221. "onclick": U.UF.C.closure(function (obj) {
  2222. //防止拖動圖標即打開了桌面應用
  2223. U.MD.D.click(this, obj);
  2224. }, [_orgDesktopIconInfo[i]])
  2225. }, _frag); //
  2226. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2227. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2228. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2229. }
  2230. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2231. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2232. _content = $$("div", {
  2233. className: "U_MD_D_KO",
  2234. "onmousedown": U.UF.C.closure(function (obj) {
  2235. //防止拖動圖標即打開了桌面應用
  2236. U.MD.D.click(this, obj);
  2237. }, [_schoolDesktopIconInfo[i]]),
  2238. "onclick": U.UF.C.closure(function (obj) {
  2239. //防止拖動圖標即打開了桌面應用
  2240. U.MD.D.click(this, obj);
  2241. }, [_schoolDesktopIconInfo[i]])
  2242. }, _frag); //
  2243. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2244. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2245. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2246. }
  2247. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2248. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2249. _content = $$("div", {
  2250. className: "U_MD_D_KO",
  2251. "onmousedown": U.UF.C.closure(function (obj) {
  2252. //防止拖動圖標即打開了桌面應用
  2253. U.MD.D.click(this, obj);
  2254. }, [_GMteacherDesktopIconInfo[i]]),
  2255. "onclick": U.UF.C.closure(function (obj) {
  2256. //防止拖動圖標即打開了桌面應用
  2257. U.MD.D.click(this, obj);
  2258. }, [_GMteacherDesktopIconInfo[i]])
  2259. }, _frag); //
  2260. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2261. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2262. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2263. }
  2264. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2265. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2266. _content = $$("div", {
  2267. className: "U_MD_D_KO",
  2268. "onmousedown": U.UF.C.closure(function (obj) {
  2269. //防止拖動圖標即打開了桌面應用
  2270. U.MD.D.click(this, obj);
  2271. }, [_SONGteacherDesktopIconInfo[i]]),
  2272. "onclick": U.UF.C.closure(function (obj) {
  2273. //防止拖動圖標即打開了桌面應用
  2274. U.MD.D.click(this, obj);
  2275. }, [_SONGteacherDesktopIconInfo[i]])
  2276. }, _frag); //
  2277. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2278. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2279. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2280. }
  2281. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2282. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2283. _content = $$("div", {
  2284. className: "U_MD_D_KO",
  2285. "onmousedown": U.UF.C.closure(function (obj) {
  2286. //防止拖動圖標即打開了桌面應用
  2287. U.MD.D.click(this, obj);
  2288. }, [_GMstudentDesktopIconInfo[i]]),
  2289. "onclick": U.UF.C.closure(function (obj) {
  2290. //防止拖動圖標即打開了桌面應用
  2291. U.MD.D.click(this, obj);
  2292. }, [_GMstudentDesktopIconInfo[i]])
  2293. }, _frag); //
  2294. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2295. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2296. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2297. }
  2298. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2299. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2300. _content = $$("div", {
  2301. className: "U_MD_D_KO",
  2302. "onmousedown": U.UF.C.closure(function (obj) {
  2303. //防止拖動圖標即打開了桌面應用
  2304. U.MD.D.click(this, obj);
  2305. }, [_tcTeacherDeskIconInfo[i]]),
  2306. "onclick": U.UF.C.closure(function (obj) {
  2307. //防止拖動圖標即打開了桌面應用
  2308. U.MD.D.click(this, obj);
  2309. }, [_tcTeacherDeskIconInfo[i]])
  2310. }, _frag); //
  2311. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2312. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2313. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2314. }
  2315. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2316. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2317. _content = $$("div", {
  2318. className: "U_MD_D_KO",
  2319. "onmousedown": U.UF.C.closure(function (obj) {
  2320. //防止拖動圖標即打開了桌面應用
  2321. U.MD.D.click(this, obj);
  2322. }, [_tcOrganizerDeskIconInfo[i]]),
  2323. "onclick": U.UF.C.closure(function (obj) {
  2324. //防止拖動圖標即打開了桌面應用
  2325. U.MD.D.click(this, obj);
  2326. }, [_tcOrganizerDeskIconInfo[i]])
  2327. }, _frag); //
  2328. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2329. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2330. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2331. }
  2332. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2333. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2334. _content = $$("div", {
  2335. className: "U_MD_D_KO",
  2336. "onmousedown": U.UF.C.closure(function (obj) {
  2337. //防止拖動圖標即打開了桌面應用
  2338. U.MD.D.click(this, obj);
  2339. }, [_szscTeacherDeskIconInfo[i]]),
  2340. "onclick": U.UF.C.closure(function (obj) {
  2341. //防止拖動圖標即打開了桌面應用
  2342. U.MD.D.click(this, obj);
  2343. }, [_szscTeacherDeskIconInfo[i]])
  2344. }, _frag); //
  2345. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2346. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2347. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2348. }
  2349. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2350. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2351. _content = $$("div", {
  2352. className: "U_MD_D_KO",
  2353. "onmousedown": U.UF.C.closure(function (obj) {
  2354. //防止拖動圖標即打開了桌面應用
  2355. U.MD.D.click(this, obj);
  2356. }, [_szscOrganizerDeskIconInfo[i]]),
  2357. "onclick": U.UF.C.closure(function (obj) {
  2358. //防止拖動圖標即打開了桌面應用
  2359. U.MD.D.click(this, obj);
  2360. }, [_szscOrganizerDeskIconInfo[i]])
  2361. }, _frag); //
  2362. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2363. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2364. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2365. }
  2366. } else {
  2367. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  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. }, [_teacherDesktopIconInfo[i]]),
  2374. "onclick": U.UF.C.closure(function (obj) {
  2375. //防止拖動圖標即打開了桌面應用
  2376. U.MD.D.click(this, obj);
  2377. }, [_teacherDesktopIconInfo[i]])
  2378. }, _frag); //
  2379. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2380. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2381. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2382. }
  2383. }
  2384. } else {
  2385. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2386. _content = $$("div", {
  2387. className: "U_MD_D_KO",
  2388. style: { 'width': '124px', 'height': '145px' },
  2389. "onmousedown": U.UF.C.closure(function (obj) {
  2390. //防止拖動圖標即打開了桌面應用
  2391. U.MD.D.click(this, obj);
  2392. }, [_easyDesktopIconInfo[i]]),
  2393. "onclick": U.UF.C.closure(function (obj) {
  2394. //防止拖動圖標即打開了桌面應用
  2395. U.MD.D.click(this, obj);
  2396. }, [_easyDesktopIconInfo[i]])
  2397. }, _frag); //
  2398. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2399. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2400. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2401. }
  2402. }
  2403. if (type == 1) {
  2404. //加載好後給圖標定位
  2405. U.MD.D.iconPostion($(_frag).Child());
  2406. } else {
  2407. //加載好後給圖標定位
  2408. U.MD.D.iconPostion2($(_frag).Child());
  2409. }
  2410. //把圖標加載到頁面
  2411. el.appendChild(_frag);
  2412. }
  2413. /**
  2414. * 顯示任務欄
  2415. *
  2416. * @param {element} 桌面元素
  2417. */
  2418. U.MD.D.I.displayTaskbar = function (el) {
  2419. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  2420. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2421. //任務欄位置變化
  2422. U.selectEl(el).css({ "bottom": "0px" });
  2423. //桌面位置變話
  2424. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2425. }
  2426. }
  2427. //#region 桌面圖標拖動邏輯
  2428. /**
  2429. * 桌面排列圖標
  2430. *
  2431. * @param {element} 桌面元素
  2432. * @param {object} 上下相距的距離
  2433. * @param {object} 左右相距的距離
  2434. * @return {object} 命名空間
  2435. */
  2436. U.MD.D.iconPostion = function (childs, top, left) {
  2437. var i; //用於循環處理
  2438. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  2439. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2440. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2441. for (i = 0; i < childs.length; i++) {
  2442. //如果豎排top超過了範圍處理
  2443. if (top + 95 > US.height - 10) {
  2444. //left超過了頁面範圍處理,則向上重疊打印處理
  2445. if ((left + 180) > US.width) {
  2446. top -= 110;
  2447. left -= 90;
  2448. }
  2449. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2450. else {
  2451. left += 90;
  2452. top = 15;
  2453. };
  2454. }
  2455. //給圖標的位置賦值
  2456. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2457. if (i < childs.length - 1) {
  2458. //頁面圖標每次向下加95
  2459. top += 95;
  2460. }
  2461. }
  2462. //返回最後調用的圖標的位置
  2463. return [top, left];
  2464. }
  2465. /**
  2466. * 桌面排列圖標
  2467. *
  2468. * @param {element} 桌面元素
  2469. * @param {object} 上下相距的距離
  2470. * @param {object} 左右相距的距離
  2471. * @return {object} 命名空間
  2472. */
  2473. U.MD.D.iconPostion2 = function (childs, top, left) {
  2474. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  2475. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  2476. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2477. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2478. for (i = 0; i < childs.length; i++) {
  2479. //如果豎排top超過了範圍處理
  2480. if (left + 150 > US.width - 10) {
  2481. //left超過了頁面範圍處理,則向上重疊打印處理
  2482. if ((top + 180) > US.Height) {
  2483. top -= 150;
  2484. left -= 150;
  2485. }
  2486. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2487. else {
  2488. top += 150;
  2489. left = ol;
  2490. };
  2491. }
  2492. //給圖標的位置賦值
  2493. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2494. if (i < childs.length - 1) {
  2495. //頁面圖標每次向下加95
  2496. left += 150;
  2497. }
  2498. }
  2499. //返回最後調用的圖標的位置
  2500. return [top, left];
  2501. }
  2502. /**
  2503. * 桌面點擊事件邏輯
  2504. *
  2505. * @param {element} 桌面元素
  2506. * @param {object} 上下相距的距離
  2507. * @param {object} 左右相距的距離
  2508. * @return {object} 命名空間
  2509. */
  2510. U.MD.D.click = function (el, obj) {
  2511. var _buttonnumber = event.button; //點擊的按鈕的事件值
  2512. var _userinfo = US.userInfo;
  2513. U.UF.EV.stopBubble(); //阻止向上冒泡
  2514. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  2515. if (_buttonnumber < 2) {
  2516. //如果是click事件的處理
  2517. if (event.type == "click") {
  2518. //如果元素在mousemove事件中沒有移動則出發click事件
  2519. if (!U.MD.D.I.IsDrag) {
  2520. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2521. U.alert("請先登錄您的賬號!");
  2522. setTimeout(() => {
  2523. U.MD.U.L.login();
  2524. }, 2000);
  2525. } else {
  2526. //打開應用處理
  2527. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2528. }
  2529. }
  2530. }
  2531. //如果是mouse事件的處理
  2532. else {
  2533. if (US.Config.type == '1') {
  2534. //拖動處理,添加拖動和拖動結束事件
  2535. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2536. }
  2537. }
  2538. U.MD.D.I.IsDrag = false;
  2539. }
  2540. }
  2541. /**
  2542. * 拖動的處理
  2543. *
  2544. */
  2545. U.MD.D.iconMove = function () {
  2546. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  2547. U.MD.D.I.IsDrag = true;
  2548. }
  2549. /**
  2550. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  2551. *
  2552. * @param {element} 拖動的元素
  2553. * @return {object} 命名空間
  2554. */
  2555. U.MD.D.iconUp = function (el) {
  2556. var _top = 15,
  2557. _left = 20,
  2558. _margin,
  2559. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  2560. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  2561. if (_positioninfo["OT"] > 15) {
  2562. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  2563. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2564. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2565. }
  2566. if (_positioninfo["OL"] > 20) {
  2567. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  2568. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2569. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2570. }
  2571. //while循環判斷麼一個重疊的元素
  2572. do {
  2573. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  2574. _top = _positioninfo[0] + 95; //得到定位後的top
  2575. _left = _positioninfo[1]; //得到定位後的left
  2576. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2577. }
  2578. /**
  2579. * 判斷拖動後圖標是否重疊
  2580. *
  2581. * @param {element} 拖動的元素
  2582. * @param {element} 桌面所有的元素
  2583. * @param {array} 拖動元素的位置
  2584. ----------[0] 上 top
  2585. ----------[1] 左 left
  2586. * @return {object} 命名空間
  2587. */
  2588. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2589. //循環所有的圖標
  2590. for (var i = 0; i < childs.length; i++) {
  2591. //判斷有沒有和該圖標誒子重疊的元素
  2592. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2593. return childs[i]; //如果有返回
  2594. }
  2595. }
  2596. }
  2597. //#endregion
  2598. //#endregion
  2599. //#region 桌面應用
  2600. /**
  2601. * 打開應用
  2602. *
  2603. * @param {string} 類型
  2604. -----------------Disk 網盤系統
  2605. -----------------PDisk 學習系統網盤
  2606. -----------------Poto 圖片
  2607. -----------------Video 視頻
  2608. -----------------Music 音樂
  2609. -----------------Word word
  2610. -----------------Excel excel
  2611. -----------------Txt 記事本
  2612. -----------------PB 學習系統
  2613. -----------------Blog 朋友圈系統
  2614. -----------------FTP ftp系統
  2615. -----------------Group 好友群
  2616. -----------------SY 首頁系統
  2617. -----------------Set 個人設置
  2618. -----------------XSet 系統設置
  2619. -----------------App 我們所有的app
  2620. -----------------BC c.1473.cn 平臺
  2621. -----------------CWeb d.1473.cn 變成平臺
  2622. -----------------其他的外聯系統 我們統一用iframe打開
  2623. * @param {array} 類型
  2624. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  2625. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  2626. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  2627. 如果第一個參數為其他,則無第二個參數
  2628. * @returns {array}
  2629. */
  2630. window.addEventListener('message', function (e) { // 監聽 message 事件
  2631. // alert(e.data.type);
  2632. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  2633. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2634. //3是展示全部階段 2學生 1老師 4專家
  2635. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  2636. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2637. //3是展示全部階段 2學生 1老師 4專家
  2638. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  2639. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2640. //3是展示全部階段 2學生 1老師 4專家
  2641. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  2642. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2643. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  2644. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2645. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  2646. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2647. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  2648. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2649. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  2650. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2651. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  2652. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2653. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  2654. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2655. //3是展示全部階段 2學生 1老師 4專家
  2656. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  2657. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2658. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  2659. U.MD.D.I.selectUser();
  2660. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2661. var _formel = document.getElementById("study");
  2662. U.UF.F.windowZooming(_formel);
  2663. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2664. var _formel = document.getElementById("studyDetail");
  2665. U.UF.F.windowZooming(_formel);
  2666. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2667. var _formel = document.getElementById("studyDetail");
  2668. U.UF.F.windowZooming(_formel);
  2669. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2670. var _formel = document.getElementById("studentStudy");
  2671. U.UF.F.windowZooming(_formel);
  2672. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2673. // var _formel = document.getElementById("study");
  2674. //如果最大化了,那麼就把他縮小
  2675. // if (_formel.ismaximize) {
  2676. // return;
  2677. // }
  2678. // U.UF.F.windowZooming(_formel);
  2679. // U.UF.F.topWindow(_formel);
  2680. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2681. // var _formel = document.getElementById("studyDetail");
  2682. //如果最大化了,那麼就把他縮小
  2683. // if (_formel.ismaximize) {
  2684. // return;
  2685. // }
  2686. // U.UF.F.windowZooming(_formel);
  2687. // U.UF.F.topWindow(_formel);
  2688. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2689. // var _formel = document.getElementById("studentStudy");
  2690. // if (_formel.ismaximize) {
  2691. // return;
  2692. // }
  2693. // U.UF.F.windowZooming(_formel);
  2694. // U.UF.F.topWindow(_formel);
  2695. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2696. var _formel = document.getElementById("study");
  2697. // if (_formel.ismaximize) {
  2698. // return;
  2699. // }
  2700. // U.UF.F.windowZooming(_formel);
  2701. U.UF.F.topWindow(_formel);
  2702. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2703. var _formel = document.getElementById("studentIndex");
  2704. U.UF.F.windowZooming(_formel);
  2705. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2706. var _formel = document.getElementById("studyDetailS");
  2707. U.UF.F.windowZooming(_formel);
  2708. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2709. var _formel = document.getElementById("studioIndex");
  2710. U.UF.F.windowZooming(_formel);
  2711. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2712. var _formel = document.getElementById("studyDetailStudio");
  2713. U.UF.F.windowZooming(_formel);
  2714. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2715. var _formel = document.getElementById("studyDetailStudio");
  2716. U.UF.F.windowZooming(_formel);
  2717. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2718. var _formel = document.getElementById("studyDetailNT");
  2719. U.UF.F.windowZooming(_formel);
  2720. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2721. var _formel = document.getElementById("studyDetailS");
  2722. U.UF.F.windowZooming(_formel);
  2723. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2724. var _formel = document.getElementById("studyDetailS");
  2725. U.UF.F.topWindow(_formel);
  2726. } else if (e.data.tools && e.data.tools == "1") {
  2727. // U.MD.D.I.openApplication("whiteboard")
  2728. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2729. } else if (e.data.tools && e.data.tools == "2") {
  2730. U.MD.D.I.openApplication("note")
  2731. } else if (e.data.tools && e.data.tools == "3") {
  2732. // U.MD.D.I.openApplication("mind")
  2733. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2734. } else if (e.data.tools && e.data.tools == "4") {
  2735. U.MD.D.I.openApplication("investigation")
  2736. } else if (e.data.tools && e.data.tools == "6") {
  2737. // U.MD.D.I.openApplication("doc")
  2738. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2739. } else if (e.data.tools && e.data.tools == "7") {
  2740. // U.MD.D.I.openApplication("mindNetwork")
  2741. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2742. } else if (e.data.tools && e.data.tools == "8") {
  2743. U.MD.D.I.openApplication("library")
  2744. } else if (e.data.tools && e.data.tools == "17") {
  2745. U.MD.D.I.openApplication("stuLibrary")
  2746. } else if (e.data.tools && e.data.tools == "18") {
  2747. U.MD.D.I.openApplication("train")
  2748. } else if (e.data.tools && e.data.tools == "21") {
  2749. U.MD.D.I.openApplication("program")
  2750. } else if (e.data.tools && e.data.tools == "22") {
  2751. U.MD.D.I.openApplication("AIprogram2")
  2752. } else if (e.data.tools && e.data.tools == "23") {
  2753. U.MD.D.I.openApplication("Pythonprogram")
  2754. } else if (e.data.tools && e.data.tools == "24") {
  2755. U.MD.D.I.openApplication("AIprogram")
  2756. } else if (e.data.tools && e.data.tools == "25") {
  2757. U.MD.D.I.openApplication("sys")
  2758. } else if (e.data.tools && e.data.tools == "26") {
  2759. // U.MD.D.I.openApplication("courseDesign")
  2760. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2761. } else if (e.data.tools && e.data.tools == "31") {
  2762. U.MD.D.I.openApplication("netWorkPanel")
  2763. } else if (e.data.tools && e.data.tools == "32") {
  2764. U.MD.D.I.openApplication("codeEdit")
  2765. } else if (e.data.tools && e.data.tools == "57") {
  2766. U.MD.D.I.openApplication("CocoPi")
  2767. } else if (e.data.tools && e.data.tools == "63") {
  2768. U.MD.D.I.openApplication("Wood")
  2769. } else if (e.data.tools && e.data.tools == "58") {
  2770. U.MD.D.I.openApplication("car")
  2771. } else if (e.data.tools && e.data.tools == "59") {
  2772. U.MD.D.I.openApplication("lineSearch")
  2773. } else if (e.data.tools && e.data.tools == "60") {
  2774. U.MD.D.I.openApplication("deepLearning")
  2775. } else if (e.data.tools && e.data.tools == "61") {
  2776. U.MD.D.I.openApplication("allHistory")
  2777. } else if (e.data.tools && e.data.tools == "28") {
  2778. U.MD.D.I.openApplication("translation")
  2779. } else if (e.data.tools && e.data.tools == "37") {
  2780. U.MD.D.I.openApplication("mohe")
  2781. } else if (e.data.tools && e.data.tools == "38") {
  2782. U.MD.D.I.openApplication("24game")
  2783. } else if (e.data.tools && e.data.tools == "39") {
  2784. U.MD.D.I.openApplication("GeoGebra")
  2785. } else if (e.data.tools && e.data.tools == "43") {
  2786. U.MD.D.I.openApplication("studentEvaluate")
  2787. } else if (e.data.tools && e.data.tools == "44") {
  2788. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2789. } else if (e.data.tools && e.data.tools == "46") {
  2790. U.MD.D.I.openApplication("project")
  2791. } else if (e.data.tools && e.data.tools == "1s") {
  2792. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2793. } else if (e.data.tools && e.data.tools == "3s") {
  2794. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2795. } else if (e.data.tools && e.data.tools == "6s") {
  2796. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2797. } else if (e.data.tools && e.data.tools == "1studio") {
  2798. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2799. } else if (e.data.tools && e.data.tools == "3studio") {
  2800. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2801. } else if (e.data.tools && e.data.tools == "6studio") {
  2802. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2803. } else if (e.data.tools && e.data.tools == "3y") {
  2804. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2805. } else if (e.data.tools && e.data.tools == "1y") {
  2806. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2807. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2808. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2809. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2810. U.MD.D.I.openApplication("AIAnalyse")
  2811. } else if (e.data.tools && e.data.tools == "1teacher") {
  2812. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2813. } else if (e.data.tools && e.data.tools == "3teacher") {
  2814. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2815. } else if (e.data.tools && e.data.tools == "7teacher") {
  2816. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2817. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2818. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2819. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2820. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2821. } else if (e.data.tools && e.data.tools == "1E") {
  2822. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2823. } else if (e.data.tools && e.data.tools == "3E") {
  2824. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2825. } else if (e.data.tools && e.data.tools == "57y") {
  2826. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2827. } else if (e.data.tools && e.data.tools == "57u") {
  2828. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2829. } else if (e.data.tools && e.data.tools == "57teacher") {
  2830. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2831. } else if (e.data.tools && e.data.tools == "64") {
  2832. U.MD.D.I.openApplication("AIChat")
  2833. } else if (e.data.tools && e.data.tools == "66") {
  2834. U.MD.D.I.openApplication("formulaEdi")
  2835. } else if (e.data.tools && e.data.tools == "67") {
  2836. U.MD.D.I.openApplication("molStr")
  2837. } else if (e.data.tools && e.data.tools == "68") {
  2838. U.MD.D.I.openApplication("timeAxis")
  2839. } else if (e.data.tools && e.data.tools == "openCourse") {
  2840. let _data = {
  2841. typea: e.data.typea || '',
  2842. typeb: e.data.typeb || '',
  2843. typed: e.data.typed || '',
  2844. }
  2845. U.MD.D.I.openInApplication("index", _data)
  2846. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2847. let _data = {
  2848. classid: e.data.classid || '',
  2849. }
  2850. U.MD.D.I.openInApplication("dataClass", _data)
  2851. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2852. let _data = {
  2853. cid: e.data.cid || '',
  2854. gid: e.data.gid || '',
  2855. }
  2856. U.MD.D.I.openInApplication("opencCscl", _data)
  2857. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  2858. U.MD.D.I.openApplication("dataBoardTest")
  2859. }
  2860. });
  2861. U.MD.D.I.selectUser = function () {
  2862. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2863. if (res.value[0].length > 0) {
  2864. US.userInfo = res.value[0][0];
  2865. $(".userName")[0].innerHTML = US.userInfo.username;
  2866. }
  2867. }, [], { "type": "GET", "withCredentials": true });
  2868. }
  2869. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2870. var _userinfo = US.userInfo, //登錄用戶信息
  2871. _userid = US.userInfo.userid, //登錄用戶id
  2872. _oid = _userinfo.organizeid,
  2873. _type = US.userInfo.type,
  2874. _org = US.userInfo.org,
  2875. _role = US.userInfo.role,
  2876. _classId = US.userInfo.classid;
  2877. if (_type == 4) {
  2878. tType = 4
  2879. }
  2880. switch (str) {
  2881. case "studyDetailNT": //無終端模式
  2882. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2883. setTimeout(() => {
  2884. U.MD.U.L.login();
  2885. }, 2000);
  2886. } else {
  2887. _formdiv = new U.UF.UI.form(
  2888. "課程詳情",
  2889. $$("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 }), {
  2890. "id": "studyDetailNT",
  2891. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2892. "onresize": function () { }
  2893. }, {
  2894. closecallback: function () { }
  2895. }, { "style": { "height": "36px" } }).form; //創建窗體
  2896. _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); } }
  2897. break;
  2898. }
  2899. case "studyDetail":
  2900. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2901. setTimeout(() => {
  2902. U.MD.U.L.login();
  2903. }, 2000);
  2904. } else {
  2905. _formdiv = new U.UF.UI.form(
  2906. "課程詳情",
  2907. $$("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 }), {
  2908. "id": "studyDetail",
  2909. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2910. "onresize": function () { }
  2911. }, {
  2912. closecallback: function () { }
  2913. }, { "style": { "height": "36px" } }).form; //創建窗體
  2914. _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); } }
  2915. break;
  2916. }
  2917. case "studyDetailTrain":
  2918. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2919. setTimeout(() => {
  2920. U.MD.U.L.login();
  2921. }, 2000);
  2922. } else {
  2923. _formdiv = new U.UF.UI.form(
  2924. "培訓詳情",
  2925. $$("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 }), {
  2926. "id": "studyDetailTrain",
  2927. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2928. "onresize": function () { }
  2929. }, {
  2930. closecallback: function () { }
  2931. }, { "style": { "height": "36px" } }).form; //創建窗體
  2932. _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); } }
  2933. break;
  2934. }
  2935. case "studyDetailS":
  2936. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2937. setTimeout(() => {
  2938. U.MD.U.L.login();
  2939. }, 2000);
  2940. } else {
  2941. _formdiv = new U.UF.UI.form(
  2942. "項目詳情",
  2943. $$("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 }), {
  2944. "id": "studyDetailS",
  2945. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2946. "onresize": function () { }
  2947. }, {
  2948. closecallback: function () { }
  2949. }, { "style": { "height": "36px" } }).form; //創建窗體
  2950. _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); } }
  2951. break;
  2952. }
  2953. case "studyDetailStudio":
  2954. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2955. setTimeout(() => {
  2956. U.MD.U.L.login();
  2957. }, 2000);
  2958. } else {
  2959. _formdiv = new U.UF.UI.form(
  2960. "工作詳情",
  2961. $$("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 }), {
  2962. "id": "studyDetailStudio",
  2963. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2964. "onresize": function () { }
  2965. }, {
  2966. closecallback: function () { }
  2967. }, { "style": { "height": "36px" } }).form; //創建窗體
  2968. _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); } }
  2969. break;
  2970. }
  2971. case "studyDetailS5":
  2972. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2973. setTimeout(() => {
  2974. U.MD.U.L.login();
  2975. }, 2000);
  2976. } else {
  2977. _formdiv = new U.UF.UI.form(
  2978. "項目詳情",
  2979. $$("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 }), {
  2980. "id": "studyDetailS",
  2981. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2982. "onresize": function () { }
  2983. }, {
  2984. closecallback: function () { }
  2985. }, { "style": { "height": "36px" } }).form; //創建窗體
  2986. _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); } }
  2987. break;
  2988. }
  2989. case "studyDetailGM":
  2990. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2991. setTimeout(() => {
  2992. U.MD.U.L.login();
  2993. }, 2000);
  2994. } else {
  2995. _formdiv = new U.UF.UI.form(
  2996. "課程詳情",
  2997. $$("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 }), {
  2998. "id": "studyDetail",
  2999. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3000. "onresize": function () { }
  3001. }, {
  3002. closecallback: function () { }
  3003. }, { "style": { "height": "36px" } }).form; //創建窗體
  3004. _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); } }
  3005. break;
  3006. }
  3007. case "hanUrl":
  3008. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3009. setTimeout(() => {
  3010. U.MD.U.L.login();
  3011. }, 2000);
  3012. } else {
  3013. _formdiv = new U.UF.UI.form(
  3014. "漢字宮",
  3015. $$("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" }), {
  3016. "id": "hanUrl",
  3017. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3018. "onresize": function () { }
  3019. }, {
  3020. closecallback: function () { }
  3021. }, { "style": { "height": "36px" } }).form; //創建窗體
  3022. _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); } }
  3023. break;
  3024. }
  3025. case "index":
  3026. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3027. setTimeout(() => {
  3028. U.MD.U.L.login();
  3029. }, 2000);
  3030. } else {
  3031. _formdiv = new U.UF.UI.form(
  3032. "課程中心",
  3033. $$("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 }), {
  3034. "id": "study",
  3035. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3036. "onresize": function () { }
  3037. }, {
  3038. closecallback: function () { }
  3039. }, { "style": { "height": "36px" } }).form; //創建窗體
  3040. _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); } }
  3041. break;
  3042. }
  3043. case "dataClass":
  3044. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3045. setTimeout(() => {
  3046. U.MD.U.L.login();
  3047. }, 2000);
  3048. } else {
  3049. _formdiv = new U.UF.UI.form(
  3050. "數據報告",
  3051. $$("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 }), {
  3052. "id": "dataClass",
  3053. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3054. "onresize": function () { }
  3055. }, {
  3056. closecallback: function () { }
  3057. }, { "style": { "height": "36px" } }).form; //創建窗體
  3058. _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); } }
  3059. break;
  3060. }
  3061. case "opencCscl":
  3062. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3063. setTimeout(() => {
  3064. U.MD.U.L.login();
  3065. }, 2000);
  3066. } else {
  3067. _formdiv = new U.UF.UI.form(
  3068. "協同建構",
  3069. $$("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 }), {
  3070. "id": "futureClass",
  3071. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3072. "onresize": function () { }
  3073. }, {
  3074. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3075. }, { "style": { "height": "36px" } }).form; //創建窗體
  3076. _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); } }
  3077. break;
  3078. }
  3079. }
  3080. }
  3081. U.MD.D.I.openApplication = function (str, obj, info) {
  3082. obj = obj || {};
  3083. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  3084. _formdiv, //創建任務欄時同時彈出的窗體元素。
  3085. _userinfo = US.userInfo, //登錄用戶信息
  3086. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  3087. _oid = obj.organizeid || _userinfo.organizeid,
  3088. _type = US.userInfo.type,
  3089. _org = US.userInfo.org,
  3090. _role = US.userInfo.role,
  3091. _classId = US.userInfo.classid,
  3092. _TscreenType = 1
  3093. _screenType = 2,
  3094. _SscreenType = 3;
  3095. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3096. return;
  3097. }
  3098. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3099. switch (str) {
  3100. case "studnetProject": //好友打開
  3101. _formdiv = new U.UF.UI.form(
  3102. "我的項目",
  3103. $$("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 }), {
  3104. "id": "studnetProject",
  3105. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3106. "onresize": function () { }
  3107. }, {
  3108. closecallback: function () { }
  3109. }, { "style": { "height": "36px" } }).form; //創建窗體
  3110. _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); } }
  3111. break;
  3112. case "studentEvaluate": //好友打開
  3113. _formdiv = new U.UF.UI.form(
  3114. "我的評價",
  3115. $$("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 }), {
  3116. "id": "studentEvaluate",
  3117. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3118. "onresize": function () { }
  3119. }, {
  3120. closecallback: function () { }
  3121. }, { "style": { "height": "36px" } }).form; //創建窗體
  3122. _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); } }
  3123. break;
  3124. case "my":
  3125. _formdiv = new U.UF.UI.form(
  3126. "我的資料",
  3127. $$("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 }), {
  3128. "id": "my",
  3129. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3130. "onresize": function () { }
  3131. }, {
  3132. closecallback: function () { }
  3133. }, { "style": { "height": "36px" } }).form; //創建窗體
  3134. _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); } }
  3135. break;
  3136. case "program":
  3137. _formdiv = new U.UF.UI.form(
  3138. "編程平臺",
  3139. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3140. "id": "program",
  3141. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3142. "onresize": function () { }
  3143. }, {
  3144. closecallback: function () { }
  3145. }, { "style": { "height": "36px" } }).form; //創建窗體
  3146. _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); } }
  3147. break;
  3148. case "library":
  3149. _formdiv = new U.UF.UI.form(
  3150. "素材庫",
  3151. $$("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 }), {
  3152. "id": "library",
  3153. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3154. "onresize": function () { }
  3155. }, {
  3156. closecallback: function () { }
  3157. }, { "style": { "height": "36px" } }).form; //創建窗體
  3158. _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); } }
  3159. break;
  3160. case "whiteboard":
  3161. _formdiv = new U.UF.UI.form(
  3162. "電子白板",
  3163. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3164. "id": "whiteboard",
  3165. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3166. "onresize": function () { }
  3167. }, {
  3168. closecallback: function () { }
  3169. }, { "style": { "height": "36px" } }).form; //創建窗體
  3170. _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); } }
  3171. break;
  3172. case "investigation":
  3173. _formdiv = new U.UF.UI.form(
  3174. "問卷調查",
  3175. $$("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 }), {
  3176. "id": "investigation",
  3177. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3178. "onresize": function () { }
  3179. }, {
  3180. closecallback: function () { }
  3181. }, { "style": { "height": "36px" } }).form; //創建窗體
  3182. _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); } }
  3183. break;
  3184. case "note":
  3185. _formdiv = new U.UF.UI.form(
  3186. "便簽分類",
  3187. $$("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 }), {
  3188. "id": "note",
  3189. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3190. "onresize": function () { }
  3191. }, {
  3192. closecallback: function () { }
  3193. }, { "style": { "height": "36px" } }).form; //創建窗體
  3194. _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); } }
  3195. break;
  3196. // case "score":
  3197. // _formdiv = new U.UF.UI.form(
  3198. // "量規評分",
  3199. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3200. // "id": "score",
  3201. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3202. // "onresize": function() {}
  3203. // }, {
  3204. // closecallback: function() {}
  3205. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3206. // _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); } }
  3207. // break;
  3208. case "mind":
  3209. _formdiv = new U.UF.UI.form(
  3210. "思維導圖",
  3211. $$("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"
  3212. "id": "mind",
  3213. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3214. "onresize": function () { }
  3215. }, {
  3216. closecallback: function () { }
  3217. }, { "style": { "height": "36px" } }).form; //創建窗體
  3218. _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); } }
  3219. break;
  3220. case "doc":
  3221. // U.MD.D.I.isRoom();
  3222. _formdiv = new U.UF.UI.form(
  3223. "協同文檔",
  3224. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3225. "id": "doc",
  3226. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3227. "onresize": function () { }
  3228. }, {
  3229. closecallback: function () { }
  3230. }, { "style": { "height": "36px" } }).form; //創建窗體
  3231. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3232. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3233. // })
  3234. _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); } }
  3235. break;
  3236. case "studentStudy":
  3237. _formdiv = new U.UF.UI.form(
  3238. "課程中心",
  3239. $$("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
  3240. "id": "studentStudy",
  3241. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3242. "onresize": function () { }
  3243. }, {
  3244. closecallback: function () { }
  3245. }, { "style": { "height": "36px" } }).form; //創建窗體
  3246. _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); } }
  3247. break;
  3248. case "train": //好友打開
  3249. _formdiv = new U.UF.UI.form(
  3250. "訓練平臺",
  3251. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3252. "id": "train",
  3253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3254. "onresize": function () { }
  3255. }, {
  3256. closecallback: function () { }
  3257. }, { "style": { "height": "36px" } }).form; //創建窗體
  3258. _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); } }
  3259. break;
  3260. case "mindNetwork": //好友打開
  3261. _formdiv = new U.UF.UI.form(
  3262. "思維網格",
  3263. $$("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 }), {
  3264. "id": "mindNetwork",
  3265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3266. "onresize": function () { }
  3267. }, {
  3268. closecallback: function () { }
  3269. }, { "style": { "height": "36px" } }).form; //創建窗體
  3270. _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); } }
  3271. break;
  3272. case "studentClassRoom": //好友打開
  3273. _formdiv = new U.UF.UI.form(
  3274. "實時課堂",
  3275. $$("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 }), {
  3276. "id": "studentClassRoom",
  3277. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3278. "onresize": function () { }
  3279. }, {
  3280. closecallback: function () { }
  3281. }, { "style": { "height": "36px" } }).form; //創建窗體
  3282. _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); } }
  3283. setTimeout(() => {
  3284. U.UF.F.windowZooming(_formdiv)
  3285. }, 0);
  3286. break;
  3287. }
  3288. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3289. switch (str) {
  3290. case "studnetProject": //好友打開
  3291. _formdiv = new U.UF.UI.form(
  3292. "我的項目",
  3293. $$("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 }), {
  3294. "id": "studnetProject",
  3295. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3296. "onresize": function () { }
  3297. }, {
  3298. closecallback: function () { }
  3299. }, { "style": { "height": "36px" } }).form; //創建窗體
  3300. _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); } }
  3301. break;
  3302. case "studentEvaluate": //好友打開
  3303. _formdiv = new U.UF.UI.form(
  3304. "我的評價",
  3305. $$("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 }), {
  3306. "id": "studentEvaluate",
  3307. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3308. "onresize": function () { }
  3309. }, {
  3310. closecallback: function () { }
  3311. }, { "style": { "height": "36px" } }).form; //創建窗體
  3312. _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); } }
  3313. break;
  3314. case "my":
  3315. _formdiv = new U.UF.UI.form(
  3316. "我的資料",
  3317. $$("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 }), {
  3318. "id": "my",
  3319. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3320. "onresize": function () { }
  3321. }, {
  3322. closecallback: function () { }
  3323. }, { "style": { "height": "36px" } }).form; //創建窗體
  3324. _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); } }
  3325. break;
  3326. case "program":
  3327. _formdiv = new U.UF.UI.form(
  3328. "編程平臺",
  3329. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3330. "id": "program",
  3331. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3332. "onresize": function () { }
  3333. }, {
  3334. closecallback: function () { }
  3335. }, { "style": { "height": "36px" } }).form; //創建窗體
  3336. _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); } }
  3337. break;
  3338. case "library":
  3339. _formdiv = new U.UF.UI.form(
  3340. "素材庫",
  3341. $$("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 }), {
  3342. "id": "library",
  3343. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3344. "onresize": function () { }
  3345. }, {
  3346. closecallback: function () { }
  3347. }, { "style": { "height": "36px" } }).form; //創建窗體
  3348. _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); } }
  3349. break;
  3350. case "whiteboard":
  3351. _formdiv = new U.UF.UI.form(
  3352. "電子白板",
  3353. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3354. "id": "whiteboard",
  3355. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3356. "onresize": function () { }
  3357. }, {
  3358. closecallback: function () { }
  3359. }, { "style": { "height": "36px" } }).form; //創建窗體
  3360. _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); } }
  3361. break;
  3362. case "investigation":
  3363. _formdiv = new U.UF.UI.form(
  3364. "問卷調查",
  3365. $$("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 }), {
  3366. "id": "investigation",
  3367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3368. "onresize": function () { }
  3369. }, {
  3370. closecallback: function () { }
  3371. }, { "style": { "height": "36px" } }).form; //創建窗體
  3372. _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); } }
  3373. break;
  3374. case "note":
  3375. _formdiv = new U.UF.UI.form(
  3376. "便簽分類",
  3377. $$("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 }), {
  3378. "id": "note",
  3379. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3380. "onresize": function () { }
  3381. }, {
  3382. closecallback: function () { }
  3383. }, { "style": { "height": "36px" } }).form; //創建窗體
  3384. _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); } }
  3385. break;
  3386. // case "score":
  3387. // _formdiv = new U.UF.UI.form(
  3388. // "量規評分",
  3389. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3390. // "id": "score",
  3391. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3392. // "onresize": function() {}
  3393. // }, {
  3394. // closecallback: function() {}
  3395. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3396. // _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); } }
  3397. // break;
  3398. case "mind":
  3399. _formdiv = new U.UF.UI.form(
  3400. "思維導圖",
  3401. $$("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"
  3402. "id": "mind",
  3403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3404. "onresize": function () { }
  3405. }, {
  3406. closecallback: function () { }
  3407. }, { "style": { "height": "36px" } }).form; //創建窗體
  3408. _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); } }
  3409. break;
  3410. case "doc":
  3411. // U.MD.D.I.isRoom();
  3412. _formdiv = new U.UF.UI.form(
  3413. "協同文檔",
  3414. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3415. "id": "doc",
  3416. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3417. "onresize": function () { }
  3418. }, {
  3419. closecallback: function () { }
  3420. }, { "style": { "height": "36px" } }).form; //創建窗體
  3421. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3422. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3423. })
  3424. _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); } }
  3425. break;
  3426. case "train": //好友打開
  3427. _formdiv = new U.UF.UI.form(
  3428. "訓練平臺",
  3429. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3430. "id": "train",
  3431. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3432. "onresize": function () { }
  3433. }, {
  3434. closecallback: function () { }
  3435. }, { "style": { "height": "36px" } }).form; //創建窗體
  3436. _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); } }
  3437. break;
  3438. case "studentStudy":
  3439. _formdiv = new U.UF.UI.form(
  3440. "課程中心",
  3441. $$("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
  3442. "id": "studentStudy",
  3443. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3444. "onresize": function () { }
  3445. }, {
  3446. closecallback: function () { }
  3447. }, { "style": { "height": "36px" } }).form; //創建窗體
  3448. _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); } }
  3449. break;
  3450. case "mindNetwork": //好友打開
  3451. _formdiv = new U.UF.UI.form(
  3452. "思維網格",
  3453. $$("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 }), {
  3454. "id": "mindNetwork",
  3455. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3456. "onresize": function () { }
  3457. }, {
  3458. closecallback: function () { }
  3459. }, { "style": { "height": "36px" } }).form; //創建窗體
  3460. _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); } }
  3461. break;
  3462. case "studentClassRoom": //好友打開
  3463. _formdiv = new U.UF.UI.form(
  3464. "實時課堂",
  3465. $$("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 }), {
  3466. "id": "studentClassRoom",
  3467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3468. "onresize": function () { }
  3469. }, {
  3470. closecallback: function () { }
  3471. }, { "style": { "height": "36px" } }).form; //創建窗體
  3472. _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); } }
  3473. setTimeout(() => {
  3474. U.UF.F.windowZooming(_formdiv)
  3475. }, 0);
  3476. break;
  3477. }
  3478. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3479. //選擇應用處理
  3480. switch (str) {
  3481. case "project": //好友打開
  3482. _formdiv = new U.UF.UI.form(
  3483. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  3484. $$("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 }), {
  3485. "id": "project",
  3486. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3487. "onresize": function () { }
  3488. }, {
  3489. closecallback: function () { }
  3490. }, { "style": { "height": "36px" } }).form; //創建窗體
  3491. _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); } }
  3492. break;
  3493. case "student":
  3494. _formdiv = new U.UF.UI.form(
  3495. "學生管理",
  3496. $$("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 }), {
  3497. "id": "student",
  3498. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3499. "onresize": function () { }
  3500. }, {
  3501. closecallback: function () { }
  3502. }, { "style": { "height": "36px" } }).form; //創建窗體
  3503. _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); } }
  3504. break;
  3505. case "evaluate":
  3506. _formdiv = new U.UF.UI.form(
  3507. "學生評價",
  3508. $$("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 }), {
  3509. "id": "evaluate",
  3510. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3511. "onresize": function () { }
  3512. }, {
  3513. closecallback: function () { }
  3514. }, { "style": { "height": "36px" } }).form; //創建窗體
  3515. _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); } }
  3516. break;
  3517. case "sys":
  3518. _formdiv = new U.UF.UI.form(
  3519. "目標管理",
  3520. $$("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 }), {
  3521. "id": "sys",
  3522. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3523. "onresize": function () { }
  3524. }, {
  3525. closecallback: function () { }
  3526. }, { "style": { "height": "36px" } }).form; //創建窗體
  3527. _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); } }
  3528. break;
  3529. case "courseDesign":
  3530. _formdiv = new U.UF.UI.form(
  3531. "項目設計",
  3532. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3533. "id": "courseDesign",
  3534. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3535. "onresize": function () { }
  3536. }, {
  3537. closecallback: function () { }
  3538. }, { "style": { "height": "36px" } }).form; //創建窗體
  3539. _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); } }
  3540. break;
  3541. case "program":
  3542. _formdiv = new U.UF.UI.form(
  3543. "編程平臺",
  3544. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3545. "id": "program",
  3546. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3547. "onresize": function () { }
  3548. }, {
  3549. closecallback: function () { }
  3550. }, { "style": { "height": "36px" } }).form; //創建窗體
  3551. _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); } }
  3552. break;
  3553. case "class":
  3554. _formdiv = new U.UF.UI.form(
  3555. "班級管理",
  3556. $$("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 }), {
  3557. "id": "class",
  3558. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3559. "onresize": function () { }
  3560. }, {
  3561. closecallback: function () { }
  3562. }, { "style": { "height": "36px" } }).form; //創建窗體
  3563. _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); } }
  3564. break;
  3565. case "Grade":
  3566. _formdiv = new U.UF.UI.form(
  3567. "年級管理",
  3568. $$("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 }), {
  3569. "id": "Grade",
  3570. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3571. "onresize": function () { }
  3572. }, {
  3573. closecallback: function () { }
  3574. }, { "style": { "height": "36px" } }).form; //創建窗體
  3575. _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); } }
  3576. break;
  3577. case "teacherOffice":
  3578. _formdiv = new U.UF.UI.form(
  3579. "教研室",
  3580. $$("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 }), {
  3581. "id": "teacherOffice",
  3582. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3583. "onresize": function () { }
  3584. }, {
  3585. closecallback: function () { }
  3586. }, { "style": { "height": "36px" } }).form; //創建窗體
  3587. _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); } }
  3588. break;
  3589. case "my":
  3590. _formdiv = new U.UF.UI.form(
  3591. "我的資料",
  3592. $$("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 }), {
  3593. "id": "my",
  3594. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3595. "onresize": function () { }
  3596. }, {
  3597. closecallback: function () { }
  3598. }, { "style": { "height": "36px" } }).form; //創建窗體
  3599. _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); } }
  3600. break;
  3601. case "notice":
  3602. _formdiv = new U.UF.UI.form(
  3603. "通知公告",
  3604. $$("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 }), {
  3605. "id": "notice",
  3606. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3607. "onresize": function () { }
  3608. }, {
  3609. closecallback: function () { }
  3610. }, { "style": { "height": "36px" } }).form; //創建窗體
  3611. _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); } }
  3612. break;
  3613. case "library":
  3614. _formdiv = new U.UF.UI.form(
  3615. "素材庫",
  3616. $$("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 }), {
  3617. "id": "library",
  3618. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3619. "onresize": function () { }
  3620. }, {
  3621. closecallback: function () { }
  3622. }, { "style": { "height": "36px" } }).form; //創建窗體
  3623. _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); } }
  3624. break;
  3625. case "whiteboard":
  3626. _formdiv = new U.UF.UI.form(
  3627. "電子白板",
  3628. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3629. "id": "whiteboard",
  3630. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3631. "onresize": function () { }
  3632. }, {
  3633. closecallback: function () { }
  3634. }, { "style": { "height": "36px" } }).form; //創建窗體
  3635. _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); } }
  3636. break;
  3637. case "investigation":
  3638. _formdiv = new U.UF.UI.form(
  3639. "問卷調查",
  3640. $$("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 }), {
  3641. "id": "investigation",
  3642. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3643. "onresize": function () { }
  3644. }, {
  3645. closecallback: function () { }
  3646. }, { "style": { "height": "36px" } }).form; //創建窗體
  3647. _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); } }
  3648. break;
  3649. case "note":
  3650. _formdiv = new U.UF.UI.form(
  3651. "便簽分類",
  3652. $$("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 }), {
  3653. "id": "note",
  3654. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3655. "onresize": function () { }
  3656. }, {
  3657. closecallback: function () { }
  3658. }, { "style": { "height": "36px" } }).form; //創建窗體
  3659. _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); } }
  3660. break;
  3661. // case "score":
  3662. // _formdiv = new U.UF.UI.form(
  3663. // "量規評分",
  3664. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3665. // "id": "score",
  3666. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3667. // "onresize": function() {}
  3668. // }, {
  3669. // closecallback: function() {}
  3670. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3671. // _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); } }
  3672. // break;
  3673. case "mind":
  3674. _formdiv = new U.UF.UI.form(
  3675. "思維導圖",
  3676. $$("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"
  3677. "id": "mind",
  3678. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3679. "onresize": function () { }
  3680. }, {
  3681. closecallback: function () { }
  3682. }, { "style": { "height": "36px" } }).form; //創建窗體
  3683. _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); } }
  3684. break;
  3685. case "doc":
  3686. // U.MD.D.I.isRoom();
  3687. _formdiv = new U.UF.UI.form(
  3688. "協同文檔",
  3689. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3690. "id": "doc",
  3691. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3692. "onresize": function () { }
  3693. }, {
  3694. closecallback: function () { }
  3695. }, { "style": { "height": "36px" } }).form; //創建窗體
  3696. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3697. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3698. })
  3699. _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); } }
  3700. break;
  3701. case "study":
  3702. _formdiv = new U.UF.UI.form(
  3703. "課程中心",
  3704. $$("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
  3705. "id": "study",
  3706. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3707. "onresize": function () { }
  3708. }, {
  3709. closecallback: function () { }
  3710. }, { "style": { "height": "36px" } }).form; //創建窗體
  3711. _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); } }
  3712. break;
  3713. case "mindNetwork": //好友打開
  3714. _formdiv = new U.UF.UI.form(
  3715. "思維網格",
  3716. $$("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 }), {
  3717. "id": "mindNetwork",
  3718. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3719. "onresize": function () { }
  3720. }, {
  3721. closecallback: function () { }
  3722. }, { "style": { "height": "36px" } }).form; //創建窗體
  3723. _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); } }
  3724. break;
  3725. case "train": //好友打開
  3726. _formdiv = new U.UF.UI.form(
  3727. "訓練平臺",
  3728. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3729. "id": "mindNetwork",
  3730. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3731. "onresize": function () { }
  3732. }, {
  3733. closecallback: function () { }
  3734. }, { "style": { "height": "36px" } }).form; //創建窗體
  3735. _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); } }
  3736. break;
  3737. case "teacherClassRoom": //好友打開
  3738. _formdiv = new U.UF.UI.form(
  3739. "實時課堂",
  3740. $$("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 }), {
  3741. "id": "teacherClassRoom",
  3742. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3743. "onresize": function () { }
  3744. }, {
  3745. closecallback: function () { }
  3746. }, { "style": { "height": "36px" } }).form; //創建窗體
  3747. _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); } }
  3748. setTimeout(() => {
  3749. U.UF.F.windowZooming(_formdiv)
  3750. }, 0);
  3751. break;
  3752. }
  3753. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3754. switch (str) {
  3755. case "project": //好友打開
  3756. _formdiv = new U.UF.UI.form(
  3757. "課程管理",
  3758. $$("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 }), {
  3759. "id": "project",
  3760. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3761. "onresize": function () { }
  3762. }, {
  3763. closecallback: function () { }
  3764. }, { "style": { "height": "36px" } }).form; //創建窗體
  3765. _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); } }
  3766. break;
  3767. case "evaluate":
  3768. _formdiv = new U.UF.UI.form(
  3769. "學生評價",
  3770. $$("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 }), {
  3771. "id": "evaluate",
  3772. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3773. "onresize": function () { }
  3774. }, {
  3775. closecallback: function () { }
  3776. }, { "style": { "height": "36px" } }).form; //創建窗體
  3777. _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); } }
  3778. break;
  3779. case "notice":
  3780. _formdiv = new U.UF.UI.form(
  3781. "通知公告",
  3782. $$("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 }), {
  3783. "id": "notice",
  3784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3785. "onresize": function () { }
  3786. }, {
  3787. closecallback: function () { }
  3788. }, { "style": { "height": "36px" } }).form; //創建窗體
  3789. _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); } }
  3790. break;
  3791. case "stuLibrary":
  3792. _formdiv = new U.UF.UI.form(
  3793. "學習資料",
  3794. $$("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 }), {
  3795. "id": "stuLibrary",
  3796. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3797. "onresize": function () { }
  3798. }, {
  3799. closecallback: function () { }
  3800. }, { "style": { "height": "36px" } }).form; //創建窗體
  3801. _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); } }
  3802. break;
  3803. case "program":
  3804. _formdiv = new U.UF.UI.form(
  3805. "編程平臺",
  3806. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3807. "id": "program",
  3808. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3809. "onresize": function () { }
  3810. }, {
  3811. closecallback: function () { }
  3812. }, { "style": { "height": "36px" } }).form; //創建窗體
  3813. _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); } }
  3814. break;
  3815. case "whiteboard":
  3816. _formdiv = new U.UF.UI.form(
  3817. "電子白板",
  3818. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3819. "id": "whiteboard",
  3820. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3821. "onresize": function () { }
  3822. }, {
  3823. closecallback: function () { }
  3824. }, { "style": { "height": "36px" } }).form; //創建窗體
  3825. _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); } }
  3826. break;
  3827. case "investigation":
  3828. _formdiv = new U.UF.UI.form(
  3829. "問卷調查",
  3830. $$("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 }), {
  3831. "id": "investigation",
  3832. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3833. "onresize": function () { }
  3834. }, {
  3835. closecallback: function () { }
  3836. }, { "style": { "height": "36px" } }).form; //創建窗體
  3837. _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); } }
  3838. break;
  3839. case "mind":
  3840. _formdiv = new U.UF.UI.form(
  3841. "思維導圖",
  3842. $$("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"
  3843. "id": "mind",
  3844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3845. "onresize": function () { }
  3846. }, {
  3847. closecallback: function () { }
  3848. }, { "style": { "height": "36px" } }).form; //創建窗體
  3849. _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); } }
  3850. break;
  3851. case "doc":
  3852. // U.MD.D.I.isRoom();
  3853. _formdiv = new U.UF.UI.form(
  3854. "協同文檔",
  3855. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3856. "id": "doc",
  3857. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3858. "onresize": function () { }
  3859. }, {
  3860. closecallback: function () { }
  3861. }, { "style": { "height": "36px" } }).form; //創建窗體
  3862. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3863. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3864. })
  3865. _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); } }
  3866. break;
  3867. case "study":
  3868. _formdiv = new U.UF.UI.form(
  3869. "課程中心",
  3870. $$("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
  3871. "id": "study",
  3872. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3873. "onresize": function () { }
  3874. }, {
  3875. closecallback: function () { }
  3876. }, { "style": { "height": "36px" } }).form; //創建窗體
  3877. _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); } }
  3878. break;
  3879. case "mindNetwork": //好友打開
  3880. _formdiv = new U.UF.UI.form(
  3881. "思維網格",
  3882. $$("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 }), {
  3883. "id": "mindNetwork",
  3884. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3885. "onresize": function () { }
  3886. }, {
  3887. closecallback: function () { }
  3888. }, { "style": { "height": "36px" } }).form; //創建窗體
  3889. _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); } }
  3890. break;
  3891. case "train": //好友打開
  3892. _formdiv = new U.UF.UI.form(
  3893. "訓練平臺",
  3894. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3895. "id": "train",
  3896. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3897. "onresize": function () { }
  3898. }, {
  3899. closecallback: function () { }
  3900. }, { "style": { "height": "36px" } }).form; //創建窗體
  3901. _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); } }
  3902. break;
  3903. case "sys":
  3904. _formdiv = new U.UF.UI.form(
  3905. "目標管理",
  3906. $$("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 }), {
  3907. "id": "sys",
  3908. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3909. "onresize": function () { }
  3910. }, {
  3911. closecallback: function () { }
  3912. }, { "style": { "height": "36px" } }).form; //創建窗體
  3913. _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); } }
  3914. break;
  3915. case "courseDesign":
  3916. _formdiv = new U.UF.UI.form(
  3917. "項目設計",
  3918. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3919. "id": "courseDesign",
  3920. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3921. "onresize": function () { }
  3922. }, {
  3923. closecallback: function () { }
  3924. }, { "style": { "height": "36px" } }).form; //創建窗體
  3925. _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); } }
  3926. break;
  3927. }
  3928. } else if (!_type) {
  3929. switch (str) {
  3930. case "my":
  3931. _formdiv = new U.UF.UI.form(
  3932. "我的資料",
  3933. $$("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 }), {
  3934. "id": "my",
  3935. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3936. "onresize": function () { }
  3937. }, {
  3938. closecallback: function () { }
  3939. }, { "style": { "height": "36px" } }).form; //創建窗體
  3940. _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); } }
  3941. break;
  3942. }
  3943. }
  3944. switch (str) {
  3945. // AIprogram2 AI體驗 aihub.cocorobo.cn
  3946. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  3947. // AIprogram AI編程 ai-blockly.cocorobo.cn
  3948. case "formulaEdi": //公式編輯
  3949. _formdiv = new U.UF.UI.form(
  3950. "公式編輯",
  3951. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3952. "id": "formulaEdi",
  3953. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3954. "onresize": function () { }
  3955. }, {
  3956. closecallback: function () { }
  3957. }, { "style": { "height": "36px" } }).form; //創建窗體
  3958. _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); } }
  3959. break;
  3960. case "molStr": //分子結構
  3961. _formdiv = new U.UF.UI.form(
  3962. "分子結構",
  3963. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3964. "id": "molStr",
  3965. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3966. "onresize": function () { }
  3967. }, {
  3968. closecallback: function () { }
  3969. }, { "style": { "height": "36px" } }).form; //創建窗體
  3970. _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); } }
  3971. break;
  3972. case "timeAxis": //時間軸
  3973. _formdiv = new U.UF.UI.form(
  3974. "時間軸",
  3975. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3976. "id": "timeAxis",
  3977. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3978. "onresize": function () { }
  3979. }, {
  3980. closecallback: function () { }
  3981. }, { "style": { "height": "36px" } }).form; //創建窗體
  3982. _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); } }
  3983. break;
  3984. case "AIprogram2": //AI體驗
  3985. _formdiv = new U.UF.UI.form(
  3986. "AI體驗",
  3987. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3988. "id": "AIprogram2",
  3989. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3990. "onresize": function () { }
  3991. }, {
  3992. closecallback: function () { }
  3993. }, { "style": { "height": "36px" } }).form; //創建窗體
  3994. _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); } }
  3995. break;
  3996. case "Pythonprogram": //python編程
  3997. _formdiv = new U.UF.UI.form(
  3998. "Python編程",
  3999. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4000. "id": "Pythonprogram",
  4001. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4002. "onresize": function () { }
  4003. }, {
  4004. closecallback: function () { }
  4005. }, { "style": { "height": "36px" } }).form; //創建窗體
  4006. _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); } }
  4007. break;
  4008. case "AIprogram": //ai編程
  4009. _formdiv = new U.UF.UI.form(
  4010. "AI編程平臺",
  4011. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4012. "id": "AIprogram",
  4013. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function () { }
  4015. }, {
  4016. closecallback: function () { }
  4017. }, { "style": { "height": "36px" } }).form; //創建窗體
  4018. _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); } }
  4019. break;
  4020. case "CocoPi": //CocoPi
  4021. _formdiv = new U.UF.UI.form(
  4022. "CocoPi",
  4023. $$("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" }), {
  4024. "id": "CocoPi",
  4025. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4026. "onresize": function () { }
  4027. }, {
  4028. closecallback: function () { }
  4029. }, { "style": { "height": "36px" } }).form; //創建窗體
  4030. _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); } }
  4031. break;
  4032. case "Wood": //Wood
  4033. _formdiv = new U.UF.UI.form(
  4034. "海龜編程",
  4035. $$("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/" }), {
  4036. "id": "Wood",
  4037. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4038. "onresize": function () { }
  4039. }, {
  4040. closecallback: function () { }
  4041. }, { "style": { "height": "36px" } }).form; //創建窗體
  4042. _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); } }
  4043. break;
  4044. case "car": //模擬駕駛
  4045. _formdiv = new U.UF.UI.form(
  4046. "模擬駕駛",
  4047. $$("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/" }), {
  4048. "id": "car",
  4049. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4050. "onresize": function () { }
  4051. }, {
  4052. closecallback: function () { }
  4053. }, { "style": { "height": "36px" } }).form; //創建窗體
  4054. _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); } }
  4055. break;
  4056. case "lineSearch": //路徑搜索
  4057. _formdiv = new U.UF.UI.form(
  4058. "路徑搜索",
  4059. $$("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/" }), {
  4060. "id": "lineSearch",
  4061. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4062. "onresize": function () { }
  4063. }, {
  4064. closecallback: function () { }
  4065. }, { "style": { "height": "36px" } }).form; //創建窗體
  4066. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路徑搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4067. break;
  4068. case "deepLearning": //深度學習
  4069. _formdiv = new U.UF.UI.form(
  4070. "深度學習",
  4071. $$("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/#" }), {
  4072. "id": "deepLearning",
  4073. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4074. "onresize": function () { }
  4075. }, {
  4076. closecallback: function () { }
  4077. }, { "style": { "height": "36px" } }).form; //創建窗體
  4078. _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); } }
  4079. break;
  4080. case "allHistory": //深度學習
  4081. _formdiv = new U.UF.UI.form(
  4082. "全歷史",
  4083. $$("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/" }), {
  4084. "id": "allHistory",
  4085. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4086. "onresize": function () { }
  4087. }, {
  4088. closecallback: function () { }
  4089. }, { "style": { "height": "36px" } }).form; //創建窗體
  4090. _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); } }
  4091. break;
  4092. case "chatPDF": //ai編程
  4093. _formdiv = new U.UF.UI.form(
  4094. "chatPDF",
  4095. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4096. "id": "chatPDF",
  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/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4103. break;
  4104. case "resources": //國家教育
  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": "https://so.eduyun.cn/synResource" }), {
  4108. "id": "resources",
  4109. "style": { "width": "80%", "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/resources.png)" }, "name": "國家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4115. break;
  4116. case "codeEdit": //源碼編輯
  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": "https://kitten.codemao.cn/" }), {
  4120. "id": "codeEdit",
  4121. "style": { "width": "80%", "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/code.png)" }, "name": "源碼編輯", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4127. break; //
  4128. case "MindMap": //MindMap
  4129. _formdiv = new U.UF.UI.form(
  4130. "MindMap",
  4131. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4132. "id": "MindMap",
  4133. "style": { "width": "80%", "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/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4139. break;
  4140. case "netWorkPanel": //netWorkPanel
  4141. _formdiv = new U.UF.UI.form(
  4142. "netWorkPanel",
  4143. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4144. "id": "netWorkPanel",
  4145. "style": { "width": "80%", "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/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4151. break;
  4152. case "GeoGebra": //GeoGebra
  4153. _formdiv = new U.UF.UI.form(
  4154. "GeoGebra",
  4155. $$("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" }), {
  4156. "id": "GeoGebra",
  4157. "style": { "width": "80%", "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/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4163. break;
  4164. case "translation": //翻譯
  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": "//dict.youdao.com/" }), {
  4168. "id": "translation",
  4169. "style": { "width": "80%", "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/translation.png)" }, "name": "翻譯", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4175. break;
  4176. case "mohe": //魔盒
  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": "//games.cocorobo.cn/view/index.html#/" }), {
  4180. "id": "mohe",
  4181. "style": { "width": "375px", "height": "667px", "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/mohe.png)" }, "name": "魔盒識字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4187. break;
  4188. case "24game": //24點
  4189. _formdiv = new U.UF.UI.form(
  4190. "24點",
  4191. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4192. "id": "24game",
  4193. "style": { "width": "375px", "height": "667px", "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/24game.png)" }, "name": "24點", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4199. break;
  4200. case "case":
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesign?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4204. "id": "case",
  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/case.png)" }, "name": "課程進展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4211. break;
  4212. case "snf":
  4213. _formdiv = new U.UF.UI.form(
  4214. "賽諾梵",
  4215. $$("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" }), {
  4216. "id": "snf",
  4217. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4218. "onresize": function () { }
  4219. }, {
  4220. closecallback: function () { }
  4221. }, { "style": { "height": "36px" } }).form; //創建窗體
  4222. _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); } }
  4223. break;
  4224. case "hanFamily":
  4225. _formdiv = new U.UF.UI.form(
  4226. "漢字家族",
  4227. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4228. "id": "hanFamily",
  4229. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4230. "onresize": function () { }
  4231. }, {
  4232. closecallback: function () { }
  4233. }, { "style": { "height": "36px" } }).form; //創建窗體
  4234. _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); } }
  4235. break;
  4236. case "hanClassics":
  4237. _formdiv = new U.UF.UI.form(
  4238. "國學經典",
  4239. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4240. "id": "hanClassics",
  4241. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4242. "onresize": function () { }
  4243. }, {
  4244. closecallback: function () { }
  4245. }, { "style": { "height": "36px" } }).form; //創建窗體
  4246. _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); } }
  4247. break;
  4248. case "hanTraining":
  4249. _formdiv = new U.UF.UI.form(
  4250. "筆畫訓練",
  4251. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4252. "id": "hanTraining",
  4253. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4254. "onresize": function () { }
  4255. }, {
  4256. closecallback: function () { }
  4257. }, { "style": { "height": "36px" } }).form; //創建窗體
  4258. _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); } }
  4259. break;
  4260. case "hanClass":
  4261. _formdiv = new U.UF.UI.form(
  4262. "書法課堂",
  4263. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4264. "id": "hanClass",
  4265. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4266. "onresize": function () { }
  4267. }, {
  4268. closecallback: function () { }
  4269. }, { "style": { "height": "36px" } }).form; //創建窗體
  4270. _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); } }
  4271. break;
  4272. case "han":
  4273. _formdiv = new U.UF.UI.form(
  4274. "漢字宮",
  4275. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4276. "id": "han",
  4277. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4278. "onresize": function () { }
  4279. }, {
  4280. closecallback: function () { }
  4281. }, { "style": { "height": "36px" } }).form; //創建窗體
  4282. _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); } }
  4283. break;
  4284. case "projectGM": //課程管理
  4285. _formdiv = new U.UF.UI.form(
  4286. "課程管理",
  4287. $$("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 }), {
  4288. "id": "projectGM",
  4289. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4290. "onresize": function () { }
  4291. }, {
  4292. closecallback: function () { }
  4293. }, { "style": { "height": "36px" } }).form; //創建窗體
  4294. _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); } }
  4295. break;
  4296. case "studyGM": //課程中心
  4297. _formdiv = new U.UF.UI.form(
  4298. "課程中心",
  4299. $$("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
  4300. "id": "study",
  4301. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4302. "onresize": function () { }
  4303. }, {
  4304. closecallback: function () { }
  4305. }, { "style": { "height": "36px" } }).form; //創建窗體
  4306. _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); } }
  4307. break;
  4308. // studentGM
  4309. case "studentGM": //學生管理
  4310. _formdiv = new U.UF.UI.form(
  4311. "學生管理",
  4312. $$("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 }), {
  4313. "id": "studentGM",
  4314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4315. "onresize": function () { }
  4316. }, {
  4317. closecallback: function () { }
  4318. }, { "style": { "height": "36px" } }).form; //創建窗體
  4319. _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); } }
  4320. break;
  4321. case "evaluateGM": //學生評價
  4322. _formdiv = new U.UF.UI.form(
  4323. "學生評價",
  4324. $$("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 }), {
  4325. "id": "evaluateGM",
  4326. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4327. "onresize": function () { }
  4328. }, {
  4329. closecallback: function () { }
  4330. }, { "style": { "height": "36px" } }).form; //創建窗體
  4331. _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); } }
  4332. break;
  4333. // classGM
  4334. case "classGM": //班級管理
  4335. _formdiv = new U.UF.UI.form(
  4336. "班級管理",
  4337. $$("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 }), {
  4338. "id": "classGM",
  4339. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4340. "onresize": function () { }
  4341. }, {
  4342. closecallback: function () { }
  4343. }, { "style": { "height": "36px" } }).form; //創建窗體
  4344. _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); } }
  4345. break;
  4346. // dataGM
  4347. case "dataGM":
  4348. _formdiv = new U.UF.UI.form(
  4349. "我的資料",
  4350. $$("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 }), {
  4351. "id": "dataGM",
  4352. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4353. "onresize": function () { }
  4354. }, {
  4355. closecallback: function () { }
  4356. }, { "style": { "height": "36px" } }).form; //創建窗體
  4357. _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); } }
  4358. break;
  4359. // caseGM
  4360. case "caseGM": //課程進展
  4361. _formdiv = new U.UF.UI.form(
  4362. "課程進展",
  4363. $$("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 }), {
  4364. "id": "caseGM",
  4365. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4366. "onresize": function () { }
  4367. }, {
  4368. closecallback: function () { }
  4369. }, { "style": { "height": "36px" } }).form; //創建窗體
  4370. _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); } }
  4371. break;
  4372. // meterialGM
  4373. case "meterialGM": //素材庫
  4374. _formdiv = new U.UF.UI.form(
  4375. "素材庫",
  4376. $$("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 }), {
  4377. "id": "meterialGM",
  4378. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4379. "onresize": function () { }
  4380. }, {
  4381. closecallback: function () { }
  4382. }, { "style": { "height": "36px" } }).form; //創建窗體
  4383. _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); } }
  4384. break;
  4385. // evaluateSGM
  4386. case "evaluateSGM": //我的評價
  4387. _formdiv = new U.UF.UI.form(
  4388. "我的評價",
  4389. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/worksGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4390. "id": "evaluateSGM",
  4391. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4392. "onresize": function () { }
  4393. }, {
  4394. closecallback: function () { }
  4395. }, { "style": { "height": "36px" } }).form; //創建窗體
  4396. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4397. break;
  4398. case "jupyter": //jupyter
  4399. _formdiv = new U.UF.UI.form(
  4400. "jupyter",
  4401. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4402. "id": "jupyter",
  4403. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4404. "onresize": function () { }
  4405. }, {
  4406. closecallback: function () { }
  4407. }, { "style": { "height": "36px" } }).form; //創建窗體
  4408. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4409. break;
  4410. case "number": //數字實驗室
  4411. _formdiv = new U.UF.UI.form(
  4412. "數字實驗室",
  4413. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4414. "id": "number",
  4415. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4416. "onresize": function () { }
  4417. }, {
  4418. closecallback: function () { }
  4419. }, { "style": { "height": "36px" } }).form; //創建窗體
  4420. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/number.png)" }, "name": "數字實驗室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4421. break;
  4422. case "studentCourse": //項目管理 學生
  4423. _formdiv = new U.UF.UI.form(
  4424. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4425. $$("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 }), {
  4426. "id": "studentCourse",
  4427. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4428. "onresize": function () { }
  4429. }, {
  4430. closecallback: function () { }
  4431. }, { "style": { "height": "36px" } }).form; //創建窗體
  4432. _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); } }
  4433. break;
  4434. case "studentCourseS": //項目管理 老師
  4435. _formdiv = new U.UF.UI.form(
  4436. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4437. $$("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 }), {
  4438. "id": "studentCourseS",
  4439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4440. "onresize": function () { }
  4441. }, {
  4442. closecallback: function () { }
  4443. }, { "style": { "height": "36px" } }).form; //創建窗體
  4444. _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); } }
  4445. break;
  4446. case "studentIndex": //項目中心
  4447. _formdiv = new U.UF.UI.form(
  4448. "項目中心",
  4449. $$("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 }), {
  4450. "id": "studentIndex",
  4451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4452. "onresize": function () { }
  4453. }, {
  4454. closecallback: function () { }
  4455. }, { "style": { "height": "36px" } }).form; //創建窗體
  4456. _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); } }
  4457. break;
  4458. case "CaseDesignS":
  4459. _formdiv = new U.UF.UI.form(
  4460. "項目進展",
  4461. $$("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 }), {
  4462. "id": "case",
  4463. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4464. "onresize": function () { }
  4465. }, {
  4466. closecallback: function () { }
  4467. }, { "style": { "height": "36px" } }).form; //創建窗體
  4468. _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); } }
  4469. break;
  4470. case "tcStudent": //騰訊學生管理
  4471. _formdiv = new U.UF.UI.form(
  4472. "學生管理",
  4473. $$("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 }), {
  4474. "id": "tcStudent",
  4475. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4476. "onresize": function () { }
  4477. }, {
  4478. closecallback: function () { }
  4479. }, { "style": { "height": "36px" } }).form; //創建窗體
  4480. _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); } }
  4481. break;
  4482. case "tcSchool": //騰訊學校管理
  4483. _formdiv = new U.UF.UI.form(
  4484. "學校管理",
  4485. $$("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 }), {
  4486. "id": "tcSchool",
  4487. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4488. "onresize": function () { }
  4489. }, {
  4490. closecallback: function () { }
  4491. }, { "style": { "height": "36px" } }).form; //創建窗體
  4492. _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); } }
  4493. break;
  4494. case "tcTeacher": //騰訊學校管理
  4495. _formdiv = new U.UF.UI.form(
  4496. "教師管理",
  4497. $$("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 }), {
  4498. "id": "tcTeacher",
  4499. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4500. "onresize": function () { }
  4501. }, {
  4502. closecallback: function () { }
  4503. }, { "style": { "height": "36px" } }).form; //創建窗體
  4504. _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); } }
  4505. break;
  4506. case "tcData": //騰訊我的資料
  4507. _formdiv = new U.UF.UI.form(
  4508. "我的資料",
  4509. $$("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 }), {
  4510. "id": "tcData",
  4511. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4512. "onresize": function () { }
  4513. }, {
  4514. closecallback: function () { }
  4515. }, { "style": { "height": "36px" } }).form; //創建窗體
  4516. _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); } }
  4517. break;
  4518. case "tcNotice": //騰訊消息通知
  4519. _formdiv = new U.UF.UI.form(
  4520. "消息通知",
  4521. $$("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 }), {
  4522. "id": "tcNotice",
  4523. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4524. "onresize": function () { }
  4525. }, {
  4526. closecallback: function () { }
  4527. }, { "style": { "height": "36px" } }).form; //創建窗體
  4528. _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); } }
  4529. break;
  4530. case "myReport": //好友打開
  4531. _formdiv = new U.UF.UI.form(
  4532. "我的評價",
  4533. $$("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 }), {
  4534. "id": "myReport",
  4535. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4536. "onresize": function () { }
  4537. }, {
  4538. closecallback: function () { }
  4539. }, { "style": { "height": "36px" } }).form; //創建窗體
  4540. _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); } }
  4541. break;
  4542. case "learnAna": //好友打開
  4543. _formdiv = new U.UF.UI.form(
  4544. "學習分析",
  4545. $$("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 }), {
  4546. "id": "learnAna",
  4547. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4548. "onresize": function () { }
  4549. }, {
  4550. closecallback: function () { }
  4551. }, { "style": { "height": "36px" } }).form; //創建窗體
  4552. _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); } }
  4553. break;
  4554. case "AIChat": //AI共創
  4555. _formdiv = new U.UF.UI.form(
  4556. "AI共創",
  4557. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  4558. "id": "AIChat",
  4559. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4560. "onresize": function () { }
  4561. }, {
  4562. istop: true,
  4563. closecallback: function () { $("#aichat_icon").remove(); },
  4564. narrowcallback: function () {
  4565. if (!$("#aichat_icon")[0]) {
  4566. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4567. }
  4568. },
  4569. }, { "style": { "height": "36px" } }).form; //創建窗體
  4570. _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); } }
  4571. break;
  4572. case "ainew": //AI共創
  4573. _formdiv = new U.UF.UI.form(
  4574. "AI協同",
  4575. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  4576. "id": "ainew",
  4577. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4578. "onresize": function () { }
  4579. }, {
  4580. closecallback: function () { }
  4581. }, { "style": { "height": "36px" } }).form; //創建窗體
  4582. _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); } }
  4583. break;
  4584. case "gpt4": //gpt4
  4585. _formdiv = new U.UF.UI.form(
  4586. "AI助手",
  4587. $$("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 }), {
  4588. "id": "gpt4",
  4589. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4590. "onresize": function () { }
  4591. }, {
  4592. closecallback: function () { }
  4593. }, { "style": { "height": "36px" } }).form; //創建窗體
  4594. _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); } }
  4595. break;
  4596. case "aigpt": //gpt4
  4597. _formdiv = new U.UF.UI.form(
  4598. "AI助手+",
  4599. $$("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 }), {
  4600. "id": "aigpt",
  4601. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4602. "onresize": function () { }
  4603. }, {
  4604. closecallback: function () { }
  4605. }, { "style": { "height": "36px" } }).form; //創建窗體
  4606. _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); } }
  4607. break;
  4608. case "futureClass": //AI共創
  4609. _formdiv = new U.UF.UI.form(
  4610. "協同建構",
  4611. $$("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
  4612. "id": "synergyCourse",
  4613. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4614. "onresize": function () { }
  4615. }, {
  4616. closecallback: function () {
  4617. $("iframe", _formdiv)[0].contentWindow.loginout();
  4618. }
  4619. }, { "style": { "height": "36px" } }).form; //創建窗體
  4620. _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); } }
  4621. break;
  4622. case "aiagent": //ai agent
  4623. _formdiv = new U.UF.UI.form(
  4624. "AI Agent",
  4625. $$("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" }), {
  4626. "id": "AIAgent",
  4627. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4628. "onresize": function () { }
  4629. }, {
  4630. closecallback: function () { }
  4631. }, { "style": { "height": "36px" } }).form; //創建窗體
  4632. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4633. break;
  4634. case "dataBoard": //數據看板
  4635. _formdiv = new U.UF.UI.form(
  4636. "數據看板",
  4637. $$("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 }), {
  4638. "id": "dataBoard",
  4639. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4640. "onresize": function () { }
  4641. }, {
  4642. closecallback: function () { }
  4643. }, { "style": { "height": "36px" } }).form; //創建窗體
  4644. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "數據看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4645. break;
  4646. case "dataBoardSies": //數據融合
  4647. _formdiv = new U.UF.UI.form(
  4648. "數據融合",
  4649. $$("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 }), {
  4650. "id": "dataBoardSies",
  4651. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4652. "onresize": function () { }
  4653. }, {
  4654. closecallback: function () { }
  4655. }, { "style": { "height": "36px" } }).form; //創建窗體
  4656. _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); } }
  4657. break;
  4658. case "dataBoardNew": //數據看板
  4659. _formdiv = new U.UF.UI.form(
  4660. "綜合看板",
  4661. $$("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 }), {
  4662. "id": "dataBoardNew",
  4663. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4664. "onresize": function () { }
  4665. }, {
  4666. closecallback: function () { }
  4667. }, { "style": { "height": "36px" } }).form; //創建窗體
  4668. _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); } }
  4669. break;
  4670. case "dataBoardTest": //數據看板
  4671. _formdiv = new U.UF.UI.form(
  4672. "評測看板",
  4673. $$("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 }), {
  4674. "id": "dataBoardTest",
  4675. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4676. "onresize": function () { }
  4677. }, {
  4678. closecallback: function () { }
  4679. }, { "style": { "height": "36px" } }).form; //創建窗體
  4680. _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); } }
  4681. break;
  4682. case "AIAnalyse": //AI共創
  4683. _formdiv = new U.UF.UI.form(
  4684. "AI分析",
  4685. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  4686. "id": "AIAnalyse",
  4687. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4688. "onresize": function () { }
  4689. }, {
  4690. closecallback: function () { }
  4691. }, { "style": { "height": "36px" } }).form; //創建窗體
  4692. _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); } }
  4693. break;
  4694. case "studioCourse": //AI共創
  4695. _formdiv = new U.UF.UI.form(
  4696. "工作管理",
  4697. $$("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 }), {
  4698. "id": "studioCourse",
  4699. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4700. "onresize": function () { }
  4701. }, {
  4702. closecallback: function () { }
  4703. }, { "style": { "height": "36px" } }).form; //創建窗體
  4704. _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); } }
  4705. break;
  4706. case "studioIndex": //AI共創
  4707. _formdiv = new U.UF.UI.form(
  4708. "工作中心",
  4709. $$("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 }), {
  4710. "id": "studioIndex",
  4711. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4712. "onresize": function () { }
  4713. }, {
  4714. closecallback: function () { }
  4715. }, { "style": { "height": "36px" } }).form; //創建窗體
  4716. _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); } }
  4717. break;
  4718. case "source":
  4719. _formdiv = new U.UF.UI.form(
  4720. "教學資源",
  4721. $$("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 }), {
  4722. "id": "source",
  4723. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4724. "onresize": function () { }
  4725. }, {
  4726. closecallback: function () { }
  4727. }, { "style": { "height": "36px" } }).form; //創建窗體
  4728. _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); } }
  4729. break;
  4730. case "testTeacher":
  4731. _formdiv = new U.UF.UI.form(
  4732. "評測管理",
  4733. $$("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 }), {
  4734. "id": "testTeacher",
  4735. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4736. "onresize": function () { }
  4737. }, {
  4738. closecallback: function () { }
  4739. }, { "style": { "height": "36px" } }).form; //創建窗體
  4740. _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); } }
  4741. break;
  4742. case "testStudent":
  4743. _formdiv = new U.UF.UI.form(
  4744. "評測中心",
  4745. $$("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 }), {
  4746. "id": "testStudent",
  4747. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4748. "onresize": function () { }
  4749. }, {
  4750. closecallback: function () { }
  4751. }, { "style": { "height": "36px" } }).form; //創建窗體
  4752. _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); } }
  4753. break;
  4754. case "testTeacherSies":
  4755. _formdiv = new U.UF.UI.form(
  4756. "教師管理",
  4757. $$("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 }), {
  4758. "id": "testTeacherSies",
  4759. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4760. "onresize": function () { }
  4761. }, {
  4762. closecallback: function () { }
  4763. }, { "style": { "height": "36px" } }).form; //創建窗體
  4764. _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); } }
  4765. break;
  4766. case "testStudentSies":
  4767. _formdiv = new U.UF.UI.form(
  4768. "教師中心",
  4769. $$("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 }), {
  4770. "id": "testStudentSies",
  4771. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4772. "onresize": function () { }
  4773. }, {
  4774. closecallback: function () { }
  4775. }, { "style": { "height": "36px" } }).form; //創建窗體
  4776. _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); } }
  4777. break;
  4778. case "ytpbl": //消息通知
  4779. _formdiv = new U.UF.UI.form(
  4780. "案例征集",
  4781. $$("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 }), {
  4782. "id": "ytpbl",
  4783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4784. "onresize": function () { }
  4785. }, {
  4786. closecallback: function () { }
  4787. }, { "style": { "height": "36px" } }).form; //創建窗體
  4788. _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); } }
  4789. // 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");
  4790. break;
  4791. }
  4792. //U.MD.D.I.openClick(str);
  4793. //如果有任務欄信息
  4794. if (_taskbar) {
  4795. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  4796. }
  4797. }
  4798. // U.MD.D.I.openClick = function(str){
  4799. // var click = '';
  4800. // switch(str){
  4801. // case 'friend':
  4802. // click = '我的好友';
  4803. // break;
  4804. // case 'domain':
  4805. // click = '域名管理';
  4806. // break;
  4807. // case 'disk':
  4808. // click = '我的雲盤';
  4809. // break;
  4810. // case 'word':
  4811. // click = 'Word';
  4812. // break;
  4813. // case 'excel':
  4814. // click = 'Execl';
  4815. // break;
  4816. // case 'txt':
  4817. // click = '文本文件';
  4818. // break;
  4819. // case 'lookupFriend':
  4820. // click = '查找好友';
  4821. // break;
  4822. // case 'ftp':
  4823. // click = 'FTP';
  4824. // break;
  4825. // case 'group':
  4826. // click = '群組';
  4827. // break;
  4828. // case 'set':
  4829. // click = '我的設置';
  4830. // break;
  4831. // case 'systemSet':
  4832. // click = '系統設置';
  4833. // break;
  4834. // case 'boomYun':
  4835. // click = '互聯辦公';
  4836. // break;
  4837. // case 'xz':
  4838. // click = '雲端下載';
  4839. // break;
  4840. // case 'client':
  4841. // click = '有思瀏覽器';
  4842. // break;
  4843. // case 'backEndProgramming':
  4844. // click = '在線後臺編程';
  4845. // break;
  4846. // case 'frontEndProgramming':
  4847. // click = '在線前端編程';
  4848. // break;
  4849. // default: break;
  4850. // }
  4851. // if(U.MD.D.I.Ip && click){
  4852. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4853. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4854. // })
  4855. // }
  4856. // }
  4857. /**
  4858. *函數作用:ajax簡易函數,使用post格式
  4859. *@param url {data} 後臺地址
  4860. *@param data {data} 參數json
  4861. *@param fn {data} 回調函數
  4862. *
  4863. */
  4864. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4865. // var xhr = new XMLHttpRequest();
  4866. // xhr.open("GET",url,true);
  4867. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4868. // xhr.onreadystatechange = function(){
  4869. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4870. // fn.call(this,xhr.responseText);
  4871. // }
  4872. // };
  4873. // xhr.send();
  4874. // }
  4875. /*判斷是否是內網IP*/
  4876. // U.MD.D.I.isInnerIPFn = function(str){
  4877. // var curPageUrl = str;
  4878. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  4879. // curPageUrl =curPageUrl.replace(reg1,'');
  4880. // // console.log('curPageUrl-1 '+curPageUrl);
  4881. // var reg2 = /\:+/g;//替換冒號為一點
  4882. // curPageUrl =curPageUrl.replace(reg2,'.');
  4883. // // console.log('curPageUrl-2 '+curPageUrl);
  4884. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  4885. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4886. // if(curPageUrl[2] != '16'){
  4887. // return ipAddress;
  4888. // }else{
  4889. // return false;
  4890. // }
  4891. // }
  4892. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4893. // //compatibility for firefox and chrome
  4894. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4895. // var pc = new myPeerConnection({
  4896. // iceServers: []
  4897. // }),
  4898. // noop = function() {},
  4899. // localIPs = {},
  4900. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4901. // key;
  4902. // function iterateIP(ip) {
  4903. // if (!localIPs[ip]) onNewIP(ip);
  4904. // localIPs[ip] = true;
  4905. // }
  4906. // //create a bogus data channel
  4907. // pc.createDataChannel("");
  4908. // // create offer and set local description
  4909. // pc.createOffer().then(function(sdp) {
  4910. // sdp.sdp.split('\n').forEach(function(line) {
  4911. // if (line.indexOf('candidate') < 0) return;
  4912. // line.match(ipRegex).forEach(iterateIP);
  4913. // });
  4914. // pc.setLocalDescription(sdp, noop, noop);
  4915. // }).catch(function(reason) {
  4916. // // An error occurred, so handle the failure to connect
  4917. // });
  4918. // //sten for candidate events
  4919. // pc.onicecandidate = function(ice) {
  4920. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4921. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4922. // };
  4923. // }
  4924. // U.MD.D.I.getUserIpBool = function(callback){
  4925. // U.MD.D.I.getUserIP(function(ip){
  4926. // alert("Got IP! :" + ip);
  4927. // });
  4928. //}
  4929. //#endregion
  4930. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4931. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  4932. _formdiv, //創建任務欄時同時彈出的窗體元素。
  4933. _userinfo = US.userInfo, //登錄用戶信息
  4934. _userid = US.userInfo.userid //登錄用戶id
  4935. let _iframe;
  4936. let _cid = cid,
  4937. _stage = stage,
  4938. _task = task,
  4939. _tool = tool;
  4940. var _jie = $$("div", {
  4941. "style": {
  4942. "position": "absolute",
  4943. "bottom": "50px",
  4944. "right": "50px",
  4945. "zIndex": "9999",
  4946. "backgroundColor": "#2268bc",
  4947. "color": "#fff",
  4948. "padding": "12px 20px",
  4949. "cursor": "pointer",
  4950. "borderRadius": "4px",
  4951. },
  4952. "innerHTML": "提交作業"
  4953. })
  4954. let aTool = ''
  4955. let _loading = document.createElement('div')
  4956. _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;"
  4957. // _loading.id = "";
  4958. let _lchild = document.createElement('div')
  4959. let _limg = document.createElement('img')
  4960. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4961. _limg.style = "width: 26px;margin-right: 10px;"
  4962. _lchild.appendChild(_limg)
  4963. let _lspan = document.createElement('span')
  4964. _lspan.innerHTML = "上傳中..."
  4965. _lchild.appendChild(_lspan)
  4966. _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%);"
  4967. _loading.appendChild(_lchild)
  4968. var _box = $$('div', {
  4969. "style": {
  4970. "position": "relative",
  4971. "width": "100%",
  4972. "height": "100%",
  4973. },
  4974. })
  4975. _box.appendChild(_loading)
  4976. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4977. switch (str) {
  4978. case "whiteboard":
  4979. aTool = 1;
  4980. _iframe = $$("iframe", {
  4981. "frameborder": "no",
  4982. "border": "0",
  4983. "scrolling ": "no",
  4984. "style": {
  4985. "cssText": "border:0;width:100%;height:100%"
  4986. },
  4987. "src": "https://iwb.cocorobo.hk/"
  4988. })
  4989. _box.appendChild(_iframe);
  4990. _box.appendChild(_jie);
  4991. _formdiv = new U.UF.UI.form(
  4992. "電子白板",
  4993. _box, {
  4994. "id": "whiteboard" + cid + stage + task + tool,
  4995. "style": {
  4996. "width": "90%",
  4997. "height": "90%",
  4998. "overflow": 'hidden'
  4999. },
  5000. "onresize": function () { }
  5001. }, {
  5002. closecallback: function () { }
  5003. }, {
  5004. "style": {
  5005. "height": "36px"
  5006. }
  5007. }).form; //創建窗體
  5008. _taskbar = {
  5009. "id": str + _formdiv.id,
  5010. "style": {
  5011. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5012. },
  5013. "name": "電子白板",
  5014. "forms": _formdiv,
  5015. "click": function () {
  5016. U.MD.D.I.openApplication(str, obj, info);
  5017. }
  5018. }
  5019. break;
  5020. case "mind":
  5021. aTool = 3;
  5022. _iframe = $$("iframe", {
  5023. "frameborder": "no",
  5024. "border": "0",
  5025. "scrolling ": "no",
  5026. "style": {
  5027. "cssText": "border:0;width:100%;height:100%"
  5028. },
  5029. "src": "/kityminder-editor/dist/index.html"
  5030. })
  5031. _box.appendChild(_iframe);
  5032. _box.appendChild(_jie);
  5033. _formdiv = new U.UF.UI.form(
  5034. "思維導圖",
  5035. _box, { //"/jsmind/example/demo.html"
  5036. "id": "mind" + cid + stage + task + tool,
  5037. "style": {
  5038. "width": "90%",
  5039. "height": "90%",
  5040. "overflow": 'hidden'
  5041. },
  5042. "onresize": function () { }
  5043. }, {
  5044. closecallback: function () { }
  5045. }, {
  5046. "style": {
  5047. "height": "36px"
  5048. }
  5049. }).form; //創建窗體
  5050. _taskbar = {
  5051. "id": str + _formdiv.id,
  5052. "style": {
  5053. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5054. },
  5055. "name": "思維導圖",
  5056. "forms": _formdiv,
  5057. "click": function () {
  5058. U.MD.D.I.openApplication(str, obj, info);
  5059. }
  5060. }
  5061. break;
  5062. case "MindMap":
  5063. aTool = 3;
  5064. _iframe = $$("iframe", {
  5065. "frameborder": "no",
  5066. "border": "0",
  5067. "scrolling ": "no",
  5068. "style": {
  5069. "cssText": "border:0;width:100%;height:100%"
  5070. },
  5071. "src": "//cloud.cocorobo.hk/mind/"
  5072. })
  5073. _box.appendChild(_iframe);
  5074. _box.appendChild(_jie);
  5075. _formdiv = new U.UF.UI.form(
  5076. "思維導圖",
  5077. _box, { //"/jsmind/example/demo.html"
  5078. "id": "mind" + cid + stage + task + tool,
  5079. "style": {
  5080. "width": "90%",
  5081. "height": "90%",
  5082. "overflow": 'hidden'
  5083. },
  5084. "onresize": function () { }
  5085. }, {
  5086. closecallback: function () { }
  5087. }, {
  5088. "style": {
  5089. "height": "36px"
  5090. }
  5091. }).form; //創建窗體
  5092. _taskbar = {
  5093. "id": str + _formdiv.id,
  5094. "style": {
  5095. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5096. },
  5097. "name": "思維導圖",
  5098. "forms": _formdiv,
  5099. "click": function () {
  5100. U.MD.D.I.openApplication(str, obj, info);
  5101. }
  5102. }
  5103. break;
  5104. case "doc":
  5105. aTool = 6;
  5106. _iframe = $$("iframe", {
  5107. "frameborder": "no",
  5108. "border": "0",
  5109. "scrolling ": "no",
  5110. "style": {
  5111. "cssText": "border:0;width:100%;height:100%"
  5112. },
  5113. "src": "/Office/Word/WordEditArea.htm"
  5114. })
  5115. _box.appendChild(_iframe);
  5116. _box.appendChild(_jie);
  5117. _formdiv = new U.UF.UI.form(
  5118. "協同文檔",
  5119. _box, {
  5120. "id": "doc" + cid + stage + task + tool,
  5121. "style": {
  5122. "width": "90%",
  5123. "height": "90%",
  5124. "overflow": 'hidden'
  5125. },
  5126. "onresize": function () { }
  5127. }, {
  5128. closecallback: function () { }
  5129. }, {
  5130. "style": {
  5131. "height": "36px"
  5132. }
  5133. }).form; //創建窗體
  5134. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5135. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5136. })
  5137. _taskbar = {
  5138. "id": str + _formdiv.id,
  5139. "style": {
  5140. "backgroundImage": "url(/img/icon/doc.png)"
  5141. },
  5142. "name": "協同文檔",
  5143. "forms": _formdiv,
  5144. "click": function () {
  5145. U.MD.D.I.openApplication(str, obj, info);
  5146. }
  5147. }
  5148. break;
  5149. case "mindNetwork": //好友打開
  5150. aTool = 7;
  5151. _iframe = $$("iframe", {
  5152. "webkitallowfullscreen": "",
  5153. "mozallowfullscreen": "",
  5154. "allowfullscreen": "",
  5155. "frameborder": "no",
  5156. "border": "0",
  5157. "scrolling ": "no",
  5158. "style": {
  5159. "cssText": "border:0; width:100%; height:100%;"
  5160. },
  5161. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5162. })
  5163. _box.appendChild(_iframe);
  5164. _box.appendChild(_jie);
  5165. _formdiv = new U.UF.UI.form(
  5166. "思維網格",
  5167. _box, {
  5168. "id": "mindNetwork" + cid + stage + task + tool,
  5169. "style": {
  5170. "width": "90%",
  5171. "height": "90%",
  5172. "overflow": 'hidden'
  5173. },
  5174. "onresize": function () { }
  5175. }, {
  5176. closecallback: function () { }
  5177. }, {
  5178. "style": {
  5179. "height": "36px"
  5180. }
  5181. }).form; //創建窗體
  5182. _taskbar = {
  5183. "id": str + _formdiv.id,
  5184. "style": {
  5185. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5186. },
  5187. "name": "思維網格",
  5188. "forms": _formdiv,
  5189. "click": function () {
  5190. U.MD.D.I.openApplication(str, obj, info);
  5191. }
  5192. }
  5193. break;
  5194. case "courseDesign":
  5195. _iframe = $$("iframe", {
  5196. "webkitallowfullscreen": "",
  5197. "mozallowfullscreen": "",
  5198. "allowfullscreen": "",
  5199. "frameborder": "no",
  5200. "border": "0",
  5201. "scrolling ": "no",
  5202. "style": {
  5203. "cssText": "border:0; width:100%; height:100%;"
  5204. },
  5205. "src": "/course-design-vue"
  5206. })
  5207. _box.appendChild(_iframe);
  5208. _box.appendChild(_jie);
  5209. _formdiv = new U.UF.UI.form(
  5210. "項目設計",
  5211. _box, {
  5212. "id": "courseDesign" + cid + stage + task + tool,
  5213. "style": {
  5214. "width": "90%",
  5215. "height": "90%",
  5216. "overflow": 'hidden'
  5217. },
  5218. "onresize": function () { }
  5219. }, {
  5220. closecallback: function () { }
  5221. }, {
  5222. "style": {
  5223. "height": "36px"
  5224. }
  5225. }).form; //創建窗體
  5226. _taskbar = {
  5227. "id": str + _formdiv.id,
  5228. "style": {
  5229. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5230. },
  5231. "name": "項目設計",
  5232. "forms": _formdiv,
  5233. "click": function () {
  5234. U.MD.D.I.openApplication(str, obj, info);
  5235. }
  5236. }
  5237. break;
  5238. }
  5239. const script1 = document.createElement("script");
  5240. script1.type = "text/javascript";
  5241. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5242. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5243. const script2 = document.createElement("script");
  5244. script2.type = "text/javascript";
  5245. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5246. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5247. const script3 = document.createElement("script");
  5248. script3.type = "text/javascript";
  5249. script3.charset = "UTF-8";
  5250. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5251. const script4 = document.createElement("script");
  5252. script4.type = "text/javascript";
  5253. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5254. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  5255. if (_iframe) {
  5256. if (str == 'doc') {
  5257. _iframe = _formdiv.querySelector('iframe')
  5258. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5259. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5260. _iframe.contentWindow.document.body.appendChild(script1);
  5261. _iframe.contentWindow.document.body.appendChild(script2);
  5262. // _iframe.contentWindow.document.body.appendChild(script3);
  5263. _iframe.contentWindow.document.body.appendChild(script4);
  5264. })
  5265. if (onloadListener) {
  5266. _iframe.contentDocument.location.reload()
  5267. } else {
  5268. _iframe.contentDocument.location.reload()
  5269. }
  5270. } else if (str == 'courseDesign') {
  5271. U.UF.DL.iframeLoad(_iframe, function () {
  5272. // _iframe.contentWindow.U.MD.O.W.load();
  5273. // _iframe.contentWindow.document.body.appendChild(script1);
  5274. _iframe.contentWindow.document.body.appendChild(script2);
  5275. _iframe.contentWindow.document.body.appendChild(script4);
  5276. })
  5277. } else if (str == 'mind') {
  5278. _iframe = _formdiv.querySelector('iframe')
  5279. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5280. //
  5281. _iframe.contentWindow.document.body.appendChild(script1);
  5282. _iframe.contentWindow.document.body.appendChild(script2);
  5283. _iframe.contentWindow.document.body.appendChild(script4);
  5284. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5285. })
  5286. if (onloadListener) {
  5287. _iframe.contentDocument.location.reload()
  5288. } else {
  5289. _iframe.contentDocument.location.reload()
  5290. }
  5291. } else if (str == 'whiteboard') {
  5292. _iframe = _formdiv.querySelector('iframe')
  5293. let onloadListener = _iframe.onload = () => {
  5294. _iframe.contentWindow.document.body.appendChild(script1);
  5295. _iframe.contentWindow.document.body.appendChild(script2);
  5296. _iframe.contentWindow.document.body.appendChild(script4);
  5297. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5298. };
  5299. if (onloadListener) {
  5300. _iframe.contentDocument.location.reload()
  5301. } else {
  5302. _iframe.contentDocument.location.reload()
  5303. }
  5304. } else {
  5305. _iframe.onload = () => {
  5306. _iframe.contentWindow.document.body.appendChild(script1);
  5307. _iframe.contentWindow.document.body.appendChild(script2);
  5308. // _iframe.contentWindow.document.body.appendChild(script3);
  5309. _iframe.contentWindow.document.body.appendChild(script4);
  5310. };
  5311. }
  5312. _jie.onclick = async () => {
  5313. let text = ''
  5314. if (aTool == 1) {
  5315. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5316. } else if (aTool == 6) {
  5317. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5318. } else if (aTool == 3) {
  5319. text = await U.MD.D.I.getEditorContent(_iframe);
  5320. }
  5321. _loading.style.display = 'flex'
  5322. console.log(_loading);
  5323. var _ajs = _iframe.contentWindow.document.createElement("script");
  5324. _ajs.type = "text/javascript";
  5325. _ajs.innerHTML =
  5326. // 'console.log(' + _loading + ');\n' +
  5327. 'var _js = document.createElement("script");\n' +
  5328. '_js.type="text/javascript";\n' +
  5329. '_js.charset="UTF-8";\n' +
  5330. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5331. "_js.onload = function(){\n" +
  5332. ' var a = document.getElementsByTagName("img")\n' +
  5333. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5334. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5335. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5336. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5337. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5338. "beforeUpload_shishi(file," +
  5339. "'" +
  5340. _userid +
  5341. "'" +
  5342. ", " +
  5343. "'" +
  5344. _cid +
  5345. "'" +
  5346. ", " +
  5347. "'" +
  5348. _stage +
  5349. "'" +
  5350. ", " +
  5351. "'" +
  5352. _task +
  5353. "'" +
  5354. ", " +
  5355. "'" +
  5356. _tool +
  5357. "'" +
  5358. ", " +
  5359. "'" +
  5360. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5361. "'" +
  5362. ", " +
  5363. "'" +
  5364. aTool +
  5365. "'" +
  5366. ", " +
  5367. "`" +
  5368. text +
  5369. "`" +
  5370. ")\n" +
  5371. " });\n" +
  5372. "}\n" +
  5373. "document.head.appendChild(_js);\n";
  5374. _iframe.contentWindow.document.head.appendChild(_ajs);
  5375. }
  5376. }
  5377. //U.MD.D.I.openClick(str);
  5378. //如果有任務欄信息
  5379. // if (_taskbar) {
  5380. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5381. // }
  5382. }
  5383. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5384. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5385. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5386. _userinfo = US.userInfo, //登錄用戶信息
  5387. _userid = US.userInfo.userid //登錄用戶id
  5388. let _iframe;
  5389. let _cid = cid,
  5390. _stage = stage,
  5391. _task = task,
  5392. _tool = tool;
  5393. var _jie = $$("div", {
  5394. "style": {
  5395. "position": "absolute",
  5396. "bottom": "50px",
  5397. "right": "50px",
  5398. "zIndex": "9999",
  5399. "backgroundColor": "#2268bc",
  5400. "color": "#fff",
  5401. "padding": "12px 20px",
  5402. "cursor": "pointer",
  5403. "borderRadius": "4px",
  5404. },
  5405. "innerHTML": "提交作業"
  5406. })
  5407. let aTool = ''
  5408. let _loading = document.createElement('div')
  5409. _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;"
  5410. // _loading.id = "";
  5411. let _lchild = document.createElement('div')
  5412. let _limg = document.createElement('img')
  5413. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5414. _limg.style = "width: 26px;margin-right: 10px;"
  5415. _lchild.appendChild(_limg)
  5416. let _lspan = document.createElement('span')
  5417. _lspan.innerHTML = "上傳中..."
  5418. _lchild.appendChild(_lspan)
  5419. _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%);"
  5420. _loading.appendChild(_lchild)
  5421. var _box = $$('div', {
  5422. "style": {
  5423. "position": "relative",
  5424. "width": "100%",
  5425. "height": "100%",
  5426. },
  5427. })
  5428. _box.appendChild(_loading)
  5429. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5430. switch (str) {
  5431. case "whiteboard":
  5432. aTool = 1;
  5433. _iframe = $$("iframe", {
  5434. "frameborder": "no",
  5435. "border": "0",
  5436. "scrolling ": "no",
  5437. "style": {
  5438. "cssText": "border:0;width:100%;height:100%"
  5439. },
  5440. "src": "https://iwb.cocorobo.hk/"
  5441. })
  5442. _box.appendChild(_iframe);
  5443. _box.appendChild(_jie);
  5444. _formdiv = new U.UF.UI.form(
  5445. "電子白板",
  5446. _box, {
  5447. "id": "whiteboard" + cid + stage + task + tool,
  5448. "style": {
  5449. "width": "90%",
  5450. "height": "90%",
  5451. "overflow": 'hidden'
  5452. },
  5453. "onresize": function () { }
  5454. }, {
  5455. closecallback: function () { }
  5456. }, {
  5457. "style": {
  5458. "height": "36px"
  5459. }
  5460. }).form; //創建窗體
  5461. _taskbar = {
  5462. "id": str + _formdiv.id,
  5463. "style": {
  5464. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5465. },
  5466. "name": "電子白板",
  5467. "forms": _formdiv,
  5468. "click": function () {
  5469. U.MD.D.I.openApplication(str, obj, info);
  5470. }
  5471. }
  5472. break;
  5473. case "mind":
  5474. aTool = 3;
  5475. _iframe = $$("iframe", {
  5476. "frameborder": "no",
  5477. "border": "0",
  5478. "scrolling ": "no",
  5479. "style": {
  5480. "cssText": "border:0;width:100%;height:100%"
  5481. },
  5482. "src": "/kityminder-editor/dist/index.html"
  5483. })
  5484. _box.appendChild(_iframe);
  5485. _box.appendChild(_jie);
  5486. _formdiv = new U.UF.UI.form(
  5487. "思維導圖",
  5488. _box, { //"/jsmind/example/demo.html"
  5489. "id": "mind" + cid + stage + task + tool,
  5490. "style": {
  5491. "width": "90%",
  5492. "height": "90%",
  5493. "overflow": 'hidden'
  5494. },
  5495. "onresize": function () { }
  5496. }, {
  5497. closecallback: function () { }
  5498. }, {
  5499. "style": {
  5500. "height": "36px"
  5501. }
  5502. }).form; //創建窗體
  5503. _taskbar = {
  5504. "id": str + _formdiv.id,
  5505. "style": {
  5506. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5507. },
  5508. "name": "思維導圖",
  5509. "forms": _formdiv,
  5510. "click": function () {
  5511. U.MD.D.I.openApplication(str, obj, info);
  5512. }
  5513. }
  5514. break;
  5515. case "MindMap":
  5516. aTool = 3;
  5517. _iframe = $$("iframe", {
  5518. "frameborder": "no",
  5519. "border": "0",
  5520. "scrolling ": "no",
  5521. "style": {
  5522. "cssText": "border:0;width:100%;height:100%"
  5523. },
  5524. "src": "//cloud.cocorobo.hk/mind/"
  5525. })
  5526. _box.appendChild(_iframe);
  5527. _box.appendChild(_jie);
  5528. _formdiv = new U.UF.UI.form(
  5529. "思維導圖",
  5530. _box, { //"/jsmind/example/demo.html"
  5531. "id": "mind" + cid + stage + task + tool,
  5532. "style": {
  5533. "width": "90%",
  5534. "height": "90%",
  5535. "overflow": 'hidden'
  5536. },
  5537. "onresize": function () { }
  5538. }, {
  5539. closecallback: function () { }
  5540. }, {
  5541. "style": {
  5542. "height": "36px"
  5543. }
  5544. }).form; //創建窗體
  5545. _taskbar = {
  5546. "id": str + _formdiv.id,
  5547. "style": {
  5548. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5549. },
  5550. "name": "思維導圖",
  5551. "forms": _formdiv,
  5552. "click": function () {
  5553. U.MD.D.I.openApplication(str, obj, info);
  5554. }
  5555. }
  5556. break;
  5557. case "doc":
  5558. aTool = 6;
  5559. _iframe = $$("iframe", {
  5560. "frameborder": "no",
  5561. "border": "0",
  5562. "scrolling ": "no",
  5563. "style": {
  5564. "cssText": "border:0;width:100%;height:100%"
  5565. },
  5566. "src": "/Office/Word/WordEditArea.htm"
  5567. })
  5568. _box.appendChild(_iframe);
  5569. _box.appendChild(_jie);
  5570. _formdiv = new U.UF.UI.form(
  5571. "協同文檔",
  5572. _box, {
  5573. "id": "doc" + cid + stage + task + tool,
  5574. "style": {
  5575. "width": "90%",
  5576. "height": "90%",
  5577. "overflow": 'hidden'
  5578. },
  5579. "onresize": function () { }
  5580. }, {
  5581. closecallback: function () { }
  5582. }, {
  5583. "style": {
  5584. "height": "36px"
  5585. }
  5586. }).form; //創建窗體
  5587. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5588. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5589. })
  5590. _taskbar = {
  5591. "id": str + _formdiv.id,
  5592. "style": {
  5593. "backgroundImage": "url(/img/icon/doc.png)"
  5594. },
  5595. "name": "協同文檔",
  5596. "forms": _formdiv,
  5597. "click": function () {
  5598. U.MD.D.I.openApplication(str, obj, info);
  5599. }
  5600. }
  5601. break;
  5602. case "mindNetwork": //好友打開
  5603. aTool = 7;
  5604. _iframe = $$("iframe", {
  5605. "webkitallowfullscreen": "",
  5606. "mozallowfullscreen": "",
  5607. "allowfullscreen": "",
  5608. "frameborder": "no",
  5609. "border": "0",
  5610. "scrolling ": "no",
  5611. "style": {
  5612. "cssText": "border:0; width:100%; height:100%;"
  5613. },
  5614. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5615. })
  5616. _box.appendChild(_iframe);
  5617. _box.appendChild(_jie);
  5618. _formdiv = new U.UF.UI.form(
  5619. "思維網格",
  5620. _box, {
  5621. "id": "mindNetwork" + cid + stage + task + tool,
  5622. "style": {
  5623. "width": "90%",
  5624. "height": "90%",
  5625. "overflow": 'hidden'
  5626. },
  5627. "onresize": function () { }
  5628. }, {
  5629. closecallback: function () { }
  5630. }, {
  5631. "style": {
  5632. "height": "36px"
  5633. }
  5634. }).form; //創建窗體
  5635. _taskbar = {
  5636. "id": str + _formdiv.id,
  5637. "style": {
  5638. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5639. },
  5640. "name": "思維網格",
  5641. "forms": _formdiv,
  5642. "click": function () {
  5643. U.MD.D.I.openApplication(str, obj, info);
  5644. }
  5645. }
  5646. break;
  5647. case "courseDesign":
  5648. _iframe = $$("iframe", {
  5649. "webkitallowfullscreen": "",
  5650. "mozallowfullscreen": "",
  5651. "allowfullscreen": "",
  5652. "frameborder": "no",
  5653. "border": "0",
  5654. "scrolling ": "no",
  5655. "style": {
  5656. "cssText": "border:0; width:100%; height:100%;"
  5657. },
  5658. "src": "/course-design-vue"
  5659. })
  5660. _box.appendChild(_iframe);
  5661. _box.appendChild(_jie);
  5662. _formdiv = new U.UF.UI.form(
  5663. "項目設計",
  5664. _box, {
  5665. "id": "courseDesign" + cid + stage + task + tool,
  5666. "style": {
  5667. "width": "90%",
  5668. "height": "90%",
  5669. "overflow": 'hidden'
  5670. },
  5671. "onresize": function () { }
  5672. }, {
  5673. closecallback: function () { }
  5674. }, {
  5675. "style": {
  5676. "height": "36px"
  5677. }
  5678. }).form; //創建窗體
  5679. _taskbar = {
  5680. "id": str + _formdiv.id,
  5681. "style": {
  5682. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5683. },
  5684. "name": "項目設計",
  5685. "forms": _formdiv,
  5686. "click": function () {
  5687. U.MD.D.I.openApplication(str, obj, info);
  5688. }
  5689. }
  5690. break;
  5691. }
  5692. const script1 = document.createElement("script");
  5693. script1.type = "text/javascript";
  5694. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5695. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5696. const script2 = document.createElement("script");
  5697. script2.type = "text/javascript";
  5698. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5699. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5700. const script3 = document.createElement("script");
  5701. script3.type = "text/javascript";
  5702. script3.charset = "UTF-8";
  5703. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5704. const script4 = document.createElement("script");
  5705. script4.type = "text/javascript";
  5706. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5707. script4.src = window.origin + "/js/Common/jietu2E.js";
  5708. if (_iframe) {
  5709. if (str == 'doc') {
  5710. _iframe = _formdiv.querySelector('iframe')
  5711. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5712. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5713. _iframe.contentWindow.document.body.appendChild(script1);
  5714. _iframe.contentWindow.document.body.appendChild(script2);
  5715. // _iframe.contentWindow.document.body.appendChild(script3);
  5716. _iframe.contentWindow.document.body.appendChild(script4);
  5717. })
  5718. if (onloadListener) {
  5719. _iframe.contentDocument.location.reload()
  5720. } else {
  5721. _iframe.contentDocument.location.reload()
  5722. }
  5723. } else if (str == 'courseDesign') {
  5724. U.UF.DL.iframeLoad(_iframe, function () {
  5725. // _iframe.contentWindow.U.MD.O.W.load();
  5726. // _iframe.contentWindow.document.body.appendChild(script1);
  5727. _iframe.contentWindow.document.body.appendChild(script2);
  5728. _iframe.contentWindow.document.body.appendChild(script4);
  5729. })
  5730. } else if (str == 'mind') {
  5731. _iframe = _formdiv.querySelector('iframe')
  5732. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5733. //
  5734. _iframe.contentWindow.document.body.appendChild(script1);
  5735. _iframe.contentWindow.document.body.appendChild(script2);
  5736. _iframe.contentWindow.document.body.appendChild(script4);
  5737. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5738. })
  5739. if (onloadListener) {
  5740. _iframe.contentDocument.location.reload()
  5741. } else {
  5742. _iframe.contentDocument.location.reload()
  5743. }
  5744. } else if (str == 'whiteboard') {
  5745. _iframe = _formdiv.querySelector('iframe')
  5746. let onloadListener = _iframe.onload = () => {
  5747. _iframe.contentWindow.document.body.appendChild(script1);
  5748. _iframe.contentWindow.document.body.appendChild(script2);
  5749. _iframe.contentWindow.document.body.appendChild(script4);
  5750. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5751. };
  5752. if (onloadListener) {
  5753. _iframe.contentDocument.location.reload()
  5754. } else {
  5755. _iframe.contentDocument.location.reload()
  5756. }
  5757. } else {
  5758. _iframe.onload = () => {
  5759. _iframe.contentWindow.document.body.appendChild(script1);
  5760. _iframe.contentWindow.document.body.appendChild(script2);
  5761. // _iframe.contentWindow.document.body.appendChild(script3);
  5762. _iframe.contentWindow.document.body.appendChild(script4);
  5763. };
  5764. }
  5765. _jie.onclick = async () => {
  5766. let text = ''
  5767. if (aTool == 1) {
  5768. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5769. } else if (aTool == 6) {
  5770. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5771. } else if (aTool == 3) {
  5772. text = await U.MD.D.I.getEditorContent(_iframe);
  5773. }
  5774. _loading.style.display = 'flex'
  5775. console.log(_loading);
  5776. var _ajs = _iframe.contentWindow.document.createElement("script");
  5777. _ajs.type = "text/javascript";
  5778. _ajs.innerHTML =
  5779. // 'console.log(' + _loading + ');\n' +
  5780. 'var _js = document.createElement("script");\n' +
  5781. '_js.type="text/javascript";\n' +
  5782. '_js.charset="UTF-8";\n' +
  5783. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5784. "_js.onload = function(){\n" +
  5785. ' var a = document.getElementsByTagName("img")\n' +
  5786. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5787. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5788. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5789. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5790. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5791. "beforeUpload_shishi(file," +
  5792. "'" +
  5793. _userid +
  5794. "'" +
  5795. ", " +
  5796. "'" +
  5797. _cid +
  5798. "'" +
  5799. ", " +
  5800. "'" +
  5801. _stage +
  5802. "'" +
  5803. ", " +
  5804. "'" +
  5805. _task +
  5806. "'" +
  5807. ", " +
  5808. "'" +
  5809. _tool +
  5810. "'" +
  5811. ", " +
  5812. "'" +
  5813. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5814. "'" +
  5815. ", " +
  5816. "'" +
  5817. aTool +
  5818. "'" +
  5819. ", " +
  5820. "`" +
  5821. text +
  5822. "`" +
  5823. ")\n" +
  5824. " });\n" +
  5825. "}\n" +
  5826. "document.head.appendChild(_js);\n";
  5827. _iframe.contentWindow.document.head.appendChild(_ajs);
  5828. }
  5829. }
  5830. //U.MD.D.I.openClick(str);
  5831. //如果有任務欄信息
  5832. // if (_taskbar) {
  5833. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5834. // }
  5835. }
  5836. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5837. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5838. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5839. _userid = student.userid, //登錄用戶id
  5840. _username = student.student //用戶名字
  5841. let _iframe;
  5842. let _cid = cid,
  5843. _stage = stage,
  5844. _task = task,
  5845. _tool = tool;
  5846. var _jie = $$("div", {
  5847. "style": {
  5848. "position": "absolute",
  5849. "bottom": "50px",
  5850. "right": "50px",
  5851. "zIndex": "9999",
  5852. "backgroundColor": "#2268bc",
  5853. "color": "#fff",
  5854. "padding": "12px 20px",
  5855. "cursor": "pointer",
  5856. "borderRadius": "4px",
  5857. },
  5858. "innerHTML": "提交作業"
  5859. })
  5860. let aTool = ''
  5861. let _loading = document.createElement('div')
  5862. _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;"
  5863. // _loading.id = "";
  5864. let _lchild = document.createElement('div')
  5865. let _limg = document.createElement('img')
  5866. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5867. _limg.style = "width: 26px;margin-right: 10px;"
  5868. _lchild.appendChild(_limg)
  5869. let _lspan = document.createElement('span')
  5870. _lspan.innerHTML = "上傳中..."
  5871. _lchild.appendChild(_lspan)
  5872. _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%);"
  5873. _loading.appendChild(_lchild)
  5874. var _box = $$('div', {
  5875. "style": {
  5876. "position": "relative",
  5877. "width": "100%",
  5878. "height": "100%",
  5879. },
  5880. })
  5881. _box.appendChild(_loading)
  5882. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5883. switch (str) {
  5884. case "whiteboard":
  5885. aTool = 1;
  5886. _iframe = $$("iframe", {
  5887. "frameborder": "no",
  5888. "border": "0",
  5889. "scrolling ": "no",
  5890. "style": {
  5891. "cssText": "border:0;width:100%;height:100%"
  5892. },
  5893. "src": "https://iwb.cocorobo.hk/"
  5894. })
  5895. _box.appendChild(_iframe);
  5896. _box.appendChild(_jie);
  5897. _formdiv = new U.UF.UI.form(
  5898. "電子白板-" + _username,
  5899. _box, {
  5900. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5901. "style": {
  5902. "width": "90%",
  5903. "height": "90%",
  5904. "overflow": 'hidden'
  5905. },
  5906. "onresize": function () { }
  5907. }, {
  5908. closecallback: function () { }
  5909. }, {
  5910. "style": {
  5911. "height": "36px"
  5912. }
  5913. }).form; //創建窗體
  5914. _taskbar = {
  5915. "id": str + _formdiv.id,
  5916. "style": {
  5917. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5918. },
  5919. "name": "電子白板",
  5920. "forms": _formdiv,
  5921. "click": function () {
  5922. U.MD.D.I.openApplication(str, obj, info);
  5923. }
  5924. }
  5925. break;
  5926. case "mind":
  5927. aTool = 3;
  5928. _iframe = $$("iframe", {
  5929. "frameborder": "no",
  5930. "border": "0",
  5931. "scrolling ": "no",
  5932. "style": {
  5933. "cssText": "border:0;width:100%;height:100%"
  5934. },
  5935. "src": "/kityminder-editor/dist/index.html"
  5936. })
  5937. _box.appendChild(_iframe);
  5938. _box.appendChild(_jie);
  5939. _formdiv = new U.UF.UI.form(
  5940. "思維導圖-" + _username,
  5941. _box, { //"/jsmind/example/demo.html"
  5942. "id": "mind" + cid + stage + task + tool + _userid,
  5943. "style": {
  5944. "width": "90%",
  5945. "height": "90%",
  5946. "overflow": 'hidden'
  5947. },
  5948. "onresize": function () { }
  5949. }, {
  5950. closecallback: function () { }
  5951. }, {
  5952. "style": {
  5953. "height": "36px"
  5954. }
  5955. }).form; //創建窗體
  5956. _taskbar = {
  5957. "id": str + _formdiv.id,
  5958. "style": {
  5959. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5960. },
  5961. "name": "思維導圖",
  5962. "forms": _formdiv,
  5963. "click": function () {
  5964. U.MD.D.I.openApplication(str, obj, info);
  5965. }
  5966. }
  5967. break;
  5968. case "MindMap":
  5969. aTool = 3;
  5970. _iframe = $$("iframe", {
  5971. "frameborder": "no",
  5972. "border": "0",
  5973. "scrolling ": "no",
  5974. "style": {
  5975. "cssText": "border:0;width:100%;height:100%"
  5976. },
  5977. "src": "//cloud.cocorobo.hk/mind/"
  5978. })
  5979. _box.appendChild(_iframe);
  5980. _box.appendChild(_jie);
  5981. _formdiv = new U.UF.UI.form(
  5982. "思維導圖-" + _username,
  5983. _box, { //"/jsmind/example/demo.html"
  5984. "id": "mind" + cid + stage + task + tool + _userid,
  5985. "style": {
  5986. "width": "90%",
  5987. "height": "90%",
  5988. "overflow": 'hidden'
  5989. },
  5990. "onresize": function () { }
  5991. }, {
  5992. closecallback: function () { }
  5993. }, {
  5994. "style": {
  5995. "height": "36px"
  5996. }
  5997. }).form; //創建窗體
  5998. _taskbar = {
  5999. "id": str + _formdiv.id,
  6000. "style": {
  6001. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6002. },
  6003. "name": "思維導圖",
  6004. "forms": _formdiv,
  6005. "click": function () {
  6006. U.MD.D.I.openApplication(str, obj, info);
  6007. }
  6008. }
  6009. break;
  6010. case "doc":
  6011. aTool = 6;
  6012. _iframe = $$("iframe", {
  6013. "frameborder": "no",
  6014. "border": "0",
  6015. "scrolling ": "no",
  6016. "style": {
  6017. "cssText": "border:0;width:100%;height:100%"
  6018. },
  6019. "src": "/Office/Word/WordEditArea.htm"
  6020. })
  6021. _box.appendChild(_iframe);
  6022. _box.appendChild(_jie);
  6023. _formdiv = new U.UF.UI.form(
  6024. "協同文檔-" + _username,
  6025. _box, {
  6026. "id": "doc" + cid + stage + task + tool + _userid,
  6027. "style": {
  6028. "width": "90%",
  6029. "height": "90%",
  6030. "overflow": 'hidden'
  6031. },
  6032. "onresize": function () { }
  6033. }, {
  6034. closecallback: function () { }
  6035. }, {
  6036. "style": {
  6037. "height": "36px"
  6038. }
  6039. }).form; //創建窗體
  6040. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6041. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6042. })
  6043. _taskbar = {
  6044. "id": str + _formdiv.id,
  6045. "style": {
  6046. "backgroundImage": "url(/img/icon/doc.png)"
  6047. },
  6048. "name": "協同文檔",
  6049. "forms": _formdiv,
  6050. "click": function () {
  6051. U.MD.D.I.openApplication(str, obj, info);
  6052. }
  6053. }
  6054. break;
  6055. case "mindNetwork": //好友打開
  6056. aTool = 7;
  6057. _iframe = $$("iframe", {
  6058. "webkitallowfullscreen": "",
  6059. "mozallowfullscreen": "",
  6060. "allowfullscreen": "",
  6061. "frameborder": "no",
  6062. "border": "0",
  6063. "scrolling ": "no",
  6064. "style": {
  6065. "cssText": "border:0; width:100%; height:100%;"
  6066. },
  6067. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6068. })
  6069. _box.appendChild(_iframe);
  6070. _box.appendChild(_jie);
  6071. _formdiv = new U.UF.UI.form(
  6072. "思維網格-" + _username,
  6073. _box, {
  6074. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6075. "style": {
  6076. "width": "90%",
  6077. "height": "90%",
  6078. "overflow": 'hidden'
  6079. },
  6080. "onresize": function () { }
  6081. }, {
  6082. closecallback: function () { }
  6083. }, {
  6084. "style": {
  6085. "height": "36px"
  6086. }
  6087. }).form; //創建窗體
  6088. _taskbar = {
  6089. "id": str + _formdiv.id,
  6090. "style": {
  6091. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6092. },
  6093. "name": "思維網格",
  6094. "forms": _formdiv,
  6095. "click": function () {
  6096. U.MD.D.I.openApplication(str, obj, info);
  6097. }
  6098. }
  6099. break;
  6100. case "courseDesign":
  6101. _iframe = $$("iframe", {
  6102. "webkitallowfullscreen": "",
  6103. "mozallowfullscreen": "",
  6104. "allowfullscreen": "",
  6105. "frameborder": "no",
  6106. "border": "0",
  6107. "scrolling ": "no",
  6108. "style": {
  6109. "cssText": "border:0; width:100%; height:100%;"
  6110. },
  6111. "src": "/course-design-vue"
  6112. })
  6113. _box.appendChild(_iframe);
  6114. _box.appendChild(_jie);
  6115. _formdiv = new U.UF.UI.form(
  6116. "項目設計-" + _username,
  6117. _box, {
  6118. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6119. "style": {
  6120. "width": "90%",
  6121. "height": "90%",
  6122. "overflow": 'hidden'
  6123. },
  6124. "onresize": function () { }
  6125. }, {
  6126. closecallback: function () { }
  6127. }, {
  6128. "style": {
  6129. "height": "36px"
  6130. }
  6131. }).form; //創建窗體
  6132. _taskbar = {
  6133. "id": str + _formdiv.id,
  6134. "style": {
  6135. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6136. },
  6137. "name": "項目設計",
  6138. "forms": _formdiv,
  6139. "click": function () {
  6140. U.MD.D.I.openApplication(str, obj, info);
  6141. }
  6142. }
  6143. break;
  6144. }
  6145. const script1 = document.createElement("script");
  6146. script1.type = "text/javascript";
  6147. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6148. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6149. const script2 = document.createElement("script");
  6150. script2.type = "text/javascript";
  6151. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6152. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6153. const script3 = document.createElement("script");
  6154. script3.type = "text/javascript";
  6155. script3.charset = "UTF-8";
  6156. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6157. const script4 = document.createElement("script");
  6158. script4.type = "text/javascript";
  6159. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6160. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6161. if (_iframe) {
  6162. if (str == 'doc') {
  6163. _iframe = _formdiv.querySelector('iframe')
  6164. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6165. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6166. _iframe.contentWindow.document.body.appendChild(script1);
  6167. _iframe.contentWindow.document.body.appendChild(script2);
  6168. // _iframe.contentWindow.document.body.appendChild(script3);
  6169. _iframe.contentWindow.document.body.appendChild(script4);
  6170. })
  6171. if (onloadListener) {
  6172. _iframe.contentDocument.location.reload()
  6173. } else {
  6174. _iframe.contentDocument.location.reload()
  6175. }
  6176. } else if (str == 'courseDesign') {
  6177. U.UF.DL.iframeLoad(_iframe, function () {
  6178. // _iframe.contentWindow.U.MD.O.W.load();
  6179. // _iframe.contentWindow.document.body.appendChild(script1);
  6180. _iframe.contentWindow.document.body.appendChild(script2);
  6181. _iframe.contentWindow.document.body.appendChild(script4);
  6182. })
  6183. } else if (str == 'mind') {
  6184. _iframe = _formdiv.querySelector('iframe')
  6185. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6186. //
  6187. _iframe.contentWindow.document.body.appendChild(script1);
  6188. _iframe.contentWindow.document.body.appendChild(script2);
  6189. _iframe.contentWindow.document.body.appendChild(script4);
  6190. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6191. })
  6192. if (onloadListener) {
  6193. _iframe.contentDocument.location.reload()
  6194. } else {
  6195. _iframe.contentDocument.location.reload()
  6196. }
  6197. } else if (str == 'whiteboard') {
  6198. _iframe = _formdiv.querySelector('iframe')
  6199. let onloadListener = _iframe.onload = () => {
  6200. _iframe.contentWindow.document.body.appendChild(script1);
  6201. _iframe.contentWindow.document.body.appendChild(script2);
  6202. _iframe.contentWindow.document.body.appendChild(script4);
  6203. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6204. };
  6205. if (onloadListener) {
  6206. _iframe.contentDocument.location.reload()
  6207. } else {
  6208. _iframe.contentDocument.location.reload()
  6209. }
  6210. } else {
  6211. _iframe.onload = () => {
  6212. _iframe.contentWindow.document.body.appendChild(script1);
  6213. _iframe.contentWindow.document.body.appendChild(script2);
  6214. // _iframe.contentWindow.document.body.appendChild(script3);
  6215. _iframe.contentWindow.document.body.appendChild(script4);
  6216. };
  6217. }
  6218. _jie.onclick = async () => {
  6219. let text = ''
  6220. if (aTool == 1) {
  6221. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6222. } else if (aTool == 6) {
  6223. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6224. } else if (aTool == 3) {
  6225. text = await U.MD.D.I.getEditorContent(_iframe);
  6226. }
  6227. _loading.style.display = 'flex'
  6228. console.log(_loading);
  6229. var _ajs = _iframe.contentWindow.document.createElement("script");
  6230. _ajs.type = "text/javascript";
  6231. _ajs.innerHTML =
  6232. // 'console.log(' + _loading + ');\n' +
  6233. 'var _js = document.createElement("script");\n' +
  6234. '_js.type="text/javascript";\n' +
  6235. '_js.charset="UTF-8";\n' +
  6236. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6237. "_js.onload = function(){\n" +
  6238. ' var a = document.getElementsByTagName("img")\n' +
  6239. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6240. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6241. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6242. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6243. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6244. "beforeUpload_shishi(file," +
  6245. "'" +
  6246. _userid +
  6247. "'" +
  6248. ", " +
  6249. "'" +
  6250. _cid +
  6251. "'" +
  6252. ", " +
  6253. "'" +
  6254. _stage +
  6255. "'" +
  6256. ", " +
  6257. "'" +
  6258. _task +
  6259. "'" +
  6260. ", " +
  6261. "'" +
  6262. _tool +
  6263. "'" +
  6264. ", " +
  6265. "'" +
  6266. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6267. "'" +
  6268. ", " +
  6269. "'" +
  6270. aTool +
  6271. "'" +
  6272. ", " +
  6273. "`" +
  6274. text +
  6275. "`" +
  6276. ")\n" +
  6277. " });\n" +
  6278. "}\n" +
  6279. "document.head.appendChild(_js);\n";
  6280. _iframe.contentWindow.document.head.appendChild(_ajs);
  6281. }
  6282. }
  6283. }
  6284. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6285. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6286. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6287. _userid = student.userid, //登錄用戶id
  6288. _username = student.student //用戶名字
  6289. let _iframe;
  6290. let _cid = cid,
  6291. _stage = stage,
  6292. _task = task,
  6293. _tool = tool;
  6294. var _jie = $$("div", {
  6295. "style": {
  6296. "position": "absolute",
  6297. "bottom": "50px",
  6298. "right": "50px",
  6299. "zIndex": "9999",
  6300. "backgroundColor": "#2268bc",
  6301. "color": "#fff",
  6302. "padding": "12px 20px",
  6303. "cursor": "pointer",
  6304. "borderRadius": "4px",
  6305. },
  6306. "innerHTML": "提交作業"
  6307. })
  6308. let aTool = ''
  6309. let _loading = document.createElement('div')
  6310. _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;"
  6311. // _loading.id = "";
  6312. let _lchild = document.createElement('div')
  6313. let _limg = document.createElement('img')
  6314. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6315. _limg.style = "width: 26px;margin-right: 10px;"
  6316. _lchild.appendChild(_limg)
  6317. let _lspan = document.createElement('span')
  6318. _lspan.innerHTML = "上傳中..."
  6319. _lchild.appendChild(_lspan)
  6320. _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%);"
  6321. _loading.appendChild(_lchild)
  6322. var _box = $$('div', {
  6323. "style": {
  6324. "position": "relative",
  6325. "width": "100%",
  6326. "height": "100%",
  6327. },
  6328. })
  6329. _box.appendChild(_loading)
  6330. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6331. switch (str) {
  6332. case "whiteboard":
  6333. aTool = 1;
  6334. _iframe = $$("iframe", {
  6335. "frameborder": "no",
  6336. "border": "0",
  6337. "scrolling ": "no",
  6338. "style": {
  6339. "cssText": "border:0;width:100%;height:100%"
  6340. },
  6341. "src": "https://iwb.cocorobo.hk/"
  6342. })
  6343. _box.appendChild(_iframe);
  6344. _box.appendChild(_jie);
  6345. _formdiv = new U.UF.UI.form(
  6346. "電子白板-" + _username,
  6347. _box, {
  6348. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6349. "style": {
  6350. "width": "90%",
  6351. "height": "90%",
  6352. "overflow": 'hidden'
  6353. },
  6354. "onresize": function () { }
  6355. }, {
  6356. closecallback: function () { }
  6357. }, {
  6358. "style": {
  6359. "height": "36px"
  6360. }
  6361. }).form; //創建窗體
  6362. _taskbar = {
  6363. "id": str + _formdiv.id,
  6364. "style": {
  6365. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6366. },
  6367. "name": "電子白板",
  6368. "forms": _formdiv,
  6369. "click": function () {
  6370. U.MD.D.I.openApplication(str, obj, info);
  6371. }
  6372. }
  6373. break;
  6374. case "mind":
  6375. aTool = 3;
  6376. _iframe = $$("iframe", {
  6377. "frameborder": "no",
  6378. "border": "0",
  6379. "scrolling ": "no",
  6380. "style": {
  6381. "cssText": "border:0;width:100%;height:100%"
  6382. },
  6383. "src": "/kityminder-editor/dist/index.html"
  6384. })
  6385. _box.appendChild(_iframe);
  6386. _box.appendChild(_jie);
  6387. _formdiv = new U.UF.UI.form(
  6388. "思維導圖-" + _username,
  6389. _box, { //"/jsmind/example/demo.html"
  6390. "id": "mind" + cid + stage + task + tool + _userid,
  6391. "style": {
  6392. "width": "90%",
  6393. "height": "90%",
  6394. "overflow": 'hidden'
  6395. },
  6396. "onresize": function () { }
  6397. }, {
  6398. closecallback: function () { }
  6399. }, {
  6400. "style": {
  6401. "height": "36px"
  6402. }
  6403. }).form; //創建窗體
  6404. _taskbar = {
  6405. "id": str + _formdiv.id,
  6406. "style": {
  6407. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6408. },
  6409. "name": "思維導圖",
  6410. "forms": _formdiv,
  6411. "click": function () {
  6412. U.MD.D.I.openApplication(str, obj, info);
  6413. }
  6414. }
  6415. break;
  6416. case "MindMap":
  6417. aTool = 3;
  6418. _iframe = $$("iframe", {
  6419. "frameborder": "no",
  6420. "border": "0",
  6421. "scrolling ": "no",
  6422. "style": {
  6423. "cssText": "border:0;width:100%;height:100%"
  6424. },
  6425. "src": "//cloud.cocorobo.hk/mind/"
  6426. })
  6427. _box.appendChild(_iframe);
  6428. _box.appendChild(_jie);
  6429. _formdiv = new U.UF.UI.form(
  6430. "思維導圖-" + _username,
  6431. _box, { //"/jsmind/example/demo.html"
  6432. "id": "mind" + cid + stage + task + tool + _userid,
  6433. "style": {
  6434. "width": "90%",
  6435. "height": "90%",
  6436. "overflow": 'hidden'
  6437. },
  6438. "onresize": function () { }
  6439. }, {
  6440. closecallback: function () { }
  6441. }, {
  6442. "style": {
  6443. "height": "36px"
  6444. }
  6445. }).form; //創建窗體
  6446. _taskbar = {
  6447. "id": str + _formdiv.id,
  6448. "style": {
  6449. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6450. },
  6451. "name": "思維導圖",
  6452. "forms": _formdiv,
  6453. "click": function () {
  6454. U.MD.D.I.openApplication(str, obj, info);
  6455. }
  6456. }
  6457. break;
  6458. case "doc":
  6459. aTool = 6;
  6460. _iframe = $$("iframe", {
  6461. "frameborder": "no",
  6462. "border": "0",
  6463. "scrolling ": "no",
  6464. "style": {
  6465. "cssText": "border:0;width:100%;height:100%"
  6466. },
  6467. "src": "/Office/Word/WordEditArea.htm"
  6468. })
  6469. _box.appendChild(_iframe);
  6470. _box.appendChild(_jie);
  6471. _formdiv = new U.UF.UI.form(
  6472. "協同文檔-" + _username,
  6473. _box, {
  6474. "id": "doc" + cid + stage + task + tool + _userid,
  6475. "style": {
  6476. "width": "90%",
  6477. "height": "90%",
  6478. "overflow": 'hidden'
  6479. },
  6480. "onresize": function () { }
  6481. }, {
  6482. closecallback: function () { }
  6483. }, {
  6484. "style": {
  6485. "height": "36px"
  6486. }
  6487. }).form; //創建窗體
  6488. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6489. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6490. })
  6491. _taskbar = {
  6492. "id": str + _formdiv.id,
  6493. "style": {
  6494. "backgroundImage": "url(/img/icon/doc.png)"
  6495. },
  6496. "name": "協同文檔",
  6497. "forms": _formdiv,
  6498. "click": function () {
  6499. U.MD.D.I.openApplication(str, obj, info);
  6500. }
  6501. }
  6502. break;
  6503. case "mindNetwork": //好友打開
  6504. aTool = 7;
  6505. _iframe = $$("iframe", {
  6506. "webkitallowfullscreen": "",
  6507. "mozallowfullscreen": "",
  6508. "allowfullscreen": "",
  6509. "frameborder": "no",
  6510. "border": "0",
  6511. "scrolling ": "no",
  6512. "style": {
  6513. "cssText": "border:0; width:100%; height:100%;"
  6514. },
  6515. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6516. })
  6517. _box.appendChild(_iframe);
  6518. _box.appendChild(_jie);
  6519. _formdiv = new U.UF.UI.form(
  6520. "思維網格-" + _username,
  6521. _box, {
  6522. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6523. "style": {
  6524. "width": "90%",
  6525. "height": "90%",
  6526. "overflow": 'hidden'
  6527. },
  6528. "onresize": function () { }
  6529. }, {
  6530. closecallback: function () { }
  6531. }, {
  6532. "style": {
  6533. "height": "36px"
  6534. }
  6535. }).form; //創建窗體
  6536. _taskbar = {
  6537. "id": str + _formdiv.id,
  6538. "style": {
  6539. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6540. },
  6541. "name": "思維網格",
  6542. "forms": _formdiv,
  6543. "click": function () {
  6544. U.MD.D.I.openApplication(str, obj, info);
  6545. }
  6546. }
  6547. break;
  6548. case "courseDesign":
  6549. _iframe = $$("iframe", {
  6550. "webkitallowfullscreen": "",
  6551. "mozallowfullscreen": "",
  6552. "allowfullscreen": "",
  6553. "frameborder": "no",
  6554. "border": "0",
  6555. "scrolling ": "no",
  6556. "style": {
  6557. "cssText": "border:0; width:100%; height:100%;"
  6558. },
  6559. "src": "/course-design-vue"
  6560. })
  6561. _box.appendChild(_iframe);
  6562. _box.appendChild(_jie);
  6563. _formdiv = new U.UF.UI.form(
  6564. "項目設計-" + _username,
  6565. _box, {
  6566. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6567. "style": {
  6568. "width": "90%",
  6569. "height": "90%",
  6570. "overflow": 'hidden'
  6571. },
  6572. "onresize": function () { }
  6573. }, {
  6574. closecallback: function () { }
  6575. }, {
  6576. "style": {
  6577. "height": "36px"
  6578. }
  6579. }).form; //創建窗體
  6580. _taskbar = {
  6581. "id": str + _formdiv.id,
  6582. "style": {
  6583. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6584. },
  6585. "name": "項目設計",
  6586. "forms": _formdiv,
  6587. "click": function () {
  6588. U.MD.D.I.openApplication(str, obj, info);
  6589. }
  6590. }
  6591. break;
  6592. }
  6593. const script1 = document.createElement("script");
  6594. script1.type = "text/javascript";
  6595. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6596. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6597. const script2 = document.createElement("script");
  6598. script2.type = "text/javascript";
  6599. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6600. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6601. const script3 = document.createElement("script");
  6602. script3.type = "text/javascript";
  6603. script3.charset = "UTF-8";
  6604. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6605. const script4 = document.createElement("script");
  6606. script4.type = "text/javascript";
  6607. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6608. script4.src = window.origin + "/js/Common/jietu2E.js";
  6609. if (_iframe) {
  6610. if (str == 'doc') {
  6611. _iframe = _formdiv.querySelector('iframe')
  6612. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6613. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6614. _iframe.contentWindow.document.body.appendChild(script1);
  6615. _iframe.contentWindow.document.body.appendChild(script2);
  6616. // _iframe.contentWindow.document.body.appendChild(script3);
  6617. _iframe.contentWindow.document.body.appendChild(script4);
  6618. })
  6619. if (onloadListener) {
  6620. _iframe.contentDocument.location.reload()
  6621. } else {
  6622. _iframe.contentDocument.location.reload()
  6623. }
  6624. } else if (str == 'courseDesign') {
  6625. U.UF.DL.iframeLoad(_iframe, function () {
  6626. // _iframe.contentWindow.U.MD.O.W.load();
  6627. // _iframe.contentWindow.document.body.appendChild(script1);
  6628. _iframe.contentWindow.document.body.appendChild(script2);
  6629. _iframe.contentWindow.document.body.appendChild(script4);
  6630. })
  6631. } else if (str == 'mind') {
  6632. _iframe = _formdiv.querySelector('iframe')
  6633. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6634. //
  6635. _iframe.contentWindow.document.body.appendChild(script1);
  6636. _iframe.contentWindow.document.body.appendChild(script2);
  6637. _iframe.contentWindow.document.body.appendChild(script4);
  6638. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6639. })
  6640. if (onloadListener) {
  6641. _iframe.contentDocument.location.reload()
  6642. } else {
  6643. _iframe.contentDocument.location.reload()
  6644. }
  6645. } else if (str == 'whiteboard') {
  6646. _iframe = _formdiv.querySelector('iframe')
  6647. let onloadListener = _iframe.onload = () => {
  6648. _iframe.contentWindow.document.body.appendChild(script1);
  6649. _iframe.contentWindow.document.body.appendChild(script2);
  6650. _iframe.contentWindow.document.body.appendChild(script4);
  6651. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6652. };
  6653. if (onloadListener) {
  6654. _iframe.contentDocument.location.reload()
  6655. } else {
  6656. _iframe.contentDocument.location.reload()
  6657. }
  6658. } else {
  6659. _iframe.onload = () => {
  6660. _iframe.contentWindow.document.body.appendChild(script1);
  6661. _iframe.contentWindow.document.body.appendChild(script2);
  6662. // _iframe.contentWindow.document.body.appendChild(script3);
  6663. _iframe.contentWindow.document.body.appendChild(script4);
  6664. };
  6665. }
  6666. _jie.onclick = async () => {
  6667. let text = ''
  6668. if (aTool == 1) {
  6669. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6670. } else if (aTool == 6) {
  6671. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6672. } else if (aTool == 3) {
  6673. text = await U.MD.D.I.getEditorContent(_iframe);
  6674. }
  6675. _loading.style.display = 'flex'
  6676. console.log(_loading);
  6677. var _ajs = _iframe.contentWindow.document.createElement("script");
  6678. _ajs.type = "text/javascript";
  6679. _ajs.innerHTML =
  6680. // 'console.log(' + _loading + ');\n' +
  6681. 'var _js = document.createElement("script");\n' +
  6682. '_js.type="text/javascript";\n' +
  6683. '_js.charset="UTF-8";\n' +
  6684. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6685. "_js.onload = function(){\n" +
  6686. ' var a = document.getElementsByTagName("img")\n' +
  6687. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6688. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6689. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6690. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6691. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6692. "beforeUpload_shishi(file," +
  6693. "'" +
  6694. _userid +
  6695. "'" +
  6696. ", " +
  6697. "'" +
  6698. _cid +
  6699. "'" +
  6700. ", " +
  6701. "'" +
  6702. _stage +
  6703. "'" +
  6704. ", " +
  6705. "'" +
  6706. _task +
  6707. "'" +
  6708. ", " +
  6709. "'" +
  6710. _tool +
  6711. "'" +
  6712. ", " +
  6713. "'" +
  6714. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6715. "'" +
  6716. ", " +
  6717. "'" +
  6718. aTool +
  6719. "'" +
  6720. ", " +
  6721. "`" +
  6722. text +
  6723. "`" +
  6724. ")\n" +
  6725. " });\n" +
  6726. "}\n" +
  6727. "document.head.appendChild(_js);\n";
  6728. _iframe.contentWindow.document.head.appendChild(_ajs);
  6729. }
  6730. }
  6731. }
  6732. U.MD.D.I.getEditorContent = function (iframe) {
  6733. return new Promise((resolve, reject) => {
  6734. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6735. console.log(content);
  6736. resolve(content)
  6737. });
  6738. });
  6739. }
  6740. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6741. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6742. // if (res.value[0].length > 0) {
  6743. // // resolve(res.value[0][0].text);
  6744. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6745. // $(fileInput).val('');
  6746. // });
  6747. // }
  6748. // }, [], { "type": "GET", "withCredentials": true });
  6749. var xmlhttp;
  6750. var Mac, Sn, DeviceId
  6751. if (window.XMLHttpRequest) {
  6752. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  6753. xmlhttp = new XMLHttpRequest();
  6754. }
  6755. else {
  6756. // IE6, IE5 瀏覽器執行代碼
  6757. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6758. }
  6759. xmlhttp.onreadystatechange = function () {
  6760. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6761. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6762. // resolve(res.value[0][0].text);
  6763. if (type == '2') {
  6764. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6765. } else if (type == '3') {
  6766. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6767. }
  6768. } else {
  6769. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6770. }
  6771. }
  6772. }
  6773. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6774. xmlhttp.send();
  6775. }
  6776. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6777. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6778. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6779. _userinfo = US.userInfo, //登錄用戶信息
  6780. _userid = US.userInfo.userid //登錄用戶id
  6781. let _iframe;
  6782. let _cid = cid,
  6783. _stage = stage,
  6784. _task = task,
  6785. _tool = tool;
  6786. var _jie = $$("div", {
  6787. "style": {
  6788. "position": "absolute",
  6789. "bottom": "50px",
  6790. "right": "50px",
  6791. "zIndex": "9999",
  6792. "backgroundColor": "#2268bc",
  6793. "color": "#fff",
  6794. "padding": "12px 20px",
  6795. "cursor": "pointer",
  6796. "borderRadius": "4px",
  6797. },
  6798. "innerHTML": "確認並提交"
  6799. })
  6800. let aTool = ''
  6801. let _loading = document.createElement('div')
  6802. _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;"
  6803. // _loading.id = "";
  6804. let _lchild = document.createElement('div')
  6805. let _limg = document.createElement('img')
  6806. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6807. _limg.style = "width: 26px;margin-right: 10px;"
  6808. _lchild.appendChild(_limg)
  6809. let _lspan = document.createElement('span')
  6810. _lspan.innerHTML = "上傳中..."
  6811. _lchild.appendChild(_lspan)
  6812. _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%);"
  6813. _loading.appendChild(_lchild)
  6814. var _box = $$('div', {
  6815. "style": {
  6816. "position": "relative",
  6817. "width": "100%",
  6818. "height": "100%",
  6819. },
  6820. })
  6821. _box.appendChild(_loading)
  6822. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6823. switch (str) {
  6824. case "whiteboard":
  6825. aTool = 1;
  6826. _iframe = $$("iframe", {
  6827. "frameborder": "no",
  6828. "border": "0",
  6829. "scrolling ": "no",
  6830. "style": {
  6831. "cssText": "border:0;width:100%;height:100%"
  6832. },
  6833. "src": "https://iwb.cocorobo.hk/"
  6834. })
  6835. _box.appendChild(_iframe);
  6836. _box.appendChild(_jie);
  6837. _formdiv = new U.UF.UI.form(
  6838. "電子白板",
  6839. _box, {
  6840. "id": "whiteboards" + cid + stage + task + tool,
  6841. "style": {
  6842. "width": "90%",
  6843. "height": "90%",
  6844. "overflow": 'hidden'
  6845. },
  6846. "onresize": function () { }
  6847. }, {
  6848. closecallback: function () { }
  6849. }, {
  6850. "style": {
  6851. "height": "36px"
  6852. }
  6853. }).form; //創建窗體
  6854. _taskbar = {
  6855. "id": str + _formdiv.id,
  6856. "style": {
  6857. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6858. },
  6859. "name": "電子白板",
  6860. "forms": _formdiv,
  6861. "click": function () {
  6862. U.MD.D.I.openApplication(str, obj, info);
  6863. }
  6864. }
  6865. break;
  6866. case "mind":
  6867. aTool = 3;
  6868. _iframe = $$("iframe", {
  6869. "frameborder": "no",
  6870. "border": "0",
  6871. "scrolling ": "no",
  6872. "style": {
  6873. "cssText": "border:0;width:100%;height:100%"
  6874. },
  6875. "src": "/kityminder-editor/dist/index.html"
  6876. });
  6877. _box.appendChild(_iframe);
  6878. _box.appendChild(_jie);
  6879. _formdiv = new U.UF.UI.form(
  6880. "思維導圖",
  6881. _box, { //"/jsmind/example/demo.html"
  6882. "id": "minds" + cid + stage + task + tool,
  6883. "style": {
  6884. "width": "90%",
  6885. "height": "90%",
  6886. "overflow": 'hidden'
  6887. },
  6888. "onresize": function () { }
  6889. }, {
  6890. closecallback: function () { }
  6891. }, {
  6892. "style": {
  6893. "height": "36px"
  6894. }
  6895. }).form; //創建窗體
  6896. _taskbar = {
  6897. "id": str + _formdiv.id,
  6898. "style": {
  6899. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6900. },
  6901. "name": "思維導圖",
  6902. "forms": _formdiv,
  6903. "click": function () {
  6904. U.MD.D.I.openApplication(str, obj, info);
  6905. }
  6906. }
  6907. break;
  6908. case "doc":
  6909. aTool = 6;
  6910. _iframe = $$("iframe", {
  6911. "frameborder": "no",
  6912. "border": "0",
  6913. "scrolling ": "no",
  6914. "style": {
  6915. "cssText": "border:0;width:100%;height:100%"
  6916. },
  6917. "src": "/Office/Word/WordEditArea.htm"
  6918. })
  6919. _box.appendChild(_iframe);
  6920. _box.appendChild(_jie);
  6921. _formdiv = new U.UF.UI.form(
  6922. "協同文檔",
  6923. _box, {
  6924. "id": "docs" + cid + stage + task + tool,
  6925. "style": {
  6926. "width": "90%",
  6927. "height": "90%",
  6928. "overflow": 'hidden'
  6929. },
  6930. "onresize": function () { }
  6931. }, {
  6932. closecallback: function () { }
  6933. }, {
  6934. "style": {
  6935. "height": "36px"
  6936. }
  6937. }).form; //創建窗體
  6938. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6939. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6940. })
  6941. _taskbar = {
  6942. "id": str + _formdiv.id,
  6943. "style": {
  6944. "backgroundImage": "url(/img/icon/doc.png)"
  6945. },
  6946. "name": "協同文檔",
  6947. "forms": _formdiv,
  6948. "click": function () {
  6949. U.MD.D.I.openApplication(str, obj, info);
  6950. }
  6951. }
  6952. break;
  6953. }
  6954. const script1 = document.createElement("script");
  6955. script1.type = "text/javascript";
  6956. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6957. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6958. const script2 = document.createElement("script");
  6959. script2.type = "text/javascript";
  6960. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6961. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6962. const script3 = document.createElement("script");
  6963. script3.type = "text/javascript";
  6964. script3.charset = "UTF-8";
  6965. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6966. const script4 = document.createElement("script");
  6967. script4.type = "text/javascript";
  6968. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6969. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  6970. if (_iframe) {
  6971. if (str == 'doc') {
  6972. _iframe = _formdiv.querySelector('iframe')
  6973. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6974. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6975. _iframe.contentWindow.document.body.appendChild(script1);
  6976. _iframe.contentWindow.document.body.appendChild(script2);
  6977. // _iframe.contentWindow.document.body.appendChild(script3);
  6978. _iframe.contentWindow.document.body.appendChild(script4);
  6979. })
  6980. if (onloadListener) {
  6981. _iframe.contentDocument.location.reload()
  6982. } else {
  6983. _iframe.contentDocument.location.reload()
  6984. }
  6985. } else if (str == 'mind') {
  6986. _iframe = _formdiv.querySelector('iframe')
  6987. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6988. _iframe.contentWindow.document.body.appendChild(script1);
  6989. _iframe.contentWindow.document.body.appendChild(script2);
  6990. _iframe.contentWindow.document.body.appendChild(script4);
  6991. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6992. })
  6993. if (onloadListener) {
  6994. _iframe.contentDocument.location.reload()
  6995. } else {
  6996. _iframe.contentDocument.location.reload()
  6997. }
  6998. } else {
  6999. _iframe.onload = () => {
  7000. _iframe.contentWindow.document.body.appendChild(script1);
  7001. _iframe.contentWindow.document.body.appendChild(script2);
  7002. // _iframe.contentWindow.document.body.appendChild(script3);
  7003. _iframe.contentWindow.document.body.appendChild(script4);
  7004. };
  7005. }
  7006. _jie.onclick = async () => {
  7007. let text = ''
  7008. if (aTool == 6) {
  7009. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7010. } else if (aTool == 3) {
  7011. text = await U.MD.D.I.getEditorContent(_iframe);
  7012. }
  7013. _loading.style.display = 'flex'
  7014. console.log(_loading);
  7015. var _ajs = _iframe.contentWindow.document.createElement("script");
  7016. _ajs.type = "text/javascript";
  7017. _ajs.innerHTML =
  7018. // 'console.log(' + _loading + ');\n' +
  7019. 'var _js = document.createElement("script");\n' +
  7020. '_js.type="text/javascript";\n' +
  7021. '_js.charset="UTF-8";\n' +
  7022. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7023. "_js.onload = function(){\n" +
  7024. ' var a = document.getElementsByTagName("img")\n' +
  7025. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7026. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7027. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7028. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7029. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7030. "beforeUpload_shishi(file," +
  7031. "'" +
  7032. _userid +
  7033. "'" +
  7034. ", " +
  7035. "'" +
  7036. _cid +
  7037. "'" +
  7038. ", " +
  7039. "'" +
  7040. _stage +
  7041. "'" +
  7042. ", " +
  7043. "'" +
  7044. _task +
  7045. "'" +
  7046. ", " +
  7047. "'" +
  7048. _tool +
  7049. "'" +
  7050. ", " +
  7051. "'" +
  7052. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7053. "'" +
  7054. ", " +
  7055. "'" +
  7056. aTool +
  7057. "'" +
  7058. ", " +
  7059. "`" +
  7060. text +
  7061. "`" +
  7062. ")\n" +
  7063. " });\n" +
  7064. "}\n" +
  7065. "document.head.appendChild(_js);\n";
  7066. _iframe.contentWindow.document.head.appendChild(_ajs);
  7067. }
  7068. }
  7069. //U.MD.D.I.openClick(str);
  7070. //如果有任務欄信息
  7071. // if (_taskbar) {
  7072. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7073. // }
  7074. }
  7075. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7076. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7077. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7078. _userinfo = US.userInfo, //登錄用戶信息
  7079. _userid = US.userInfo.userid //登錄用戶id
  7080. let _iframe;
  7081. let _cid = cid,
  7082. _stage = stage,
  7083. _task = task,
  7084. _tool = tool;
  7085. var _jie = $$("div", {
  7086. "style": {
  7087. "position": "absolute",
  7088. "bottom": "50px",
  7089. "right": "50px",
  7090. "zIndex": "9999",
  7091. "backgroundColor": "#2268bc",
  7092. "color": "#fff",
  7093. "padding": "12px 20px",
  7094. "cursor": "pointer",
  7095. "borderRadius": "4px",
  7096. },
  7097. "innerHTML": "確認並提交"
  7098. })
  7099. let aTool = ''
  7100. let _loading = document.createElement('div')
  7101. _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;"
  7102. // _loading.id = "";
  7103. let _lchild = document.createElement('div')
  7104. let _limg = document.createElement('img')
  7105. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7106. _limg.style = "width: 26px;margin-right: 10px;"
  7107. _lchild.appendChild(_limg)
  7108. let _lspan = document.createElement('span')
  7109. _lspan.innerHTML = "上傳中..."
  7110. _lchild.appendChild(_lspan)
  7111. _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%);"
  7112. _loading.appendChild(_lchild)
  7113. var _box = $$('div', {
  7114. "style": {
  7115. "position": "relative",
  7116. "width": "100%",
  7117. "height": "100%",
  7118. },
  7119. })
  7120. _box.appendChild(_loading)
  7121. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7122. switch (str) {
  7123. case "whiteboard":
  7124. aTool = 1;
  7125. _iframe = $$("iframe", {
  7126. "frameborder": "no",
  7127. "border": "0",
  7128. "scrolling ": "no",
  7129. "style": {
  7130. "cssText": "border:0;width:100%;height:100%"
  7131. },
  7132. "src": "https://iwb.cocorobo.hk/"
  7133. })
  7134. _box.appendChild(_iframe);
  7135. _box.appendChild(_jie);
  7136. _formdiv = new U.UF.UI.form(
  7137. "電子白板",
  7138. _box, {
  7139. "id": "whiteboards" + cid + stage + task + tool,
  7140. "style": {
  7141. "width": "90%",
  7142. "height": "90%",
  7143. "overflow": 'hidden'
  7144. },
  7145. "onresize": function () { }
  7146. }, {
  7147. closecallback: function () { }
  7148. }, {
  7149. "style": {
  7150. "height": "36px"
  7151. }
  7152. }).form; //創建窗體
  7153. _taskbar = {
  7154. "id": str + _formdiv.id,
  7155. "style": {
  7156. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7157. },
  7158. "name": "電子白板",
  7159. "forms": _formdiv,
  7160. "click": function () {
  7161. U.MD.D.I.openApplication(str, obj, info);
  7162. }
  7163. }
  7164. break;
  7165. case "mind":
  7166. aTool = 3;
  7167. _iframe = $$("iframe", {
  7168. "frameborder": "no",
  7169. "border": "0",
  7170. "scrolling ": "no",
  7171. "style": {
  7172. "cssText": "border:0;width:100%;height:100%"
  7173. },
  7174. "src": "/kityminder-editor/dist/index.html"
  7175. });
  7176. _box.appendChild(_iframe);
  7177. _box.appendChild(_jie);
  7178. _formdiv = new U.UF.UI.form(
  7179. "思維導圖",
  7180. _box, { //"/jsmind/example/demo.html"
  7181. "id": "minds" + cid + stage + task + tool,
  7182. "style": {
  7183. "width": "90%",
  7184. "height": "90%",
  7185. "overflow": 'hidden'
  7186. },
  7187. "onresize": function () { }
  7188. }, {
  7189. closecallback: function () { }
  7190. }, {
  7191. "style": {
  7192. "height": "36px"
  7193. }
  7194. }).form; //創建窗體
  7195. _taskbar = {
  7196. "id": str + _formdiv.id,
  7197. "style": {
  7198. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7199. },
  7200. "name": "思維導圖",
  7201. "forms": _formdiv,
  7202. "click": function () {
  7203. U.MD.D.I.openApplication(str, obj, info);
  7204. }
  7205. }
  7206. break;
  7207. case "doc":
  7208. aTool = 6;
  7209. _iframe = $$("iframe", {
  7210. "frameborder": "no",
  7211. "border": "0",
  7212. "scrolling ": "no",
  7213. "style": {
  7214. "cssText": "border:0;width:100%;height:100%"
  7215. },
  7216. "src": "/Office/Word/WordEditArea.htm"
  7217. })
  7218. _box.appendChild(_iframe);
  7219. _box.appendChild(_jie);
  7220. _formdiv = new U.UF.UI.form(
  7221. "協同文檔",
  7222. _box, {
  7223. "id": "docs" + cid + stage + task + tool,
  7224. "style": {
  7225. "width": "90%",
  7226. "height": "90%",
  7227. "overflow": 'hidden'
  7228. },
  7229. "onresize": function () { }
  7230. }, {
  7231. closecallback: function () { }
  7232. }, {
  7233. "style": {
  7234. "height": "36px"
  7235. }
  7236. }).form; //創建窗體
  7237. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7238. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7239. })
  7240. _taskbar = {
  7241. "id": str + _formdiv.id,
  7242. "style": {
  7243. "backgroundImage": "url(/img/icon/doc.png)"
  7244. },
  7245. "name": "協同文檔",
  7246. "forms": _formdiv,
  7247. "click": function () {
  7248. U.MD.D.I.openApplication(str, obj, info);
  7249. }
  7250. }
  7251. break;
  7252. }
  7253. const script1 = document.createElement("script");
  7254. script1.type = "text/javascript";
  7255. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7256. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7257. const script2 = document.createElement("script");
  7258. script2.type = "text/javascript";
  7259. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7260. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7261. const script3 = document.createElement("script");
  7262. script3.type = "text/javascript";
  7263. script3.charset = "UTF-8";
  7264. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7265. const script4 = document.createElement("script");
  7266. script4.type = "text/javascript";
  7267. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7268. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  7269. if (_iframe) {
  7270. if (str == 'doc') {
  7271. _iframe = _formdiv.querySelector('iframe')
  7272. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7273. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7274. _iframe.contentWindow.document.body.appendChild(script1);
  7275. _iframe.contentWindow.document.body.appendChild(script2);
  7276. // _iframe.contentWindow.document.body.appendChild(script3);
  7277. _iframe.contentWindow.document.body.appendChild(script4);
  7278. })
  7279. if (onloadListener) {
  7280. _iframe.contentDocument.location.reload()
  7281. } else {
  7282. _iframe.contentDocument.location.reload()
  7283. }
  7284. } else if (str == 'mind') {
  7285. _iframe = _formdiv.querySelector('iframe')
  7286. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7287. _iframe.contentWindow.document.body.appendChild(script1);
  7288. _iframe.contentWindow.document.body.appendChild(script2);
  7289. _iframe.contentWindow.document.body.appendChild(script4);
  7290. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7291. })
  7292. if (onloadListener) {
  7293. _iframe.contentDocument.location.reload()
  7294. } else {
  7295. _iframe.contentDocument.location.reload()
  7296. }
  7297. } else {
  7298. _iframe.onload = () => {
  7299. _iframe.contentWindow.document.body.appendChild(script1);
  7300. _iframe.contentWindow.document.body.appendChild(script2);
  7301. // _iframe.contentWindow.document.body.appendChild(script3);
  7302. _iframe.contentWindow.document.body.appendChild(script4);
  7303. };
  7304. }
  7305. _jie.onclick = async () => {
  7306. let text = ''
  7307. if (aTool == 6) {
  7308. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7309. } else if (aTool == 3) {
  7310. text = await U.MD.D.I.getEditorContent(_iframe);
  7311. }
  7312. _loading.style.display = 'flex'
  7313. console.log(_loading);
  7314. var _ajs = _iframe.contentWindow.document.createElement("script");
  7315. _ajs.type = "text/javascript";
  7316. _ajs.innerHTML =
  7317. // 'console.log(' + _loading + ');\n' +
  7318. 'var _js = document.createElement("script");\n' +
  7319. '_js.type="text/javascript";\n' +
  7320. '_js.charset="UTF-8";\n' +
  7321. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7322. "_js.onload = function(){\n" +
  7323. ' var a = document.getElementsByTagName("img")\n' +
  7324. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7325. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7326. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7327. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7328. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7329. "beforeUpload_shishi(file," +
  7330. "'" +
  7331. _userid +
  7332. "'" +
  7333. ", " +
  7334. "'" +
  7335. _cid +
  7336. "'" +
  7337. ", " +
  7338. "'" +
  7339. _stage +
  7340. "'" +
  7341. ", " +
  7342. "'" +
  7343. _task +
  7344. "'" +
  7345. ", " +
  7346. "'" +
  7347. _tool +
  7348. "'" +
  7349. ", " +
  7350. "'" +
  7351. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7352. "'" +
  7353. ", " +
  7354. "'" +
  7355. aTool +
  7356. "'" +
  7357. ", " +
  7358. "`" +
  7359. text +
  7360. "`" +
  7361. ")\n" +
  7362. " });\n" +
  7363. "}\n" +
  7364. "document.head.appendChild(_js);\n";
  7365. _iframe.contentWindow.document.head.appendChild(_ajs);
  7366. }
  7367. }
  7368. //U.MD.D.I.openClick(str);
  7369. //如果有任務欄信息
  7370. // if (_taskbar) {
  7371. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7372. // }
  7373. }
  7374. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7375. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7376. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7377. _userinfo = US.userInfo, //登錄用戶信息
  7378. _userid = US.userInfo.userid //登錄用戶id
  7379. let _iframe;
  7380. let _cid = cid,
  7381. _stage = stage,
  7382. _task = task,
  7383. _tool = tool;
  7384. var _jie = $$("div", {
  7385. "style": {
  7386. "position": "absolute",
  7387. "bottom": "50px",
  7388. "right": "50px",
  7389. "zIndex": "9999",
  7390. "backgroundColor": "#2268bc",
  7391. "color": "#fff",
  7392. "padding": "12px 20px",
  7393. "cursor": "pointer",
  7394. "borderRadius": "4px",
  7395. },
  7396. "innerHTML": "上傳模板"
  7397. })
  7398. let aTool = ''
  7399. let _loading = document.createElement('div')
  7400. _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;"
  7401. // _loading.id = "";
  7402. let _lchild = document.createElement('div')
  7403. let _limg = document.createElement('img')
  7404. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7405. _limg.style = "width: 26px;margin-right: 10px;"
  7406. _lchild.appendChild(_limg)
  7407. let _lspan = document.createElement('span')
  7408. _lspan.innerHTML = "上傳中..."
  7409. _lchild.appendChild(_lspan)
  7410. _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%);"
  7411. _loading.appendChild(_lchild)
  7412. var _box = $$('div', {
  7413. "style": {
  7414. "position": "relative",
  7415. "width": "100%",
  7416. "height": "100%",
  7417. },
  7418. })
  7419. _box.appendChild(_loading)
  7420. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7421. switch (str) {
  7422. case "whiteboard":
  7423. aTool = 1;
  7424. _iframe = $$("iframe", {
  7425. "frameborder": "no",
  7426. "border": "0",
  7427. "scrolling ": "no",
  7428. "style": {
  7429. "cssText": "border:0;width:100%;height:100%"
  7430. },
  7431. "src": "https://iwb.cocorobo.hk/"
  7432. })
  7433. _box.appendChild(_iframe);
  7434. _box.appendChild(_jie);
  7435. _formdiv = new U.UF.UI.form(
  7436. "電子白板",
  7437. _box, {
  7438. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7439. "style": {
  7440. "width": "90%",
  7441. "height": "90%",
  7442. "overflow": 'hidden'
  7443. },
  7444. "onresize": function () { }
  7445. }, {
  7446. closecallback: function () { }
  7447. }, {
  7448. "style": {
  7449. "height": "36px"
  7450. }
  7451. }).form; //創建窗體
  7452. _taskbar = {
  7453. "id": str + _formdiv.id,
  7454. "style": {
  7455. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7456. },
  7457. "name": "電子白板",
  7458. "forms": _formdiv,
  7459. "click": function () {
  7460. U.MD.D.I.openApplication(str, obj, info);
  7461. }
  7462. }
  7463. break;
  7464. case "mind":
  7465. aTool = 3;
  7466. _iframe = $$("iframe", {
  7467. "frameborder": "no",
  7468. "border": "0",
  7469. "scrolling ": "no",
  7470. "style": {
  7471. "cssText": "border:0;width:100%;height:100%"
  7472. },
  7473. "src": "/kityminder-editor/dist/index.html"
  7474. });
  7475. _box.appendChild(_iframe);
  7476. _box.appendChild(_jie);
  7477. _formdiv = new U.UF.UI.form(
  7478. "思維導圖",
  7479. _box, { //"/jsmind/example/demo.html"
  7480. "id": "minds_Yu" + cid + stage + task + tool,
  7481. "style": {
  7482. "width": "90%",
  7483. "height": "90%",
  7484. "overflow": 'hidden'
  7485. },
  7486. "onresize": function () { }
  7487. }, {
  7488. closecallback: function () { }
  7489. }, {
  7490. "style": {
  7491. "height": "36px"
  7492. }
  7493. }).form; //創建窗體
  7494. _taskbar = {
  7495. "id": str + _formdiv.id,
  7496. "style": {
  7497. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7498. },
  7499. "name": "思維導圖",
  7500. "forms": _formdiv,
  7501. "click": function () {
  7502. U.MD.D.I.openApplication(str, obj, info);
  7503. }
  7504. }
  7505. break;
  7506. case "doc":
  7507. aTool = 6;
  7508. _iframe = $$("iframe", {
  7509. "frameborder": "no",
  7510. "border": "0",
  7511. "scrolling ": "no",
  7512. "style": {
  7513. "cssText": "border:0;width:100%;height:100%"
  7514. },
  7515. "src": "/Office/Word/WordEditArea.htm"
  7516. })
  7517. _box.appendChild(_iframe);
  7518. _box.appendChild(_jie);
  7519. _formdiv = new U.UF.UI.form(
  7520. "協同文檔",
  7521. _box, {
  7522. "id": "docs_Yu" + cid + stage + task + tool,
  7523. "style": {
  7524. "width": "90%",
  7525. "height": "90%",
  7526. "overflow": 'hidden'
  7527. },
  7528. "onresize": function () { }
  7529. }, {
  7530. closecallback: function () { }
  7531. }, {
  7532. "style": {
  7533. "height": "36px"
  7534. }
  7535. }).form; //創建窗體
  7536. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7537. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7538. })
  7539. _taskbar = {
  7540. "id": str + _formdiv.id,
  7541. "style": {
  7542. "backgroundImage": "url(/img/icon/doc.png)"
  7543. },
  7544. "name": "協同文檔",
  7545. "forms": _formdiv,
  7546. "click": function () {
  7547. U.MD.D.I.openApplication(str, obj, info);
  7548. }
  7549. }
  7550. break;
  7551. case "CocoPi":
  7552. aTool = 57;
  7553. _iframe = $$("iframe", {
  7554. "allowpaymentrequest": "allowpaymentrequest",
  7555. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7556. "webkitallowfullscreen": "",
  7557. "mozallowfullscreen": "",
  7558. "frameborder": "no",
  7559. "border": "0",
  7560. "scrolling ": "no",
  7561. "style": {
  7562. "cssText": "border:0;width:100%;height:100%"
  7563. },
  7564. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7565. })
  7566. _box.appendChild(_iframe);
  7567. _box.appendChild(_jie);
  7568. _formdiv = new U.UF.UI.form(
  7569. "CocoPi",
  7570. _box, {
  7571. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7572. "style": {
  7573. "width": "90%",
  7574. "height": "90%",
  7575. "overflow": 'hidden'
  7576. },
  7577. "onresize": function () { }
  7578. }, {
  7579. closecallback: function () { }
  7580. }, {
  7581. "style": {
  7582. "height": "36px"
  7583. }
  7584. }).form; //創建窗體
  7585. _taskbar = {
  7586. "id": str + _formdiv.id,
  7587. "style": {
  7588. "backgroundImage": "url(/img/icon/cocopi.png)"
  7589. },
  7590. "name": "CocoPi",
  7591. "forms": _formdiv,
  7592. "click": function () {
  7593. U.MD.D.I.openApplication(str, obj, info);
  7594. }
  7595. }
  7596. break;
  7597. }
  7598. if (_iframe) {
  7599. if (str == 'doc') {
  7600. _iframe = _formdiv.querySelector('iframe')
  7601. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7602. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7603. })
  7604. if (onloadListener) {
  7605. _iframe.contentDocument.location.reload()
  7606. } else {
  7607. _iframe.contentDocument.location.reload()
  7608. }
  7609. } else if (str == 'mind') {
  7610. _iframe = _formdiv.querySelector('iframe')
  7611. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7612. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7613. })
  7614. if (onloadListener) {
  7615. _iframe.contentDocument.location.reload()
  7616. } else {
  7617. _iframe.contentDocument.location.reload()
  7618. }
  7619. } else if (str == 'whiteboard') {
  7620. _iframe = _formdiv.querySelector('iframe')
  7621. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7622. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7623. })
  7624. if (onloadListener) {
  7625. _iframe.contentDocument.location.reload()
  7626. } else {
  7627. _iframe.contentDocument.location.reload()
  7628. }
  7629. } else if (str == 'CocoPi') {
  7630. _iframe = _formdiv.querySelector('iframe')
  7631. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7632. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7633. })
  7634. if (onloadListener) {
  7635. _iframe.contentDocument.location.reload()
  7636. } else {
  7637. _iframe.contentDocument.location.reload()
  7638. }
  7639. } else {
  7640. _iframe.onload = () => { };
  7641. }
  7642. _jie.onclick = async () => {
  7643. let text = ''
  7644. let type = '2'
  7645. if (aTool == 1) {
  7646. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7647. type = '3'
  7648. } else if (aTool == 6) {
  7649. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7650. type = '1'
  7651. } else if (aTool == 3) {
  7652. text = await U.MD.D.I.getEditorContent(_iframe);
  7653. type = '2'
  7654. } else if (aTool == 57) {
  7655. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7656. type = '4'
  7657. }
  7658. _loading.style.display = 'flex'
  7659. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7660. }
  7661. }
  7662. //U.MD.D.I.openClick(str);
  7663. //如果有任務欄信息
  7664. // if (_taskbar) {
  7665. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7666. // }
  7667. }
  7668. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7669. var xmlhttp;
  7670. var Mac, Sn, DeviceId
  7671. if (window.XMLHttpRequest) {
  7672. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7673. xmlhttp = new XMLHttpRequest();
  7674. }
  7675. else {
  7676. // IE6, IE5 瀏覽器執行代碼
  7677. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7678. }
  7679. xmlhttp.onreadystatechange = function () {
  7680. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7681. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7682. // resolve(res.value[0][0].text);
  7683. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7684. }
  7685. }
  7686. }
  7687. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7688. xmlhttp.send();
  7689. }
  7690. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7691. var xmlhttp;
  7692. var Mac, Sn, DeviceId
  7693. if (window.XMLHttpRequest) {
  7694. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7695. xmlhttp = new XMLHttpRequest();
  7696. }
  7697. else {
  7698. // IE6, IE5 瀏覽器執行代碼
  7699. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7700. }
  7701. xmlhttp.onreadystatechange = function () {
  7702. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7703. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7704. // resolve(res.value[0][0].text);
  7705. if (type == '2') {
  7706. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7707. } else if (type == '3') {
  7708. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7709. } else if (type == '4') {
  7710. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7711. }
  7712. } else {
  7713. if (type == '2') {
  7714. iframe.contentWindow.editor.minder.importData('json', '')
  7715. } else if (type == '3') {
  7716. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7717. } else if (type == '4') {
  7718. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7719. }
  7720. }
  7721. }
  7722. }
  7723. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7724. xmlhttp.send();
  7725. }
  7726. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7727. var xmlhttp;
  7728. var Mac, Sn, DeviceId
  7729. if (window.XMLHttpRequest) {
  7730. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7731. xmlhttp = new XMLHttpRequest();
  7732. }
  7733. else {
  7734. // IE6, IE5 瀏覽器執行代碼
  7735. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7736. }
  7737. xmlhttp.onreadystatechange = function () {
  7738. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7739. if (xmlhttp.response) {
  7740. // resolve(res.value[0][0].text);
  7741. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7742. // $(fileInput).val('');
  7743. // });
  7744. span.innerHTML = '上傳成功'
  7745. setTimeout(() => {
  7746. loading.style.display = 'none'
  7747. }, 1000);
  7748. }
  7749. }
  7750. }
  7751. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7752. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7753. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7754. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7755. // 設置請求頭,表示請求體的編碼格式
  7756. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7757. // 設置請求體,使用url-encoded格式的數據
  7758. }
  7759. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7760. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7761. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7762. _userinfo = US.userInfo, //登錄用戶信息
  7763. _userid = US.userInfo.userid //登錄用戶id
  7764. let _iframe;
  7765. let _cid = cid,
  7766. _stage = stage,
  7767. _task = task,
  7768. _tool = tool;
  7769. var _jie = $$("div", {
  7770. "style": {
  7771. "position": "absolute",
  7772. "bottom": "50px",
  7773. "right": "50px",
  7774. "zIndex": "9999",
  7775. "backgroundColor": "#2268bc",
  7776. "color": "#fff",
  7777. "padding": "12px 20px",
  7778. "cursor": "pointer",
  7779. "borderRadius": "4px",
  7780. },
  7781. "innerHTML": "提交作業"
  7782. })
  7783. let aTool = ''
  7784. let _loading = document.createElement('div')
  7785. _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;"
  7786. // _loading.id = "";
  7787. let _lchild = document.createElement('div')
  7788. let _limg = document.createElement('img')
  7789. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7790. _limg.style = "width: 26px;margin-right: 10px;"
  7791. _lchild.appendChild(_limg)
  7792. let _lspan = document.createElement('span')
  7793. _lspan.innerHTML = "上傳中..."
  7794. _lchild.appendChild(_lspan)
  7795. _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%);"
  7796. _loading.appendChild(_lchild)
  7797. var _box = $$('div', {
  7798. "style": {
  7799. "position": "relative",
  7800. "width": "100%",
  7801. "height": "100%",
  7802. },
  7803. })
  7804. _box.appendChild(_loading)
  7805. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7806. switch (str) {
  7807. case "CocoPi":
  7808. aTool = 57;
  7809. _iframe = $$("iframe", {
  7810. "allowpaymentrequest": "allowpaymentrequest",
  7811. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7812. "webkitallowfullscreen": "",
  7813. "mozallowfullscreen": "",
  7814. "frameborder": "no",
  7815. "border": "0",
  7816. "scrolling ": "no",
  7817. "style": {
  7818. "cssText": "border:0;width:100%;height:100%"
  7819. },
  7820. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7821. })
  7822. _box.appendChild(_iframe);
  7823. _box.appendChild(_jie);
  7824. _formdiv = new U.UF.UI.form(
  7825. "CocoPi",
  7826. _box, {
  7827. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7828. "style": {
  7829. "width": "90%",
  7830. "height": "90%",
  7831. "overflow": 'hidden'
  7832. },
  7833. "onresize": function () { }
  7834. }, {
  7835. closecallback: function () { }
  7836. }, {
  7837. "style": {
  7838. "height": "36px"
  7839. }
  7840. }).form; //創建窗體
  7841. _taskbar = {
  7842. "id": str + _formdiv.id,
  7843. "style": {
  7844. "backgroundImage": "url(/img/icon/cocopi.png)"
  7845. },
  7846. "name": "CocoPi",
  7847. "forms": _formdiv,
  7848. "click": function () {
  7849. U.MD.D.I.openApplication(str, obj, info);
  7850. }
  7851. }
  7852. break;
  7853. }
  7854. if (_iframe) {
  7855. if (str == 'CocoPi') {
  7856. _iframe = _formdiv.querySelector('iframe')
  7857. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7858. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7859. })
  7860. if (onloadListener) {
  7861. _iframe.contentDocument.location.reload()
  7862. } else {
  7863. _iframe.contentDocument.location.reload()
  7864. }
  7865. }
  7866. _jie.onclick = async () => {
  7867. let text = ''
  7868. if (aTool == 57) {
  7869. text = _iframe.contentWindow.getLoadXmlStr()
  7870. }
  7871. _loading.style.display = 'flex'
  7872. console.log(_loading);
  7873. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7874. _loading.style.display = 'none'
  7875. let _div = document.createElement('div')
  7876. _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;"
  7877. let _inner = document.createElement('div')
  7878. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7879. _inner.innerHTML = "上傳成功"
  7880. _div.appendChild(_inner)
  7881. _iframe.contentWindow.window.document.body.appendChild(_div)
  7882. _div.onclick = () => {
  7883. _iframe.contentWindow.window.document.body.removeChild(_div)
  7884. }
  7885. setTimeout(() => {
  7886. _iframe.contentWindow.window.document.body.removeChild(_div)
  7887. }, 1000);
  7888. }, [], { "type": "POST", "withCredentials": true });
  7889. }
  7890. }
  7891. }
  7892. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7893. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7894. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7895. _userid = student.userid, //登錄用戶id
  7896. _username = student.student //用戶名字
  7897. let _iframe;
  7898. let _cid = cid,
  7899. _stage = stage,
  7900. _task = task,
  7901. _tool = tool;
  7902. var _jie = $$("div", {
  7903. "style": {
  7904. "position": "absolute",
  7905. "bottom": "50px",
  7906. "right": "50px",
  7907. "zIndex": "9999",
  7908. "backgroundColor": "#2268bc",
  7909. "color": "#fff",
  7910. "padding": "12px 20px",
  7911. "cursor": "pointer",
  7912. "borderRadius": "4px",
  7913. },
  7914. "innerHTML": "提交作業"
  7915. })
  7916. let aTool = ''
  7917. let _loading = document.createElement('div')
  7918. _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;"
  7919. // _loading.id = "";
  7920. let _lchild = document.createElement('div')
  7921. let _limg = document.createElement('img')
  7922. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7923. _limg.style = "width: 26px;margin-right: 10px;"
  7924. _lchild.appendChild(_limg)
  7925. let _lspan = document.createElement('span')
  7926. _lspan.innerHTML = "上傳中..."
  7927. _lchild.appendChild(_lspan)
  7928. _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%);"
  7929. _loading.appendChild(_lchild)
  7930. var _box = $$('div', {
  7931. "style": {
  7932. "position": "relative",
  7933. "width": "100%",
  7934. "height": "100%",
  7935. },
  7936. })
  7937. _box.appendChild(_loading)
  7938. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7939. switch (str) {
  7940. case "CocoPi":
  7941. aTool = 57;
  7942. _iframe = $$("iframe", {
  7943. "allowpaymentrequest": "allowpaymentrequest",
  7944. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7945. "webkitallowfullscreen": "",
  7946. "mozallowfullscreen": "",
  7947. "frameborder": "no",
  7948. "border": "0",
  7949. "scrolling ": "no",
  7950. "style": {
  7951. "cssText": "border:0;width:100%;height:100%"
  7952. },
  7953. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7954. })
  7955. _box.appendChild(_iframe);
  7956. _box.appendChild(_jie);
  7957. _formdiv = new U.UF.UI.form(
  7958. "CocoPi-" + _username,
  7959. _box, {
  7960. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7961. "style": {
  7962. "width": "90%",
  7963. "height": "90%",
  7964. "overflow": 'hidden'
  7965. },
  7966. "onresize": function () { }
  7967. }, {
  7968. closecallback: function () { }
  7969. }, {
  7970. "style": {
  7971. "height": "36px"
  7972. }
  7973. }).form; //創建窗體
  7974. _taskbar = {
  7975. "id": str + _formdiv.id,
  7976. "style": {
  7977. "backgroundImage": "url(/img/icon/cocopi.png)"
  7978. },
  7979. "name": "CocoPi",
  7980. "forms": _formdiv,
  7981. "click": function () {
  7982. U.MD.D.I.openApplication(str, obj, info);
  7983. }
  7984. }
  7985. break;
  7986. }
  7987. if (_iframe) {
  7988. if (str == 'CocoPi') {
  7989. _iframe = _formdiv.querySelector('iframe')
  7990. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7991. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7992. })
  7993. if (onloadListener) {
  7994. _iframe.contentDocument.location.reload()
  7995. } else {
  7996. _iframe.contentDocument.location.reload()
  7997. }
  7998. }
  7999. _jie.onclick = async () => {
  8000. let text = ''
  8001. if (aTool == 57) {
  8002. text = _iframe.contentWindow.getLoadXmlStr()
  8003. }
  8004. _loading.style.display = 'flex'
  8005. console.log(_loading);
  8006. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8007. _loading.style.display = 'none'
  8008. let _div = document.createElement('div')
  8009. _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;"
  8010. let _inner = document.createElement('div')
  8011. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8012. _inner.innerHTML = "上傳成功"
  8013. _div.appendChild(_inner)
  8014. _iframe.contentWindow.window.document.body.appendChild(_div)
  8015. _div.onclick = () => {
  8016. _iframe.contentWindow.window.document.body.removeChild(_div)
  8017. }
  8018. setTimeout(() => {
  8019. _iframe.contentWindow.window.document.body.removeChild(_div)
  8020. }, 1000);
  8021. }, [], { "type": "POST", "withCredentials": true });
  8022. }
  8023. }
  8024. }
  8025. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8026. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8027. if (res.value[0].length > 0) {
  8028. if (atool == 57) {
  8029. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8030. }
  8031. } else {
  8032. if (atool == 57) {
  8033. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8034. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8035. }
  8036. }
  8037. }, [], { "type": "POST", "withCredentials": true });
  8038. }