DeskTop.js 523 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655
  1. /*
  2. 此處為桌面系統啟動應用區域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面應用處理
  5. //判斷圖片是否在拖拽,如果是拖拽圖標的過程是不會打開圖片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教師桌面圖標的全局變量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //極簡模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教師桌面圖標的全局變量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "項目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的項目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "學習資料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "漢字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "國學經典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "筆畫訓練", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "書法課堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "課程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "學生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "學生評價", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班級管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "課程進展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的評價", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //北師大
  268. U.MD.D.I.BSDNSteacherDeskIcon = [
  269. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  274. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  275. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  276. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  277. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  278. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  279. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  280. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  281. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  282. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  283. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  284. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  285. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  286. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  287. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  288. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  289. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  290. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  291. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  292. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  293. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  294. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  295. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  296. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  297. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  298. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  299. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  300. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  301. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "數字實驗室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  305. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  306. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  307. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  308. ];
  309. //松山湖
  310. U.MD.D.I.SONGteacherDeskIcon = [
  311. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  312. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  313. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  314. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  315. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  316. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  317. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  318. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  319. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  320. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  321. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  322. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  323. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  324. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  325. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  326. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  327. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  328. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  329. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  330. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  331. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  332. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  333. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  334. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  335. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  336. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  337. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  338. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  339. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  340. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  341. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  342. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  343. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  344. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  345. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  346. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  347. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  348. ];
  349. U.MD.D.I.tcStudentDeskIcon = [
  350. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  352. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  353. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  354. ];
  355. U.MD.D.I.tcTeacherDeskIcon = [
  356. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  357. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  358. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  359. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  360. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  361. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  362. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  363. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  364. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  365. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  366. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  367. ];
  368. U.MD.D.I.tcOrganizerDeskIcon = [
  369. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  370. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  371. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  372. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  373. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  374. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  375. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  380. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  381. ];
  382. U.MD.D.I.szscStudentDeskIcon = [
  383. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  384. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  385. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  388. ];
  389. U.MD.D.I.szscTeacherDeskIcon = [
  390. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  391. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  392. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  393. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  394. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  395. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  396. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  397. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  398. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  399. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  400. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  401. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  402. ];
  403. U.MD.D.I.szscOrganizerDeskIcon = [
  404. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  405. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  406. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  407. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  408. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  409. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  410. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  413. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  414. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  415. ];
  416. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  417. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  418. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  419. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  420. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  421. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  422. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  423. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  428. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  429. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  430. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  431. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  432. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  433. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  434. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  435. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  436. ];
  437. U.MD.D.I.wankeAdminDeskIcon = [
  438. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  439. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  440. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  441. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  442. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  443. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  444. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  445. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  446. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  447. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  448. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  449. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  450. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  451. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  452. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  453. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  454. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  455. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  456. ];
  457. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  458. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  459. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  460. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  461. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  462. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  463. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  464. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  465. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  466. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  467. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  468. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  469. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  470. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  471. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  472. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  473. ];
  474. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  475. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  476. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  477. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  478. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  479. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  480. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  481. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  482. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  483. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  484. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  485. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  486. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  487. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  488. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  489. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  490. ];
  491. //明德教師桌面圖標的全局變量
  492. U.MD.D.I.MingdeTeacherDeskIcon = [
  493. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  494. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  495. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  496. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  497. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  498. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  499. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  500. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  501. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  502. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  503. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  504. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  505. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  506. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  507. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  508. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  509. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  510. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  511. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  512. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  513. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  514. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  515. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  516. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  517. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  518. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  519. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  520. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  521. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  522. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  523. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  524. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  525. ];
  526. //97c4ee8b-d010-4042-986d-e9d3c217264f
  527. //教師桌面圖標的全局變量
  528. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  529. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  530. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  531. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  532. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  533. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  534. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  535. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  536. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  537. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  538. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  539. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  540. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  541. ];
  542. //福田
  543. U.MD.D.I.futianTeacherDeskIcon = [
  544. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  545. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  546. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  547. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  548. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  549. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  550. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  551. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  552. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  553. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  554. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  555. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  556. ];
  557. //福田
  558. U.MD.D.I.futianAdminDeskIcon = [
  559. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  560. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  561. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  562. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  563. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  564. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  565. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  566. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  567. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  568. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  569. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  570. ];
  571. //lotech
  572. U.MD.D.I.lotechTeacherDeskIcon = [
  573. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  574. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  575. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  576. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  577. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  578. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  582. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  583. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  584. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  587. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  588. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  589. ];
  590. //龍華中心小學教師桌面圖標的全局變量
  591. U.MD.D.I.longhuateacherDeskIcon = [
  592. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  593. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  594. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  595. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  596. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  597. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  598. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  599. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  600. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  601. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  602. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  603. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  604. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  605. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  606. ];
  607. //教科院實小教師桌面圖標的全局變量
  608. U.MD.D.I.siesteacherDeskIcon = [
  609. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  610. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  611. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  612. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  613. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  614. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  615. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  616. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  617. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  618. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  619. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  620. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  621. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  622. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  623. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  624. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  625. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  627. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  628. { "Name": "數據融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  629. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  630. { "Name": "評測看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  631. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  632. { "Name": "教師管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  633. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  634. ];
  635. //教科院實小教師桌面圖標的全局變量
  636. U.MD.D.I.siesStudentDeskIcon = [
  637. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  638. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  639. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  640. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  641. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  642. ];
  643. //福田
  644. U.MD.D.I.gdjgTeacherDeskIcon = [
  645. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  646. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  650. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  651. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  652. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  653. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  654. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  656. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  657. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  658. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  659. ];
  660. //gdjg
  661. U.MD.D.I.gdjgAdminDeskIcon = [
  662. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  663. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  664. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  665. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  666. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  667. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  668. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  669. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  670. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  672. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  673. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  674. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  675. ];
  676. //hk
  677. U.MD.D.I.hkteacherDeskIcon = [
  678. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  679. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  680. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  681. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  682. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  683. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  684. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  685. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  686. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  687. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  688. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  689. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  691. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  694. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  695. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  696. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  697. ];
  698. //hk
  699. U.MD.D.I.hkStudentDeskIcon = [
  700. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  701. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  702. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  703. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  705. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  706. ];
  707. //hk
  708. U.MD.D.I.hkaceteacherDeskIcon = [
  709. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  710. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  711. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  712. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  713. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  714. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  715. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  716. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  717. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  718. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  719. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  720. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  721. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  722. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  724. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  725. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  726. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  727. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  728. ];
  729. //hk
  730. U.MD.D.I.hkaceStudentDeskIcon = [
  731. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  732. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  733. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  734. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  736. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  737. ];
  738. //香海正覺蓮社佛教正覺中學
  739. U.MD.D.I.hkZJLSteacherDeskIcon = [
  740. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  741. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  742. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  743. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  744. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  745. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  746. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  747. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  748. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  749. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  750. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  751. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  752. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  753. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  754. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  755. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  756. ];
  757. //香海正覺蓮社佛教正覺中學
  758. U.MD.D.I.hkZJLSStudentDeskIcon = [
  759. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  760. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  761. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  762. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  763. ];
  764. //雲海
  765. U.MD.D.I.yunhaiTeacherDeskIcon = [
  766. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  767. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  768. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  769. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  770. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  771. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  772. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  773. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  774. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  775. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  776. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  777. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  778. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  779. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  780. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  781. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  782. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  783. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  784. ];
  785. //福田
  786. U.MD.D.I.heyuanTeacherDeskIcon = [
  787. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  788. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  789. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  790. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  791. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  792. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  793. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  794. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  795. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  796. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  797. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  798. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  799. ];
  800. //福田
  801. U.MD.D.I.heyuanAdminDeskIcon = [
  802. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  803. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  804. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  805. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  806. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  807. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  808. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  809. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  810. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  811. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  812. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  813. ];
  814. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  815. U.MD.D.I.szherTeacherDeskIcon = [
  816. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  817. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  818. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  819. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  820. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  821. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  822. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  823. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  825. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  826. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  827. ];
  828. //dsei
  829. U.MD.D.I.dseiTeacherDeskIcon = [
  830. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  831. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  832. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  833. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  834. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  835. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  836. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  837. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  838. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  839. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  840. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  841. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  842. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  843. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  844. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  845. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  846. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  847. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  848. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  849. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  850. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  851. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  852. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  853. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  854. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  855. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  856. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  857. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  858. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  859. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  860. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  861. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  862. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  863. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  864. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  865. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  866. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  867. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  869. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  870. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  871. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  872. ];
  873. //dsei
  874. U.MD.D.I.dseiAdminDeskIcon = [
  875. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  876. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  877. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  878. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  879. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  880. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  881. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  882. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  883. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  884. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  885. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  886. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  887. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  888. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  889. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  890. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  891. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  892. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  893. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  894. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  895. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  896. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  897. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  898. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  899. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  900. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  901. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  902. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  903. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  904. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  905. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  906. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  907. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  908. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  909. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  910. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  911. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  912. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  914. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  915. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  916. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  917. ];
  918. //dsei
  919. U.MD.D.I.dseiStudentDeskIcon = [
  920. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  921. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  922. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  923. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  925. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  926. ];
  927. //未來教育基地
  928. U.MD.D.I.szjkyTeacherDeskIcon = [
  929. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  930. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  931. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  932. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  933. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  934. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  935. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  936. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  937. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  938. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  939. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  940. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  941. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  943. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  944. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  945. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  946. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  947. { "Name": "教師中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  948. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  949. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  950. ];
  951. //未來教育基地
  952. U.MD.D.I.szjkyAdminDeskIcon = [
  953. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  954. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  955. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  956. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  957. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  958. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  959. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  960. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  961. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  962. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  963. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  964. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  965. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  967. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  968. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  969. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  970. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  971. { "Name": "教師中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  972. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  973. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  974. ];
  975. //未來教育基地
  976. U.MD.D.I.szjkyStudentDeskIcon = [
  977. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  978. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  979. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  980. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  981. ];
  982. //成華教育局
  983. U.MD.D.I.chjyjTeacherDeskIcon = [
  984. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  985. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  986. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  987. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  988. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  989. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  990. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  991. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  992. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  993. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  994. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  996. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  997. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  998. ];
  999. //成華教育局chjyj
  1000. U.MD.D.I.chjyjAdminDeskIcon = [
  1001. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1002. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1003. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1004. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1005. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1006. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1007. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1008. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1009. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1010. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1011. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1012. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1014. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1015. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1016. ];
  1017. //成華教育局chjyj
  1018. U.MD.D.I.chjyjStudentDeskIcon = [
  1019. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1020. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1021. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1022. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1023. ];
  1024. //tpc
  1025. U.MD.D.I.tpcStudentDeskIcon = [
  1026. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1027. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1028. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1029. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1030. ];
  1031. //tpc
  1032. U.MD.D.I.tpcTeacherDeskIcon = [
  1033. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1034. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1035. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1036. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1037. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1038. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1039. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1040. ];
  1041. //tpc
  1042. U.MD.D.I.tpcAdminDeskIcon = [
  1043. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1044. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1045. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1046. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1047. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1048. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1049. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1050. ];
  1051. //THU-IOE
  1052. U.MD.D.I.thuioeTeacherDeskIcon = [
  1053. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1054. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1055. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1056. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1057. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1058. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1059. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1060. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1061. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1062. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1063. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1064. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1065. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1066. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1067. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1068. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1069. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1070. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1071. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1072. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1073. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1074. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1075. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1076. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1077. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1078. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1079. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1080. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1081. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1082. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1083. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1084. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1085. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1086. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1087. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1089. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1090. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1091. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1092. ];
  1093. //THU-IOE
  1094. U.MD.D.I.thuioeStudentDeskIcon = [
  1095. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1096. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1097. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1098. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1099. ];
  1100. //jccssyl
  1101. U.MD.D.I.jccssylTeacherDeskIcon = [
  1102. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1103. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1104. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1105. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1106. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1107. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1108. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1109. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1110. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1111. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1112. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1113. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1114. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1115. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1117. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1118. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1119. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1120. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1121. ];
  1122. //jccssyl
  1123. U.MD.D.I.jccssylStudentDeskIcon = [
  1124. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1125. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1126. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1127. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1128. ];
  1129. //cale
  1130. U.MD.D.I.caleTeacherDeskIcon = [
  1131. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1132. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1133. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1134. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1135. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1136. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1137. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1138. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1139. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1140. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1141. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1142. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1143. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1144. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1146. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1147. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1148. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1149. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1150. ];
  1151. //cale
  1152. U.MD.D.I.caleStudentDeskIcon = [
  1153. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1154. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1155. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1156. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1157. ];
  1158. //lqwmsgzs
  1159. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1160. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1161. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1162. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1163. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1164. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1165. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1166. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1167. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1168. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1169. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1170. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1171. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1172. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1173. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1174. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1175. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1176. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1177. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1178. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1179. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1180. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1181. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1182. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1183. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1184. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1185. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1186. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1187. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1188. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1189. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1190. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1191. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1192. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1193. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1194. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1195. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1196. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1197. ];
  1198. //lqwmsgzs
  1199. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1200. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1201. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1202. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1203. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1204. ];
  1205. //鹽田區幼兒園
  1206. U.MD.D.I.ytyTeacherDeskIcon = [
  1207. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1208. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1209. { "Name": "課程評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1210. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1211. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1212. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1213. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1214. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1215. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1216. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1217. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1218. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1219. ];
  1220. //鹽田區幼兒園
  1221. U.MD.D.I.ytyStudentDeskIcon = [
  1222. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1223. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1224. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1225. ];
  1226. //#region 桌面初始化a
  1227. /**
  1228. * 初始化桌面的起始函數
  1229. *
  1230. */
  1231. U.MD.D.I.init = function () {
  1232. if ($("#U_MD_D_K")[0]) {
  1233. //初始化桌面圖標
  1234. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1235. // var clickUrl = ':12588/requestIp.php';
  1236. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1237. // U.MD.D.I.Ip = data;
  1238. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1239. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1240. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1241. // })
  1242. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1243. // })
  1244. }
  1245. }
  1246. /**
  1247. * 模式切換
  1248. *
  1249. */
  1250. U.MD.D.I.ModeCheck = function (type) {
  1251. if (US.Config.type == type) {
  1252. return
  1253. }
  1254. US.Config.type = type
  1255. $('.U_PBL_Check .active')[0].className = ''
  1256. if (type == 1) {
  1257. $('.U_PBL_Check div')[0].className = 'active'
  1258. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1259. } else {
  1260. $('.U_PBL_Check div')[1].className = 'active'
  1261. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1262. }
  1263. //初始化桌面圖標
  1264. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1265. if (type == 2) {
  1266. U.MD.D.I.openApplication("project")
  1267. }
  1268. }
  1269. /**
  1270. * 隱藏任務欄
  1271. *
  1272. * @param {element} 桌面元素
  1273. */
  1274. U.MD.D.I.hiddenTaskbar = function (el) {
  1275. //任務欄位置變小
  1276. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1277. //桌面的位置變大
  1278. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1279. }
  1280. /**
  1281. * 隱藏任務欄
  1282. *
  1283. * @param {element} 桌面元素
  1284. */
  1285. U.MD.D.I.hiddenTaskbarout = function (el) {
  1286. //任務欄位置變小
  1287. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1288. //任務欄位置變化
  1289. U.selectEl(el).css({ "bottom": "-60px" });
  1290. //桌面的位置變大
  1291. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1292. }
  1293. }
  1294. /**
  1295. * 初始化打印桌面圖標
  1296. *
  1297. * @param {element} 桌面元素
  1298. */
  1299. U.MD.D.I.initDesktopIcons = function (el, type) {
  1300. var i, //用於循環
  1301. _content, //桌面圖標元素
  1302. _iconcontent, //桌面圖標元素
  1303. _frag = $$("frag"), //定義一個碎片元素
  1304. _type = US.userInfo.type,
  1305. _org = US.userInfo.org,
  1306. _oid = US.userInfo.organizeid,
  1307. _role = US.userInfo.role,
  1308. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1309. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1310. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1311. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1312. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1313. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1314. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1315. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1316. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1317. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1318. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1319. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大
  1320. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1321. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1322. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1323. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1324. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1325. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1326. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1327. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1328. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1329. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1330. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1331. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1332. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1333. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1334. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1335. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1336. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1337. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1338. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1339. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1340. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1341. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1342. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1343. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1344. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1345. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1346. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1347. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1348. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1349. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1350. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1351. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1352. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1353. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1354. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1355. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1356. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1357. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1358. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1359. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1360. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1361. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1362. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1363. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1364. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1365. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1366. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1367. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1368. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1369. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1370. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 鹽田幼兒園
  1371. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 鹽田幼兒園
  1372. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
  1373. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
  1374. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //網絡夏令營
  1375. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5'];
  1376. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
  1377. //清楚桌面圖標
  1378. el.innerHTML = "";
  1379. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1380. _teacherDesktopIconInfo.push(
  1381. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1382. { "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)" } },
  1383. )
  1384. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1385. }
  1386. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1387. _teacherDesktopIconInfo.push(
  1388. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1389. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1390. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1392. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1393. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1394. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1395. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1396. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1397. { "Name": "教師中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1398. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1399. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1400. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1401. )
  1402. }
  1403. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1404. // _teacherDesktopIconInfo.push(
  1405. // )
  1406. // }
  1407. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1408. _teacherDesktopIconInfo.push(
  1409. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1410. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1411. )
  1412. }
  1413. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1414. _teacherDesktopIconInfo.push(
  1415. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1416. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1417. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1418. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1419. )
  1420. _studentDesktopIconInfo.push(
  1421. )
  1422. }
  1423. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1424. _teacherDesktopIconInfo.push(
  1425. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1426. )
  1427. _studentDesktopIconInfo.push(
  1428. )
  1429. }
  1430. //麒麟二中 和 民新小學
  1431. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1432. _teacherDesktopIconInfo.push(
  1433. )
  1434. }
  1435. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1436. _teacherDesktopIconInfo.push(
  1437. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1438. { "Name": "教師中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1439. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1440. )
  1441. }
  1442. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5") {
  1443. _teacherDesktopIconInfo.push(
  1444. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1445. )
  1446. }
  1447. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1448. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1449. _teacherDesktopIconInfo.push(
  1450. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1451. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1452. )
  1453. }
  1454. //麒麟二中
  1455. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1456. _studentDesktopIconInfo.push(
  1457. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1458. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1459. )
  1460. }
  1461. //萬科雙語
  1462. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1463. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1464. if (el.Name == '項目管理') {
  1465. el.Name = 'PBL項目'
  1466. }
  1467. return el
  1468. })
  1469. _studentDesktopIconInfo3.push(
  1470. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1471. )
  1472. }
  1473. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1474. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1475. return el.Name != '魔盒識字' && el.Name != '24點'
  1476. })
  1477. }
  1478. 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) {
  1479. _studentDesktopIconInfo.push(
  1480. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1481. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1482. )
  1483. }
  1484. //循環創建桌面圖標
  1485. if (type == 1) {
  1486. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1487. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1488. _content = $$("div", {
  1489. className: "U_MD_D_KO",
  1490. "onmousedown": U.UF.C.closure(function (obj) {
  1491. //防止拖動圖標即打開了桌面應用
  1492. U.MD.D.click(this, obj);
  1493. }, [_studentDesktopIconInfo[i]]),
  1494. "onclick": U.UF.C.closure(function (obj) {
  1495. //防止拖動圖標即打開了桌面應用
  1496. U.MD.D.click(this, obj);
  1497. }, [_studentDesktopIconInfo[i]])
  1498. }, _frag); //
  1499. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1500. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1501. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1502. }
  1503. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1504. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1505. _content = $$("div", {
  1506. className: "U_MD_D_KO",
  1507. "onmousedown": U.UF.C.closure(function (obj) {
  1508. //防止拖動圖標即打開了桌面應用
  1509. U.MD.D.click(this, obj);
  1510. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1511. "onclick": U.UF.C.closure(function (obj) {
  1512. //防止拖動圖標即打開了桌面應用
  1513. U.MD.D.click(this, obj);
  1514. }, [_hkZJLSStudentDeskIconInfo[i]])
  1515. }, _frag); //
  1516. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1517. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1518. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1519. } //
  1520. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1521. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1522. _content = $$("div", {
  1523. className: "U_MD_D_KO",
  1524. "onmousedown": U.UF.C.closure(function (obj) {
  1525. //防止拖動圖標即打開了桌面應用
  1526. U.MD.D.click(this, obj);
  1527. }, [_ytyStudentDeskIconInfo[i]]),
  1528. "onclick": U.UF.C.closure(function (obj) {
  1529. //防止拖動圖標即打開了桌面應用
  1530. U.MD.D.click(this, obj);
  1531. }, [_ytyStudentDeskIconInfo[i]])
  1532. }, _frag); //
  1533. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1534. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1535. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1536. } //
  1537. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1538. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1539. _content = $$("div", {
  1540. className: "U_MD_D_KO",
  1541. "onmousedown": U.UF.C.closure(function (obj) {
  1542. //防止拖動圖標即打開了桌面應用
  1543. U.MD.D.click(this, obj);
  1544. }, [_jccssylStudentDeskIconInfo[i]]),
  1545. "onclick": U.UF.C.closure(function (obj) {
  1546. //防止拖動圖標即打開了桌面應用
  1547. U.MD.D.click(this, obj);
  1548. }, [_jccssylStudentDeskIconInfo[i]])
  1549. }, _frag); //
  1550. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1551. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1552. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1553. }
  1554. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1555. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1556. _content = $$("div", {
  1557. className: "U_MD_D_KO",
  1558. "onmousedown": U.UF.C.closure(function (obj) {
  1559. //防止拖動圖標即打開了桌面應用
  1560. U.MD.D.click(this, obj);
  1561. }, [_caleStudentDeskIconInfo[i]]),
  1562. "onclick": U.UF.C.closure(function (obj) {
  1563. //防止拖動圖標即打開了桌面應用
  1564. U.MD.D.click(this, obj);
  1565. }, [_caleStudentDeskIconInfo[i]])
  1566. }, _frag); //
  1567. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1568. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1569. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1570. }
  1571. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1572. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1573. _content = $$("div", {
  1574. className: "U_MD_D_KO",
  1575. "onmousedown": U.UF.C.closure(function (obj) {
  1576. //防止拖動圖標即打開了桌面應用
  1577. U.MD.D.click(this, obj);
  1578. }, [_thuioeStudentDeskIconInfo[i]]),
  1579. "onclick": U.UF.C.closure(function (obj) {
  1580. //防止拖動圖標即打開了桌面應用
  1581. U.MD.D.click(this, obj);
  1582. }, [_thuioeStudentDeskIconInfo[i]])
  1583. }, _frag); //
  1584. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1585. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1586. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1587. }
  1588. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1589. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1590. _content = $$("div", {
  1591. className: "U_MD_D_KO",
  1592. "onmousedown": U.UF.C.closure(function (obj) {
  1593. //防止拖動圖標即打開了桌面應用
  1594. U.MD.D.click(this, obj);
  1595. }, [_tpcStudentDeskIconInfo[i]]),
  1596. "onclick": U.UF.C.closure(function (obj) {
  1597. //防止拖動圖標即打開了桌面應用
  1598. U.MD.D.click(this, obj);
  1599. }, [_tpcStudentDeskIconInfo[i]])
  1600. }, _frag); //
  1601. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1602. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1603. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1604. } //
  1605. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1606. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1607. _content = $$("div", {
  1608. className: "U_MD_D_KO",
  1609. "onmousedown": U.UF.C.closure(function (obj) {
  1610. //防止拖動圖標即打開了桌面應用
  1611. U.MD.D.click(this, obj);
  1612. }, [_chjyjStudentDeskIconInfo[i]]),
  1613. "onclick": U.UF.C.closure(function (obj) {
  1614. //防止拖動圖標即打開了桌面應用
  1615. U.MD.D.click(this, obj);
  1616. }, [_chjyjStudentDeskIconInfo[i]])
  1617. }, _frag); //
  1618. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1619. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1620. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1621. }
  1622. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1623. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1624. _content = $$("div", {
  1625. className: "U_MD_D_KO",
  1626. "onmousedown": U.UF.C.closure(function (obj) {
  1627. //防止拖動圖標即打開了桌面應用
  1628. U.MD.D.click(this, obj);
  1629. }, [_szjkyStudentDeskIconInfo[i]]),
  1630. "onclick": U.UF.C.closure(function (obj) {
  1631. //防止拖動圖標即打開了桌面應用
  1632. U.MD.D.click(this, obj);
  1633. }, [_szjkyStudentDeskIconInfo[i]])
  1634. }, _frag); //
  1635. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1636. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1637. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1638. }
  1639. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1640. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1641. _content = $$("div", {
  1642. className: "U_MD_D_KO",
  1643. "onmousedown": U.UF.C.closure(function (obj) {
  1644. //防止拖動圖標即打開了桌面應用
  1645. U.MD.D.click(this, obj);
  1646. }, [_dseiStudentDeskIconInfo[i]]),
  1647. "onclick": U.UF.C.closure(function (obj) {
  1648. //防止拖動圖標即打開了桌面應用
  1649. U.MD.D.click(this, obj);
  1650. }, [_dseiStudentDeskIconInfo[i]])
  1651. }, _frag); //
  1652. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1653. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1654. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1655. }
  1656. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1657. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1658. _content = $$("div", {
  1659. className: "U_MD_D_KO",
  1660. "onmousedown": U.UF.C.closure(function (obj) {
  1661. //防止拖動圖標即打開了桌面應用
  1662. U.MD.D.click(this, obj);
  1663. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1664. "onclick": U.UF.C.closure(function (obj) {
  1665. //防止拖動圖標即打開了桌面應用
  1666. U.MD.D.click(this, obj);
  1667. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1668. }, _frag); //
  1669. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1670. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1671. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1672. }
  1673. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1674. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1675. _content = $$("div", {
  1676. className: "U_MD_D_KO",
  1677. "onmousedown": U.UF.C.closure(function (obj) {
  1678. //防止拖動圖標即打開了桌面應用
  1679. U.MD.D.click(this, obj);
  1680. }, [_siesStudentDeskIconInfo[i]]),
  1681. "onclick": U.UF.C.closure(function (obj) {
  1682. //防止拖動圖標即打開了桌面應用
  1683. U.MD.D.click(this, obj);
  1684. }, [_siesStudentDeskIconInfo[i]])
  1685. }, _frag); //
  1686. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1687. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1688. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1689. }
  1690. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1691. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1692. _content = $$("div", {
  1693. className: "U_MD_D_KO",
  1694. "onmousedown": U.UF.C.closure(function (obj) {
  1695. //防止拖動圖標即打開了桌面應用
  1696. U.MD.D.click(this, obj);
  1697. }, [_hkStudentDeskIconInfo[i]]),
  1698. "onclick": U.UF.C.closure(function (obj) {
  1699. //防止拖動圖標即打開了桌面應用
  1700. U.MD.D.click(this, obj);
  1701. }, [_hkStudentDeskIconInfo[i]])
  1702. }, _frag); //
  1703. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1704. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1705. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1706. }
  1707. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1708. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1709. _content = $$("div", {
  1710. className: "U_MD_D_KO",
  1711. "onmousedown": U.UF.C.closure(function (obj) {
  1712. //防止拖動圖標即打開了桌面應用
  1713. U.MD.D.click(this, obj);
  1714. }, [_hkaceStudentDeskIconInfo[i]]),
  1715. "onclick": U.UF.C.closure(function (obj) {
  1716. //防止拖動圖標即打開了桌面應用
  1717. U.MD.D.click(this, obj);
  1718. }, [_hkaceStudentDeskIconInfo[i]])
  1719. }, _frag); //
  1720. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1721. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1722. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1723. }
  1724. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1725. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1726. _content = $$("div", {
  1727. className: "U_MD_D_KO",
  1728. "onmousedown": U.UF.C.closure(function (obj) {
  1729. //防止拖動圖標即打開了桌面應用
  1730. U.MD.D.click(this, obj);
  1731. }, [_studentDesktopIconInfo[i]]),
  1732. "onclick": U.UF.C.closure(function (obj) {
  1733. //防止拖動圖標即打開了桌面應用
  1734. U.MD.D.click(this, obj);
  1735. }, [_studentDesktopIconInfo[i]])
  1736. }, _frag); //
  1737. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1738. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1739. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1740. }
  1741. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1742. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1743. _content = $$("div", {
  1744. className: "U_MD_D_KO",
  1745. "onmousedown": U.UF.C.closure(function (obj) {
  1746. //防止拖動圖標即打開了桌面應用
  1747. U.MD.D.click(this, obj);
  1748. }, [_tcStudentDeskIconInfo[i]]),
  1749. "onclick": U.UF.C.closure(function (obj) {
  1750. //防止拖動圖標即打開了桌面應用
  1751. U.MD.D.click(this, obj);
  1752. }, [_tcStudentDeskIconInfo[i]])
  1753. }, _frag); //
  1754. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1755. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1756. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1757. }
  1758. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1759. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1760. _content = $$("div", {
  1761. className: "U_MD_D_KO",
  1762. "onmousedown": U.UF.C.closure(function (obj) {
  1763. //防止拖動圖標即打開了桌面應用
  1764. U.MD.D.click(this, obj);
  1765. }, [_szscStudentDeskIconInfo[i]]),
  1766. "onclick": U.UF.C.closure(function (obj) {
  1767. //防止拖動圖標即打開了桌面應用
  1768. U.MD.D.click(this, obj);
  1769. }, [_szscStudentDeskIconInfo[i]])
  1770. }, _frag); //
  1771. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1772. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1773. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1774. }
  1775. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1776. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1777. _content = $$("div", {
  1778. className: "U_MD_D_KO",
  1779. "onmousedown": U.UF.C.closure(function (obj) {
  1780. //防止拖動圖標即打開了桌面應用
  1781. U.MD.D.click(this, obj);
  1782. }, [_studentDesktopIconInfo3[i]]),
  1783. "onclick": U.UF.C.closure(function (obj) {
  1784. //防止拖動圖標即打開了桌面應用
  1785. U.MD.D.click(this, obj);
  1786. }, [_studentDesktopIconInfo3[i]])
  1787. }, _frag); //
  1788. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1789. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1790. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1791. }
  1792. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1793. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1794. _content = $$("div", {
  1795. className: "U_MD_D_KO",
  1796. "onmousedown": U.UF.C.closure(function (obj) {
  1797. //防止拖動圖標即打開了桌面應用
  1798. U.MD.D.click(this, obj);
  1799. }, [_studentDesktopIconInfo2[i]]),
  1800. "onclick": U.UF.C.closure(function (obj) {
  1801. //防止拖動圖標即打開了桌面應用
  1802. U.MD.D.click(this, obj);
  1803. }, [_studentDesktopIconInfo2[i]])
  1804. }, _frag); //
  1805. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1806. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1807. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1808. }
  1809. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1810. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1811. _content = $$("div", {
  1812. className: "U_MD_D_KO",
  1813. "onmousedown": U.UF.C.closure(function (obj) {
  1814. //防止拖動圖標即打開了桌面應用
  1815. U.MD.D.click(this, obj);
  1816. }, [_wanketeacherDesktopIconInfo[i]]),
  1817. "onclick": U.UF.C.closure(function (obj) {
  1818. //防止拖動圖標即打開了桌面應用
  1819. U.MD.D.click(this, obj);
  1820. }, [_wanketeacherDesktopIconInfo[i]])
  1821. }, _frag); //
  1822. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1823. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1824. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1825. }
  1826. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1827. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1828. _content = $$("div", {
  1829. className: "U_MD_D_KO",
  1830. "onmousedown": U.UF.C.closure(function (obj) {
  1831. //防止拖動圖標即打開了桌面應用
  1832. U.MD.D.click(this, obj);
  1833. }, [_wankeAdminDesktopIconInfo[i]]),
  1834. "onclick": U.UF.C.closure(function (obj) {
  1835. //防止拖動圖標即打開了桌面應用
  1836. U.MD.D.click(this, obj);
  1837. }, [_wankeAdminDesktopIconInfo[i]])
  1838. }, _frag); //
  1839. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1840. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1841. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1842. }
  1843. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1844. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1845. _content = $$("div", {
  1846. className: "U_MD_D_KO",
  1847. "onmousedown": U.UF.C.closure(function (obj) {
  1848. //防止拖動圖標即打開了桌面應用
  1849. U.MD.D.click(this, obj);
  1850. }, [_jccssylTeacherDeskIconInfo[i]]),
  1851. "onclick": U.UF.C.closure(function (obj) {
  1852. //防止拖動圖標即打開了桌面應用
  1853. U.MD.D.click(this, obj);
  1854. }, [_jccssylTeacherDeskIconInfo[i]])
  1855. }, _frag); //
  1856. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1857. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1858. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1859. }
  1860. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1861. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1862. _content = $$("div", {
  1863. className: "U_MD_D_KO",
  1864. "onmousedown": U.UF.C.closure(function (obj) {
  1865. //防止拖動圖標即打開了桌面應用
  1866. U.MD.D.click(this, obj);
  1867. }, [_caleTeacherDeskIconInfo[i]]),
  1868. "onclick": U.UF.C.closure(function (obj) {
  1869. //防止拖動圖標即打開了桌面應用
  1870. U.MD.D.click(this, obj);
  1871. }, [_caleTeacherDeskIconInfo[i]])
  1872. }, _frag); //
  1873. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1874. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1875. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1876. }
  1877. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1878. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1879. _content = $$("div", {
  1880. className: "U_MD_D_KO",
  1881. "onmousedown": U.UF.C.closure(function (obj) {
  1882. //防止拖動圖標即打開了桌面應用
  1883. U.MD.D.click(this, obj);
  1884. }, [_tpcOrganizerDeskIconInfo[i]]),
  1885. "onclick": U.UF.C.closure(function (obj) {
  1886. //防止拖動圖標即打開了桌面應用
  1887. U.MD.D.click(this, obj);
  1888. }, [_tpcOrganizerDeskIconInfo[i]])
  1889. }, _frag); //
  1890. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1891. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1892. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1893. }
  1894. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1895. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1896. _content = $$("div", {
  1897. className: "U_MD_D_KO",
  1898. "onmousedown": U.UF.C.closure(function (obj) {
  1899. //防止拖動圖標即打開了桌面應用
  1900. U.MD.D.click(this, obj);
  1901. }, [_tpcTeacherDeskIconInfo[i]]),
  1902. "onclick": U.UF.C.closure(function (obj) {
  1903. //防止拖動圖標即打開了桌面應用
  1904. U.MD.D.click(this, obj);
  1905. }, [_tpcTeacherDeskIconInfo[i]])
  1906. }, _frag); //
  1907. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1908. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1909. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1910. }
  1911. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1912. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1913. _content = $$("div", {
  1914. className: "U_MD_D_KO",
  1915. "onmousedown": U.UF.C.closure(function (obj) {
  1916. //防止拖動圖標即打開了桌面應用
  1917. U.MD.D.click(this, obj);
  1918. }, [_teacherDesktopIconInfo2[i]]),
  1919. "onclick": U.UF.C.closure(function (obj) {
  1920. //防止拖動圖標即打開了桌面應用
  1921. U.MD.D.click(this, obj);
  1922. }, [_teacherDesktopIconInfo2[i]])
  1923. }, _frag); //
  1924. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1925. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1926. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1927. }
  1928. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1929. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1930. _content = $$("div", {
  1931. className: "U_MD_D_KO",
  1932. "onmousedown": U.UF.C.closure(function (obj) {
  1933. //防止拖動圖標即打開了桌面應用
  1934. U.MD.D.click(this, obj);
  1935. }, [_thuioeTeacherDeskIconInfo[i]]),
  1936. "onclick": U.UF.C.closure(function (obj) {
  1937. //防止拖動圖標即打開了桌面應用
  1938. U.MD.D.click(this, obj);
  1939. }, [_thuioeTeacherDeskIconInfo[i]])
  1940. }, _frag); //
  1941. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1942. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1943. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1944. }
  1945. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1946. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1947. _content = $$("div", {
  1948. className: "U_MD_D_KO",
  1949. "onmousedown": U.UF.C.closure(function (obj) {
  1950. //防止拖動圖標即打開了桌面應用
  1951. U.MD.D.click(this, obj);
  1952. }, [_lotechTeacherDeskIconInfo[i]]),
  1953. "onclick": U.UF.C.closure(function (obj) {
  1954. //防止拖動圖標即打開了桌面應用
  1955. U.MD.D.click(this, obj);
  1956. }, [_lotechTeacherDeskIconInfo[i]])
  1957. }, _frag); //
  1958. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1959. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1960. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1961. }//
  1962. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1963. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1964. _content = $$("div", {
  1965. className: "U_MD_D_KO",
  1966. "onmousedown": U.UF.C.closure(function (obj) {
  1967. //防止拖動圖標即打開了桌面應用
  1968. U.MD.D.click(this, obj);
  1969. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1970. "onclick": U.UF.C.closure(function (obj) {
  1971. //防止拖動圖標即打開了桌面應用
  1972. U.MD.D.click(this, obj);
  1973. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1974. }, _frag); //
  1975. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1976. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1977. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1978. }
  1979. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1980. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1981. _content = $$("div", {
  1982. className: "U_MD_D_KO",
  1983. "onmousedown": U.UF.C.closure(function (obj) {
  1984. //防止拖動圖標即打開了桌面應用
  1985. U.MD.D.click(this, obj);
  1986. }, [_siesTeacherDeskIconInfo[i]]),
  1987. "onclick": U.UF.C.closure(function (obj) {
  1988. //防止拖動圖標即打開了桌面應用
  1989. U.MD.D.click(this, obj);
  1990. }, [_siesTeacherDeskIconInfo[i]])
  1991. }, _frag); //
  1992. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1993. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1994. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1995. }
  1996. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1997. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1998. _content = $$("div", {
  1999. className: "U_MD_D_KO",
  2000. "onmousedown": U.UF.C.closure(function (obj) {
  2001. //防止拖動圖標即打開了桌面應用
  2002. U.MD.D.click(this, obj);
  2003. }, [_longhuaTeacherDeskIconInfo[i]]),
  2004. "onclick": U.UF.C.closure(function (obj) {
  2005. //防止拖動圖標即打開了桌面應用
  2006. U.MD.D.click(this, obj);
  2007. }, [_longhuaTeacherDeskIconInfo[i]])
  2008. }, _frag); //
  2009. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2010. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2011. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2012. }
  2013. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2014. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2015. _content = $$("div", {
  2016. className: "U_MD_D_KO",
  2017. "onmousedown": U.UF.C.closure(function (obj) {
  2018. //防止拖動圖標即打開了桌面應用
  2019. U.MD.D.click(this, obj);
  2020. }, [_ytyTeacherDeskIconInfo[i]]),
  2021. "onclick": U.UF.C.closure(function (obj) {
  2022. //防止拖動圖標即打開了桌面應用
  2023. U.MD.D.click(this, obj);
  2024. }, [_ytyTeacherDeskIconInfo[i]])
  2025. }, _frag); //
  2026. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2027. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2028. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2029. }
  2030. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2031. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2032. _content = $$("div", {
  2033. className: "U_MD_D_KO",
  2034. "onmousedown": U.UF.C.closure(function (obj) {
  2035. //防止拖動圖標即打開了桌面應用
  2036. U.MD.D.click(this, obj);
  2037. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2038. "onclick": U.UF.C.closure(function (obj) {
  2039. //防止拖動圖標即打開了桌面應用
  2040. U.MD.D.click(this, obj);
  2041. }, [_yunhaiTeacherDeskIconInfo[i]])
  2042. }, _frag); //
  2043. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2044. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2045. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2046. } //_hkStudentDeskIconInfo
  2047. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2048. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2049. _content = $$("div", {
  2050. className: "U_MD_D_KO",
  2051. "onmousedown": U.UF.C.closure(function (obj) {
  2052. //防止拖動圖標即打開了桌面應用
  2053. U.MD.D.click(this, obj);
  2054. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2055. "onclick": U.UF.C.closure(function (obj) {
  2056. //防止拖動圖標即打開了桌面應用
  2057. U.MD.D.click(this, obj);
  2058. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2059. }, _frag); //
  2060. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2061. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2062. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2063. }
  2064. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2065. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2066. _content = $$("div", {
  2067. className: "U_MD_D_KO",
  2068. "onmousedown": U.UF.C.closure(function (obj) {
  2069. //防止拖動圖標即打開了桌面應用
  2070. U.MD.D.click(this, obj);
  2071. }, [_hkTeacherDeskIconInfo[i]]),
  2072. "onclick": U.UF.C.closure(function (obj) {
  2073. //防止拖動圖標即打開了桌面應用
  2074. U.MD.D.click(this, obj);
  2075. }, [_hkTeacherDeskIconInfo[i]])
  2076. }, _frag); //
  2077. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2078. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2079. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2080. }
  2081. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2082. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2083. _content = $$("div", {
  2084. className: "U_MD_D_KO",
  2085. "onmousedown": U.UF.C.closure(function (obj) {
  2086. //防止拖動圖標即打開了桌面應用
  2087. U.MD.D.click(this, obj);
  2088. }, [_hkaceTeacherDeskIconInfo[i]]),
  2089. "onclick": U.UF.C.closure(function (obj) {
  2090. //防止拖動圖標即打開了桌面應用
  2091. U.MD.D.click(this, obj);
  2092. }, [_hkaceTeacherDeskIconInfo[i]])
  2093. }, _frag); //
  2094. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2095. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2096. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2097. }
  2098. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2099. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2100. _content = $$("div", {
  2101. className: "U_MD_D_KO",
  2102. "onmousedown": U.UF.C.closure(function (obj) {
  2103. //防止拖動圖標即打開了桌面應用
  2104. U.MD.D.click(this, obj);
  2105. }, [_gdjgAdminDeskIconInfo[i]]),
  2106. "onclick": U.UF.C.closure(function (obj) {
  2107. //防止拖動圖標即打開了桌面應用
  2108. U.MD.D.click(this, obj);
  2109. }, [_gdjgAdminDeskIconInfo[i]])
  2110. }, _frag); //
  2111. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2112. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2113. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2114. }
  2115. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2116. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2117. _content = $$("div", {
  2118. className: "U_MD_D_KO",
  2119. "onmousedown": U.UF.C.closure(function (obj) {
  2120. //防止拖動圖標即打開了桌面應用
  2121. U.MD.D.click(this, obj);
  2122. }, [_gdjgTeacherDeskIconInfo[i]]),
  2123. "onclick": U.UF.C.closure(function (obj) {
  2124. //防止拖動圖標即打開了桌面應用
  2125. U.MD.D.click(this, obj);
  2126. }, [_gdjgTeacherDeskIconInfo[i]])
  2127. }, _frag); //
  2128. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2129. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2130. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2131. }
  2132. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2133. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2134. _content = $$("div", {
  2135. className: "U_MD_D_KO",
  2136. "onmousedown": U.UF.C.closure(function (obj) {
  2137. //防止拖動圖標即打開了桌面應用
  2138. U.MD.D.click(this, obj);
  2139. }, [_szherTeacherDeskIconInfo[i]]),
  2140. "onclick": U.UF.C.closure(function (obj) {
  2141. //防止拖動圖標即打開了桌面應用
  2142. U.MD.D.click(this, obj);
  2143. }, [_szherTeacherDeskIconInfo[i]])
  2144. }, _frag); //
  2145. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2146. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2147. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2148. }
  2149. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2150. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2151. _content = $$("div", {
  2152. className: "U_MD_D_KO",
  2153. "onmousedown": U.UF.C.closure(function (obj) {
  2154. //防止拖動圖標即打開了桌面應用
  2155. U.MD.D.click(this, obj);
  2156. }, [_heyuannAdminDeskIconInfo[i]]),
  2157. "onclick": U.UF.C.closure(function (obj) {
  2158. //防止拖動圖標即打開了桌面應用
  2159. U.MD.D.click(this, obj);
  2160. }, [_heyuannAdminDeskIconInfo[i]])
  2161. }, _frag); //
  2162. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2163. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2164. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2165. }
  2166. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2167. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2168. _content = $$("div", {
  2169. className: "U_MD_D_KO",
  2170. "onmousedown": U.UF.C.closure(function (obj) {
  2171. //防止拖動圖標即打開了桌面應用
  2172. U.MD.D.click(this, obj);
  2173. }, [_heyuanTeacherDeskIconInfo[i]]),
  2174. "onclick": U.UF.C.closure(function (obj) {
  2175. //防止拖動圖標即打開了桌面應用
  2176. U.MD.D.click(this, obj);
  2177. }, [_heyuanTeacherDeskIconInfo[i]])
  2178. }, _frag); //
  2179. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2180. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2181. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2182. } //
  2183. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2184. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2185. _content = $$("div", {
  2186. className: "U_MD_D_KO",
  2187. "onmousedown": U.UF.C.closure(function (obj) {
  2188. //防止拖動圖標即打開了桌面應用
  2189. U.MD.D.click(this, obj);
  2190. }, [_dseiAdminDeskIconInfo[i]]),
  2191. "onclick": U.UF.C.closure(function (obj) {
  2192. //防止拖動圖標即打開了桌面應用
  2193. U.MD.D.click(this, obj);
  2194. }, [_dseiAdminDeskIconInfo[i]])
  2195. }, _frag); //
  2196. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2197. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2198. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2199. }
  2200. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2201. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2202. _content = $$("div", {
  2203. className: "U_MD_D_KO",
  2204. "onmousedown": U.UF.C.closure(function (obj) {
  2205. //防止拖動圖標即打開了桌面應用
  2206. U.MD.D.click(this, obj);
  2207. }, [_dseiTeacherDeskIconInfo[i]]),
  2208. "onclick": U.UF.C.closure(function (obj) {
  2209. //防止拖動圖標即打開了桌面應用
  2210. U.MD.D.click(this, obj);
  2211. }, [_dseiTeacherDeskIconInfo[i]])
  2212. }, _frag); //
  2213. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2214. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2215. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2216. } //
  2217. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2218. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2219. _content = $$("div", {
  2220. className: "U_MD_D_KO",
  2221. "onmousedown": U.UF.C.closure(function (obj) {
  2222. //防止拖動圖標即打開了桌面應用
  2223. U.MD.D.click(this, obj);
  2224. }, [_chjyjAdminDeskIconInfo[i]]),
  2225. "onclick": U.UF.C.closure(function (obj) {
  2226. //防止拖動圖標即打開了桌面應用
  2227. U.MD.D.click(this, obj);
  2228. }, [_chjyjAdminDeskIconInfo[i]])
  2229. }, _frag); //
  2230. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2231. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2232. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2233. }//
  2234. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2235. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2236. _content = $$("div", {
  2237. className: "U_MD_D_KO",
  2238. "onmousedown": U.UF.C.closure(function (obj) {
  2239. //防止拖動圖標即打開了桌面應用
  2240. U.MD.D.click(this, obj);
  2241. }, [_chjyjTeacherDeskIconInfo[i]]),
  2242. "onclick": U.UF.C.closure(function (obj) {
  2243. //防止拖動圖標即打開了桌面應用
  2244. U.MD.D.click(this, obj);
  2245. }, [_chjyjTeacherDeskIconInfo[i]])
  2246. }, _frag); //
  2247. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2248. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2249. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2250. }
  2251. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2252. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2253. _content = $$("div", {
  2254. className: "U_MD_D_KO",
  2255. "onmousedown": U.UF.C.closure(function (obj) {
  2256. //防止拖動圖標即打開了桌面應用
  2257. U.MD.D.click(this, obj);
  2258. }, [_szjkyAdminDeskIconInfo[i]]),
  2259. "onclick": U.UF.C.closure(function (obj) {
  2260. //防止拖動圖標即打開了桌面應用
  2261. U.MD.D.click(this, obj);
  2262. }, [_szjkyAdminDeskIconInfo[i]])
  2263. }, _frag); //
  2264. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2265. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2266. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2267. }//
  2268. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2269. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2270. _content = $$("div", {
  2271. className: "U_MD_D_KO",
  2272. "onmousedown": U.UF.C.closure(function (obj) {
  2273. //防止拖動圖標即打開了桌面應用
  2274. U.MD.D.click(this, obj);
  2275. }, [_szjkyTeacherDeskIconInfo[i]]),
  2276. "onclick": U.UF.C.closure(function (obj) {
  2277. //防止拖動圖標即打開了桌面應用
  2278. U.MD.D.click(this, obj);
  2279. }, [_szjkyTeacherDeskIconInfo[i]])
  2280. }, _frag); //
  2281. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2282. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2283. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2284. }
  2285. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2286. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2287. _content = $$("div", {
  2288. className: "U_MD_D_KO",
  2289. "onmousedown": U.UF.C.closure(function (obj) {
  2290. //防止拖動圖標即打開了桌面應用
  2291. U.MD.D.click(this, obj);
  2292. }, [_futianAdminDeskIconInfo[i]]),
  2293. "onclick": U.UF.C.closure(function (obj) {
  2294. //防止拖動圖標即打開了桌面應用
  2295. U.MD.D.click(this, obj);
  2296. }, [_futianAdminDeskIconInfo[i]])
  2297. }, _frag); //
  2298. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2299. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2300. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2301. }
  2302. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2303. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2304. _content = $$("div", {
  2305. className: "U_MD_D_KO",
  2306. "onmousedown": U.UF.C.closure(function (obj) {
  2307. //防止拖動圖標即打開了桌面應用
  2308. U.MD.D.click(this, obj);
  2309. }, [_futianTeacherDeskIconInfo[i]]),
  2310. "onclick": U.UF.C.closure(function (obj) {
  2311. //防止拖動圖標即打開了桌面應用
  2312. U.MD.D.click(this, obj);
  2313. }, [_futianTeacherDeskIconInfo[i]])
  2314. }, _frag); //
  2315. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2316. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2317. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2318. }
  2319. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2320. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2321. _content = $$("div", {
  2322. className: "U_MD_D_KO",
  2323. "onmousedown": U.UF.C.closure(function (obj) {
  2324. //防止拖動圖標即打開了桌面應用
  2325. U.MD.D.click(this, obj);
  2326. }, [_MingdeTeacherDeskIcon[i]]),
  2327. "onclick": U.UF.C.closure(function (obj) {
  2328. //防止拖動圖標即打開了桌面應用
  2329. U.MD.D.click(this, obj);
  2330. }, [_MingdeTeacherDeskIcon[i]])
  2331. }, _frag); //
  2332. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2333. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2334. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2335. }
  2336. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2337. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2338. _content = $$("div", {
  2339. className: "U_MD_D_KO",
  2340. "onmousedown": U.UF.C.closure(function (obj) {
  2341. //防止拖動圖標即打開了桌面應用
  2342. U.MD.D.click(this, obj);
  2343. }, [_lhsAdminDesktopIconInfo[i]]),
  2344. "onclick": U.UF.C.closure(function (obj) {
  2345. //防止拖動圖標即打開了桌面應用
  2346. U.MD.D.click(this, obj);
  2347. }, [_lhsAdminDesktopIconInfo[i]])
  2348. }, _frag); //
  2349. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2350. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2351. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2352. }
  2353. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2354. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2355. _content = $$("div", {
  2356. className: "U_MD_D_KO",
  2357. "onmousedown": U.UF.C.closure(function (obj) {
  2358. //防止拖動圖標即打開了桌面應用
  2359. U.MD.D.click(this, obj);
  2360. }, [_lhsteacherDesktopIconInfo[i]]),
  2361. "onclick": U.UF.C.closure(function (obj) {
  2362. //防止拖動圖標即打開了桌面應用
  2363. U.MD.D.click(this, obj);
  2364. }, [_lhsteacherDesktopIconInfo[i]])
  2365. }, _frag); //
  2366. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2367. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2368. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2369. }
  2370. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2371. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2372. _content = $$("div", {
  2373. className: "U_MD_D_KO",
  2374. "onmousedown": U.UF.C.closure(function (obj) {
  2375. //防止拖動圖標即打開了桌面應用
  2376. U.MD.D.click(this, obj);
  2377. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2378. "onclick": U.UF.C.closure(function (obj) {
  2379. //防止拖動圖標即打開了桌面應用
  2380. U.MD.D.click(this, obj);
  2381. }, [_zhoujiateacherDesktopIconInfo[i]])
  2382. }, _frag); //
  2383. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2384. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2385. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2386. }
  2387. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2388. for (i = 0; i < _hanDeskIcon.length; i++) {
  2389. _content = $$("div", {
  2390. className: "U_MD_D_KO",
  2391. "onmousedown": U.UF.C.closure(function (obj) {
  2392. //防止拖動圖標即打開了桌面應用
  2393. U.MD.D.click(this, obj);
  2394. }, [_hanDeskIcon[i]]),
  2395. "onclick": U.UF.C.closure(function (obj) {
  2396. //防止拖動圖標即打開了桌面應用
  2397. U.MD.D.click(this, obj);
  2398. }, [_hanDeskIcon[i]])
  2399. }, _frag); //
  2400. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2401. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2402. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2403. }
  2404. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2405. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2406. _content = $$("div", {
  2407. className: "U_MD_D_KO",
  2408. "onmousedown": U.UF.C.closure(function (obj) {
  2409. //防止拖動圖標即打開了桌面應用
  2410. U.MD.D.click(this, obj);
  2411. }, [_orgStemDeskIcon[i]]),
  2412. "onclick": U.UF.C.closure(function (obj) {
  2413. //防止拖動圖標即打開了桌面應用
  2414. U.MD.D.click(this, obj);
  2415. }, [_orgStemDeskIcon[i]])
  2416. }, _frag); //
  2417. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2418. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2419. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2420. }
  2421. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2422. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2423. _content = $$("div", {
  2424. className: "U_MD_D_KO",
  2425. "onmousedown": U.UF.C.closure(function (obj) {
  2426. //防止拖動圖標即打開了桌面應用
  2427. U.MD.D.click(this, obj);
  2428. }, [_szulsDeskIcon[i]]),
  2429. "onclick": U.UF.C.closure(function (obj) {
  2430. //防止拖動圖標即打開了桌面應用
  2431. U.MD.D.click(this, obj);
  2432. }, [_szulsDeskIcon[i]])
  2433. }, _frag); //
  2434. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2435. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2436. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2437. }
  2438. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2439. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2440. _content = $$("div", {
  2441. className: "U_MD_D_KO",
  2442. "onmousedown": U.UF.C.closure(function (obj) {
  2443. //防止拖動圖標即打開了桌面應用
  2444. U.MD.D.click(this, obj);
  2445. }, [_orgDesktopIconInfo[i]]),
  2446. "onclick": U.UF.C.closure(function (obj) {
  2447. //防止拖動圖標即打開了桌面應用
  2448. U.MD.D.click(this, obj);
  2449. }, [_orgDesktopIconInfo[i]])
  2450. }, _frag); //
  2451. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2452. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2453. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2454. }
  2455. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2456. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2457. _content = $$("div", {
  2458. className: "U_MD_D_KO",
  2459. "onmousedown": U.UF.C.closure(function (obj) {
  2460. //防止拖動圖標即打開了桌面應用
  2461. U.MD.D.click(this, obj);
  2462. }, [_schoolDesktopIconInfo[i]]),
  2463. "onclick": U.UF.C.closure(function (obj) {
  2464. //防止拖動圖標即打開了桌面應用
  2465. U.MD.D.click(this, obj);
  2466. }, [_schoolDesktopIconInfo[i]])
  2467. }, _frag); //
  2468. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2469. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2470. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2471. }
  2472. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2473. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2474. _content = $$("div", {
  2475. className: "U_MD_D_KO",
  2476. "onmousedown": U.UF.C.closure(function (obj) {
  2477. //防止拖動圖標即打開了桌面應用
  2478. U.MD.D.click(this, obj);
  2479. }, [_GMteacherDesktopIconInfo[i]]),
  2480. "onclick": U.UF.C.closure(function (obj) {
  2481. //防止拖動圖標即打開了桌面應用
  2482. U.MD.D.click(this, obj);
  2483. }, [_GMteacherDesktopIconInfo[i]])
  2484. }, _frag); //
  2485. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2486. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2487. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2488. }
  2489. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2490. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2491. _content = $$("div", {
  2492. className: "U_MD_D_KO",
  2493. "onmousedown": U.UF.C.closure(function (obj) {
  2494. //防止拖動圖標即打開了桌面應用
  2495. U.MD.D.click(this, obj);
  2496. }, [_SONGteacherDesktopIconInfo[i]]),
  2497. "onclick": U.UF.C.closure(function (obj) {
  2498. //防止拖動圖標即打開了桌面應用
  2499. U.MD.D.click(this, obj);
  2500. }, [_SONGteacherDesktopIconInfo[i]])
  2501. }, _frag); //
  2502. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2503. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2504. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2505. }
  2506. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2507. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2508. _content = $$("div", {
  2509. className: "U_MD_D_KO",
  2510. "onmousedown": U.UF.C.closure(function (obj) {
  2511. //防止拖動圖標即打開了桌面應用
  2512. U.MD.D.click(this, obj);
  2513. }, [_GMstudentDesktopIconInfo[i]]),
  2514. "onclick": U.UF.C.closure(function (obj) {
  2515. //防止拖動圖標即打開了桌面應用
  2516. U.MD.D.click(this, obj);
  2517. }, [_GMstudentDesktopIconInfo[i]])
  2518. }, _frag); //
  2519. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2520. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2521. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2522. }
  2523. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2524. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2525. _content = $$("div", {
  2526. className: "U_MD_D_KO",
  2527. "onmousedown": U.UF.C.closure(function (obj) {
  2528. //防止拖動圖標即打開了桌面應用
  2529. U.MD.D.click(this, obj);
  2530. }, [_tcTeacherDeskIconInfo[i]]),
  2531. "onclick": U.UF.C.closure(function (obj) {
  2532. //防止拖動圖標即打開了桌面應用
  2533. U.MD.D.click(this, obj);
  2534. }, [_tcTeacherDeskIconInfo[i]])
  2535. }, _frag); //
  2536. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2537. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2538. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2539. }
  2540. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2541. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2542. _content = $$("div", {
  2543. className: "U_MD_D_KO",
  2544. "onmousedown": U.UF.C.closure(function (obj) {
  2545. //防止拖動圖標即打開了桌面應用
  2546. U.MD.D.click(this, obj);
  2547. }, [_tcOrganizerDeskIconInfo[i]]),
  2548. "onclick": U.UF.C.closure(function (obj) {
  2549. //防止拖動圖標即打開了桌面應用
  2550. U.MD.D.click(this, obj);
  2551. }, [_tcOrganizerDeskIconInfo[i]])
  2552. }, _frag); //
  2553. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2554. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2555. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2556. }
  2557. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2558. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2559. _content = $$("div", {
  2560. className: "U_MD_D_KO",
  2561. "onmousedown": U.UF.C.closure(function (obj) {
  2562. //防止拖動圖標即打開了桌面應用
  2563. U.MD.D.click(this, obj);
  2564. }, [_szscTeacherDeskIconInfo[i]]),
  2565. "onclick": U.UF.C.closure(function (obj) {
  2566. //防止拖動圖標即打開了桌面應用
  2567. U.MD.D.click(this, obj);
  2568. }, [_szscTeacherDeskIconInfo[i]])
  2569. }, _frag); //
  2570. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2571. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2572. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2573. }
  2574. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2575. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2576. _content = $$("div", {
  2577. className: "U_MD_D_KO",
  2578. "onmousedown": U.UF.C.closure(function (obj) {
  2579. //防止拖動圖標即打開了桌面應用
  2580. U.MD.D.click(this, obj);
  2581. }, [_szscOrganizerDeskIconInfo[i]]),
  2582. "onclick": U.UF.C.closure(function (obj) {
  2583. //防止拖動圖標即打開了桌面應用
  2584. U.MD.D.click(this, obj);
  2585. }, [_szscOrganizerDeskIconInfo[i]])
  2586. }, _frag); //
  2587. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2588. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2589. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2590. }
  2591. } else {
  2592. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2593. _content = $$("div", {
  2594. className: "U_MD_D_KO",
  2595. "onmousedown": U.UF.C.closure(function (obj) {
  2596. //防止拖動圖標即打開了桌面應用
  2597. U.MD.D.click(this, obj);
  2598. }, [_teacherDesktopIconInfo[i]]),
  2599. "onclick": U.UF.C.closure(function (obj) {
  2600. //防止拖動圖標即打開了桌面應用
  2601. U.MD.D.click(this, obj);
  2602. }, [_teacherDesktopIconInfo[i]])
  2603. }, _frag); //
  2604. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2605. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2606. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2607. }
  2608. }
  2609. } else {
  2610. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2611. _content = $$("div", {
  2612. className: "U_MD_D_KO",
  2613. style: { 'width': '124px', 'height': '145px' },
  2614. "onmousedown": U.UF.C.closure(function (obj) {
  2615. //防止拖動圖標即打開了桌面應用
  2616. U.MD.D.click(this, obj);
  2617. }, [_easyDesktopIconInfo[i]]),
  2618. "onclick": U.UF.C.closure(function (obj) {
  2619. //防止拖動圖標即打開了桌面應用
  2620. U.MD.D.click(this, obj);
  2621. }, [_easyDesktopIconInfo[i]])
  2622. }, _frag); //
  2623. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2626. }
  2627. }
  2628. if (type == 1) {
  2629. //加載好後給圖標定位
  2630. U.MD.D.iconPostion($(_frag).Child());
  2631. } else {
  2632. //加載好後給圖標定位
  2633. U.MD.D.iconPostion2($(_frag).Child());
  2634. }
  2635. //把圖標加載到頁面
  2636. el.appendChild(_frag);
  2637. }
  2638. /**
  2639. * 顯示任務欄
  2640. *
  2641. * @param {element} 桌面元素
  2642. */
  2643. U.MD.D.I.displayTaskbar = function (el) {
  2644. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  2645. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2646. //任務欄位置變化
  2647. U.selectEl(el).css({ "bottom": "0px" });
  2648. //桌面位置變話
  2649. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2650. }
  2651. }
  2652. //#region 桌面圖標拖動邏輯
  2653. /**
  2654. * 桌面排列圖標
  2655. *
  2656. * @param {element} 桌面元素
  2657. * @param {object} 上下相距的距離
  2658. * @param {object} 左右相距的距離
  2659. * @return {object} 命名空間
  2660. */
  2661. U.MD.D.iconPostion = function (childs, top, left) {
  2662. var i; //用於循環處理
  2663. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  2664. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2665. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2666. for (i = 0; i < childs.length; i++) {
  2667. //如果豎排top超過了範圍處理
  2668. if (top + 95 > US.height - 10) {
  2669. //left超過了頁面範圍處理,則向上重疊打印處理
  2670. if ((left + 180) > US.width) {
  2671. top -= 110;
  2672. left -= 90;
  2673. }
  2674. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2675. else {
  2676. left += 90;
  2677. top = 15;
  2678. };
  2679. }
  2680. //給圖標的位置賦值
  2681. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2682. if (i < childs.length - 1) {
  2683. //頁面圖標每次向下加95
  2684. top += 95;
  2685. }
  2686. }
  2687. //返回最後調用的圖標的位置
  2688. return [top, left];
  2689. }
  2690. /**
  2691. * 桌面排列圖標
  2692. *
  2693. * @param {element} 桌面元素
  2694. * @param {object} 上下相距的距離
  2695. * @param {object} 左右相距的距離
  2696. * @return {object} 命名空間
  2697. */
  2698. U.MD.D.iconPostion2 = function (childs, top, left) {
  2699. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  2700. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  2701. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2702. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2703. for (i = 0; i < childs.length; i++) {
  2704. //如果豎排top超過了範圍處理
  2705. if (left + 150 > US.width - 10) {
  2706. //left超過了頁面範圍處理,則向上重疊打印處理
  2707. if ((top + 180) > US.Height) {
  2708. top -= 150;
  2709. left -= 150;
  2710. }
  2711. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2712. else {
  2713. top += 150;
  2714. left = ol;
  2715. };
  2716. }
  2717. //給圖標的位置賦值
  2718. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2719. if (i < childs.length - 1) {
  2720. //頁面圖標每次向下加95
  2721. left += 150;
  2722. }
  2723. }
  2724. //返回最後調用的圖標的位置
  2725. return [top, left];
  2726. }
  2727. /**
  2728. * 桌面點擊事件邏輯
  2729. *
  2730. * @param {element} 桌面元素
  2731. * @param {object} 上下相距的距離
  2732. * @param {object} 左右相距的距離
  2733. * @return {object} 命名空間
  2734. */
  2735. U.MD.D.click = function (el, obj) {
  2736. var _buttonnumber = event.button; //點擊的按鈕的事件值
  2737. var _userinfo = US.userInfo;
  2738. U.UF.EV.stopBubble(); //阻止向上冒泡
  2739. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  2740. if (_buttonnumber < 2) {
  2741. //如果是click事件的處理
  2742. if (event.type == "click") {
  2743. //如果元素在mousemove事件中沒有移動則出發click事件
  2744. if (!U.MD.D.I.IsDrag) {
  2745. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2746. U.alert("請先登錄您的賬號!");
  2747. setTimeout(() => {
  2748. U.MD.U.L.login();
  2749. }, 2000);
  2750. } else {
  2751. //打開應用處理
  2752. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2753. }
  2754. }
  2755. }
  2756. //如果是mouse事件的處理
  2757. else {
  2758. if (US.Config.type == '1') {
  2759. //拖動處理,添加拖動和拖動結束事件
  2760. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2761. }
  2762. }
  2763. U.MD.D.I.IsDrag = false;
  2764. }
  2765. }
  2766. /**
  2767. * 拖動的處理
  2768. *
  2769. */
  2770. U.MD.D.iconMove = function () {
  2771. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  2772. U.MD.D.I.IsDrag = true;
  2773. }
  2774. /**
  2775. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  2776. *
  2777. * @param {element} 拖動的元素
  2778. * @return {object} 命名空間
  2779. */
  2780. U.MD.D.iconUp = function (el) {
  2781. var _top = 15,
  2782. _left = 20,
  2783. _margin,
  2784. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  2785. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  2786. if (_positioninfo["OT"] > 15) {
  2787. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  2788. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2789. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2790. }
  2791. if (_positioninfo["OL"] > 20) {
  2792. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  2793. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2794. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2795. }
  2796. //while循環判斷麼一個重疊的元素
  2797. do {
  2798. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  2799. _top = _positioninfo[0] + 95; //得到定位後的top
  2800. _left = _positioninfo[1]; //得到定位後的left
  2801. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2802. }
  2803. /**
  2804. * 判斷拖動後圖標是否重疊
  2805. *
  2806. * @param {element} 拖動的元素
  2807. * @param {element} 桌面所有的元素
  2808. * @param {array} 拖動元素的位置
  2809. ----------[0] 上 top
  2810. ----------[1] 左 left
  2811. * @return {object} 命名空間
  2812. */
  2813. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2814. //循環所有的圖標
  2815. for (var i = 0; i < childs.length; i++) {
  2816. //判斷有沒有和該圖標誒子重疊的元素
  2817. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2818. return childs[i]; //如果有返回
  2819. }
  2820. }
  2821. }
  2822. //#endregion
  2823. //#endregion
  2824. //#region 桌面應用
  2825. /**
  2826. * 打開應用
  2827. *
  2828. * @param {string} 類型
  2829. -----------------Disk 網盤系統
  2830. -----------------PDisk 學習系統網盤
  2831. -----------------Poto 圖片
  2832. -----------------Video 視頻
  2833. -----------------Music 音樂
  2834. -----------------Word word
  2835. -----------------Excel excel
  2836. -----------------Txt 記事本
  2837. -----------------PB 學習系統
  2838. -----------------Blog 朋友圈系統
  2839. -----------------FTP ftp系統
  2840. -----------------Group 好友群
  2841. -----------------SY 首頁系統
  2842. -----------------Set 個人設置
  2843. -----------------XSet 系統設置
  2844. -----------------App 我們所有的app
  2845. -----------------BC c.1473.cn 平臺
  2846. -----------------CWeb d.1473.cn 變成平臺
  2847. -----------------其他的外聯系統 我們統一用iframe打開
  2848. * @param {array} 類型
  2849. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  2850. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  2851. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  2852. 如果第一個參數為其他,則無第二個參數
  2853. * @returns {array}
  2854. */
  2855. window.addEventListener('message', function (e) { // 監聽 message 事件
  2856. // alert(e.data.type);
  2857. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  2858. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2859. //3是展示全部階段 2學生 1老師 4專家
  2860. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  2861. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2862. //3是展示全部階段 2學生 1老師 4專家
  2863. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  2864. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2865. //3是展示全部階段 2學生 1老師 4專家
  2866. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  2867. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2868. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  2869. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2870. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  2871. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2872. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  2873. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2874. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  2875. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2876. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  2877. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2878. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  2879. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2880. //3是展示全部階段 2學生 1老師 4專家
  2881. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  2882. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2883. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  2884. U.MD.D.I.selectUser();
  2885. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2886. var _formel = document.getElementById("study");
  2887. U.UF.F.windowZooming(_formel);
  2888. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2889. var _formel = document.getElementById("studyDetail");
  2890. U.UF.F.windowZooming(_formel);
  2891. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2892. var _formel = document.getElementById("studyDetail");
  2893. U.UF.F.windowZooming(_formel);
  2894. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2895. var _formel = document.getElementById("studentStudy");
  2896. U.UF.F.windowZooming(_formel);
  2897. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2898. // var _formel = document.getElementById("study");
  2899. //如果最大化了,那麼就把他縮小
  2900. // if (_formel.ismaximize) {
  2901. // return;
  2902. // }
  2903. // U.UF.F.windowZooming(_formel);
  2904. // U.UF.F.topWindow(_formel);
  2905. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2906. // var _formel = document.getElementById("studyDetail");
  2907. //如果最大化了,那麼就把他縮小
  2908. // if (_formel.ismaximize) {
  2909. // return;
  2910. // }
  2911. // U.UF.F.windowZooming(_formel);
  2912. // U.UF.F.topWindow(_formel);
  2913. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2914. // var _formel = document.getElementById("studentStudy");
  2915. // if (_formel.ismaximize) {
  2916. // return;
  2917. // }
  2918. // U.UF.F.windowZooming(_formel);
  2919. // U.UF.F.topWindow(_formel);
  2920. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2921. var _formel = document.getElementById("study");
  2922. // if (_formel.ismaximize) {
  2923. // return;
  2924. // }
  2925. // U.UF.F.windowZooming(_formel);
  2926. U.UF.F.topWindow(_formel);
  2927. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2928. var _formel = document.getElementById("studentIndex");
  2929. U.UF.F.windowZooming(_formel);
  2930. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2931. var _formel = document.getElementById("studyDetailS");
  2932. U.UF.F.windowZooming(_formel);
  2933. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2934. var _formel = document.getElementById("studioIndex");
  2935. U.UF.F.windowZooming(_formel);
  2936. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2937. var _formel = document.getElementById("studyDetailStudio");
  2938. U.UF.F.windowZooming(_formel);
  2939. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2940. var _formel = document.getElementById("studyDetailStudio");
  2941. U.UF.F.windowZooming(_formel);
  2942. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2943. var _formel = document.getElementById("studyDetailNT");
  2944. U.UF.F.windowZooming(_formel);
  2945. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2946. var _formel = document.getElementById("studyDetailS");
  2947. U.UF.F.windowZooming(_formel);
  2948. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2949. var _formel = document.getElementById("studyDetailS");
  2950. U.UF.F.topWindow(_formel);
  2951. } else if (e.data.tools && e.data.tools == "1") {
  2952. // U.MD.D.I.openApplication("whiteboard")
  2953. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2954. } else if (e.data.tools && e.data.tools == "2") {
  2955. U.MD.D.I.openApplication("note")
  2956. } else if (e.data.tools && e.data.tools == "3") {
  2957. // U.MD.D.I.openApplication("mind")
  2958. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2959. } else if (e.data.tools && e.data.tools == "4") {
  2960. U.MD.D.I.openApplication("investigation")
  2961. } else if (e.data.tools && e.data.tools == "6") {
  2962. // U.MD.D.I.openApplication("doc")
  2963. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2964. } else if (e.data.tools && e.data.tools == "7") {
  2965. // U.MD.D.I.openApplication("mindNetwork")
  2966. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2967. } else if (e.data.tools && e.data.tools == "8") {
  2968. U.MD.D.I.openApplication("library")
  2969. } else if (e.data.tools && e.data.tools == "17") {
  2970. U.MD.D.I.openApplication("stuLibrary")
  2971. } else if (e.data.tools && e.data.tools == "18") {
  2972. U.MD.D.I.openApplication("train")
  2973. } else if (e.data.tools && e.data.tools == "21") {
  2974. U.MD.D.I.openApplication("program")
  2975. } else if (e.data.tools && e.data.tools == "22") {
  2976. U.MD.D.I.openApplication("AIprogram2")
  2977. } else if (e.data.tools && e.data.tools == "23") {
  2978. U.MD.D.I.openApplication("Pythonprogram")
  2979. } else if (e.data.tools && e.data.tools == "24") {
  2980. U.MD.D.I.openApplication("AIprogram")
  2981. } else if (e.data.tools && e.data.tools == "25") {
  2982. U.MD.D.I.openApplication("sys")
  2983. } else if (e.data.tools && e.data.tools == "26") {
  2984. // U.MD.D.I.openApplication("courseDesign")
  2985. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2986. } else if (e.data.tools && e.data.tools == "31") {
  2987. U.MD.D.I.openApplication("netWorkPanel")
  2988. } else if (e.data.tools && e.data.tools == "32") {
  2989. U.MD.D.I.openApplication("codeEdit")
  2990. } else if (e.data.tools && e.data.tools == "57") {
  2991. U.MD.D.I.openApplication("CocoPi")
  2992. } else if (e.data.tools && e.data.tools == "63") {
  2993. U.MD.D.I.openApplication("Wood")
  2994. } else if (e.data.tools && e.data.tools == "58") {
  2995. U.MD.D.I.openApplication("car")
  2996. } else if (e.data.tools && e.data.tools == "59") {
  2997. U.MD.D.I.openApplication("lineSearch")
  2998. } else if (e.data.tools && e.data.tools == "60") {
  2999. U.MD.D.I.openApplication("deepLearning")
  3000. } else if (e.data.tools && e.data.tools == "61") {
  3001. U.MD.D.I.openApplication("allHistory")
  3002. } else if (e.data.tools && e.data.tools == "28") {
  3003. U.MD.D.I.openApplication("translation")
  3004. } else if (e.data.tools && e.data.tools == "37") {
  3005. U.MD.D.I.openApplication("mohe")
  3006. } else if (e.data.tools && e.data.tools == "38") {
  3007. U.MD.D.I.openApplication("24game")
  3008. } else if (e.data.tools && e.data.tools == "39") {
  3009. U.MD.D.I.openApplication("GeoGebra")
  3010. } else if (e.data.tools && e.data.tools == "43") {
  3011. U.MD.D.I.openApplication("studentEvaluate")
  3012. } else if (e.data.tools && e.data.tools == "44") {
  3013. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  3014. } else if (e.data.tools && e.data.tools == "46") {
  3015. U.MD.D.I.openApplication("project")
  3016. } else if (e.data.tools && e.data.tools == "1s") {
  3017. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3018. } else if (e.data.tools && e.data.tools == "3s") {
  3019. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3020. } else if (e.data.tools && e.data.tools == "6s") {
  3021. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3022. } else if (e.data.tools && e.data.tools == "1studio") {
  3023. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3024. } else if (e.data.tools && e.data.tools == "3studio") {
  3025. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3026. } else if (e.data.tools && e.data.tools == "6studio") {
  3027. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3028. } else if (e.data.tools && e.data.tools == "3y") {
  3029. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3030. } else if (e.data.tools && e.data.tools == "1y") {
  3031. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3032. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  3033. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  3034. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  3035. U.MD.D.I.openApplication("AIAnalyse")
  3036. } else if (e.data.tools && e.data.tools == "1teacher") {
  3037. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3038. } else if (e.data.tools && e.data.tools == "3teacher") {
  3039. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3040. } else if (e.data.tools && e.data.tools == "7teacher") {
  3041. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3042. } else if (e.data.tools && e.data.tools == "1teacherE") {
  3043. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3044. } else if (e.data.tools && e.data.tools == "3teacherE") {
  3045. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3046. } else if (e.data.tools && e.data.tools == "1E") {
  3047. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3048. } else if (e.data.tools && e.data.tools == "3E") {
  3049. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3050. } else if (e.data.tools && e.data.tools == "57y") {
  3051. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3052. } else if (e.data.tools && e.data.tools == "57u") {
  3053. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3054. } else if (e.data.tools && e.data.tools == "57teacher") {
  3055. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  3056. } else if (e.data.tools && e.data.tools == "64") {
  3057. U.MD.D.I.openApplication("AIChat")
  3058. } else if (e.data.tools && e.data.tools == "66") {
  3059. U.MD.D.I.openApplication("formulaEdi")
  3060. } else if (e.data.tools && e.data.tools == "67") {
  3061. U.MD.D.I.openApplication("molStr")
  3062. } else if (e.data.tools && e.data.tools == "68") {
  3063. U.MD.D.I.openApplication("timeAxis")
  3064. } else if (e.data.tools && e.data.tools == "openCourse") {
  3065. let _data = {
  3066. typea: e.data.typea || '',
  3067. typeb: e.data.typeb || '',
  3068. typed: e.data.typed || '',
  3069. }
  3070. U.MD.D.I.openInApplication("index", _data)
  3071. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3072. let _data = {
  3073. classid: e.data.classid || '',
  3074. }
  3075. U.MD.D.I.openInApplication("dataClass", _data)
  3076. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3077. let _data = {
  3078. cid: e.data.cid || '',
  3079. gid: e.data.gid || '',
  3080. }
  3081. U.MD.D.I.openInApplication("opencCscl", _data)
  3082. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3083. U.MD.D.I.openApplication("dataBoardTest")
  3084. }
  3085. });
  3086. U.MD.D.I.selectUser = function () {
  3087. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3088. if (res.value[0].length > 0) {
  3089. US.userInfo = res.value[0][0];
  3090. $(".userName")[0].innerHTML = US.userInfo.username;
  3091. }
  3092. }, [], { "type": "GET", "withCredentials": true });
  3093. }
  3094. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3095. var _userinfo = US.userInfo, //登錄用戶信息
  3096. _userid = US.userInfo.userid, //登錄用戶id
  3097. _oid = _userinfo.organizeid,
  3098. _type = US.userInfo.type,
  3099. _org = US.userInfo.org,
  3100. _role = US.userInfo.role,
  3101. _classId = US.userInfo.classid;
  3102. if (_type == 4) {
  3103. tType = 4
  3104. }
  3105. switch (str) {
  3106. case "studyDetailNT": //無終端模式
  3107. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3108. setTimeout(() => {
  3109. U.MD.U.L.login();
  3110. }, 2000);
  3111. } else {
  3112. _formdiv = new U.UF.UI.form(
  3113. "課程詳情",
  3114. $$("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 }), {
  3115. "id": "studyDetailNT",
  3116. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3117. "onresize": function () { }
  3118. }, {
  3119. closecallback: function () { }
  3120. }, { "style": { "height": "36px" } }).form; //創建窗體
  3121. _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); } }
  3122. break;
  3123. }
  3124. case "studyDetail":
  3125. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3126. setTimeout(() => {
  3127. U.MD.U.L.login();
  3128. }, 2000);
  3129. } else {
  3130. _formdiv = new U.UF.UI.form(
  3131. "課程詳情",
  3132. $$("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 }), {
  3133. "id": "studyDetail",
  3134. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3135. "onresize": function () { }
  3136. }, {
  3137. closecallback: function () { }
  3138. }, { "style": { "height": "36px" } }).form; //創建窗體
  3139. _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); } }
  3140. break;
  3141. }
  3142. case "studyDetailTrain":
  3143. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3144. setTimeout(() => {
  3145. U.MD.U.L.login();
  3146. }, 2000);
  3147. } else {
  3148. _formdiv = new U.UF.UI.form(
  3149. "培訓詳情",
  3150. $$("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 }), {
  3151. "id": "studyDetailTrain",
  3152. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3153. "onresize": function () { }
  3154. }, {
  3155. closecallback: function () { }
  3156. }, { "style": { "height": "36px" } }).form; //創建窗體
  3157. _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); } }
  3158. break;
  3159. }
  3160. case "studyDetailS":
  3161. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3162. setTimeout(() => {
  3163. U.MD.U.L.login();
  3164. }, 2000);
  3165. } else {
  3166. _formdiv = new U.UF.UI.form(
  3167. "項目詳情",
  3168. $$("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 }), {
  3169. "id": "studyDetailS",
  3170. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3171. "onresize": function () { }
  3172. }, {
  3173. closecallback: function () { }
  3174. }, { "style": { "height": "36px" } }).form; //創建窗體
  3175. _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); } }
  3176. break;
  3177. }
  3178. case "studyDetailStudio":
  3179. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3180. setTimeout(() => {
  3181. U.MD.U.L.login();
  3182. }, 2000);
  3183. } else {
  3184. _formdiv = new U.UF.UI.form(
  3185. "工作詳情",
  3186. $$("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 }), {
  3187. "id": "studyDetailStudio",
  3188. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3189. "onresize": function () { }
  3190. }, {
  3191. closecallback: function () { }
  3192. }, { "style": { "height": "36px" } }).form; //創建窗體
  3193. _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); } }
  3194. break;
  3195. }
  3196. case "studyDetailS5":
  3197. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3198. setTimeout(() => {
  3199. U.MD.U.L.login();
  3200. }, 2000);
  3201. } else {
  3202. _formdiv = new U.UF.UI.form(
  3203. "項目詳情",
  3204. $$("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 }), {
  3205. "id": "studyDetailS",
  3206. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3207. "onresize": function () { }
  3208. }, {
  3209. closecallback: function () { }
  3210. }, { "style": { "height": "36px" } }).form; //創建窗體
  3211. _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); } }
  3212. break;
  3213. }
  3214. case "studyDetailGM":
  3215. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3216. setTimeout(() => {
  3217. U.MD.U.L.login();
  3218. }, 2000);
  3219. } else {
  3220. _formdiv = new U.UF.UI.form(
  3221. "課程詳情",
  3222. $$("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 }), {
  3223. "id": "studyDetail",
  3224. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3225. "onresize": function () { }
  3226. }, {
  3227. closecallback: function () { }
  3228. }, { "style": { "height": "36px" } }).form; //創建窗體
  3229. _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); } }
  3230. break;
  3231. }
  3232. case "hanUrl":
  3233. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3234. setTimeout(() => {
  3235. U.MD.U.L.login();
  3236. }, 2000);
  3237. } else {
  3238. _formdiv = new U.UF.UI.form(
  3239. "漢字宮",
  3240. $$("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" }), {
  3241. "id": "hanUrl",
  3242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3243. "onresize": function () { }
  3244. }, {
  3245. closecallback: function () { }
  3246. }, { "style": { "height": "36px" } }).form; //創建窗體
  3247. _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); } }
  3248. break;
  3249. }
  3250. case "index":
  3251. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3252. setTimeout(() => {
  3253. U.MD.U.L.login();
  3254. }, 2000);
  3255. } else {
  3256. _formdiv = new U.UF.UI.form(
  3257. "課程中心",
  3258. $$("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 }), {
  3259. "id": "study",
  3260. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3261. "onresize": function () { }
  3262. }, {
  3263. closecallback: function () { }
  3264. }, { "style": { "height": "36px" } }).form; //創建窗體
  3265. _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); } }
  3266. break;
  3267. }
  3268. case "dataClass":
  3269. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3270. setTimeout(() => {
  3271. U.MD.U.L.login();
  3272. }, 2000);
  3273. } else {
  3274. _formdiv = new U.UF.UI.form(
  3275. "數據報告",
  3276. $$("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 }), {
  3277. "id": "dataClass",
  3278. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3279. "onresize": function () { }
  3280. }, {
  3281. closecallback: function () { }
  3282. }, { "style": { "height": "36px" } }).form; //創建窗體
  3283. _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); } }
  3284. break;
  3285. }
  3286. case "opencCscl":
  3287. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3288. setTimeout(() => {
  3289. U.MD.U.L.login();
  3290. }, 2000);
  3291. } else {
  3292. _formdiv = new U.UF.UI.form(
  3293. "協同建構",
  3294. $$("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 }), {
  3295. "id": "futureClass",
  3296. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3297. "onresize": function () { }
  3298. }, {
  3299. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3300. }, { "style": { "height": "36px" } }).form; //創建窗體
  3301. _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); } }
  3302. break;
  3303. }
  3304. case "openCourseUpdate":
  3305. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3306. setTimeout(() => {
  3307. U.MD.U.L.login();
  3308. }, 2000);
  3309. } else {
  3310. _formdiv = new U.UF.UI.form(
  3311. "課程管理",
  3312. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course/addCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3313. "id": "openCourseUpdate",
  3314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3315. "onresize": function () { }
  3316. }, {
  3317. closecallback: function () { }
  3318. }, { "style": { "height": "36px" } }).form; //創建窗體
  3319. _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); } }
  3320. break;
  3321. }
  3322. case "openCourseEUpdate":
  3323. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3324. setTimeout(() => {
  3325. U.MD.U.L.login();
  3326. }, 2000);
  3327. } else {
  3328. _formdiv = new U.UF.UI.form(
  3329. "課程管理",
  3330. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/course/addCourseE?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  3331. "id": "openCourseUpdate",
  3332. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3333. "onresize": function () { }
  3334. }, {
  3335. closecallback: function () { }
  3336. }, { "style": { "height": "36px" } }).form; //創建窗體
  3337. _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); } }
  3338. break;
  3339. }
  3340. }
  3341. }
  3342. U.MD.D.I.openApplication = function (str, obj, info) {
  3343. obj = obj || {};
  3344. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  3345. _formdiv, //創建任務欄時同時彈出的窗體元素。
  3346. _userinfo = US.userInfo, //登錄用戶信息
  3347. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  3348. _oid = obj.organizeid || _userinfo.organizeid,
  3349. _type = US.userInfo.type,
  3350. _org = US.userInfo.org,
  3351. _role = US.userInfo.role,
  3352. _classId = US.userInfo.classid,
  3353. _TscreenType = 1
  3354. _screenType = 2,
  3355. _SscreenType = 3;
  3356. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3357. return;
  3358. }
  3359. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3360. switch (str) {
  3361. case "studnetProject": //好友打開
  3362. _formdiv = new U.UF.UI.form(
  3363. "我的項目",
  3364. $$("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 }), {
  3365. "id": "studnetProject",
  3366. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3367. "onresize": function () { }
  3368. }, {
  3369. closecallback: function () { }
  3370. }, { "style": { "height": "36px" } }).form; //創建窗體
  3371. _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); } }
  3372. break;
  3373. case "studentEvaluate": //好友打開
  3374. _formdiv = new U.UF.UI.form(
  3375. "我的評價",
  3376. $$("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 }), {
  3377. "id": "studentEvaluate",
  3378. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3379. "onresize": function () { }
  3380. }, {
  3381. closecallback: function () { }
  3382. }, { "style": { "height": "36px" } }).form; //創建窗體
  3383. _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); } }
  3384. break;
  3385. case "my":
  3386. _formdiv = new U.UF.UI.form(
  3387. "我的資料",
  3388. $$("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 }), {
  3389. "id": "my",
  3390. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3391. "onresize": function () { }
  3392. }, {
  3393. closecallback: function () { }
  3394. }, { "style": { "height": "36px" } }).form; //創建窗體
  3395. _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); } }
  3396. break;
  3397. case "program":
  3398. _formdiv = new U.UF.UI.form(
  3399. "編程平臺",
  3400. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3401. "id": "program",
  3402. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3403. "onresize": function () { }
  3404. }, {
  3405. closecallback: function () { }
  3406. }, { "style": { "height": "36px" } }).form; //創建窗體
  3407. _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); } }
  3408. break;
  3409. case "library":
  3410. _formdiv = new U.UF.UI.form(
  3411. "素材庫",
  3412. $$("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 }), {
  3413. "id": "library",
  3414. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3415. "onresize": function () { }
  3416. }, {
  3417. closecallback: function () { }
  3418. }, { "style": { "height": "36px" } }).form; //創建窗體
  3419. _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); } }
  3420. break;
  3421. case "whiteboard":
  3422. _formdiv = new U.UF.UI.form(
  3423. "電子白板",
  3424. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3425. "id": "whiteboard",
  3426. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3427. "onresize": function () { }
  3428. }, {
  3429. closecallback: function () { }
  3430. }, { "style": { "height": "36px" } }).form; //創建窗體
  3431. _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); } }
  3432. break;
  3433. case "investigation":
  3434. _formdiv = new U.UF.UI.form(
  3435. "問卷調查",
  3436. $$("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 }), {
  3437. "id": "investigation",
  3438. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3439. "onresize": function () { }
  3440. }, {
  3441. closecallback: function () { }
  3442. }, { "style": { "height": "36px" } }).form; //創建窗體
  3443. _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); } }
  3444. break;
  3445. case "note":
  3446. _formdiv = new U.UF.UI.form(
  3447. "便簽分類",
  3448. $$("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 }), {
  3449. "id": "note",
  3450. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3451. "onresize": function () { }
  3452. }, {
  3453. closecallback: function () { }
  3454. }, { "style": { "height": "36px" } }).form; //創建窗體
  3455. _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); } }
  3456. break;
  3457. // case "score":
  3458. // _formdiv = new U.UF.UI.form(
  3459. // "量規評分",
  3460. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3461. // "id": "score",
  3462. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3463. // "onresize": function() {}
  3464. // }, {
  3465. // closecallback: function() {}
  3466. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3467. // _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); } }
  3468. // break;
  3469. case "mind":
  3470. _formdiv = new U.UF.UI.form(
  3471. "思維導圖",
  3472. $$("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"
  3473. "id": "mind",
  3474. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3475. "onresize": function () { }
  3476. }, {
  3477. closecallback: function () { }
  3478. }, { "style": { "height": "36px" } }).form; //創建窗體
  3479. _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); } }
  3480. break;
  3481. case "doc":
  3482. // U.MD.D.I.isRoom();
  3483. _formdiv = new U.UF.UI.form(
  3484. "協同文檔",
  3485. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3486. "id": "doc",
  3487. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3488. "onresize": function () { }
  3489. }, {
  3490. closecallback: function () { }
  3491. }, { "style": { "height": "36px" } }).form; //創建窗體
  3492. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3493. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3494. // })
  3495. _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); } }
  3496. break;
  3497. case "studentStudy":
  3498. _formdiv = new U.UF.UI.form(
  3499. "課程中心",
  3500. $$("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
  3501. "id": "studentStudy",
  3502. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3503. "onresize": function () { }
  3504. }, {
  3505. closecallback: function () { }
  3506. }, { "style": { "height": "36px" } }).form; //創建窗體
  3507. _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); } }
  3508. break;
  3509. case "train": //好友打開
  3510. _formdiv = new U.UF.UI.form(
  3511. "訓練平臺",
  3512. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3513. "id": "train",
  3514. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3515. "onresize": function () { }
  3516. }, {
  3517. closecallback: function () { }
  3518. }, { "style": { "height": "36px" } }).form; //創建窗體
  3519. _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); } }
  3520. break;
  3521. case "mindNetwork": //好友打開
  3522. _formdiv = new U.UF.UI.form(
  3523. "思維網格",
  3524. $$("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 }), {
  3525. "id": "mindNetwork",
  3526. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3527. "onresize": function () { }
  3528. }, {
  3529. closecallback: function () { }
  3530. }, { "style": { "height": "36px" } }).form; //創建窗體
  3531. _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); } }
  3532. break;
  3533. case "studentClassRoom": //好友打開
  3534. _formdiv = new U.UF.UI.form(
  3535. "實時課堂",
  3536. $$("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 }), {
  3537. "id": "studentClassRoom",
  3538. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3539. "onresize": function () { }
  3540. }, {
  3541. closecallback: function () { }
  3542. }, { "style": { "height": "36px" } }).form; //創建窗體
  3543. _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); } }
  3544. setTimeout(() => {
  3545. U.UF.F.windowZooming(_formdiv)
  3546. }, 0);
  3547. break;
  3548. }
  3549. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3550. switch (str) {
  3551. case "studnetProject": //好友打開
  3552. _formdiv = new U.UF.UI.form(
  3553. "我的項目",
  3554. $$("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 }), {
  3555. "id": "studnetProject",
  3556. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3557. "onresize": function () { }
  3558. }, {
  3559. closecallback: function () { }
  3560. }, { "style": { "height": "36px" } }).form; //創建窗體
  3561. _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); } }
  3562. break;
  3563. case "studentEvaluate": //好友打開
  3564. _formdiv = new U.UF.UI.form(
  3565. "我的評價",
  3566. $$("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 }), {
  3567. "id": "studentEvaluate",
  3568. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3569. "onresize": function () { }
  3570. }, {
  3571. closecallback: function () { }
  3572. }, { "style": { "height": "36px" } }).form; //創建窗體
  3573. _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); } }
  3574. break;
  3575. case "my":
  3576. _formdiv = new U.UF.UI.form(
  3577. "我的資料",
  3578. $$("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 }), {
  3579. "id": "my",
  3580. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3581. "onresize": function () { }
  3582. }, {
  3583. closecallback: function () { }
  3584. }, { "style": { "height": "36px" } }).form; //創建窗體
  3585. _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); } }
  3586. break;
  3587. case "program":
  3588. _formdiv = new U.UF.UI.form(
  3589. "編程平臺",
  3590. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3591. "id": "program",
  3592. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3593. "onresize": function () { }
  3594. }, {
  3595. closecallback: function () { }
  3596. }, { "style": { "height": "36px" } }).form; //創建窗體
  3597. _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); } }
  3598. break;
  3599. case "library":
  3600. _formdiv = new U.UF.UI.form(
  3601. "素材庫",
  3602. $$("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 }), {
  3603. "id": "library",
  3604. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3605. "onresize": function () { }
  3606. }, {
  3607. closecallback: function () { }
  3608. }, { "style": { "height": "36px" } }).form; //創建窗體
  3609. _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); } }
  3610. break;
  3611. case "whiteboard":
  3612. _formdiv = new U.UF.UI.form(
  3613. "電子白板",
  3614. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3615. "id": "whiteboard",
  3616. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3617. "onresize": function () { }
  3618. }, {
  3619. closecallback: function () { }
  3620. }, { "style": { "height": "36px" } }).form; //創建窗體
  3621. _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); } }
  3622. break;
  3623. case "investigation":
  3624. _formdiv = new U.UF.UI.form(
  3625. "問卷調查",
  3626. $$("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 }), {
  3627. "id": "investigation",
  3628. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3629. "onresize": function () { }
  3630. }, {
  3631. closecallback: function () { }
  3632. }, { "style": { "height": "36px" } }).form; //創建窗體
  3633. _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); } }
  3634. break;
  3635. case "note":
  3636. _formdiv = new U.UF.UI.form(
  3637. "便簽分類",
  3638. $$("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 }), {
  3639. "id": "note",
  3640. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3641. "onresize": function () { }
  3642. }, {
  3643. closecallback: function () { }
  3644. }, { "style": { "height": "36px" } }).form; //創建窗體
  3645. _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); } }
  3646. break;
  3647. // case "score":
  3648. // _formdiv = new U.UF.UI.form(
  3649. // "量規評分",
  3650. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3651. // "id": "score",
  3652. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3653. // "onresize": function() {}
  3654. // }, {
  3655. // closecallback: function() {}
  3656. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3657. // _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); } }
  3658. // break;
  3659. case "mind":
  3660. _formdiv = new U.UF.UI.form(
  3661. "思維導圖",
  3662. $$("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"
  3663. "id": "mind",
  3664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3665. "onresize": function () { }
  3666. }, {
  3667. closecallback: function () { }
  3668. }, { "style": { "height": "36px" } }).form; //創建窗體
  3669. _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); } }
  3670. break;
  3671. case "doc":
  3672. // U.MD.D.I.isRoom();
  3673. _formdiv = new U.UF.UI.form(
  3674. "協同文檔",
  3675. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3676. "id": "doc",
  3677. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3678. "onresize": function () { }
  3679. }, {
  3680. closecallback: function () { }
  3681. }, { "style": { "height": "36px" } }).form; //創建窗體
  3682. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3683. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3684. })
  3685. _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); } }
  3686. break;
  3687. case "train": //好友打開
  3688. _formdiv = new U.UF.UI.form(
  3689. "訓練平臺",
  3690. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3691. "id": "train",
  3692. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3693. "onresize": function () { }
  3694. }, {
  3695. closecallback: function () { }
  3696. }, { "style": { "height": "36px" } }).form; //創建窗體
  3697. _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); } }
  3698. break;
  3699. case "studentStudy":
  3700. _formdiv = new U.UF.UI.form(
  3701. "課程中心",
  3702. $$("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
  3703. "id": "studentStudy",
  3704. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3705. "onresize": function () { }
  3706. }, {
  3707. closecallback: function () { }
  3708. }, { "style": { "height": "36px" } }).form; //創建窗體
  3709. _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); } }
  3710. break;
  3711. case "mindNetwork": //好友打開
  3712. _formdiv = new U.UF.UI.form(
  3713. "思維網格",
  3714. $$("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 }), {
  3715. "id": "mindNetwork",
  3716. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3717. "onresize": function () { }
  3718. }, {
  3719. closecallback: function () { }
  3720. }, { "style": { "height": "36px" } }).form; //創建窗體
  3721. _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); } }
  3722. break;
  3723. case "studentClassRoom": //好友打開
  3724. _formdiv = new U.UF.UI.form(
  3725. "實時課堂",
  3726. $$("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 }), {
  3727. "id": "studentClassRoom",
  3728. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3729. "onresize": function () { }
  3730. }, {
  3731. closecallback: function () { }
  3732. }, { "style": { "height": "36px" } }).form; //創建窗體
  3733. _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); } }
  3734. setTimeout(() => {
  3735. U.UF.F.windowZooming(_formdiv)
  3736. }, 0);
  3737. break;
  3738. }
  3739. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3740. //選擇應用處理
  3741. switch (str) {
  3742. case "project": //好友打開
  3743. _formdiv = new U.UF.UI.form(
  3744. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  3745. $$("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 }), {
  3746. "id": "project",
  3747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3748. "onresize": function () { }
  3749. }, {
  3750. closecallback: function () { }
  3751. }, { "style": { "height": "36px" } }).form; //創建窗體
  3752. _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); } }
  3753. break;
  3754. case "student":
  3755. _formdiv = new U.UF.UI.form(
  3756. "學生管理",
  3757. $$("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 }), {
  3758. "id": "student",
  3759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3760. "onresize": function () { }
  3761. }, {
  3762. closecallback: function () { }
  3763. }, { "style": { "height": "36px" } }).form; //創建窗體
  3764. _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); } }
  3765. break;
  3766. case "evaluate":
  3767. _formdiv = new U.UF.UI.form(
  3768. "學生評價",
  3769. $$("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 }), {
  3770. "id": "evaluate",
  3771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3772. "onresize": function () { }
  3773. }, {
  3774. closecallback: function () { }
  3775. }, { "style": { "height": "36px" } }).form; //創建窗體
  3776. _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); } }
  3777. break;
  3778. case "sys":
  3779. _formdiv = new U.UF.UI.form(
  3780. "目標管理",
  3781. $$("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 }), {
  3782. "id": "sys",
  3783. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3784. "onresize": function () { }
  3785. }, {
  3786. closecallback: function () { }
  3787. }, { "style": { "height": "36px" } }).form; //創建窗體
  3788. _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); } }
  3789. break;
  3790. case "courseDesign":
  3791. _formdiv = new U.UF.UI.form(
  3792. "項目設計",
  3793. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3794. "id": "courseDesign",
  3795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3796. "onresize": function () { }
  3797. }, {
  3798. closecallback: function () { }
  3799. }, { "style": { "height": "36px" } }).form; //創建窗體
  3800. _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); } }
  3801. break;
  3802. case "program":
  3803. _formdiv = new U.UF.UI.form(
  3804. "編程平臺",
  3805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3806. "id": "program",
  3807. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3808. "onresize": function () { }
  3809. }, {
  3810. closecallback: function () { }
  3811. }, { "style": { "height": "36px" } }).form; //創建窗體
  3812. _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); } }
  3813. break;
  3814. case "class":
  3815. _formdiv = new U.UF.UI.form(
  3816. "班級管理",
  3817. $$("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 }), {
  3818. "id": "class",
  3819. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3820. "onresize": function () { }
  3821. }, {
  3822. closecallback: function () { }
  3823. }, { "style": { "height": "36px" } }).form; //創建窗體
  3824. _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); } }
  3825. break;
  3826. case "Grade":
  3827. _formdiv = new U.UF.UI.form(
  3828. "年級管理",
  3829. $$("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 }), {
  3830. "id": "Grade",
  3831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3832. "onresize": function () { }
  3833. }, {
  3834. closecallback: function () { }
  3835. }, { "style": { "height": "36px" } }).form; //創建窗體
  3836. _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); } }
  3837. break;
  3838. case "teacherOffice":
  3839. _formdiv = new U.UF.UI.form(
  3840. "教研室",
  3841. $$("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 }), {
  3842. "id": "teacherOffice",
  3843. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3844. "onresize": function () { }
  3845. }, {
  3846. closecallback: function () { }
  3847. }, { "style": { "height": "36px" } }).form; //創建窗體
  3848. _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); } }
  3849. break;
  3850. case "my":
  3851. _formdiv = new U.UF.UI.form(
  3852. "我的資料",
  3853. $$("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 }), {
  3854. "id": "my",
  3855. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3856. "onresize": function () { }
  3857. }, {
  3858. closecallback: function () { }
  3859. }, { "style": { "height": "36px" } }).form; //創建窗體
  3860. _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); } }
  3861. break;
  3862. case "notice":
  3863. _formdiv = new U.UF.UI.form(
  3864. "通知公告",
  3865. $$("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 }), {
  3866. "id": "notice",
  3867. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3868. "onresize": function () { }
  3869. }, {
  3870. closecallback: function () { }
  3871. }, { "style": { "height": "36px" } }).form; //創建窗體
  3872. _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); } }
  3873. break;
  3874. case "library":
  3875. _formdiv = new U.UF.UI.form(
  3876. "素材庫",
  3877. $$("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 }), {
  3878. "id": "library",
  3879. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3880. "onresize": function () { }
  3881. }, {
  3882. closecallback: function () { }
  3883. }, { "style": { "height": "36px" } }).form; //創建窗體
  3884. _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); } }
  3885. break;
  3886. case "whiteboard":
  3887. _formdiv = new U.UF.UI.form(
  3888. "電子白板",
  3889. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3890. "id": "whiteboard",
  3891. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3892. "onresize": function () { }
  3893. }, {
  3894. closecallback: function () { }
  3895. }, { "style": { "height": "36px" } }).form; //創建窗體
  3896. _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); } }
  3897. break;
  3898. case "investigation":
  3899. _formdiv = new U.UF.UI.form(
  3900. "問卷調查",
  3901. $$("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 }), {
  3902. "id": "investigation",
  3903. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3904. "onresize": function () { }
  3905. }, {
  3906. closecallback: function () { }
  3907. }, { "style": { "height": "36px" } }).form; //創建窗體
  3908. _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); } }
  3909. break;
  3910. case "note":
  3911. _formdiv = new U.UF.UI.form(
  3912. "便簽分類",
  3913. $$("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 }), {
  3914. "id": "note",
  3915. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3916. "onresize": function () { }
  3917. }, {
  3918. closecallback: function () { }
  3919. }, { "style": { "height": "36px" } }).form; //創建窗體
  3920. _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); } }
  3921. break;
  3922. // case "score":
  3923. // _formdiv = new U.UF.UI.form(
  3924. // "量規評分",
  3925. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3926. // "id": "score",
  3927. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3928. // "onresize": function() {}
  3929. // }, {
  3930. // closecallback: function() {}
  3931. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3932. // _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); } }
  3933. // break;
  3934. case "mind":
  3935. _formdiv = new U.UF.UI.form(
  3936. "思維導圖",
  3937. $$("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"
  3938. "id": "mind",
  3939. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3940. "onresize": function () { }
  3941. }, {
  3942. closecallback: function () { }
  3943. }, { "style": { "height": "36px" } }).form; //創建窗體
  3944. _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); } }
  3945. break;
  3946. case "doc":
  3947. // U.MD.D.I.isRoom();
  3948. _formdiv = new U.UF.UI.form(
  3949. "協同文檔",
  3950. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3951. "id": "doc",
  3952. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3953. "onresize": function () { }
  3954. }, {
  3955. closecallback: function () { }
  3956. }, { "style": { "height": "36px" } }).form; //創建窗體
  3957. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3958. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3959. })
  3960. _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); } }
  3961. break;
  3962. case "study":
  3963. _formdiv = new U.UF.UI.form(
  3964. "課程中心",
  3965. $$("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
  3966. "id": "study",
  3967. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3968. "onresize": function () { }
  3969. }, {
  3970. closecallback: function () { }
  3971. }, { "style": { "height": "36px" } }).form; //創建窗體
  3972. _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); } }
  3973. break;
  3974. case "mindNetwork": //好友打開
  3975. _formdiv = new U.UF.UI.form(
  3976. "思維網格",
  3977. $$("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 }), {
  3978. "id": "mindNetwork",
  3979. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3980. "onresize": function () { }
  3981. }, {
  3982. closecallback: function () { }
  3983. }, { "style": { "height": "36px" } }).form; //創建窗體
  3984. _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); } }
  3985. break;
  3986. case "train": //好友打開
  3987. _formdiv = new U.UF.UI.form(
  3988. "訓練平臺",
  3989. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3990. "id": "mindNetwork",
  3991. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3992. "onresize": function () { }
  3993. }, {
  3994. closecallback: function () { }
  3995. }, { "style": { "height": "36px" } }).form; //創建窗體
  3996. _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); } }
  3997. break;
  3998. case "teacherClassRoom": //好友打開
  3999. _formdiv = new U.UF.UI.form(
  4000. "實時課堂",
  4001. $$("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 }), {
  4002. "id": "teacherClassRoom",
  4003. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4004. "onresize": function () { }
  4005. }, {
  4006. closecallback: function () { }
  4007. }, { "style": { "height": "36px" } }).form; //創建窗體
  4008. _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); } }
  4009. setTimeout(() => {
  4010. U.UF.F.windowZooming(_formdiv)
  4011. }, 0);
  4012. break;
  4013. }
  4014. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4015. switch (str) {
  4016. case "project": //好友打開
  4017. _formdiv = new U.UF.UI.form(
  4018. "課程管理",
  4019. $$("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 }), {
  4020. "id": "project",
  4021. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4022. "onresize": function () { }
  4023. }, {
  4024. closecallback: function () { }
  4025. }, { "style": { "height": "36px" } }).form; //創建窗體
  4026. _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); } }
  4027. break;
  4028. case "evaluate":
  4029. _formdiv = new U.UF.UI.form(
  4030. "學生評價",
  4031. $$("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 }), {
  4032. "id": "evaluate",
  4033. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4034. "onresize": function () { }
  4035. }, {
  4036. closecallback: function () { }
  4037. }, { "style": { "height": "36px" } }).form; //創建窗體
  4038. _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); } }
  4039. break;
  4040. case "notice":
  4041. _formdiv = new U.UF.UI.form(
  4042. "通知公告",
  4043. $$("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 }), {
  4044. "id": "notice",
  4045. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4046. "onresize": function () { }
  4047. }, {
  4048. closecallback: function () { }
  4049. }, { "style": { "height": "36px" } }).form; //創建窗體
  4050. _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); } }
  4051. break;
  4052. case "stuLibrary":
  4053. _formdiv = new U.UF.UI.form(
  4054. "學習資料",
  4055. $$("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 }), {
  4056. "id": "stuLibrary",
  4057. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4058. "onresize": function () { }
  4059. }, {
  4060. closecallback: function () { }
  4061. }, { "style": { "height": "36px" } }).form; //創建窗體
  4062. _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); } }
  4063. break;
  4064. case "program":
  4065. _formdiv = new U.UF.UI.form(
  4066. "編程平臺",
  4067. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4068. "id": "program",
  4069. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4070. "onresize": function () { }
  4071. }, {
  4072. closecallback: function () { }
  4073. }, { "style": { "height": "36px" } }).form; //創建窗體
  4074. _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); } }
  4075. break;
  4076. case "whiteboard":
  4077. _formdiv = new U.UF.UI.form(
  4078. "電子白板",
  4079. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4080. "id": "whiteboard",
  4081. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4082. "onresize": function () { }
  4083. }, {
  4084. closecallback: function () { }
  4085. }, { "style": { "height": "36px" } }).form; //創建窗體
  4086. _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); } }
  4087. break;
  4088. case "investigation":
  4089. _formdiv = new U.UF.UI.form(
  4090. "問卷調查",
  4091. $$("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 }), {
  4092. "id": "investigation",
  4093. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4094. "onresize": function () { }
  4095. }, {
  4096. closecallback: function () { }
  4097. }, { "style": { "height": "36px" } }).form; //創建窗體
  4098. _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); } }
  4099. break;
  4100. case "mind":
  4101. _formdiv = new U.UF.UI.form(
  4102. "思維導圖",
  4103. $$("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"
  4104. "id": "mind",
  4105. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4106. "onresize": function () { }
  4107. }, {
  4108. closecallback: function () { }
  4109. }, { "style": { "height": "36px" } }).form; //創建窗體
  4110. _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); } }
  4111. break;
  4112. case "doc":
  4113. // U.MD.D.I.isRoom();
  4114. _formdiv = new U.UF.UI.form(
  4115. "協同文檔",
  4116. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4117. "id": "doc",
  4118. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4119. "onresize": function () { }
  4120. }, {
  4121. closecallback: function () { }
  4122. }, { "style": { "height": "36px" } }).form; //創建窗體
  4123. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4124. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4125. })
  4126. _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); } }
  4127. break;
  4128. case "study":
  4129. _formdiv = new U.UF.UI.form(
  4130. "課程中心",
  4131. $$("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
  4132. "id": "study",
  4133. "style": { "width": "100%", "height": "100%", "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/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4139. break;
  4140. case "mindNetwork": //好友打開
  4141. _formdiv = new U.UF.UI.form(
  4142. "思維網格",
  4143. $$("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 }), {
  4144. "id": "mindNetwork",
  4145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4146. "onresize": function () { }
  4147. }, {
  4148. closecallback: function () { }
  4149. }, { "style": { "height": "36px" } }).form; //創建窗體
  4150. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思維網格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4151. break;
  4152. case "train": //好友打開
  4153. _formdiv = new U.UF.UI.form(
  4154. "訓練平臺",
  4155. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4156. "id": "train",
  4157. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4158. "onresize": function () { }
  4159. }, {
  4160. closecallback: function () { }
  4161. }, { "style": { "height": "36px" } }).form; //創建窗體
  4162. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4163. break;
  4164. case "sys":
  4165. _formdiv = new U.UF.UI.form(
  4166. "目標管理",
  4167. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/evaluation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4168. "id": "sys",
  4169. "style": { "width": "100%", "height": "100%", "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/evalua.png)" }, "name": "目標管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4175. break;
  4176. case "courseDesign":
  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": "/course-design-vue" }), {
  4180. "id": "courseDesign",
  4181. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4182. "onresize": function () { }
  4183. }, {
  4184. closecallback: function () { }
  4185. }, { "style": { "height": "36px" } }).form; //創建窗體
  4186. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "項目設計", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4187. break;
  4188. }
  4189. } else if (!_type) {
  4190. switch (str) {
  4191. case "my":
  4192. _formdiv = new U.UF.UI.form(
  4193. "我的資料",
  4194. $$("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 }), {
  4195. "id": "my",
  4196. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4197. "onresize": function () { }
  4198. }, {
  4199. closecallback: function () { }
  4200. }, { "style": { "height": "36px" } }).form; //創建窗體
  4201. _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); } }
  4202. break;
  4203. }
  4204. }
  4205. switch (str) {
  4206. // AIprogram2 AI體驗 aihub.cocorobo.cn
  4207. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  4208. // AIprogram AI編程 ai-blockly.cocorobo.cn
  4209. case "formulaEdi": //公式編輯
  4210. _formdiv = new U.UF.UI.form(
  4211. "公式編輯",
  4212. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4213. "id": "formulaEdi",
  4214. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4215. "onresize": function () { }
  4216. }, {
  4217. closecallback: function () { }
  4218. }, { "style": { "height": "36px" } }).form; //創建窗體
  4219. _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); } }
  4220. break;
  4221. case "molStr": //分子結構
  4222. _formdiv = new U.UF.UI.form(
  4223. "分子結構",
  4224. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4225. "id": "molStr",
  4226. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4227. "onresize": function () { }
  4228. }, {
  4229. closecallback: function () { }
  4230. }, { "style": { "height": "36px" } }).form; //創建窗體
  4231. _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); } }
  4232. break;
  4233. case "timeAxis": //時間軸
  4234. _formdiv = new U.UF.UI.form(
  4235. "時間軸",
  4236. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4237. "id": "timeAxis",
  4238. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4239. "onresize": function () { }
  4240. }, {
  4241. closecallback: function () { }
  4242. }, { "style": { "height": "36px" } }).form; //創建窗體
  4243. _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); } }
  4244. break;
  4245. case "AIprogram2": //AI體驗
  4246. _formdiv = new U.UF.UI.form(
  4247. "AI體驗",
  4248. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4249. "id": "AIprogram2",
  4250. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4251. "onresize": function () { }
  4252. }, {
  4253. closecallback: function () { }
  4254. }, { "style": { "height": "36px" } }).form; //創建窗體
  4255. _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); } }
  4256. break;
  4257. case "Pythonprogram": //python編程
  4258. _formdiv = new U.UF.UI.form(
  4259. "Python編程",
  4260. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4261. "id": "Pythonprogram",
  4262. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4263. "onresize": function () { }
  4264. }, {
  4265. closecallback: function () { }
  4266. }, { "style": { "height": "36px" } }).form; //創建窗體
  4267. _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); } }
  4268. break;
  4269. case "AIprogram": //ai編程
  4270. _formdiv = new U.UF.UI.form(
  4271. "AI編程平臺",
  4272. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4273. "id": "AIprogram",
  4274. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4275. "onresize": function () { }
  4276. }, {
  4277. closecallback: function () { }
  4278. }, { "style": { "height": "36px" } }).form; //創建窗體
  4279. _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); } }
  4280. break;
  4281. case "CocoPi": //CocoPi
  4282. _formdiv = new U.UF.UI.form(
  4283. "CocoPi",
  4284. $$("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" }), {
  4285. "id": "CocoPi",
  4286. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4287. "onresize": function () { }
  4288. }, {
  4289. closecallback: function () { }
  4290. }, { "style": { "height": "36px" } }).form; //創建窗體
  4291. _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); } }
  4292. break;
  4293. case "Wood": //Wood
  4294. _formdiv = new U.UF.UI.form(
  4295. "海龜編程",
  4296. $$("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/" }), {
  4297. "id": "Wood",
  4298. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4299. "onresize": function () { }
  4300. }, {
  4301. closecallback: function () { }
  4302. }, { "style": { "height": "36px" } }).form; //創建窗體
  4303. _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); } }
  4304. break;
  4305. case "car": //模擬駕駛
  4306. _formdiv = new U.UF.UI.form(
  4307. "模擬駕駛",
  4308. $$("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/" }), {
  4309. "id": "car",
  4310. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4311. "onresize": function () { }
  4312. }, {
  4313. closecallback: function () { }
  4314. }, { "style": { "height": "36px" } }).form; //創建窗體
  4315. _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); } }
  4316. break;
  4317. case "lineSearch": //路徑搜索
  4318. _formdiv = new U.UF.UI.form(
  4319. "路徑搜索",
  4320. $$("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/" }), {
  4321. "id": "lineSearch",
  4322. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4323. "onresize": function () { }
  4324. }, {
  4325. closecallback: function () { }
  4326. }, { "style": { "height": "36px" } }).form; //創建窗體
  4327. _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); } }
  4328. break;
  4329. case "deepLearning": //深度學習
  4330. _formdiv = new U.UF.UI.form(
  4331. "深度學習",
  4332. $$("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/#" }), {
  4333. "id": "deepLearning",
  4334. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4335. "onresize": function () { }
  4336. }, {
  4337. closecallback: function () { }
  4338. }, { "style": { "height": "36px" } }).form; //創建窗體
  4339. _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); } }
  4340. break;
  4341. case "allHistory": //深度學習
  4342. _formdiv = new U.UF.UI.form(
  4343. "全歷史",
  4344. $$("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/" }), {
  4345. "id": "allHistory",
  4346. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4347. "onresize": function () { }
  4348. }, {
  4349. closecallback: function () { }
  4350. }, { "style": { "height": "36px" } }).form; //創建窗體
  4351. _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); } }
  4352. break;
  4353. case "chatPDF": //ai編程
  4354. _formdiv = new U.UF.UI.form(
  4355. "chatPDF",
  4356. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4357. "id": "chatPDF",
  4358. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4359. "onresize": function () { }
  4360. }, {
  4361. closecallback: function () { }
  4362. }, { "style": { "height": "36px" } }).form; //創建窗體
  4363. _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); } }
  4364. break;
  4365. case "resources": //國家教育
  4366. _formdiv = new U.UF.UI.form(
  4367. "國家教育",
  4368. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4369. "id": "resources",
  4370. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4371. "onresize": function () { }
  4372. }, {
  4373. closecallback: function () { }
  4374. }, { "style": { "height": "36px" } }).form; //創建窗體
  4375. _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); } }
  4376. break;
  4377. case "codeEdit": //源碼編輯
  4378. _formdiv = new U.UF.UI.form(
  4379. "源碼編輯",
  4380. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4381. "id": "codeEdit",
  4382. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4383. "onresize": function () { }
  4384. }, {
  4385. closecallback: function () { }
  4386. }, { "style": { "height": "36px" } }).form; //創建窗體
  4387. _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); } }
  4388. break; //
  4389. case "MindMap": //MindMap
  4390. _formdiv = new U.UF.UI.form(
  4391. "MindMap",
  4392. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4393. "id": "MindMap",
  4394. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4395. "onresize": function () { }
  4396. }, {
  4397. closecallback: function () { }
  4398. }, { "style": { "height": "36px" } }).form; //創建窗體
  4399. _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); } }
  4400. break;
  4401. case "netWorkPanel": //netWorkPanel
  4402. _formdiv = new U.UF.UI.form(
  4403. "netWorkPanel",
  4404. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4405. "id": "netWorkPanel",
  4406. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4407. "onresize": function () { }
  4408. }, {
  4409. closecallback: function () { }
  4410. }, { "style": { "height": "36px" } }).form; //創建窗體
  4411. _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); } }
  4412. break;
  4413. case "GeoGebra": //GeoGebra
  4414. _formdiv = new U.UF.UI.form(
  4415. "GeoGebra",
  4416. $$("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" }), {
  4417. "id": "GeoGebra",
  4418. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4419. "onresize": function () { }
  4420. }, {
  4421. closecallback: function () { }
  4422. }, { "style": { "height": "36px" } }).form; //創建窗體
  4423. _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); } }
  4424. break;
  4425. case "translation": //翻譯
  4426. _formdiv = new U.UF.UI.form(
  4427. "翻譯",
  4428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4429. "id": "translation",
  4430. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4431. "onresize": function () { }
  4432. }, {
  4433. closecallback: function () { }
  4434. }, { "style": { "height": "36px" } }).form; //創建窗體
  4435. _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); } }
  4436. break;
  4437. case "mohe": //魔盒
  4438. _formdiv = new U.UF.UI.form(
  4439. "魔盒識字",
  4440. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4441. "id": "mohe",
  4442. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4443. "onresize": function () { }
  4444. }, {
  4445. closecallback: function () { }
  4446. }, { "style": { "height": "36px" } }).form; //創建窗體
  4447. _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); } }
  4448. break;
  4449. case "24game": //24點
  4450. _formdiv = new U.UF.UI.form(
  4451. "24點",
  4452. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4453. "id": "24game",
  4454. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4455. "onresize": function () { }
  4456. }, {
  4457. closecallback: function () { }
  4458. }, { "style": { "height": "36px" } }).form; //創建窗體
  4459. _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); } }
  4460. break;
  4461. case "case":
  4462. _formdiv = new U.UF.UI.form(
  4463. "課程進展",
  4464. $$("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 }), {
  4465. "id": "case",
  4466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4467. "onresize": function () { }
  4468. }, {
  4469. closecallback: function () { }
  4470. }, { "style": { "height": "36px" } }).form; //創建窗體
  4471. _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); } }
  4472. break;
  4473. case "snf":
  4474. _formdiv = new U.UF.UI.form(
  4475. "賽諾梵",
  4476. $$("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" }), {
  4477. "id": "snf",
  4478. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4479. "onresize": function () { }
  4480. }, {
  4481. closecallback: function () { }
  4482. }, { "style": { "height": "36px" } }).form; //創建窗體
  4483. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "賽諾梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4484. break;
  4485. case "hanFamily":
  4486. _formdiv = new U.UF.UI.form(
  4487. "漢字家族",
  4488. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4489. "id": "hanFamily",
  4490. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4491. "onresize": function () { }
  4492. }, {
  4493. closecallback: function () { }
  4494. }, { "style": { "height": "36px" } }).form; //創建窗體
  4495. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "漢字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4496. break;
  4497. case "hanClassics":
  4498. _formdiv = new U.UF.UI.form(
  4499. "國學經典",
  4500. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4501. "id": "hanClassics",
  4502. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4503. "onresize": function () { }
  4504. }, {
  4505. closecallback: function () { }
  4506. }, { "style": { "height": "36px" } }).form; //創建窗體
  4507. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "國學經典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4508. break;
  4509. case "hanTraining":
  4510. _formdiv = new U.UF.UI.form(
  4511. "筆畫訓練",
  4512. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4513. "id": "hanTraining",
  4514. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4515. "onresize": function () { }
  4516. }, {
  4517. closecallback: function () { }
  4518. }, { "style": { "height": "36px" } }).form; //創建窗體
  4519. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "筆畫訓練", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4520. break;
  4521. case "hanClass":
  4522. _formdiv = new U.UF.UI.form(
  4523. "書法課堂",
  4524. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4525. "id": "hanClass",
  4526. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4527. "onresize": function () { }
  4528. }, {
  4529. closecallback: function () { }
  4530. }, { "style": { "height": "36px" } }).form; //創建窗體
  4531. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "書法課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4532. break;
  4533. case "han":
  4534. _formdiv = new U.UF.UI.form(
  4535. "漢字宮",
  4536. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4537. "id": "han",
  4538. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4539. "onresize": function () { }
  4540. }, {
  4541. closecallback: function () { }
  4542. }, { "style": { "height": "36px" } }).form; //創建窗體
  4543. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "漢字宮", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4544. break;
  4545. case "projectGM": //課程管理
  4546. _formdiv = new U.UF.UI.form(
  4547. "課程管理",
  4548. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4549. "id": "projectGM",
  4550. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4551. "onresize": function () { }
  4552. }, {
  4553. closecallback: function () { }
  4554. }, { "style": { "height": "36px" } }).form; //創建窗體
  4555. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "課程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4556. break;
  4557. case "studyGM": //課程中心
  4558. _formdiv = new U.UF.UI.form(
  4559. "課程中心",
  4560. $$("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
  4561. "id": "study",
  4562. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4563. "onresize": function () { }
  4564. }, {
  4565. closecallback: function () { }
  4566. }, { "style": { "height": "36px" } }).form; //創建窗體
  4567. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4568. break;
  4569. // studentGM
  4570. case "studentGM": //學生管理
  4571. _formdiv = new U.UF.UI.form(
  4572. "學生管理",
  4573. $$("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 }), {
  4574. "id": "studentGM",
  4575. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4576. "onresize": function () { }
  4577. }, {
  4578. closecallback: function () { }
  4579. }, { "style": { "height": "36px" } }).form; //創建窗體
  4580. _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); } }
  4581. break;
  4582. case "evaluateGM": //學生評價
  4583. _formdiv = new U.UF.UI.form(
  4584. "學生評價",
  4585. $$("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 }), {
  4586. "id": "evaluateGM",
  4587. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4588. "onresize": function () { }
  4589. }, {
  4590. closecallback: function () { }
  4591. }, { "style": { "height": "36px" } }).form; //創建窗體
  4592. _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); } }
  4593. break;
  4594. // classGM
  4595. case "classGM": //班級管理
  4596. _formdiv = new U.UF.UI.form(
  4597. "班級管理",
  4598. $$("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 }), {
  4599. "id": "classGM",
  4600. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4601. "onresize": function () { }
  4602. }, {
  4603. closecallback: function () { }
  4604. }, { "style": { "height": "36px" } }).form; //創建窗體
  4605. _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); } }
  4606. break;
  4607. // dataGM
  4608. case "dataGM":
  4609. _formdiv = new U.UF.UI.form(
  4610. "我的資料",
  4611. $$("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 }), {
  4612. "id": "dataGM",
  4613. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4614. "onresize": function () { }
  4615. }, {
  4616. closecallback: function () { }
  4617. }, { "style": { "height": "36px" } }).form; //創建窗體
  4618. _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); } }
  4619. break;
  4620. // caseGM
  4621. case "caseGM": //課程進展
  4622. _formdiv = new U.UF.UI.form(
  4623. "課程進展",
  4624. $$("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 }), {
  4625. "id": "caseGM",
  4626. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4627. "onresize": function () { }
  4628. }, {
  4629. closecallback: function () { }
  4630. }, { "style": { "height": "36px" } }).form; //創建窗體
  4631. _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); } }
  4632. break;
  4633. // meterialGM
  4634. case "meterialGM": //素材庫
  4635. _formdiv = new U.UF.UI.form(
  4636. "素材庫",
  4637. $$("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 }), {
  4638. "id": "meterialGM",
  4639. "style": { "width": "90%", "height": "90%", "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/gm/material.png)" }, "name": "素材庫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4645. break;
  4646. // evaluateSGM
  4647. case "evaluateSGM": //我的評價
  4648. _formdiv = new U.UF.UI.form(
  4649. "我的評價",
  4650. $$("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 }), {
  4651. "id": "evaluateSGM",
  4652. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4653. "onresize": function () { }
  4654. }, {
  4655. closecallback: function () { }
  4656. }, { "style": { "height": "36px" } }).form; //創建窗體
  4657. _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); } }
  4658. break;
  4659. case "jupyter": //jupyter
  4660. _formdiv = new U.UF.UI.form(
  4661. "jupyter",
  4662. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4663. "id": "jupyter",
  4664. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4665. "onresize": function () { }
  4666. }, {
  4667. closecallback: function () { }
  4668. }, { "style": { "height": "36px" } }).form; //創建窗體
  4669. _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); } }
  4670. break;
  4671. case "number": //數字實驗室
  4672. _formdiv = new U.UF.UI.form(
  4673. "數字實驗室",
  4674. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4675. "id": "number",
  4676. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4677. "onresize": function () { }
  4678. }, {
  4679. closecallback: function () { }
  4680. }, { "style": { "height": "36px" } }).form; //創建窗體
  4681. _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); } }
  4682. break;
  4683. case "studentCourse": //項目管理 學生
  4684. _formdiv = new U.UF.UI.form(
  4685. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4686. $$("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 }), {
  4687. "id": "studentCourse",
  4688. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4689. "onresize": function () { }
  4690. }, {
  4691. closecallback: function () { }
  4692. }, { "style": { "height": "36px" } }).form; //創建窗體
  4693. _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); } }
  4694. break;
  4695. case "studentCourseS": //項目管理 老師
  4696. _formdiv = new U.UF.UI.form(
  4697. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4698. $$("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 }), {
  4699. "id": "studentCourseS",
  4700. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4701. "onresize": function () { }
  4702. }, {
  4703. closecallback: function () { }
  4704. }, { "style": { "height": "36px" } }).form; //創建窗體
  4705. _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); } }
  4706. break;
  4707. case "studentIndex": //項目中心
  4708. _formdiv = new U.UF.UI.form(
  4709. "項目中心",
  4710. $$("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 }), {
  4711. "id": "studentIndex",
  4712. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4713. "onresize": function () { }
  4714. }, {
  4715. closecallback: function () { }
  4716. }, { "style": { "height": "36px" } }).form; //創建窗體
  4717. _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); } }
  4718. break;
  4719. case "CaseDesignS":
  4720. _formdiv = new U.UF.UI.form(
  4721. "項目進展",
  4722. $$("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 }), {
  4723. "id": "case",
  4724. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4725. "onresize": function () { }
  4726. }, {
  4727. closecallback: function () { }
  4728. }, { "style": { "height": "36px" } }).form; //創建窗體
  4729. _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); } }
  4730. break;
  4731. case "tcStudent": //騰訊學生管理
  4732. _formdiv = new U.UF.UI.form(
  4733. "學生管理",
  4734. $$("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 }), {
  4735. "id": "tcStudent",
  4736. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4737. "onresize": function () { }
  4738. }, {
  4739. closecallback: function () { }
  4740. }, { "style": { "height": "36px" } }).form; //創建窗體
  4741. _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); } }
  4742. break;
  4743. case "tcSchool": //騰訊學校管理
  4744. _formdiv = new U.UF.UI.form(
  4745. "學校管理",
  4746. $$("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 }), {
  4747. "id": "tcSchool",
  4748. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4749. "onresize": function () { }
  4750. }, {
  4751. closecallback: function () { }
  4752. }, { "style": { "height": "36px" } }).form; //創建窗體
  4753. _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); } }
  4754. break;
  4755. case "tcTeacher": //騰訊學校管理
  4756. _formdiv = new U.UF.UI.form(
  4757. "教師管理",
  4758. $$("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 }), {
  4759. "id": "tcTeacher",
  4760. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4761. "onresize": function () { }
  4762. }, {
  4763. closecallback: function () { }
  4764. }, { "style": { "height": "36px" } }).form; //創建窗體
  4765. _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); } }
  4766. break;
  4767. case "tcData": //騰訊我的資料
  4768. _formdiv = new U.UF.UI.form(
  4769. "我的資料",
  4770. $$("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 }), {
  4771. "id": "tcData",
  4772. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4773. "onresize": function () { }
  4774. }, {
  4775. closecallback: function () { }
  4776. }, { "style": { "height": "36px" } }).form; //創建窗體
  4777. _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); } }
  4778. break;
  4779. case "tcNotice": //騰訊消息通知
  4780. _formdiv = new U.UF.UI.form(
  4781. "消息通知",
  4782. $$("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 }), {
  4783. "id": "tcNotice",
  4784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4785. "onresize": function () { }
  4786. }, {
  4787. closecallback: function () { }
  4788. }, { "style": { "height": "36px" } }).form; //創建窗體
  4789. _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); } }
  4790. break;
  4791. case "myReport": //好友打開
  4792. _formdiv = new U.UF.UI.form(
  4793. "我的評價",
  4794. $$("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 }), {
  4795. "id": "myReport",
  4796. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4797. "onresize": function () { }
  4798. }, {
  4799. closecallback: function () { }
  4800. }, { "style": { "height": "36px" } }).form; //創建窗體
  4801. _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); } }
  4802. break;
  4803. case "learnAna": //好友打開
  4804. _formdiv = new U.UF.UI.form(
  4805. "學習分析",
  4806. $$("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 }), {
  4807. "id": "learnAna",
  4808. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4809. "onresize": function () { }
  4810. }, {
  4811. closecallback: function () { }
  4812. }, { "style": { "height": "36px" } }).form; //創建窗體
  4813. _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); } }
  4814. break;
  4815. case "AIChat": //AI共創
  4816. _formdiv = new U.UF.UI.form(
  4817. "AI共創",
  4818. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  4819. "id": "AIChat",
  4820. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4821. "onresize": function () { }
  4822. }, {
  4823. istop: true,
  4824. closecallback: function () { $("#aichat_icon").remove(); },
  4825. narrowcallback: function () {
  4826. if (!$("#aichat_icon")[0]) {
  4827. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4828. }
  4829. },
  4830. }, { "style": { "height": "36px" } }).form; //創建窗體
  4831. _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); } }
  4832. break;
  4833. case "ainew": //AI共創
  4834. _formdiv = new U.UF.UI.form(
  4835. "AI協同",
  4836. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  4837. "id": "ainew",
  4838. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4839. "onresize": function () { }
  4840. }, {
  4841. closecallback: function () { }
  4842. }, { "style": { "height": "36px" } }).form; //創建窗體
  4843. _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); } }
  4844. break;
  4845. case "gpt4": //gpt4
  4846. _formdiv = new U.UF.UI.form(
  4847. "AI助手",
  4848. $$("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 }), {
  4849. "id": "gpt4",
  4850. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4851. "onresize": function () { }
  4852. }, {
  4853. closecallback: function () { }
  4854. }, { "style": { "height": "36px" } }).form; //創建窗體
  4855. _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); } }
  4856. break;
  4857. case "aigpt": //gpt4
  4858. _formdiv = new U.UF.UI.form(
  4859. "AI助手+",
  4860. $$("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 }), {
  4861. "id": "aigpt",
  4862. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4863. "onresize": function () { }
  4864. }, {
  4865. closecallback: function () { }
  4866. }, { "style": { "height": "36px" } }).form; //創建窗體
  4867. _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); } }
  4868. break;
  4869. case "futureClass": //AI共創
  4870. _formdiv = new U.UF.UI.form(
  4871. "協同建構",
  4872. $$("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
  4873. "id": "synergyCourse",
  4874. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4875. "onresize": function () { }
  4876. }, {
  4877. closecallback: function () {
  4878. $("iframe", _formdiv)[0].contentWindow.loginout();
  4879. }
  4880. }, { "style": { "height": "36px" } }).form; //創建窗體
  4881. _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); } }
  4882. break;
  4883. case "aiagent": //ai agent
  4884. _formdiv = new U.UF.UI.form(
  4885. "AI Agent",
  4886. $$("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" }), {
  4887. "id": "AIAgent",
  4888. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4889. "onresize": function () { }
  4890. }, {
  4891. closecallback: function () { }
  4892. }, { "style": { "height": "36px" } }).form; //創建窗體
  4893. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4894. break;
  4895. case "dataBoard": //數據看板
  4896. _formdiv = new U.UF.UI.form(
  4897. "數據看板",
  4898. $$("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 }), {
  4899. "id": "dataBoard",
  4900. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4901. "onresize": function () { }
  4902. }, {
  4903. closecallback: function () { }
  4904. }, { "style": { "height": "36px" } }).form; //創建窗體
  4905. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoard.png)" }, "name": "數據看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4906. break;
  4907. case "dataBoardSies": //數據融合
  4908. _formdiv = new U.UF.UI.form(
  4909. "數據融合",
  4910. $$("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 }), {
  4911. "id": "dataBoardSies",
  4912. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4913. "onresize": function () { }
  4914. }, {
  4915. closecallback: function () { }
  4916. }, { "style": { "height": "36px" } }).form; //創建窗體
  4917. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardSies.png)" }, "name": "數據融合", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4918. break;
  4919. case "dataBoardNew": //數據看板
  4920. _formdiv = new U.UF.UI.form(
  4921. "綜合看板",
  4922. $$("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 }), {
  4923. "id": "dataBoardNew",
  4924. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4925. "onresize": function () { }
  4926. }, {
  4927. closecallback: function () { }
  4928. }, { "style": { "height": "36px" } }).form; //創建窗體
  4929. _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); } }
  4930. break;
  4931. case "dataBoardTest": //數據看板
  4932. _formdiv = new U.UF.UI.form(
  4933. "評測看板",
  4934. $$("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 }), {
  4935. "id": "dataBoardTest",
  4936. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4937. "onresize": function () { }
  4938. }, {
  4939. closecallback: function () { }
  4940. }, { "style": { "height": "36px" } }).form; //創建窗體
  4941. _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); } }
  4942. break;
  4943. case "AIAnalyse": //AI共創
  4944. _formdiv = new U.UF.UI.form(
  4945. "AI分析",
  4946. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  4947. "id": "AIAnalyse",
  4948. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4949. "onresize": function () { }
  4950. }, {
  4951. closecallback: function () { }
  4952. }, { "style": { "height": "36px" } }).form; //創建窗體
  4953. _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); } }
  4954. break;
  4955. case "studioCourse": //AI共創
  4956. _formdiv = new U.UF.UI.form(
  4957. "工作管理",
  4958. $$("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 }), {
  4959. "id": "studioCourse",
  4960. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4961. "onresize": function () { }
  4962. }, {
  4963. closecallback: function () { }
  4964. }, { "style": { "height": "36px" } }).form; //創建窗體
  4965. _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); } }
  4966. break;
  4967. case "studioIndex": //AI共創
  4968. _formdiv = new U.UF.UI.form(
  4969. "工作中心",
  4970. $$("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 }), {
  4971. "id": "studioIndex",
  4972. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4973. "onresize": function () { }
  4974. }, {
  4975. closecallback: function () { }
  4976. }, { "style": { "height": "36px" } }).form; //創建窗體
  4977. _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); } }
  4978. break;
  4979. case "source":
  4980. _formdiv = new U.UF.UI.form(
  4981. "教學資源",
  4982. $$("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 }), {
  4983. "id": "source",
  4984. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4985. "onresize": function () { }
  4986. }, {
  4987. closecallback: function () { }
  4988. }, { "style": { "height": "36px" } }).form; //創建窗體
  4989. _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); } }
  4990. break;
  4991. case "testTeacher":
  4992. _formdiv = new U.UF.UI.form(
  4993. "教師管理",
  4994. $$("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 }), {
  4995. "id": "testTeacher",
  4996. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4997. "onresize": function () { }
  4998. }, {
  4999. closecallback: function () { }
  5000. }, { "style": { "height": "36px" } }).form; //創建窗體
  5001. _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); } }
  5002. break;
  5003. case "testStudent":
  5004. _formdiv = new U.UF.UI.form(
  5005. "教師中心",
  5006. $$("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 }), {
  5007. "id": "testStudent",
  5008. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5009. "onresize": function () { }
  5010. }, {
  5011. closecallback: function () { }
  5012. }, { "style": { "height": "36px" } }).form; //創建窗體
  5013. _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); } }
  5014. break;
  5015. case "testTeacherSies":
  5016. _formdiv = new U.UF.UI.form(
  5017. "教師管理",
  5018. $$("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 }), {
  5019. "id": "testTeacherSies",
  5020. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5021. "onresize": function () { }
  5022. }, {
  5023. closecallback: function () { }
  5024. }, { "style": { "height": "36px" } }).form; //創建窗體
  5025. _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); } }
  5026. break;
  5027. case "testStudentSies":
  5028. _formdiv = new U.UF.UI.form(
  5029. "教師中心",
  5030. $$("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 }), {
  5031. "id": "testStudentSies",
  5032. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  5033. "onresize": function () { }
  5034. }, {
  5035. closecallback: function () { }
  5036. }, { "style": { "height": "36px" } }).form; //創建窗體
  5037. _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); } }
  5038. break;
  5039. case "ytpbl": //消息通知
  5040. _formdiv = new U.UF.UI.form(
  5041. "案例征集",
  5042. $$("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 }), {
  5043. "id": "ytpbl",
  5044. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5045. "onresize": function () { }
  5046. }, {
  5047. closecallback: function () { }
  5048. }, { "style": { "height": "36px" } }).form; //創建窗體
  5049. _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); } }
  5050. // 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");
  5051. break;
  5052. case "aiCourseResource": //人工智能窗體
  5053. _formdiv = new U.UF.UI.form(
  5054. false,
  5055. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/index.html" + window.location.search }), {
  5056. "id": "aiCourseResource",
  5057. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5058. "onresize": function () { },
  5059. "isdrag": false,
  5060. }, {
  5061. closecallback: function () { }
  5062. }, { "style": { "height": "36px" } }).form; //創建窗體
  5063. _taskbar = ''
  5064. break;
  5065. case "szdjgCocooroboX": //圖形化編程
  5066. _formdiv = new U.UF.UI.form(
  5067. "圖形化編程",
  5068. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/index.html" }), {
  5069. "id": "szdjgCocooroboX",
  5070. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5071. "onresize": function () { }
  5072. }, {
  5073. closecallback: function () { }
  5074. }, { "style": { "height": "36px" } }).form; //創建窗體
  5075. _taskbar = ''
  5076. break;
  5077. case "szdjgPython": //python編程
  5078. _formdiv = new U.UF.UI.form(
  5079. "python編程",
  5080. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/course_resource/cocoblockly-x/python/index.html" }), {
  5081. "id": "szdjgPython",
  5082. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5083. "onresize": function () { }
  5084. }, {
  5085. closecallback: function () { }
  5086. }, { "style": { "height": "36px" } }).form; //創建窗體
  5087. _taskbar = ''
  5088. break;
  5089. case "Record":
  5090. _formdiv = new U.UF.UI.form(
  5091. "觀察記錄",
  5092. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/record?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  5093. "id": "Record",
  5094. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5095. "onresize": function () { }
  5096. }, {
  5097. closecallback: function () { }
  5098. }, { "style": { "height": "36px" } }).form; //創建窗體
  5099. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Record.png)" }, "name": "班級管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5100. break;
  5101. }
  5102. //U.MD.D.I.openClick(str);
  5103. //如果有任務欄信息
  5104. if (_taskbar) {
  5105. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5106. }
  5107. }
  5108. // U.MD.D.I.openClick = function(str){
  5109. // var click = '';
  5110. // switch(str){
  5111. // case 'friend':
  5112. // click = '我的好友';
  5113. // break;
  5114. // case 'domain':
  5115. // click = '域名管理';
  5116. // break;
  5117. // case 'disk':
  5118. // click = '我的雲盤';
  5119. // break;
  5120. // case 'word':
  5121. // click = 'Word';
  5122. // break;
  5123. // case 'excel':
  5124. // click = 'Execl';
  5125. // break;
  5126. // case 'txt':
  5127. // click = '文本文件';
  5128. // break;
  5129. // case 'lookupFriend':
  5130. // click = '查找好友';
  5131. // break;
  5132. // case 'ftp':
  5133. // click = 'FTP';
  5134. // break;
  5135. // case 'group':
  5136. // click = '群組';
  5137. // break;
  5138. // case 'set':
  5139. // click = '我的設置';
  5140. // break;
  5141. // case 'systemSet':
  5142. // click = '系統設置';
  5143. // break;
  5144. // case 'boomYun':
  5145. // click = '互聯辦公';
  5146. // break;
  5147. // case 'xz':
  5148. // click = '雲端下載';
  5149. // break;
  5150. // case 'client':
  5151. // click = '有思瀏覽器';
  5152. // break;
  5153. // case 'backEndProgramming':
  5154. // click = '在線後臺編程';
  5155. // break;
  5156. // case 'frontEndProgramming':
  5157. // click = '在線前端編程';
  5158. // break;
  5159. // default: break;
  5160. // }
  5161. // if(U.MD.D.I.Ip && click){
  5162. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5163. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5164. // })
  5165. // }
  5166. // }
  5167. /**
  5168. *函數作用:ajax簡易函數,使用post格式
  5169. *@param url {data} 後臺地址
  5170. *@param data {data} 參數json
  5171. *@param fn {data} 回調函數
  5172. *
  5173. */
  5174. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5175. // var xhr = new XMLHttpRequest();
  5176. // xhr.open("GET",url,true);
  5177. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5178. // xhr.onreadystatechange = function(){
  5179. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5180. // fn.call(this,xhr.responseText);
  5181. // }
  5182. // };
  5183. // xhr.send();
  5184. // }
  5185. /*判斷是否是內網IP*/
  5186. // U.MD.D.I.isInnerIPFn = function(str){
  5187. // var curPageUrl = str;
  5188. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  5189. // curPageUrl =curPageUrl.replace(reg1,'');
  5190. // // console.log('curPageUrl-1 '+curPageUrl);
  5191. // var reg2 = /\:+/g;//替換冒號為一點
  5192. // curPageUrl =curPageUrl.replace(reg2,'.');
  5193. // // console.log('curPageUrl-2 '+curPageUrl);
  5194. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  5195. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5196. // if(curPageUrl[2] != '16'){
  5197. // return ipAddress;
  5198. // }else{
  5199. // return false;
  5200. // }
  5201. // }
  5202. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5203. // //compatibility for firefox and chrome
  5204. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5205. // var pc = new myPeerConnection({
  5206. // iceServers: []
  5207. // }),
  5208. // noop = function() {},
  5209. // localIPs = {},
  5210. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5211. // key;
  5212. // function iterateIP(ip) {
  5213. // if (!localIPs[ip]) onNewIP(ip);
  5214. // localIPs[ip] = true;
  5215. // }
  5216. // //create a bogus data channel
  5217. // pc.createDataChannel("");
  5218. // // create offer and set local description
  5219. // pc.createOffer().then(function(sdp) {
  5220. // sdp.sdp.split('\n').forEach(function(line) {
  5221. // if (line.indexOf('candidate') < 0) return;
  5222. // line.match(ipRegex).forEach(iterateIP);
  5223. // });
  5224. // pc.setLocalDescription(sdp, noop, noop);
  5225. // }).catch(function(reason) {
  5226. // // An error occurred, so handle the failure to connect
  5227. // });
  5228. // //sten for candidate events
  5229. // pc.onicecandidate = function(ice) {
  5230. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5231. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5232. // };
  5233. // }
  5234. // U.MD.D.I.getUserIpBool = function(callback){
  5235. // U.MD.D.I.getUserIP(function(ip){
  5236. // alert("Got IP! :" + ip);
  5237. // });
  5238. //}
  5239. //#endregion
  5240. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5241. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5242. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5243. _userinfo = US.userInfo, //登錄用戶信息
  5244. _userid = US.userInfo.userid //登錄用戶id
  5245. let _iframe;
  5246. let _cid = cid,
  5247. _stage = stage,
  5248. _task = task,
  5249. _tool = tool;
  5250. var _jie = $$("div", {
  5251. "style": {
  5252. "position": "absolute",
  5253. "bottom": "50px",
  5254. "right": "50px",
  5255. "zIndex": "9999",
  5256. "backgroundColor": "#2268bc",
  5257. "color": "#fff",
  5258. "padding": "12px 20px",
  5259. "cursor": "pointer",
  5260. "borderRadius": "4px",
  5261. },
  5262. "innerHTML": "提交作業"
  5263. })
  5264. let aTool = ''
  5265. let _loading = document.createElement('div')
  5266. _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;"
  5267. // _loading.id = "";
  5268. let _lchild = document.createElement('div')
  5269. let _limg = document.createElement('img')
  5270. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5271. _limg.style = "width: 26px;margin-right: 10px;"
  5272. _lchild.appendChild(_limg)
  5273. let _lspan = document.createElement('span')
  5274. _lspan.innerHTML = "上傳中..."
  5275. _lchild.appendChild(_lspan)
  5276. _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%);"
  5277. _loading.appendChild(_lchild)
  5278. var _box = $$('div', {
  5279. "style": {
  5280. "position": "relative",
  5281. "width": "100%",
  5282. "height": "100%",
  5283. },
  5284. })
  5285. _box.appendChild(_loading)
  5286. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5287. switch (str) {
  5288. case "whiteboard":
  5289. aTool = 1;
  5290. _iframe = $$("iframe", {
  5291. "frameborder": "no",
  5292. "border": "0",
  5293. "scrolling ": "no",
  5294. "style": {
  5295. "cssText": "border:0;width:100%;height:100%"
  5296. },
  5297. "src": "https://iwb.cocorobo.hk/"
  5298. })
  5299. _box.appendChild(_iframe);
  5300. _box.appendChild(_jie);
  5301. _formdiv = new U.UF.UI.form(
  5302. "電子白板",
  5303. _box, {
  5304. "id": "whiteboard" + cid + stage + task + tool,
  5305. "style": {
  5306. "width": "90%",
  5307. "height": "90%",
  5308. "overflow": 'hidden'
  5309. },
  5310. "onresize": function () { }
  5311. }, {
  5312. closecallback: function () { }
  5313. }, {
  5314. "style": {
  5315. "height": "36px"
  5316. }
  5317. }).form; //創建窗體
  5318. _taskbar = {
  5319. "id": str + _formdiv.id,
  5320. "style": {
  5321. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5322. },
  5323. "name": "電子白板",
  5324. "forms": _formdiv,
  5325. "click": function () {
  5326. U.MD.D.I.openApplication(str, obj, info);
  5327. }
  5328. }
  5329. break;
  5330. case "mind":
  5331. aTool = 3;
  5332. _iframe = $$("iframe", {
  5333. "frameborder": "no",
  5334. "border": "0",
  5335. "scrolling ": "no",
  5336. "style": {
  5337. "cssText": "border:0;width:100%;height:100%"
  5338. },
  5339. "src": "/kityminder-editor/dist/index.html"
  5340. })
  5341. _box.appendChild(_iframe);
  5342. _box.appendChild(_jie);
  5343. _formdiv = new U.UF.UI.form(
  5344. "思維導圖",
  5345. _box, { //"/jsmind/example/demo.html"
  5346. "id": "mind" + cid + stage + task + tool,
  5347. "style": {
  5348. "width": "90%",
  5349. "height": "90%",
  5350. "overflow": 'hidden'
  5351. },
  5352. "onresize": function () { }
  5353. }, {
  5354. closecallback: function () { }
  5355. }, {
  5356. "style": {
  5357. "height": "36px"
  5358. }
  5359. }).form; //創建窗體
  5360. _taskbar = {
  5361. "id": str + _formdiv.id,
  5362. "style": {
  5363. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5364. },
  5365. "name": "思維導圖",
  5366. "forms": _formdiv,
  5367. "click": function () {
  5368. U.MD.D.I.openApplication(str, obj, info);
  5369. }
  5370. }
  5371. break;
  5372. case "MindMap":
  5373. aTool = 3;
  5374. _iframe = $$("iframe", {
  5375. "frameborder": "no",
  5376. "border": "0",
  5377. "scrolling ": "no",
  5378. "style": {
  5379. "cssText": "border:0;width:100%;height:100%"
  5380. },
  5381. "src": "//cloud.cocorobo.hk/mind/"
  5382. })
  5383. _box.appendChild(_iframe);
  5384. _box.appendChild(_jie);
  5385. _formdiv = new U.UF.UI.form(
  5386. "思維導圖",
  5387. _box, { //"/jsmind/example/demo.html"
  5388. "id": "mind" + cid + stage + task + tool,
  5389. "style": {
  5390. "width": "90%",
  5391. "height": "90%",
  5392. "overflow": 'hidden'
  5393. },
  5394. "onresize": function () { }
  5395. }, {
  5396. closecallback: function () { }
  5397. }, {
  5398. "style": {
  5399. "height": "36px"
  5400. }
  5401. }).form; //創建窗體
  5402. _taskbar = {
  5403. "id": str + _formdiv.id,
  5404. "style": {
  5405. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5406. },
  5407. "name": "思維導圖",
  5408. "forms": _formdiv,
  5409. "click": function () {
  5410. U.MD.D.I.openApplication(str, obj, info);
  5411. }
  5412. }
  5413. break;
  5414. case "doc":
  5415. aTool = 6;
  5416. _iframe = $$("iframe", {
  5417. "frameborder": "no",
  5418. "border": "0",
  5419. "scrolling ": "no",
  5420. "style": {
  5421. "cssText": "border:0;width:100%;height:100%"
  5422. },
  5423. "src": "/Office/Word/WordEditArea.htm"
  5424. })
  5425. _box.appendChild(_iframe);
  5426. _box.appendChild(_jie);
  5427. _formdiv = new U.UF.UI.form(
  5428. "協同文檔",
  5429. _box, {
  5430. "id": "doc" + cid + stage + task + tool,
  5431. "style": {
  5432. "width": "90%",
  5433. "height": "90%",
  5434. "overflow": 'hidden'
  5435. },
  5436. "onresize": function () { }
  5437. }, {
  5438. closecallback: function () { }
  5439. }, {
  5440. "style": {
  5441. "height": "36px"
  5442. }
  5443. }).form; //創建窗體
  5444. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5445. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5446. })
  5447. _taskbar = {
  5448. "id": str + _formdiv.id,
  5449. "style": {
  5450. "backgroundImage": "url(/img/icon/doc.png)"
  5451. },
  5452. "name": "協同文檔",
  5453. "forms": _formdiv,
  5454. "click": function () {
  5455. U.MD.D.I.openApplication(str, obj, info);
  5456. }
  5457. }
  5458. break;
  5459. case "mindNetwork": //好友打開
  5460. aTool = 7;
  5461. _iframe = $$("iframe", {
  5462. "webkitallowfullscreen": "",
  5463. "mozallowfullscreen": "",
  5464. "allowfullscreen": "",
  5465. "frameborder": "no",
  5466. "border": "0",
  5467. "scrolling ": "no",
  5468. "style": {
  5469. "cssText": "border:0; width:100%; height:100%;"
  5470. },
  5471. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5472. })
  5473. _box.appendChild(_iframe);
  5474. _box.appendChild(_jie);
  5475. _formdiv = new U.UF.UI.form(
  5476. "思維網格",
  5477. _box, {
  5478. "id": "mindNetwork" + cid + stage + task + tool,
  5479. "style": {
  5480. "width": "90%",
  5481. "height": "90%",
  5482. "overflow": 'hidden'
  5483. },
  5484. "onresize": function () { }
  5485. }, {
  5486. closecallback: function () { }
  5487. }, {
  5488. "style": {
  5489. "height": "36px"
  5490. }
  5491. }).form; //創建窗體
  5492. _taskbar = {
  5493. "id": str + _formdiv.id,
  5494. "style": {
  5495. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5496. },
  5497. "name": "思維網格",
  5498. "forms": _formdiv,
  5499. "click": function () {
  5500. U.MD.D.I.openApplication(str, obj, info);
  5501. }
  5502. }
  5503. break;
  5504. case "courseDesign":
  5505. _iframe = $$("iframe", {
  5506. "webkitallowfullscreen": "",
  5507. "mozallowfullscreen": "",
  5508. "allowfullscreen": "",
  5509. "frameborder": "no",
  5510. "border": "0",
  5511. "scrolling ": "no",
  5512. "style": {
  5513. "cssText": "border:0; width:100%; height:100%;"
  5514. },
  5515. "src": "/course-design-vue"
  5516. })
  5517. _box.appendChild(_iframe);
  5518. _box.appendChild(_jie);
  5519. _formdiv = new U.UF.UI.form(
  5520. "項目設計",
  5521. _box, {
  5522. "id": "courseDesign" + cid + stage + task + tool,
  5523. "style": {
  5524. "width": "90%",
  5525. "height": "90%",
  5526. "overflow": 'hidden'
  5527. },
  5528. "onresize": function () { }
  5529. }, {
  5530. closecallback: function () { }
  5531. }, {
  5532. "style": {
  5533. "height": "36px"
  5534. }
  5535. }).form; //創建窗體
  5536. _taskbar = {
  5537. "id": str + _formdiv.id,
  5538. "style": {
  5539. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5540. },
  5541. "name": "項目設計",
  5542. "forms": _formdiv,
  5543. "click": function () {
  5544. U.MD.D.I.openApplication(str, obj, info);
  5545. }
  5546. }
  5547. break;
  5548. }
  5549. const script1 = document.createElement("script");
  5550. script1.type = "text/javascript";
  5551. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5552. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5553. const script2 = document.createElement("script");
  5554. script2.type = "text/javascript";
  5555. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5556. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5557. const script3 = document.createElement("script");
  5558. script3.type = "text/javascript";
  5559. script3.charset = "UTF-8";
  5560. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5561. const script4 = document.createElement("script");
  5562. script4.type = "text/javascript";
  5563. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5564. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  5565. if (_iframe) {
  5566. if (str == 'doc') {
  5567. _iframe = _formdiv.querySelector('iframe')
  5568. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5569. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5570. _iframe.contentWindow.document.body.appendChild(script1);
  5571. _iframe.contentWindow.document.body.appendChild(script2);
  5572. // _iframe.contentWindow.document.body.appendChild(script3);
  5573. _iframe.contentWindow.document.body.appendChild(script4);
  5574. })
  5575. if (onloadListener) {
  5576. _iframe.contentDocument.location.reload()
  5577. } else {
  5578. _iframe.contentDocument.location.reload()
  5579. }
  5580. } else if (str == 'courseDesign') {
  5581. U.UF.DL.iframeLoad(_iframe, function () {
  5582. // _iframe.contentWindow.U.MD.O.W.load();
  5583. // _iframe.contentWindow.document.body.appendChild(script1);
  5584. _iframe.contentWindow.document.body.appendChild(script2);
  5585. _iframe.contentWindow.document.body.appendChild(script4);
  5586. })
  5587. } else if (str == 'mind') {
  5588. _iframe = _formdiv.querySelector('iframe')
  5589. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5590. //
  5591. _iframe.contentWindow.document.body.appendChild(script1);
  5592. _iframe.contentWindow.document.body.appendChild(script2);
  5593. _iframe.contentWindow.document.body.appendChild(script4);
  5594. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5595. })
  5596. if (onloadListener) {
  5597. _iframe.contentDocument.location.reload()
  5598. } else {
  5599. _iframe.contentDocument.location.reload()
  5600. }
  5601. } else if (str == 'whiteboard') {
  5602. _iframe = _formdiv.querySelector('iframe')
  5603. let onloadListener = _iframe.onload = () => {
  5604. _iframe.contentWindow.document.body.appendChild(script1);
  5605. _iframe.contentWindow.document.body.appendChild(script2);
  5606. _iframe.contentWindow.document.body.appendChild(script4);
  5607. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5608. };
  5609. if (onloadListener) {
  5610. _iframe.contentDocument.location.reload()
  5611. } else {
  5612. _iframe.contentDocument.location.reload()
  5613. }
  5614. } else {
  5615. _iframe.onload = () => {
  5616. _iframe.contentWindow.document.body.appendChild(script1);
  5617. _iframe.contentWindow.document.body.appendChild(script2);
  5618. // _iframe.contentWindow.document.body.appendChild(script3);
  5619. _iframe.contentWindow.document.body.appendChild(script4);
  5620. };
  5621. }
  5622. _jie.onclick = async () => {
  5623. let text = ''
  5624. if (aTool == 1) {
  5625. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5626. } else if (aTool == 6) {
  5627. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5628. } else if (aTool == 3) {
  5629. text = await U.MD.D.I.getEditorContent(_iframe);
  5630. }
  5631. _loading.style.display = 'flex'
  5632. console.log(_loading);
  5633. var _ajs = _iframe.contentWindow.document.createElement("script");
  5634. _ajs.type = "text/javascript";
  5635. _ajs.innerHTML =
  5636. // 'console.log(' + _loading + ');\n' +
  5637. 'var _js = document.createElement("script");\n' +
  5638. '_js.type="text/javascript";\n' +
  5639. '_js.charset="UTF-8";\n' +
  5640. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5641. "_js.onload = function(){\n" +
  5642. ' var a = document.getElementsByTagName("img")\n' +
  5643. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5644. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5645. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5646. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5647. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5648. "beforeUpload_shishi(file," +
  5649. "'" +
  5650. _userid +
  5651. "'" +
  5652. ", " +
  5653. "'" +
  5654. _cid +
  5655. "'" +
  5656. ", " +
  5657. "'" +
  5658. _stage +
  5659. "'" +
  5660. ", " +
  5661. "'" +
  5662. _task +
  5663. "'" +
  5664. ", " +
  5665. "'" +
  5666. _tool +
  5667. "'" +
  5668. ", " +
  5669. "'" +
  5670. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5671. "'" +
  5672. ", " +
  5673. "'" +
  5674. aTool +
  5675. "'" +
  5676. ", " +
  5677. "`" +
  5678. text +
  5679. "`" +
  5680. ")\n" +
  5681. " });\n" +
  5682. "}\n" +
  5683. "document.head.appendChild(_js);\n";
  5684. _iframe.contentWindow.document.head.appendChild(_ajs);
  5685. }
  5686. }
  5687. //U.MD.D.I.openClick(str);
  5688. //如果有任務欄信息
  5689. // if (_taskbar) {
  5690. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5691. // }
  5692. }
  5693. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5694. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5695. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5696. _userinfo = US.userInfo, //登錄用戶信息
  5697. _userid = US.userInfo.userid //登錄用戶id
  5698. let _iframe;
  5699. let _cid = cid,
  5700. _stage = stage,
  5701. _task = task,
  5702. _tool = tool;
  5703. var _jie = $$("div", {
  5704. "style": {
  5705. "position": "absolute",
  5706. "bottom": "50px",
  5707. "right": "50px",
  5708. "zIndex": "9999",
  5709. "backgroundColor": "#2268bc",
  5710. "color": "#fff",
  5711. "padding": "12px 20px",
  5712. "cursor": "pointer",
  5713. "borderRadius": "4px",
  5714. },
  5715. "innerHTML": "提交作業"
  5716. })
  5717. let aTool = ''
  5718. let _loading = document.createElement('div')
  5719. _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;"
  5720. // _loading.id = "";
  5721. let _lchild = document.createElement('div')
  5722. let _limg = document.createElement('img')
  5723. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5724. _limg.style = "width: 26px;margin-right: 10px;"
  5725. _lchild.appendChild(_limg)
  5726. let _lspan = document.createElement('span')
  5727. _lspan.innerHTML = "上傳中..."
  5728. _lchild.appendChild(_lspan)
  5729. _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%);"
  5730. _loading.appendChild(_lchild)
  5731. var _box = $$('div', {
  5732. "style": {
  5733. "position": "relative",
  5734. "width": "100%",
  5735. "height": "100%",
  5736. },
  5737. })
  5738. _box.appendChild(_loading)
  5739. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5740. switch (str) {
  5741. case "whiteboard":
  5742. aTool = 1;
  5743. _iframe = $$("iframe", {
  5744. "frameborder": "no",
  5745. "border": "0",
  5746. "scrolling ": "no",
  5747. "style": {
  5748. "cssText": "border:0;width:100%;height:100%"
  5749. },
  5750. "src": "https://iwb.cocorobo.hk/"
  5751. })
  5752. _box.appendChild(_iframe);
  5753. _box.appendChild(_jie);
  5754. _formdiv = new U.UF.UI.form(
  5755. "電子白板",
  5756. _box, {
  5757. "id": "whiteboard" + cid + stage + task + tool,
  5758. "style": {
  5759. "width": "90%",
  5760. "height": "90%",
  5761. "overflow": 'hidden'
  5762. },
  5763. "onresize": function () { }
  5764. }, {
  5765. closecallback: function () { }
  5766. }, {
  5767. "style": {
  5768. "height": "36px"
  5769. }
  5770. }).form; //創建窗體
  5771. _taskbar = {
  5772. "id": str + _formdiv.id,
  5773. "style": {
  5774. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5775. },
  5776. "name": "電子白板",
  5777. "forms": _formdiv,
  5778. "click": function () {
  5779. U.MD.D.I.openApplication(str, obj, info);
  5780. }
  5781. }
  5782. break;
  5783. case "mind":
  5784. aTool = 3;
  5785. _iframe = $$("iframe", {
  5786. "frameborder": "no",
  5787. "border": "0",
  5788. "scrolling ": "no",
  5789. "style": {
  5790. "cssText": "border:0;width:100%;height:100%"
  5791. },
  5792. "src": "/kityminder-editor/dist/index.html"
  5793. })
  5794. _box.appendChild(_iframe);
  5795. _box.appendChild(_jie);
  5796. _formdiv = new U.UF.UI.form(
  5797. "思維導圖",
  5798. _box, { //"/jsmind/example/demo.html"
  5799. "id": "mind" + cid + stage + task + tool,
  5800. "style": {
  5801. "width": "90%",
  5802. "height": "90%",
  5803. "overflow": 'hidden'
  5804. },
  5805. "onresize": function () { }
  5806. }, {
  5807. closecallback: function () { }
  5808. }, {
  5809. "style": {
  5810. "height": "36px"
  5811. }
  5812. }).form; //創建窗體
  5813. _taskbar = {
  5814. "id": str + _formdiv.id,
  5815. "style": {
  5816. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5817. },
  5818. "name": "思維導圖",
  5819. "forms": _formdiv,
  5820. "click": function () {
  5821. U.MD.D.I.openApplication(str, obj, info);
  5822. }
  5823. }
  5824. break;
  5825. case "MindMap":
  5826. aTool = 3;
  5827. _iframe = $$("iframe", {
  5828. "frameborder": "no",
  5829. "border": "0",
  5830. "scrolling ": "no",
  5831. "style": {
  5832. "cssText": "border:0;width:100%;height:100%"
  5833. },
  5834. "src": "//cloud.cocorobo.hk/mind/"
  5835. })
  5836. _box.appendChild(_iframe);
  5837. _box.appendChild(_jie);
  5838. _formdiv = new U.UF.UI.form(
  5839. "思維導圖",
  5840. _box, { //"/jsmind/example/demo.html"
  5841. "id": "mind" + cid + stage + task + tool,
  5842. "style": {
  5843. "width": "90%",
  5844. "height": "90%",
  5845. "overflow": 'hidden'
  5846. },
  5847. "onresize": function () { }
  5848. }, {
  5849. closecallback: function () { }
  5850. }, {
  5851. "style": {
  5852. "height": "36px"
  5853. }
  5854. }).form; //創建窗體
  5855. _taskbar = {
  5856. "id": str + _formdiv.id,
  5857. "style": {
  5858. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5859. },
  5860. "name": "思維導圖",
  5861. "forms": _formdiv,
  5862. "click": function () {
  5863. U.MD.D.I.openApplication(str, obj, info);
  5864. }
  5865. }
  5866. break;
  5867. case "doc":
  5868. aTool = 6;
  5869. _iframe = $$("iframe", {
  5870. "frameborder": "no",
  5871. "border": "0",
  5872. "scrolling ": "no",
  5873. "style": {
  5874. "cssText": "border:0;width:100%;height:100%"
  5875. },
  5876. "src": "/Office/Word/WordEditArea.htm"
  5877. })
  5878. _box.appendChild(_iframe);
  5879. _box.appendChild(_jie);
  5880. _formdiv = new U.UF.UI.form(
  5881. "協同文檔",
  5882. _box, {
  5883. "id": "doc" + cid + stage + task + tool,
  5884. "style": {
  5885. "width": "90%",
  5886. "height": "90%",
  5887. "overflow": 'hidden'
  5888. },
  5889. "onresize": function () { }
  5890. }, {
  5891. closecallback: function () { }
  5892. }, {
  5893. "style": {
  5894. "height": "36px"
  5895. }
  5896. }).form; //創建窗體
  5897. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5898. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5899. })
  5900. _taskbar = {
  5901. "id": str + _formdiv.id,
  5902. "style": {
  5903. "backgroundImage": "url(/img/icon/doc.png)"
  5904. },
  5905. "name": "協同文檔",
  5906. "forms": _formdiv,
  5907. "click": function () {
  5908. U.MD.D.I.openApplication(str, obj, info);
  5909. }
  5910. }
  5911. break;
  5912. case "mindNetwork": //好友打開
  5913. aTool = 7;
  5914. _iframe = $$("iframe", {
  5915. "webkitallowfullscreen": "",
  5916. "mozallowfullscreen": "",
  5917. "allowfullscreen": "",
  5918. "frameborder": "no",
  5919. "border": "0",
  5920. "scrolling ": "no",
  5921. "style": {
  5922. "cssText": "border:0; width:100%; height:100%;"
  5923. },
  5924. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5925. })
  5926. _box.appendChild(_iframe);
  5927. _box.appendChild(_jie);
  5928. _formdiv = new U.UF.UI.form(
  5929. "思維網格",
  5930. _box, {
  5931. "id": "mindNetwork" + cid + stage + task + tool,
  5932. "style": {
  5933. "width": "90%",
  5934. "height": "90%",
  5935. "overflow": 'hidden'
  5936. },
  5937. "onresize": function () { }
  5938. }, {
  5939. closecallback: function () { }
  5940. }, {
  5941. "style": {
  5942. "height": "36px"
  5943. }
  5944. }).form; //創建窗體
  5945. _taskbar = {
  5946. "id": str + _formdiv.id,
  5947. "style": {
  5948. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5949. },
  5950. "name": "思維網格",
  5951. "forms": _formdiv,
  5952. "click": function () {
  5953. U.MD.D.I.openApplication(str, obj, info);
  5954. }
  5955. }
  5956. break;
  5957. case "courseDesign":
  5958. _iframe = $$("iframe", {
  5959. "webkitallowfullscreen": "",
  5960. "mozallowfullscreen": "",
  5961. "allowfullscreen": "",
  5962. "frameborder": "no",
  5963. "border": "0",
  5964. "scrolling ": "no",
  5965. "style": {
  5966. "cssText": "border:0; width:100%; height:100%;"
  5967. },
  5968. "src": "/course-design-vue"
  5969. })
  5970. _box.appendChild(_iframe);
  5971. _box.appendChild(_jie);
  5972. _formdiv = new U.UF.UI.form(
  5973. "項目設計",
  5974. _box, {
  5975. "id": "courseDesign" + cid + stage + task + tool,
  5976. "style": {
  5977. "width": "90%",
  5978. "height": "90%",
  5979. "overflow": 'hidden'
  5980. },
  5981. "onresize": function () { }
  5982. }, {
  5983. closecallback: function () { }
  5984. }, {
  5985. "style": {
  5986. "height": "36px"
  5987. }
  5988. }).form; //創建窗體
  5989. _taskbar = {
  5990. "id": str + _formdiv.id,
  5991. "style": {
  5992. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5993. },
  5994. "name": "項目設計",
  5995. "forms": _formdiv,
  5996. "click": function () {
  5997. U.MD.D.I.openApplication(str, obj, info);
  5998. }
  5999. }
  6000. break;
  6001. }
  6002. const script1 = document.createElement("script");
  6003. script1.type = "text/javascript";
  6004. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6005. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6006. const script2 = document.createElement("script");
  6007. script2.type = "text/javascript";
  6008. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6009. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6010. const script3 = document.createElement("script");
  6011. script3.type = "text/javascript";
  6012. script3.charset = "UTF-8";
  6013. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6014. const script4 = document.createElement("script");
  6015. script4.type = "text/javascript";
  6016. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6017. script4.src = window.origin + "/js/Common/jietu2E.js";
  6018. if (_iframe) {
  6019. if (str == 'doc') {
  6020. _iframe = _formdiv.querySelector('iframe')
  6021. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6022. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6023. _iframe.contentWindow.document.body.appendChild(script1);
  6024. _iframe.contentWindow.document.body.appendChild(script2);
  6025. // _iframe.contentWindow.document.body.appendChild(script3);
  6026. _iframe.contentWindow.document.body.appendChild(script4);
  6027. })
  6028. if (onloadListener) {
  6029. _iframe.contentDocument.location.reload()
  6030. } else {
  6031. _iframe.contentDocument.location.reload()
  6032. }
  6033. } else if (str == 'courseDesign') {
  6034. U.UF.DL.iframeLoad(_iframe, function () {
  6035. // _iframe.contentWindow.U.MD.O.W.load();
  6036. // _iframe.contentWindow.document.body.appendChild(script1);
  6037. _iframe.contentWindow.document.body.appendChild(script2);
  6038. _iframe.contentWindow.document.body.appendChild(script4);
  6039. })
  6040. } else if (str == 'mind') {
  6041. _iframe = _formdiv.querySelector('iframe')
  6042. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6043. //
  6044. _iframe.contentWindow.document.body.appendChild(script1);
  6045. _iframe.contentWindow.document.body.appendChild(script2);
  6046. _iframe.contentWindow.document.body.appendChild(script4);
  6047. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6048. })
  6049. if (onloadListener) {
  6050. _iframe.contentDocument.location.reload()
  6051. } else {
  6052. _iframe.contentDocument.location.reload()
  6053. }
  6054. } else if (str == 'whiteboard') {
  6055. _iframe = _formdiv.querySelector('iframe')
  6056. let onloadListener = _iframe.onload = () => {
  6057. _iframe.contentWindow.document.body.appendChild(script1);
  6058. _iframe.contentWindow.document.body.appendChild(script2);
  6059. _iframe.contentWindow.document.body.appendChild(script4);
  6060. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6061. };
  6062. if (onloadListener) {
  6063. _iframe.contentDocument.location.reload()
  6064. } else {
  6065. _iframe.contentDocument.location.reload()
  6066. }
  6067. } else {
  6068. _iframe.onload = () => {
  6069. _iframe.contentWindow.document.body.appendChild(script1);
  6070. _iframe.contentWindow.document.body.appendChild(script2);
  6071. // _iframe.contentWindow.document.body.appendChild(script3);
  6072. _iframe.contentWindow.document.body.appendChild(script4);
  6073. };
  6074. }
  6075. _jie.onclick = async () => {
  6076. let text = ''
  6077. if (aTool == 1) {
  6078. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6079. } else if (aTool == 6) {
  6080. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6081. } else if (aTool == 3) {
  6082. text = await U.MD.D.I.getEditorContent(_iframe);
  6083. }
  6084. _loading.style.display = 'flex'
  6085. console.log(_loading);
  6086. var _ajs = _iframe.contentWindow.document.createElement("script");
  6087. _ajs.type = "text/javascript";
  6088. _ajs.innerHTML =
  6089. // 'console.log(' + _loading + ');\n' +
  6090. 'var _js = document.createElement("script");\n' +
  6091. '_js.type="text/javascript";\n' +
  6092. '_js.charset="UTF-8";\n' +
  6093. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6094. "_js.onload = function(){\n" +
  6095. ' var a = document.getElementsByTagName("img")\n' +
  6096. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6097. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6098. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6099. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6100. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6101. "beforeUpload_shishi(file," +
  6102. "'" +
  6103. _userid +
  6104. "'" +
  6105. ", " +
  6106. "'" +
  6107. _cid +
  6108. "'" +
  6109. ", " +
  6110. "'" +
  6111. _stage +
  6112. "'" +
  6113. ", " +
  6114. "'" +
  6115. _task +
  6116. "'" +
  6117. ", " +
  6118. "'" +
  6119. _tool +
  6120. "'" +
  6121. ", " +
  6122. "'" +
  6123. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  6124. "'" +
  6125. ", " +
  6126. "'" +
  6127. aTool +
  6128. "'" +
  6129. ", " +
  6130. "`" +
  6131. text +
  6132. "`" +
  6133. ")\n" +
  6134. " });\n" +
  6135. "}\n" +
  6136. "document.head.appendChild(_js);\n";
  6137. _iframe.contentWindow.document.head.appendChild(_ajs);
  6138. }
  6139. }
  6140. //U.MD.D.I.openClick(str);
  6141. //如果有任務欄信息
  6142. // if (_taskbar) {
  6143. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6144. // }
  6145. }
  6146. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  6147. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6148. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6149. _userid = student.userid, //登錄用戶id
  6150. _username = student.student //用戶名字
  6151. let _iframe;
  6152. let _cid = cid,
  6153. _stage = stage,
  6154. _task = task,
  6155. _tool = tool;
  6156. var _jie = $$("div", {
  6157. "style": {
  6158. "position": "absolute",
  6159. "bottom": "50px",
  6160. "right": "50px",
  6161. "zIndex": "9999",
  6162. "backgroundColor": "#2268bc",
  6163. "color": "#fff",
  6164. "padding": "12px 20px",
  6165. "cursor": "pointer",
  6166. "borderRadius": "4px",
  6167. },
  6168. "innerHTML": "提交作業"
  6169. })
  6170. let aTool = ''
  6171. let _loading = document.createElement('div')
  6172. _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;"
  6173. // _loading.id = "";
  6174. let _lchild = document.createElement('div')
  6175. let _limg = document.createElement('img')
  6176. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6177. _limg.style = "width: 26px;margin-right: 10px;"
  6178. _lchild.appendChild(_limg)
  6179. let _lspan = document.createElement('span')
  6180. _lspan.innerHTML = "上傳中..."
  6181. _lchild.appendChild(_lspan)
  6182. _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%);"
  6183. _loading.appendChild(_lchild)
  6184. var _box = $$('div', {
  6185. "style": {
  6186. "position": "relative",
  6187. "width": "100%",
  6188. "height": "100%",
  6189. },
  6190. })
  6191. _box.appendChild(_loading)
  6192. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6193. switch (str) {
  6194. case "whiteboard":
  6195. aTool = 1;
  6196. _iframe = $$("iframe", {
  6197. "frameborder": "no",
  6198. "border": "0",
  6199. "scrolling ": "no",
  6200. "style": {
  6201. "cssText": "border:0;width:100%;height:100%"
  6202. },
  6203. "src": "https://iwb.cocorobo.hk/"
  6204. })
  6205. _box.appendChild(_iframe);
  6206. _box.appendChild(_jie);
  6207. _formdiv = new U.UF.UI.form(
  6208. "電子白板-" + _username,
  6209. _box, {
  6210. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6211. "style": {
  6212. "width": "90%",
  6213. "height": "90%",
  6214. "overflow": 'hidden'
  6215. },
  6216. "onresize": function () { }
  6217. }, {
  6218. closecallback: function () { }
  6219. }, {
  6220. "style": {
  6221. "height": "36px"
  6222. }
  6223. }).form; //創建窗體
  6224. _taskbar = {
  6225. "id": str + _formdiv.id,
  6226. "style": {
  6227. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6228. },
  6229. "name": "電子白板",
  6230. "forms": _formdiv,
  6231. "click": function () {
  6232. U.MD.D.I.openApplication(str, obj, info);
  6233. }
  6234. }
  6235. break;
  6236. case "mind":
  6237. aTool = 3;
  6238. _iframe = $$("iframe", {
  6239. "frameborder": "no",
  6240. "border": "0",
  6241. "scrolling ": "no",
  6242. "style": {
  6243. "cssText": "border:0;width:100%;height:100%"
  6244. },
  6245. "src": "/kityminder-editor/dist/index.html"
  6246. })
  6247. _box.appendChild(_iframe);
  6248. _box.appendChild(_jie);
  6249. _formdiv = new U.UF.UI.form(
  6250. "思維導圖-" + _username,
  6251. _box, { //"/jsmind/example/demo.html"
  6252. "id": "mind" + cid + stage + task + tool + _userid,
  6253. "style": {
  6254. "width": "90%",
  6255. "height": "90%",
  6256. "overflow": 'hidden'
  6257. },
  6258. "onresize": function () { }
  6259. }, {
  6260. closecallback: function () { }
  6261. }, {
  6262. "style": {
  6263. "height": "36px"
  6264. }
  6265. }).form; //創建窗體
  6266. _taskbar = {
  6267. "id": str + _formdiv.id,
  6268. "style": {
  6269. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6270. },
  6271. "name": "思維導圖",
  6272. "forms": _formdiv,
  6273. "click": function () {
  6274. U.MD.D.I.openApplication(str, obj, info);
  6275. }
  6276. }
  6277. break;
  6278. case "MindMap":
  6279. aTool = 3;
  6280. _iframe = $$("iframe", {
  6281. "frameborder": "no",
  6282. "border": "0",
  6283. "scrolling ": "no",
  6284. "style": {
  6285. "cssText": "border:0;width:100%;height:100%"
  6286. },
  6287. "src": "//cloud.cocorobo.hk/mind/"
  6288. })
  6289. _box.appendChild(_iframe);
  6290. _box.appendChild(_jie);
  6291. _formdiv = new U.UF.UI.form(
  6292. "思維導圖-" + _username,
  6293. _box, { //"/jsmind/example/demo.html"
  6294. "id": "mind" + cid + stage + task + tool + _userid,
  6295. "style": {
  6296. "width": "90%",
  6297. "height": "90%",
  6298. "overflow": 'hidden'
  6299. },
  6300. "onresize": function () { }
  6301. }, {
  6302. closecallback: function () { }
  6303. }, {
  6304. "style": {
  6305. "height": "36px"
  6306. }
  6307. }).form; //創建窗體
  6308. _taskbar = {
  6309. "id": str + _formdiv.id,
  6310. "style": {
  6311. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6312. },
  6313. "name": "思維導圖",
  6314. "forms": _formdiv,
  6315. "click": function () {
  6316. U.MD.D.I.openApplication(str, obj, info);
  6317. }
  6318. }
  6319. break;
  6320. case "doc":
  6321. aTool = 6;
  6322. _iframe = $$("iframe", {
  6323. "frameborder": "no",
  6324. "border": "0",
  6325. "scrolling ": "no",
  6326. "style": {
  6327. "cssText": "border:0;width:100%;height:100%"
  6328. },
  6329. "src": "/Office/Word/WordEditArea.htm"
  6330. })
  6331. _box.appendChild(_iframe);
  6332. _box.appendChild(_jie);
  6333. _formdiv = new U.UF.UI.form(
  6334. "協同文檔-" + _username,
  6335. _box, {
  6336. "id": "doc" + cid + stage + task + tool + _userid,
  6337. "style": {
  6338. "width": "90%",
  6339. "height": "90%",
  6340. "overflow": 'hidden'
  6341. },
  6342. "onresize": function () { }
  6343. }, {
  6344. closecallback: function () { }
  6345. }, {
  6346. "style": {
  6347. "height": "36px"
  6348. }
  6349. }).form; //創建窗體
  6350. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6351. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6352. })
  6353. _taskbar = {
  6354. "id": str + _formdiv.id,
  6355. "style": {
  6356. "backgroundImage": "url(/img/icon/doc.png)"
  6357. },
  6358. "name": "協同文檔",
  6359. "forms": _formdiv,
  6360. "click": function () {
  6361. U.MD.D.I.openApplication(str, obj, info);
  6362. }
  6363. }
  6364. break;
  6365. case "mindNetwork": //好友打開
  6366. aTool = 7;
  6367. _iframe = $$("iframe", {
  6368. "webkitallowfullscreen": "",
  6369. "mozallowfullscreen": "",
  6370. "allowfullscreen": "",
  6371. "frameborder": "no",
  6372. "border": "0",
  6373. "scrolling ": "no",
  6374. "style": {
  6375. "cssText": "border:0; width:100%; height:100%;"
  6376. },
  6377. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6378. })
  6379. _box.appendChild(_iframe);
  6380. _box.appendChild(_jie);
  6381. _formdiv = new U.UF.UI.form(
  6382. "思維網格-" + _username,
  6383. _box, {
  6384. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6385. "style": {
  6386. "width": "90%",
  6387. "height": "90%",
  6388. "overflow": 'hidden'
  6389. },
  6390. "onresize": function () { }
  6391. }, {
  6392. closecallback: function () { }
  6393. }, {
  6394. "style": {
  6395. "height": "36px"
  6396. }
  6397. }).form; //創建窗體
  6398. _taskbar = {
  6399. "id": str + _formdiv.id,
  6400. "style": {
  6401. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6402. },
  6403. "name": "思維網格",
  6404. "forms": _formdiv,
  6405. "click": function () {
  6406. U.MD.D.I.openApplication(str, obj, info);
  6407. }
  6408. }
  6409. break;
  6410. case "courseDesign":
  6411. _iframe = $$("iframe", {
  6412. "webkitallowfullscreen": "",
  6413. "mozallowfullscreen": "",
  6414. "allowfullscreen": "",
  6415. "frameborder": "no",
  6416. "border": "0",
  6417. "scrolling ": "no",
  6418. "style": {
  6419. "cssText": "border:0; width:100%; height:100%;"
  6420. },
  6421. "src": "/course-design-vue"
  6422. })
  6423. _box.appendChild(_iframe);
  6424. _box.appendChild(_jie);
  6425. _formdiv = new U.UF.UI.form(
  6426. "項目設計-" + _username,
  6427. _box, {
  6428. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6429. "style": {
  6430. "width": "90%",
  6431. "height": "90%",
  6432. "overflow": 'hidden'
  6433. },
  6434. "onresize": function () { }
  6435. }, {
  6436. closecallback: function () { }
  6437. }, {
  6438. "style": {
  6439. "height": "36px"
  6440. }
  6441. }).form; //創建窗體
  6442. _taskbar = {
  6443. "id": str + _formdiv.id,
  6444. "style": {
  6445. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6446. },
  6447. "name": "項目設計",
  6448. "forms": _formdiv,
  6449. "click": function () {
  6450. U.MD.D.I.openApplication(str, obj, info);
  6451. }
  6452. }
  6453. break;
  6454. }
  6455. const script1 = document.createElement("script");
  6456. script1.type = "text/javascript";
  6457. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6458. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6459. const script2 = document.createElement("script");
  6460. script2.type = "text/javascript";
  6461. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6462. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6463. const script3 = document.createElement("script");
  6464. script3.type = "text/javascript";
  6465. script3.charset = "UTF-8";
  6466. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6467. const script4 = document.createElement("script");
  6468. script4.type = "text/javascript";
  6469. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6470. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6471. if (_iframe) {
  6472. if (str == 'doc') {
  6473. _iframe = _formdiv.querySelector('iframe')
  6474. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6475. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6476. _iframe.contentWindow.document.body.appendChild(script1);
  6477. _iframe.contentWindow.document.body.appendChild(script2);
  6478. // _iframe.contentWindow.document.body.appendChild(script3);
  6479. _iframe.contentWindow.document.body.appendChild(script4);
  6480. })
  6481. if (onloadListener) {
  6482. _iframe.contentDocument.location.reload()
  6483. } else {
  6484. _iframe.contentDocument.location.reload()
  6485. }
  6486. } else if (str == 'courseDesign') {
  6487. U.UF.DL.iframeLoad(_iframe, function () {
  6488. // _iframe.contentWindow.U.MD.O.W.load();
  6489. // _iframe.contentWindow.document.body.appendChild(script1);
  6490. _iframe.contentWindow.document.body.appendChild(script2);
  6491. _iframe.contentWindow.document.body.appendChild(script4);
  6492. })
  6493. } else if (str == 'mind') {
  6494. _iframe = _formdiv.querySelector('iframe')
  6495. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6496. //
  6497. _iframe.contentWindow.document.body.appendChild(script1);
  6498. _iframe.contentWindow.document.body.appendChild(script2);
  6499. _iframe.contentWindow.document.body.appendChild(script4);
  6500. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6501. })
  6502. if (onloadListener) {
  6503. _iframe.contentDocument.location.reload()
  6504. } else {
  6505. _iframe.contentDocument.location.reload()
  6506. }
  6507. } else if (str == 'whiteboard') {
  6508. _iframe = _formdiv.querySelector('iframe')
  6509. let onloadListener = _iframe.onload = () => {
  6510. _iframe.contentWindow.document.body.appendChild(script1);
  6511. _iframe.contentWindow.document.body.appendChild(script2);
  6512. _iframe.contentWindow.document.body.appendChild(script4);
  6513. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6514. };
  6515. if (onloadListener) {
  6516. _iframe.contentDocument.location.reload()
  6517. } else {
  6518. _iframe.contentDocument.location.reload()
  6519. }
  6520. } else {
  6521. _iframe.onload = () => {
  6522. _iframe.contentWindow.document.body.appendChild(script1);
  6523. _iframe.contentWindow.document.body.appendChild(script2);
  6524. // _iframe.contentWindow.document.body.appendChild(script3);
  6525. _iframe.contentWindow.document.body.appendChild(script4);
  6526. };
  6527. }
  6528. _jie.onclick = async () => {
  6529. let text = ''
  6530. if (aTool == 1) {
  6531. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6532. } else if (aTool == 6) {
  6533. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6534. } else if (aTool == 3) {
  6535. text = await U.MD.D.I.getEditorContent(_iframe);
  6536. }
  6537. _loading.style.display = 'flex'
  6538. console.log(_loading);
  6539. var _ajs = _iframe.contentWindow.document.createElement("script");
  6540. _ajs.type = "text/javascript";
  6541. _ajs.innerHTML =
  6542. // 'console.log(' + _loading + ');\n' +
  6543. 'var _js = document.createElement("script");\n' +
  6544. '_js.type="text/javascript";\n' +
  6545. '_js.charset="UTF-8";\n' +
  6546. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6547. "_js.onload = function(){\n" +
  6548. ' var a = document.getElementsByTagName("img")\n' +
  6549. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6550. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6551. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6552. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6553. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6554. "beforeUpload_shishi(file," +
  6555. "'" +
  6556. _userid +
  6557. "'" +
  6558. ", " +
  6559. "'" +
  6560. _cid +
  6561. "'" +
  6562. ", " +
  6563. "'" +
  6564. _stage +
  6565. "'" +
  6566. ", " +
  6567. "'" +
  6568. _task +
  6569. "'" +
  6570. ", " +
  6571. "'" +
  6572. _tool +
  6573. "'" +
  6574. ", " +
  6575. "'" +
  6576. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6577. "'" +
  6578. ", " +
  6579. "'" +
  6580. aTool +
  6581. "'" +
  6582. ", " +
  6583. "`" +
  6584. text +
  6585. "`" +
  6586. ")\n" +
  6587. " });\n" +
  6588. "}\n" +
  6589. "document.head.appendChild(_js);\n";
  6590. _iframe.contentWindow.document.head.appendChild(_ajs);
  6591. }
  6592. }
  6593. }
  6594. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6595. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6596. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6597. _userid = student.userid, //登錄用戶id
  6598. _username = student.student //用戶名字
  6599. let _iframe;
  6600. let _cid = cid,
  6601. _stage = stage,
  6602. _task = task,
  6603. _tool = tool;
  6604. var _jie = $$("div", {
  6605. "style": {
  6606. "position": "absolute",
  6607. "bottom": "50px",
  6608. "right": "50px",
  6609. "zIndex": "9999",
  6610. "backgroundColor": "#2268bc",
  6611. "color": "#fff",
  6612. "padding": "12px 20px",
  6613. "cursor": "pointer",
  6614. "borderRadius": "4px",
  6615. },
  6616. "innerHTML": "提交作業"
  6617. })
  6618. let aTool = ''
  6619. let _loading = document.createElement('div')
  6620. _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;"
  6621. // _loading.id = "";
  6622. let _lchild = document.createElement('div')
  6623. let _limg = document.createElement('img')
  6624. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6625. _limg.style = "width: 26px;margin-right: 10px;"
  6626. _lchild.appendChild(_limg)
  6627. let _lspan = document.createElement('span')
  6628. _lspan.innerHTML = "上傳中..."
  6629. _lchild.appendChild(_lspan)
  6630. _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%);"
  6631. _loading.appendChild(_lchild)
  6632. var _box = $$('div', {
  6633. "style": {
  6634. "position": "relative",
  6635. "width": "100%",
  6636. "height": "100%",
  6637. },
  6638. })
  6639. _box.appendChild(_loading)
  6640. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6641. switch (str) {
  6642. case "whiteboard":
  6643. aTool = 1;
  6644. _iframe = $$("iframe", {
  6645. "frameborder": "no",
  6646. "border": "0",
  6647. "scrolling ": "no",
  6648. "style": {
  6649. "cssText": "border:0;width:100%;height:100%"
  6650. },
  6651. "src": "https://iwb.cocorobo.hk/"
  6652. })
  6653. _box.appendChild(_iframe);
  6654. _box.appendChild(_jie);
  6655. _formdiv = new U.UF.UI.form(
  6656. "電子白板-" + _username,
  6657. _box, {
  6658. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6659. "style": {
  6660. "width": "90%",
  6661. "height": "90%",
  6662. "overflow": 'hidden'
  6663. },
  6664. "onresize": function () { }
  6665. }, {
  6666. closecallback: function () { }
  6667. }, {
  6668. "style": {
  6669. "height": "36px"
  6670. }
  6671. }).form; //創建窗體
  6672. _taskbar = {
  6673. "id": str + _formdiv.id,
  6674. "style": {
  6675. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6676. },
  6677. "name": "電子白板",
  6678. "forms": _formdiv,
  6679. "click": function () {
  6680. U.MD.D.I.openApplication(str, obj, info);
  6681. }
  6682. }
  6683. break;
  6684. case "mind":
  6685. aTool = 3;
  6686. _iframe = $$("iframe", {
  6687. "frameborder": "no",
  6688. "border": "0",
  6689. "scrolling ": "no",
  6690. "style": {
  6691. "cssText": "border:0;width:100%;height:100%"
  6692. },
  6693. "src": "/kityminder-editor/dist/index.html"
  6694. })
  6695. _box.appendChild(_iframe);
  6696. _box.appendChild(_jie);
  6697. _formdiv = new U.UF.UI.form(
  6698. "思維導圖-" + _username,
  6699. _box, { //"/jsmind/example/demo.html"
  6700. "id": "mind" + cid + stage + task + tool + _userid,
  6701. "style": {
  6702. "width": "90%",
  6703. "height": "90%",
  6704. "overflow": 'hidden'
  6705. },
  6706. "onresize": function () { }
  6707. }, {
  6708. closecallback: function () { }
  6709. }, {
  6710. "style": {
  6711. "height": "36px"
  6712. }
  6713. }).form; //創建窗體
  6714. _taskbar = {
  6715. "id": str + _formdiv.id,
  6716. "style": {
  6717. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6718. },
  6719. "name": "思維導圖",
  6720. "forms": _formdiv,
  6721. "click": function () {
  6722. U.MD.D.I.openApplication(str, obj, info);
  6723. }
  6724. }
  6725. break;
  6726. case "MindMap":
  6727. aTool = 3;
  6728. _iframe = $$("iframe", {
  6729. "frameborder": "no",
  6730. "border": "0",
  6731. "scrolling ": "no",
  6732. "style": {
  6733. "cssText": "border:0;width:100%;height:100%"
  6734. },
  6735. "src": "//cloud.cocorobo.hk/mind/"
  6736. })
  6737. _box.appendChild(_iframe);
  6738. _box.appendChild(_jie);
  6739. _formdiv = new U.UF.UI.form(
  6740. "思維導圖-" + _username,
  6741. _box, { //"/jsmind/example/demo.html"
  6742. "id": "mind" + cid + stage + task + tool + _userid,
  6743. "style": {
  6744. "width": "90%",
  6745. "height": "90%",
  6746. "overflow": 'hidden'
  6747. },
  6748. "onresize": function () { }
  6749. }, {
  6750. closecallback: function () { }
  6751. }, {
  6752. "style": {
  6753. "height": "36px"
  6754. }
  6755. }).form; //創建窗體
  6756. _taskbar = {
  6757. "id": str + _formdiv.id,
  6758. "style": {
  6759. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6760. },
  6761. "name": "思維導圖",
  6762. "forms": _formdiv,
  6763. "click": function () {
  6764. U.MD.D.I.openApplication(str, obj, info);
  6765. }
  6766. }
  6767. break;
  6768. case "doc":
  6769. aTool = 6;
  6770. _iframe = $$("iframe", {
  6771. "frameborder": "no",
  6772. "border": "0",
  6773. "scrolling ": "no",
  6774. "style": {
  6775. "cssText": "border:0;width:100%;height:100%"
  6776. },
  6777. "src": "/Office/Word/WordEditArea.htm"
  6778. })
  6779. _box.appendChild(_iframe);
  6780. _box.appendChild(_jie);
  6781. _formdiv = new U.UF.UI.form(
  6782. "協同文檔-" + _username,
  6783. _box, {
  6784. "id": "doc" + cid + stage + task + tool + _userid,
  6785. "style": {
  6786. "width": "90%",
  6787. "height": "90%",
  6788. "overflow": 'hidden'
  6789. },
  6790. "onresize": function () { }
  6791. }, {
  6792. closecallback: function () { }
  6793. }, {
  6794. "style": {
  6795. "height": "36px"
  6796. }
  6797. }).form; //創建窗體
  6798. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6799. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6800. })
  6801. _taskbar = {
  6802. "id": str + _formdiv.id,
  6803. "style": {
  6804. "backgroundImage": "url(/img/icon/doc.png)"
  6805. },
  6806. "name": "協同文檔",
  6807. "forms": _formdiv,
  6808. "click": function () {
  6809. U.MD.D.I.openApplication(str, obj, info);
  6810. }
  6811. }
  6812. break;
  6813. case "mindNetwork": //好友打開
  6814. aTool = 7;
  6815. _iframe = $$("iframe", {
  6816. "webkitallowfullscreen": "",
  6817. "mozallowfullscreen": "",
  6818. "allowfullscreen": "",
  6819. "frameborder": "no",
  6820. "border": "0",
  6821. "scrolling ": "no",
  6822. "style": {
  6823. "cssText": "border:0; width:100%; height:100%;"
  6824. },
  6825. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6826. })
  6827. _box.appendChild(_iframe);
  6828. _box.appendChild(_jie);
  6829. _formdiv = new U.UF.UI.form(
  6830. "思維網格-" + _username,
  6831. _box, {
  6832. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6833. "style": {
  6834. "width": "90%",
  6835. "height": "90%",
  6836. "overflow": 'hidden'
  6837. },
  6838. "onresize": function () { }
  6839. }, {
  6840. closecallback: function () { }
  6841. }, {
  6842. "style": {
  6843. "height": "36px"
  6844. }
  6845. }).form; //創建窗體
  6846. _taskbar = {
  6847. "id": str + _formdiv.id,
  6848. "style": {
  6849. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6850. },
  6851. "name": "思維網格",
  6852. "forms": _formdiv,
  6853. "click": function () {
  6854. U.MD.D.I.openApplication(str, obj, info);
  6855. }
  6856. }
  6857. break;
  6858. case "courseDesign":
  6859. _iframe = $$("iframe", {
  6860. "webkitallowfullscreen": "",
  6861. "mozallowfullscreen": "",
  6862. "allowfullscreen": "",
  6863. "frameborder": "no",
  6864. "border": "0",
  6865. "scrolling ": "no",
  6866. "style": {
  6867. "cssText": "border:0; width:100%; height:100%;"
  6868. },
  6869. "src": "/course-design-vue"
  6870. })
  6871. _box.appendChild(_iframe);
  6872. _box.appendChild(_jie);
  6873. _formdiv = new U.UF.UI.form(
  6874. "項目設計-" + _username,
  6875. _box, {
  6876. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6877. "style": {
  6878. "width": "90%",
  6879. "height": "90%",
  6880. "overflow": 'hidden'
  6881. },
  6882. "onresize": function () { }
  6883. }, {
  6884. closecallback: function () { }
  6885. }, {
  6886. "style": {
  6887. "height": "36px"
  6888. }
  6889. }).form; //創建窗體
  6890. _taskbar = {
  6891. "id": str + _formdiv.id,
  6892. "style": {
  6893. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6894. },
  6895. "name": "項目設計",
  6896. "forms": _formdiv,
  6897. "click": function () {
  6898. U.MD.D.I.openApplication(str, obj, info);
  6899. }
  6900. }
  6901. break;
  6902. }
  6903. const script1 = document.createElement("script");
  6904. script1.type = "text/javascript";
  6905. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6906. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6907. const script2 = document.createElement("script");
  6908. script2.type = "text/javascript";
  6909. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6910. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6911. const script3 = document.createElement("script");
  6912. script3.type = "text/javascript";
  6913. script3.charset = "UTF-8";
  6914. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6915. const script4 = document.createElement("script");
  6916. script4.type = "text/javascript";
  6917. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6918. script4.src = window.origin + "/js/Common/jietu2E.js";
  6919. if (_iframe) {
  6920. if (str == 'doc') {
  6921. _iframe = _formdiv.querySelector('iframe')
  6922. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6923. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6924. _iframe.contentWindow.document.body.appendChild(script1);
  6925. _iframe.contentWindow.document.body.appendChild(script2);
  6926. // _iframe.contentWindow.document.body.appendChild(script3);
  6927. _iframe.contentWindow.document.body.appendChild(script4);
  6928. })
  6929. if (onloadListener) {
  6930. _iframe.contentDocument.location.reload()
  6931. } else {
  6932. _iframe.contentDocument.location.reload()
  6933. }
  6934. } else if (str == 'courseDesign') {
  6935. U.UF.DL.iframeLoad(_iframe, function () {
  6936. // _iframe.contentWindow.U.MD.O.W.load();
  6937. // _iframe.contentWindow.document.body.appendChild(script1);
  6938. _iframe.contentWindow.document.body.appendChild(script2);
  6939. _iframe.contentWindow.document.body.appendChild(script4);
  6940. })
  6941. } else if (str == 'mind') {
  6942. _iframe = _formdiv.querySelector('iframe')
  6943. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6944. //
  6945. _iframe.contentWindow.document.body.appendChild(script1);
  6946. _iframe.contentWindow.document.body.appendChild(script2);
  6947. _iframe.contentWindow.document.body.appendChild(script4);
  6948. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6949. })
  6950. if (onloadListener) {
  6951. _iframe.contentDocument.location.reload()
  6952. } else {
  6953. _iframe.contentDocument.location.reload()
  6954. }
  6955. } else if (str == 'whiteboard') {
  6956. _iframe = _formdiv.querySelector('iframe')
  6957. let onloadListener = _iframe.onload = () => {
  6958. _iframe.contentWindow.document.body.appendChild(script1);
  6959. _iframe.contentWindow.document.body.appendChild(script2);
  6960. _iframe.contentWindow.document.body.appendChild(script4);
  6961. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6962. };
  6963. if (onloadListener) {
  6964. _iframe.contentDocument.location.reload()
  6965. } else {
  6966. _iframe.contentDocument.location.reload()
  6967. }
  6968. } else {
  6969. _iframe.onload = () => {
  6970. _iframe.contentWindow.document.body.appendChild(script1);
  6971. _iframe.contentWindow.document.body.appendChild(script2);
  6972. // _iframe.contentWindow.document.body.appendChild(script3);
  6973. _iframe.contentWindow.document.body.appendChild(script4);
  6974. };
  6975. }
  6976. _jie.onclick = async () => {
  6977. let text = ''
  6978. if (aTool == 1) {
  6979. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6980. } else if (aTool == 6) {
  6981. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6982. } else if (aTool == 3) {
  6983. text = await U.MD.D.I.getEditorContent(_iframe);
  6984. }
  6985. _loading.style.display = 'flex'
  6986. console.log(_loading);
  6987. var _ajs = _iframe.contentWindow.document.createElement("script");
  6988. _ajs.type = "text/javascript";
  6989. _ajs.innerHTML =
  6990. // 'console.log(' + _loading + ');\n' +
  6991. 'var _js = document.createElement("script");\n' +
  6992. '_js.type="text/javascript";\n' +
  6993. '_js.charset="UTF-8";\n' +
  6994. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6995. "_js.onload = function(){\n" +
  6996. ' var a = document.getElementsByTagName("img")\n' +
  6997. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6998. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6999. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7000. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7001. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7002. "beforeUpload_shishi(file," +
  7003. "'" +
  7004. _userid +
  7005. "'" +
  7006. ", " +
  7007. "'" +
  7008. _cid +
  7009. "'" +
  7010. ", " +
  7011. "'" +
  7012. _stage +
  7013. "'" +
  7014. ", " +
  7015. "'" +
  7016. _task +
  7017. "'" +
  7018. ", " +
  7019. "'" +
  7020. _tool +
  7021. "'" +
  7022. ", " +
  7023. "'" +
  7024. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  7025. "'" +
  7026. ", " +
  7027. "'" +
  7028. aTool +
  7029. "'" +
  7030. ", " +
  7031. "`" +
  7032. text +
  7033. "`" +
  7034. ")\n" +
  7035. " });\n" +
  7036. "}\n" +
  7037. "document.head.appendChild(_js);\n";
  7038. _iframe.contentWindow.document.head.appendChild(_ajs);
  7039. }
  7040. }
  7041. }
  7042. U.MD.D.I.getEditorContent = function (iframe) {
  7043. return new Promise((resolve, reject) => {
  7044. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  7045. console.log(content);
  7046. resolve(content)
  7047. });
  7048. });
  7049. }
  7050. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  7051. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  7052. // if (res.value[0].length > 0) {
  7053. // // resolve(res.value[0][0].text);
  7054. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  7055. // $(fileInput).val('');
  7056. // });
  7057. // }
  7058. // }, [], { "type": "GET", "withCredentials": true });
  7059. var xmlhttp;
  7060. var Mac, Sn, DeviceId
  7061. if (window.XMLHttpRequest) {
  7062. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7063. xmlhttp = new XMLHttpRequest();
  7064. }
  7065. else {
  7066. // IE6, IE5 瀏覽器執行代碼
  7067. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7068. }
  7069. xmlhttp.onreadystatechange = function () {
  7070. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7071. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7072. // resolve(res.value[0][0].text);
  7073. if (type == '2') {
  7074. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7075. } else if (type == '3') {
  7076. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7077. }
  7078. } else {
  7079. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  7080. }
  7081. }
  7082. }
  7083. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7084. xmlhttp.send();
  7085. }
  7086. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  7087. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7088. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7089. _userinfo = US.userInfo, //登錄用戶信息
  7090. _userid = US.userInfo.userid //登錄用戶id
  7091. let _iframe;
  7092. let _cid = cid,
  7093. _stage = stage,
  7094. _task = task,
  7095. _tool = tool;
  7096. var _jie = $$("div", {
  7097. "style": {
  7098. "position": "absolute",
  7099. "bottom": "50px",
  7100. "right": "50px",
  7101. "zIndex": "9999",
  7102. "backgroundColor": "#2268bc",
  7103. "color": "#fff",
  7104. "padding": "12px 20px",
  7105. "cursor": "pointer",
  7106. "borderRadius": "4px",
  7107. },
  7108. "innerHTML": "確認並提交"
  7109. })
  7110. let aTool = ''
  7111. let _loading = document.createElement('div')
  7112. _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;"
  7113. // _loading.id = "";
  7114. let _lchild = document.createElement('div')
  7115. let _limg = document.createElement('img')
  7116. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7117. _limg.style = "width: 26px;margin-right: 10px;"
  7118. _lchild.appendChild(_limg)
  7119. let _lspan = document.createElement('span')
  7120. _lspan.innerHTML = "上傳中..."
  7121. _lchild.appendChild(_lspan)
  7122. _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%);"
  7123. _loading.appendChild(_lchild)
  7124. var _box = $$('div', {
  7125. "style": {
  7126. "position": "relative",
  7127. "width": "100%",
  7128. "height": "100%",
  7129. },
  7130. })
  7131. _box.appendChild(_loading)
  7132. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  7133. switch (str) {
  7134. case "whiteboard":
  7135. aTool = 1;
  7136. _iframe = $$("iframe", {
  7137. "frameborder": "no",
  7138. "border": "0",
  7139. "scrolling ": "no",
  7140. "style": {
  7141. "cssText": "border:0;width:100%;height:100%"
  7142. },
  7143. "src": "https://iwb.cocorobo.hk/"
  7144. })
  7145. _box.appendChild(_iframe);
  7146. _box.appendChild(_jie);
  7147. _formdiv = new U.UF.UI.form(
  7148. "電子白板",
  7149. _box, {
  7150. "id": "whiteboards" + cid + stage + task + tool,
  7151. "style": {
  7152. "width": "90%",
  7153. "height": "90%",
  7154. "overflow": 'hidden'
  7155. },
  7156. "onresize": function () { }
  7157. }, {
  7158. closecallback: function () { }
  7159. }, {
  7160. "style": {
  7161. "height": "36px"
  7162. }
  7163. }).form; //創建窗體
  7164. _taskbar = {
  7165. "id": str + _formdiv.id,
  7166. "style": {
  7167. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7168. },
  7169. "name": "電子白板",
  7170. "forms": _formdiv,
  7171. "click": function () {
  7172. U.MD.D.I.openApplication(str, obj, info);
  7173. }
  7174. }
  7175. break;
  7176. case "mind":
  7177. aTool = 3;
  7178. _iframe = $$("iframe", {
  7179. "frameborder": "no",
  7180. "border": "0",
  7181. "scrolling ": "no",
  7182. "style": {
  7183. "cssText": "border:0;width:100%;height:100%"
  7184. },
  7185. "src": "/kityminder-editor/dist/index.html"
  7186. });
  7187. _box.appendChild(_iframe);
  7188. _box.appendChild(_jie);
  7189. _formdiv = new U.UF.UI.form(
  7190. "思維導圖",
  7191. _box, { //"/jsmind/example/demo.html"
  7192. "id": "minds" + cid + stage + task + tool,
  7193. "style": {
  7194. "width": "90%",
  7195. "height": "90%",
  7196. "overflow": 'hidden'
  7197. },
  7198. "onresize": function () { }
  7199. }, {
  7200. closecallback: function () { }
  7201. }, {
  7202. "style": {
  7203. "height": "36px"
  7204. }
  7205. }).form; //創建窗體
  7206. _taskbar = {
  7207. "id": str + _formdiv.id,
  7208. "style": {
  7209. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7210. },
  7211. "name": "思維導圖",
  7212. "forms": _formdiv,
  7213. "click": function () {
  7214. U.MD.D.I.openApplication(str, obj, info);
  7215. }
  7216. }
  7217. break;
  7218. case "doc":
  7219. aTool = 6;
  7220. _iframe = $$("iframe", {
  7221. "frameborder": "no",
  7222. "border": "0",
  7223. "scrolling ": "no",
  7224. "style": {
  7225. "cssText": "border:0;width:100%;height:100%"
  7226. },
  7227. "src": "/Office/Word/WordEditArea.htm"
  7228. })
  7229. _box.appendChild(_iframe);
  7230. _box.appendChild(_jie);
  7231. _formdiv = new U.UF.UI.form(
  7232. "協同文檔",
  7233. _box, {
  7234. "id": "docs" + cid + stage + task + tool,
  7235. "style": {
  7236. "width": "90%",
  7237. "height": "90%",
  7238. "overflow": 'hidden'
  7239. },
  7240. "onresize": function () { }
  7241. }, {
  7242. closecallback: function () { }
  7243. }, {
  7244. "style": {
  7245. "height": "36px"
  7246. }
  7247. }).form; //創建窗體
  7248. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7249. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7250. })
  7251. _taskbar = {
  7252. "id": str + _formdiv.id,
  7253. "style": {
  7254. "backgroundImage": "url(/img/icon/doc.png)"
  7255. },
  7256. "name": "協同文檔",
  7257. "forms": _formdiv,
  7258. "click": function () {
  7259. U.MD.D.I.openApplication(str, obj, info);
  7260. }
  7261. }
  7262. break;
  7263. }
  7264. const script1 = document.createElement("script");
  7265. script1.type = "text/javascript";
  7266. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7267. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7268. const script2 = document.createElement("script");
  7269. script2.type = "text/javascript";
  7270. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7271. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7272. const script3 = document.createElement("script");
  7273. script3.type = "text/javascript";
  7274. script3.charset = "UTF-8";
  7275. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7276. const script4 = document.createElement("script");
  7277. script4.type = "text/javascript";
  7278. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7279. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  7280. if (_iframe) {
  7281. if (str == 'doc') {
  7282. _iframe = _formdiv.querySelector('iframe')
  7283. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7284. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7285. _iframe.contentWindow.document.body.appendChild(script1);
  7286. _iframe.contentWindow.document.body.appendChild(script2);
  7287. // _iframe.contentWindow.document.body.appendChild(script3);
  7288. _iframe.contentWindow.document.body.appendChild(script4);
  7289. })
  7290. if (onloadListener) {
  7291. _iframe.contentDocument.location.reload()
  7292. } else {
  7293. _iframe.contentDocument.location.reload()
  7294. }
  7295. } else if (str == 'mind') {
  7296. _iframe = _formdiv.querySelector('iframe')
  7297. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7298. _iframe.contentWindow.document.body.appendChild(script1);
  7299. _iframe.contentWindow.document.body.appendChild(script2);
  7300. _iframe.contentWindow.document.body.appendChild(script4);
  7301. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7302. })
  7303. if (onloadListener) {
  7304. _iframe.contentDocument.location.reload()
  7305. } else {
  7306. _iframe.contentDocument.location.reload()
  7307. }
  7308. } else {
  7309. _iframe.onload = () => {
  7310. _iframe.contentWindow.document.body.appendChild(script1);
  7311. _iframe.contentWindow.document.body.appendChild(script2);
  7312. // _iframe.contentWindow.document.body.appendChild(script3);
  7313. _iframe.contentWindow.document.body.appendChild(script4);
  7314. };
  7315. }
  7316. _jie.onclick = async () => {
  7317. let text = ''
  7318. if (aTool == 6) {
  7319. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7320. } else if (aTool == 3) {
  7321. text = await U.MD.D.I.getEditorContent(_iframe);
  7322. }
  7323. _loading.style.display = 'flex'
  7324. console.log(_loading);
  7325. var _ajs = _iframe.contentWindow.document.createElement("script");
  7326. _ajs.type = "text/javascript";
  7327. _ajs.innerHTML =
  7328. // 'console.log(' + _loading + ');\n' +
  7329. 'var _js = document.createElement("script");\n' +
  7330. '_js.type="text/javascript";\n' +
  7331. '_js.charset="UTF-8";\n' +
  7332. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7333. "_js.onload = function(){\n" +
  7334. ' var a = document.getElementsByTagName("img")\n' +
  7335. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7336. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7337. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7338. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7339. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7340. "beforeUpload_shishi(file," +
  7341. "'" +
  7342. _userid +
  7343. "'" +
  7344. ", " +
  7345. "'" +
  7346. _cid +
  7347. "'" +
  7348. ", " +
  7349. "'" +
  7350. _stage +
  7351. "'" +
  7352. ", " +
  7353. "'" +
  7354. _task +
  7355. "'" +
  7356. ", " +
  7357. "'" +
  7358. _tool +
  7359. "'" +
  7360. ", " +
  7361. "'" +
  7362. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7363. "'" +
  7364. ", " +
  7365. "'" +
  7366. aTool +
  7367. "'" +
  7368. ", " +
  7369. "`" +
  7370. text +
  7371. "`" +
  7372. ")\n" +
  7373. " });\n" +
  7374. "}\n" +
  7375. "document.head.appendChild(_js);\n";
  7376. _iframe.contentWindow.document.head.appendChild(_ajs);
  7377. }
  7378. }
  7379. //U.MD.D.I.openClick(str);
  7380. //如果有任務欄信息
  7381. // if (_taskbar) {
  7382. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7383. // }
  7384. }
  7385. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7386. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7387. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7388. _userinfo = US.userInfo, //登錄用戶信息
  7389. _userid = US.userInfo.userid //登錄用戶id
  7390. let _iframe;
  7391. let _cid = cid,
  7392. _stage = stage,
  7393. _task = task,
  7394. _tool = tool;
  7395. var _jie = $$("div", {
  7396. "style": {
  7397. "position": "absolute",
  7398. "bottom": "50px",
  7399. "right": "50px",
  7400. "zIndex": "9999",
  7401. "backgroundColor": "#2268bc",
  7402. "color": "#fff",
  7403. "padding": "12px 20px",
  7404. "cursor": "pointer",
  7405. "borderRadius": "4px",
  7406. },
  7407. "innerHTML": "確認並提交"
  7408. })
  7409. let aTool = ''
  7410. let _loading = document.createElement('div')
  7411. _loading.style = "width:100%;height:100%;background:#00000000;position:absolute;top:0;left:0;z-index:99999999999999;display: none;justify-content: center;align-items: center;"
  7412. // _loading.id = "";
  7413. let _lchild = document.createElement('div')
  7414. let _limg = document.createElement('img')
  7415. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7416. _limg.style = "width: 26px;margin-right: 10px;"
  7417. _lchild.appendChild(_limg)
  7418. let _lspan = document.createElement('span')
  7419. _lspan.innerHTML = "上傳中..."
  7420. _lchild.appendChild(_lspan)
  7421. _lchild.style = "color: rgb(255, 255, 255);padding: 15px;background: rgba(0, 0, 0, 0.44);font-size: 18px;display: flex;align-items: center;position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);"
  7422. _loading.appendChild(_lchild)
  7423. var _box = $$('div', {
  7424. "style": {
  7425. "position": "relative",
  7426. "width": "100%",
  7427. "height": "100%",
  7428. },
  7429. })
  7430. _box.appendChild(_loading)
  7431. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7432. switch (str) {
  7433. case "whiteboard":
  7434. aTool = 1;
  7435. _iframe = $$("iframe", {
  7436. "frameborder": "no",
  7437. "border": "0",
  7438. "scrolling ": "no",
  7439. "style": {
  7440. "cssText": "border:0;width:100%;height:100%"
  7441. },
  7442. "src": "https://iwb.cocorobo.hk/"
  7443. })
  7444. _box.appendChild(_iframe);
  7445. _box.appendChild(_jie);
  7446. _formdiv = new U.UF.UI.form(
  7447. "電子白板",
  7448. _box, {
  7449. "id": "whiteboards" + cid + stage + task + tool,
  7450. "style": {
  7451. "width": "90%",
  7452. "height": "90%",
  7453. "overflow": 'hidden'
  7454. },
  7455. "onresize": function () { }
  7456. }, {
  7457. closecallback: function () { }
  7458. }, {
  7459. "style": {
  7460. "height": "36px"
  7461. }
  7462. }).form; //創建窗體
  7463. _taskbar = {
  7464. "id": str + _formdiv.id,
  7465. "style": {
  7466. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7467. },
  7468. "name": "電子白板",
  7469. "forms": _formdiv,
  7470. "click": function () {
  7471. U.MD.D.I.openApplication(str, obj, info);
  7472. }
  7473. }
  7474. break;
  7475. case "mind":
  7476. aTool = 3;
  7477. _iframe = $$("iframe", {
  7478. "frameborder": "no",
  7479. "border": "0",
  7480. "scrolling ": "no",
  7481. "style": {
  7482. "cssText": "border:0;width:100%;height:100%"
  7483. },
  7484. "src": "/kityminder-editor/dist/index.html"
  7485. });
  7486. _box.appendChild(_iframe);
  7487. _box.appendChild(_jie);
  7488. _formdiv = new U.UF.UI.form(
  7489. "思維導圖",
  7490. _box, { //"/jsmind/example/demo.html"
  7491. "id": "minds" + cid + stage + task + tool,
  7492. "style": {
  7493. "width": "90%",
  7494. "height": "90%",
  7495. "overflow": 'hidden'
  7496. },
  7497. "onresize": function () { }
  7498. }, {
  7499. closecallback: function () { }
  7500. }, {
  7501. "style": {
  7502. "height": "36px"
  7503. }
  7504. }).form; //創建窗體
  7505. _taskbar = {
  7506. "id": str + _formdiv.id,
  7507. "style": {
  7508. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7509. },
  7510. "name": "思維導圖",
  7511. "forms": _formdiv,
  7512. "click": function () {
  7513. U.MD.D.I.openApplication(str, obj, info);
  7514. }
  7515. }
  7516. break;
  7517. case "doc":
  7518. aTool = 6;
  7519. _iframe = $$("iframe", {
  7520. "frameborder": "no",
  7521. "border": "0",
  7522. "scrolling ": "no",
  7523. "style": {
  7524. "cssText": "border:0;width:100%;height:100%"
  7525. },
  7526. "src": "/Office/Word/WordEditArea.htm"
  7527. })
  7528. _box.appendChild(_iframe);
  7529. _box.appendChild(_jie);
  7530. _formdiv = new U.UF.UI.form(
  7531. "協同文檔",
  7532. _box, {
  7533. "id": "docs" + cid + stage + task + tool,
  7534. "style": {
  7535. "width": "90%",
  7536. "height": "90%",
  7537. "overflow": 'hidden'
  7538. },
  7539. "onresize": function () { }
  7540. }, {
  7541. closecallback: function () { }
  7542. }, {
  7543. "style": {
  7544. "height": "36px"
  7545. }
  7546. }).form; //創建窗體
  7547. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7548. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7549. })
  7550. _taskbar = {
  7551. "id": str + _formdiv.id,
  7552. "style": {
  7553. "backgroundImage": "url(/img/icon/doc.png)"
  7554. },
  7555. "name": "協同文檔",
  7556. "forms": _formdiv,
  7557. "click": function () {
  7558. U.MD.D.I.openApplication(str, obj, info);
  7559. }
  7560. }
  7561. break;
  7562. }
  7563. const script1 = document.createElement("script");
  7564. script1.type = "text/javascript";
  7565. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7566. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7567. const script2 = document.createElement("script");
  7568. script2.type = "text/javascript";
  7569. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7570. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7571. const script3 = document.createElement("script");
  7572. script3.type = "text/javascript";
  7573. script3.charset = "UTF-8";
  7574. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7575. const script4 = document.createElement("script");
  7576. script4.type = "text/javascript";
  7577. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7578. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  7579. if (_iframe) {
  7580. if (str == 'doc') {
  7581. _iframe = _formdiv.querySelector('iframe')
  7582. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7583. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7584. _iframe.contentWindow.document.body.appendChild(script1);
  7585. _iframe.contentWindow.document.body.appendChild(script2);
  7586. // _iframe.contentWindow.document.body.appendChild(script3);
  7587. _iframe.contentWindow.document.body.appendChild(script4);
  7588. })
  7589. if (onloadListener) {
  7590. _iframe.contentDocument.location.reload()
  7591. } else {
  7592. _iframe.contentDocument.location.reload()
  7593. }
  7594. } else if (str == 'mind') {
  7595. _iframe = _formdiv.querySelector('iframe')
  7596. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7597. _iframe.contentWindow.document.body.appendChild(script1);
  7598. _iframe.contentWindow.document.body.appendChild(script2);
  7599. _iframe.contentWindow.document.body.appendChild(script4);
  7600. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7601. })
  7602. if (onloadListener) {
  7603. _iframe.contentDocument.location.reload()
  7604. } else {
  7605. _iframe.contentDocument.location.reload()
  7606. }
  7607. } else {
  7608. _iframe.onload = () => {
  7609. _iframe.contentWindow.document.body.appendChild(script1);
  7610. _iframe.contentWindow.document.body.appendChild(script2);
  7611. // _iframe.contentWindow.document.body.appendChild(script3);
  7612. _iframe.contentWindow.document.body.appendChild(script4);
  7613. };
  7614. }
  7615. _jie.onclick = async () => {
  7616. let text = ''
  7617. if (aTool == 6) {
  7618. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7619. } else if (aTool == 3) {
  7620. text = await U.MD.D.I.getEditorContent(_iframe);
  7621. }
  7622. _loading.style.display = 'flex'
  7623. console.log(_loading);
  7624. var _ajs = _iframe.contentWindow.document.createElement("script");
  7625. _ajs.type = "text/javascript";
  7626. _ajs.innerHTML =
  7627. // 'console.log(' + _loading + ');\n' +
  7628. 'var _js = document.createElement("script");\n' +
  7629. '_js.type="text/javascript";\n' +
  7630. '_js.charset="UTF-8";\n' +
  7631. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7632. "_js.onload = function(){\n" +
  7633. ' var a = document.getElementsByTagName("img")\n' +
  7634. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7635. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7636. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7637. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7638. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7639. "beforeUpload_shishi(file," +
  7640. "'" +
  7641. _userid +
  7642. "'" +
  7643. ", " +
  7644. "'" +
  7645. _cid +
  7646. "'" +
  7647. ", " +
  7648. "'" +
  7649. _stage +
  7650. "'" +
  7651. ", " +
  7652. "'" +
  7653. _task +
  7654. "'" +
  7655. ", " +
  7656. "'" +
  7657. _tool +
  7658. "'" +
  7659. ", " +
  7660. "'" +
  7661. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7662. "'" +
  7663. ", " +
  7664. "'" +
  7665. aTool +
  7666. "'" +
  7667. ", " +
  7668. "`" +
  7669. text +
  7670. "`" +
  7671. ")\n" +
  7672. " });\n" +
  7673. "}\n" +
  7674. "document.head.appendChild(_js);\n";
  7675. _iframe.contentWindow.document.head.appendChild(_ajs);
  7676. }
  7677. }
  7678. //U.MD.D.I.openClick(str);
  7679. //如果有任務欄信息
  7680. // if (_taskbar) {
  7681. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7682. // }
  7683. }
  7684. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7685. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7686. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7687. _userinfo = US.userInfo, //登錄用戶信息
  7688. _userid = US.userInfo.userid //登錄用戶id
  7689. let _iframe;
  7690. let _cid = cid,
  7691. _stage = stage,
  7692. _task = task,
  7693. _tool = tool;
  7694. var _jie = $$("div", {
  7695. "style": {
  7696. "position": "absolute",
  7697. "bottom": "50px",
  7698. "right": "50px",
  7699. "zIndex": "9999",
  7700. "backgroundColor": "#2268bc",
  7701. "color": "#fff",
  7702. "padding": "12px 20px",
  7703. "cursor": "pointer",
  7704. "borderRadius": "4px",
  7705. },
  7706. "innerHTML": "上傳模板"
  7707. })
  7708. let aTool = ''
  7709. let _loading = document.createElement('div')
  7710. _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;"
  7711. // _loading.id = "";
  7712. let _lchild = document.createElement('div')
  7713. let _limg = document.createElement('img')
  7714. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7715. _limg.style = "width: 26px;margin-right: 10px;"
  7716. _lchild.appendChild(_limg)
  7717. let _lspan = document.createElement('span')
  7718. _lspan.innerHTML = "上傳中..."
  7719. _lchild.appendChild(_lspan)
  7720. _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%);"
  7721. _loading.appendChild(_lchild)
  7722. var _box = $$('div', {
  7723. "style": {
  7724. "position": "relative",
  7725. "width": "100%",
  7726. "height": "100%",
  7727. },
  7728. })
  7729. _box.appendChild(_loading)
  7730. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7731. switch (str) {
  7732. case "whiteboard":
  7733. aTool = 1;
  7734. _iframe = $$("iframe", {
  7735. "frameborder": "no",
  7736. "border": "0",
  7737. "scrolling ": "no",
  7738. "style": {
  7739. "cssText": "border:0;width:100%;height:100%"
  7740. },
  7741. "src": "https://iwb.cocorobo.hk/"
  7742. })
  7743. _box.appendChild(_iframe);
  7744. _box.appendChild(_jie);
  7745. _formdiv = new U.UF.UI.form(
  7746. "電子白板",
  7747. _box, {
  7748. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7749. "style": {
  7750. "width": "90%",
  7751. "height": "90%",
  7752. "overflow": 'hidden'
  7753. },
  7754. "onresize": function () { }
  7755. }, {
  7756. closecallback: function () { }
  7757. }, {
  7758. "style": {
  7759. "height": "36px"
  7760. }
  7761. }).form; //創建窗體
  7762. _taskbar = {
  7763. "id": str + _formdiv.id,
  7764. "style": {
  7765. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7766. },
  7767. "name": "電子白板",
  7768. "forms": _formdiv,
  7769. "click": function () {
  7770. U.MD.D.I.openApplication(str, obj, info);
  7771. }
  7772. }
  7773. break;
  7774. case "mind":
  7775. aTool = 3;
  7776. _iframe = $$("iframe", {
  7777. "frameborder": "no",
  7778. "border": "0",
  7779. "scrolling ": "no",
  7780. "style": {
  7781. "cssText": "border:0;width:100%;height:100%"
  7782. },
  7783. "src": "/kityminder-editor/dist/index.html"
  7784. });
  7785. _box.appendChild(_iframe);
  7786. _box.appendChild(_jie);
  7787. _formdiv = new U.UF.UI.form(
  7788. "思維導圖",
  7789. _box, { //"/jsmind/example/demo.html"
  7790. "id": "minds_Yu" + cid + stage + task + tool,
  7791. "style": {
  7792. "width": "90%",
  7793. "height": "90%",
  7794. "overflow": 'hidden'
  7795. },
  7796. "onresize": function () { }
  7797. }, {
  7798. closecallback: function () { }
  7799. }, {
  7800. "style": {
  7801. "height": "36px"
  7802. }
  7803. }).form; //創建窗體
  7804. _taskbar = {
  7805. "id": str + _formdiv.id,
  7806. "style": {
  7807. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7808. },
  7809. "name": "思維導圖",
  7810. "forms": _formdiv,
  7811. "click": function () {
  7812. U.MD.D.I.openApplication(str, obj, info);
  7813. }
  7814. }
  7815. break;
  7816. case "doc":
  7817. aTool = 6;
  7818. _iframe = $$("iframe", {
  7819. "frameborder": "no",
  7820. "border": "0",
  7821. "scrolling ": "no",
  7822. "style": {
  7823. "cssText": "border:0;width:100%;height:100%"
  7824. },
  7825. "src": "/Office/Word/WordEditArea.htm"
  7826. })
  7827. _box.appendChild(_iframe);
  7828. _box.appendChild(_jie);
  7829. _formdiv = new U.UF.UI.form(
  7830. "協同文檔",
  7831. _box, {
  7832. "id": "docs_Yu" + cid + stage + task + tool,
  7833. "style": {
  7834. "width": "90%",
  7835. "height": "90%",
  7836. "overflow": 'hidden'
  7837. },
  7838. "onresize": function () { }
  7839. }, {
  7840. closecallback: function () { }
  7841. }, {
  7842. "style": {
  7843. "height": "36px"
  7844. }
  7845. }).form; //創建窗體
  7846. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7847. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7848. })
  7849. _taskbar = {
  7850. "id": str + _formdiv.id,
  7851. "style": {
  7852. "backgroundImage": "url(/img/icon/doc.png)"
  7853. },
  7854. "name": "協同文檔",
  7855. "forms": _formdiv,
  7856. "click": function () {
  7857. U.MD.D.I.openApplication(str, obj, info);
  7858. }
  7859. }
  7860. break;
  7861. case "CocoPi":
  7862. aTool = 57;
  7863. _iframe = $$("iframe", {
  7864. "allowpaymentrequest": "allowpaymentrequest",
  7865. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7866. "webkitallowfullscreen": "",
  7867. "mozallowfullscreen": "",
  7868. "frameborder": "no",
  7869. "border": "0",
  7870. "scrolling ": "no",
  7871. "style": {
  7872. "cssText": "border:0;width:100%;height:100%"
  7873. },
  7874. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7875. })
  7876. _box.appendChild(_iframe);
  7877. _box.appendChild(_jie);
  7878. _formdiv = new U.UF.UI.form(
  7879. "CocoPi",
  7880. _box, {
  7881. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7882. "style": {
  7883. "width": "90%",
  7884. "height": "90%",
  7885. "overflow": 'hidden'
  7886. },
  7887. "onresize": function () { }
  7888. }, {
  7889. closecallback: function () { }
  7890. }, {
  7891. "style": {
  7892. "height": "36px"
  7893. }
  7894. }).form; //創建窗體
  7895. _taskbar = {
  7896. "id": str + _formdiv.id,
  7897. "style": {
  7898. "backgroundImage": "url(/img/icon/cocopi.png)"
  7899. },
  7900. "name": "CocoPi",
  7901. "forms": _formdiv,
  7902. "click": function () {
  7903. U.MD.D.I.openApplication(str, obj, info);
  7904. }
  7905. }
  7906. break;
  7907. }
  7908. if (_iframe) {
  7909. if (str == 'doc') {
  7910. _iframe = _formdiv.querySelector('iframe')
  7911. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7912. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7913. })
  7914. if (onloadListener) {
  7915. _iframe.contentDocument.location.reload()
  7916. } else {
  7917. _iframe.contentDocument.location.reload()
  7918. }
  7919. } else if (str == 'mind') {
  7920. _iframe = _formdiv.querySelector('iframe')
  7921. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7922. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7923. })
  7924. if (onloadListener) {
  7925. _iframe.contentDocument.location.reload()
  7926. } else {
  7927. _iframe.contentDocument.location.reload()
  7928. }
  7929. } else if (str == 'whiteboard') {
  7930. _iframe = _formdiv.querySelector('iframe')
  7931. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7932. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7933. })
  7934. if (onloadListener) {
  7935. _iframe.contentDocument.location.reload()
  7936. } else {
  7937. _iframe.contentDocument.location.reload()
  7938. }
  7939. } else if (str == 'CocoPi') {
  7940. _iframe = _formdiv.querySelector('iframe')
  7941. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7942. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7943. })
  7944. if (onloadListener) {
  7945. _iframe.contentDocument.location.reload()
  7946. } else {
  7947. _iframe.contentDocument.location.reload()
  7948. }
  7949. } else {
  7950. _iframe.onload = () => { };
  7951. }
  7952. _jie.onclick = async () => {
  7953. let text = ''
  7954. let type = '2'
  7955. if (aTool == 1) {
  7956. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7957. type = '3'
  7958. } else if (aTool == 6) {
  7959. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7960. type = '1'
  7961. } else if (aTool == 3) {
  7962. text = await U.MD.D.I.getEditorContent(_iframe);
  7963. type = '2'
  7964. } else if (aTool == 57) {
  7965. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7966. type = '4'
  7967. }
  7968. _loading.style.display = 'flex'
  7969. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7970. }
  7971. }
  7972. //U.MD.D.I.openClick(str);
  7973. //如果有任務欄信息
  7974. // if (_taskbar) {
  7975. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7976. // }
  7977. }
  7978. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7979. var xmlhttp;
  7980. var Mac, Sn, DeviceId
  7981. if (window.XMLHttpRequest) {
  7982. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7983. xmlhttp = new XMLHttpRequest();
  7984. }
  7985. else {
  7986. // IE6, IE5 瀏覽器執行代碼
  7987. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7988. }
  7989. xmlhttp.onreadystatechange = function () {
  7990. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7991. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7992. // resolve(res.value[0][0].text);
  7993. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7994. }
  7995. }
  7996. }
  7997. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7998. xmlhttp.send();
  7999. }
  8000. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  8001. var xmlhttp;
  8002. var Mac, Sn, DeviceId
  8003. if (window.XMLHttpRequest) {
  8004. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8005. xmlhttp = new XMLHttpRequest();
  8006. }
  8007. else {
  8008. // IE6, IE5 瀏覽器執行代碼
  8009. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8010. }
  8011. xmlhttp.onreadystatechange = function () {
  8012. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8013. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8014. // resolve(res.value[0][0].text);
  8015. if (type == '2') {
  8016. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8017. } else if (type == '3') {
  8018. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8019. } else if (type == '4') {
  8020. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  8021. }
  8022. } else {
  8023. if (type == '2') {
  8024. iframe.contentWindow.editor.minder.importData('json', '')
  8025. } else if (type == '3') {
  8026. iframe.contentWindow.h.app.updateScene({ elements: [] })
  8027. } else if (type == '4') {
  8028. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8029. }
  8030. }
  8031. }
  8032. }
  8033. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8034. xmlhttp.send();
  8035. }
  8036. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  8037. var xmlhttp;
  8038. var Mac, Sn, DeviceId
  8039. if (window.XMLHttpRequest) {
  8040. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8041. xmlhttp = new XMLHttpRequest();
  8042. }
  8043. else {
  8044. // IE6, IE5 瀏覽器執行代碼
  8045. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8046. }
  8047. xmlhttp.onreadystatechange = function () {
  8048. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8049. if (xmlhttp.response) {
  8050. // resolve(res.value[0][0].text);
  8051. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  8052. // $(fileInput).val('');
  8053. // });
  8054. span.innerHTML = '上傳成功'
  8055. setTimeout(() => {
  8056. loading.style.display = 'none'
  8057. }, 1000);
  8058. }
  8059. }
  8060. }
  8061. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  8062. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  8063. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  8064. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  8065. // 設置請求頭,表示請求體的編碼格式
  8066. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  8067. // 設置請求體,使用url-encoded格式的數據
  8068. }
  8069. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  8070. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8071. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8072. _userinfo = US.userInfo, //登錄用戶信息
  8073. _userid = US.userInfo.userid //登錄用戶id
  8074. let _iframe;
  8075. let _cid = cid,
  8076. _stage = stage,
  8077. _task = task,
  8078. _tool = tool;
  8079. var _jie = $$("div", {
  8080. "style": {
  8081. "position": "absolute",
  8082. "bottom": "50px",
  8083. "right": "50px",
  8084. "zIndex": "9999",
  8085. "backgroundColor": "#2268bc",
  8086. "color": "#fff",
  8087. "padding": "12px 20px",
  8088. "cursor": "pointer",
  8089. "borderRadius": "4px",
  8090. },
  8091. "innerHTML": "提交作業"
  8092. })
  8093. let aTool = ''
  8094. let _loading = document.createElement('div')
  8095. _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;"
  8096. // _loading.id = "";
  8097. let _lchild = document.createElement('div')
  8098. let _limg = document.createElement('img')
  8099. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8100. _limg.style = "width: 26px;margin-right: 10px;"
  8101. _lchild.appendChild(_limg)
  8102. let _lspan = document.createElement('span')
  8103. _lspan.innerHTML = "上傳中..."
  8104. _lchild.appendChild(_lspan)
  8105. _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%);"
  8106. _loading.appendChild(_lchild)
  8107. var _box = $$('div', {
  8108. "style": {
  8109. "position": "relative",
  8110. "width": "100%",
  8111. "height": "100%",
  8112. },
  8113. })
  8114. _box.appendChild(_loading)
  8115. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  8116. switch (str) {
  8117. case "CocoPi":
  8118. aTool = 57;
  8119. _iframe = $$("iframe", {
  8120. "allowpaymentrequest": "allowpaymentrequest",
  8121. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8122. "webkitallowfullscreen": "",
  8123. "mozallowfullscreen": "",
  8124. "frameborder": "no",
  8125. "border": "0",
  8126. "scrolling ": "no",
  8127. "style": {
  8128. "cssText": "border:0;width:100%;height:100%"
  8129. },
  8130. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8131. })
  8132. _box.appendChild(_iframe);
  8133. _box.appendChild(_jie);
  8134. _formdiv = new U.UF.UI.form(
  8135. "CocoPi",
  8136. _box, {
  8137. "id": "CocoPi_Upload" + cid + stage + task + tool,
  8138. "style": {
  8139. "width": "90%",
  8140. "height": "90%",
  8141. "overflow": 'hidden'
  8142. },
  8143. "onresize": function () { }
  8144. }, {
  8145. closecallback: function () { }
  8146. }, {
  8147. "style": {
  8148. "height": "36px"
  8149. }
  8150. }).form; //創建窗體
  8151. _taskbar = {
  8152. "id": str + _formdiv.id,
  8153. "style": {
  8154. "backgroundImage": "url(/img/icon/cocopi.png)"
  8155. },
  8156. "name": "CocoPi",
  8157. "forms": _formdiv,
  8158. "click": function () {
  8159. U.MD.D.I.openApplication(str, obj, info);
  8160. }
  8161. }
  8162. break;
  8163. }
  8164. if (_iframe) {
  8165. if (str == 'CocoPi') {
  8166. _iframe = _formdiv.querySelector('iframe')
  8167. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8168. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8169. })
  8170. if (onloadListener) {
  8171. _iframe.contentDocument.location.reload()
  8172. } else {
  8173. _iframe.contentDocument.location.reload()
  8174. }
  8175. }
  8176. _jie.onclick = async () => {
  8177. let text = ''
  8178. if (aTool == 57) {
  8179. text = _iframe.contentWindow.getLoadXmlStr()
  8180. }
  8181. _loading.style.display = 'flex'
  8182. console.log(_loading);
  8183. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8184. _loading.style.display = 'none'
  8185. let _div = document.createElement('div')
  8186. _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;"
  8187. let _inner = document.createElement('div')
  8188. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8189. _inner.innerHTML = "上傳成功"
  8190. _div.appendChild(_inner)
  8191. _iframe.contentWindow.window.document.body.appendChild(_div)
  8192. _div.onclick = () => {
  8193. _iframe.contentWindow.window.document.body.removeChild(_div)
  8194. }
  8195. setTimeout(() => {
  8196. _iframe.contentWindow.window.document.body.removeChild(_div)
  8197. }, 1000);
  8198. }, [], { "type": "POST", "withCredentials": true });
  8199. }
  8200. }
  8201. }
  8202. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8203. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8204. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8205. _userid = student.userid, //登錄用戶id
  8206. _username = student.student //用戶名字
  8207. let _iframe;
  8208. let _cid = cid,
  8209. _stage = stage,
  8210. _task = task,
  8211. _tool = tool;
  8212. var _jie = $$("div", {
  8213. "style": {
  8214. "position": "absolute",
  8215. "bottom": "50px",
  8216. "right": "50px",
  8217. "zIndex": "9999",
  8218. "backgroundColor": "#2268bc",
  8219. "color": "#fff",
  8220. "padding": "12px 20px",
  8221. "cursor": "pointer",
  8222. "borderRadius": "4px",
  8223. },
  8224. "innerHTML": "提交作業"
  8225. })
  8226. let aTool = ''
  8227. let _loading = document.createElement('div')
  8228. _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;"
  8229. // _loading.id = "";
  8230. let _lchild = document.createElement('div')
  8231. let _limg = document.createElement('img')
  8232. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8233. _limg.style = "width: 26px;margin-right: 10px;"
  8234. _lchild.appendChild(_limg)
  8235. let _lspan = document.createElement('span')
  8236. _lspan.innerHTML = "上傳中..."
  8237. _lchild.appendChild(_lspan)
  8238. _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%);"
  8239. _loading.appendChild(_lchild)
  8240. var _box = $$('div', {
  8241. "style": {
  8242. "position": "relative",
  8243. "width": "100%",
  8244. "height": "100%",
  8245. },
  8246. })
  8247. _box.appendChild(_loading)
  8248. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8249. switch (str) {
  8250. case "CocoPi":
  8251. aTool = 57;
  8252. _iframe = $$("iframe", {
  8253. "allowpaymentrequest": "allowpaymentrequest",
  8254. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8255. "webkitallowfullscreen": "",
  8256. "mozallowfullscreen": "",
  8257. "frameborder": "no",
  8258. "border": "0",
  8259. "scrolling ": "no",
  8260. "style": {
  8261. "cssText": "border:0;width:100%;height:100%"
  8262. },
  8263. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8264. })
  8265. _box.appendChild(_iframe);
  8266. _box.appendChild(_jie);
  8267. _formdiv = new U.UF.UI.form(
  8268. "CocoPi-" + _username,
  8269. _box, {
  8270. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8271. "style": {
  8272. "width": "90%",
  8273. "height": "90%",
  8274. "overflow": 'hidden'
  8275. },
  8276. "onresize": function () { }
  8277. }, {
  8278. closecallback: function () { }
  8279. }, {
  8280. "style": {
  8281. "height": "36px"
  8282. }
  8283. }).form; //創建窗體
  8284. _taskbar = {
  8285. "id": str + _formdiv.id,
  8286. "style": {
  8287. "backgroundImage": "url(/img/icon/cocopi.png)"
  8288. },
  8289. "name": "CocoPi",
  8290. "forms": _formdiv,
  8291. "click": function () {
  8292. U.MD.D.I.openApplication(str, obj, info);
  8293. }
  8294. }
  8295. break;
  8296. }
  8297. if (_iframe) {
  8298. if (str == 'CocoPi') {
  8299. _iframe = _formdiv.querySelector('iframe')
  8300. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8301. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8302. })
  8303. if (onloadListener) {
  8304. _iframe.contentDocument.location.reload()
  8305. } else {
  8306. _iframe.contentDocument.location.reload()
  8307. }
  8308. }
  8309. _jie.onclick = async () => {
  8310. let text = ''
  8311. if (aTool == 57) {
  8312. text = _iframe.contentWindow.getLoadXmlStr()
  8313. }
  8314. _loading.style.display = 'flex'
  8315. console.log(_loading);
  8316. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8317. _loading.style.display = 'none'
  8318. let _div = document.createElement('div')
  8319. _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;"
  8320. let _inner = document.createElement('div')
  8321. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8322. _inner.innerHTML = "上傳成功"
  8323. _div.appendChild(_inner)
  8324. _iframe.contentWindow.window.document.body.appendChild(_div)
  8325. _div.onclick = () => {
  8326. _iframe.contentWindow.window.document.body.removeChild(_div)
  8327. }
  8328. setTimeout(() => {
  8329. _iframe.contentWindow.window.document.body.removeChild(_div)
  8330. }, 1000);
  8331. }, [], { "type": "POST", "withCredentials": true });
  8332. }
  8333. }
  8334. }
  8335. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8336. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8337. if (res.value[0].length > 0) {
  8338. if (atool == 57) {
  8339. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8340. }
  8341. } else {
  8342. if (atool == 57) {
  8343. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8344. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8345. }
  8346. }
  8347. }, [], { "type": "POST", "withCredentials": true });
  8348. }