DeskTop.js 614 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970
  1. /*
  2. 此處為桌面系統啟動應用區域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面應用處理
  5. //判斷圖片是否在拖拽,如果是拖拽圖標的過程是不會打開圖片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教師桌面圖標的全局變量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //極簡模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教師桌面圖標的全局變量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "項目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的項目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "學習資料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  213. ];
  214. U.MD.D.I.szulsDeskIcon = [
  215. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  216. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  217. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  218. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  219. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  220. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  221. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  222. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  223. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  224. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  225. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  226. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  227. ];
  228. U.MD.D.I.hanDeskIcon = [
  229. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  230. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  231. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  232. { "Name": "漢字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  233. { "Name": "國學經典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  234. { "Name": "筆畫訓練", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  235. { "Name": "書法課堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  236. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  237. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  238. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  239. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  240. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  241. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  242. ];
  243. U.MD.D.I.GMteacherDeskIcon = [
  244. { "Name": "課程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  245. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  246. { "Name": "學生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  247. { "Name": "學生評價", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  248. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  249. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  250. { "Name": "班級管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  251. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  252. { "Name": "課程進展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  253. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  254. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  255. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  256. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  257. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  258. ];
  259. U.MD.D.I.GMstudentDeskIcon = [
  260. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  261. { "Name": "我的評價", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  262. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  263. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  264. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  265. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  266. ];
  267. //松山湖
  268. U.MD.D.I.SONGteacherDeskIcon = [
  269. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  270. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  271. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  272. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  273. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  301. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  302. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  303. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  304. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  305. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  306. ];
  307. U.MD.D.I.tcStudentDeskIcon = [
  308. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  309. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  310. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  311. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  312. ];
  313. U.MD.D.I.tcTeacherDeskIcon = [
  314. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  315. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  316. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  317. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  318. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  319. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  320. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  321. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  322. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  323. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  324. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  325. ];
  326. U.MD.D.I.tcOrganizerDeskIcon = [
  327. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  328. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  329. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  330. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  332. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  333. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  334. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  335. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  338. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  339. ];
  340. U.MD.D.I.szscStudentDeskIcon = [
  341. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  342. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  343. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  344. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  345. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. ];
  347. U.MD.D.I.szscTeacherDeskIcon = [
  348. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  349. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  350. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  351. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  352. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  353. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  354. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  355. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  356. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  357. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  358. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  359. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  360. ];
  361. U.MD.D.I.szscOrganizerDeskIcon = [
  362. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  363. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  364. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  365. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  366. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  367. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  368. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  369. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  370. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  371. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  372. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  373. ];
  374. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  375. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  376. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  377. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  378. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  379. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  380. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  381. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  382. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  383. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  384. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  385. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  386. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  387. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  388. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  389. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  390. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  391. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  392. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  393. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  394. ];
  395. U.MD.D.I.wankeAdminDeskIcon = [
  396. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  397. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  398. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  399. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  400. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  401. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  402. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  403. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  404. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  405. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  406. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  407. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  408. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  409. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  410. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  411. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  412. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  413. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  416. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  423. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  424. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  425. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  426. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  427. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  428. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  429. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  430. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  431. ];
  432. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  433. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  434. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  435. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  436. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  437. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  438. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  439. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  440. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  441. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  442. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  443. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  444. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  445. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  446. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  447. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  448. ];
  449. //明德教師桌面圖標的全局變量
  450. U.MD.D.I.MingdeTeacherDeskIcon = [
  451. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  452. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  453. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  454. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  455. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  456. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  457. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  458. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  459. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  460. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  461. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  462. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  463. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  464. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  465. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  466. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  467. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  468. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  469. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  470. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  471. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  472. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  473. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  474. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  475. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  476. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  477. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  478. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  479. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  480. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  481. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  482. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  483. ];
  484. //97c4ee8b-d010-4042-986d-e9d3c217264f
  485. //教師桌面圖標的全局變量
  486. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  487. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  488. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  489. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  490. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  491. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  492. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  493. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  494. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  495. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  496. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  497. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  498. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  499. ];
  500. //福田
  501. U.MD.D.I.futianTeacherDeskIcon = [
  502. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  503. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  504. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  505. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  506. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  507. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  508. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  509. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  510. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  511. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  512. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  513. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  514. ];
  515. //福田
  516. U.MD.D.I.futianAdminDeskIcon = [
  517. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  518. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  519. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  520. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  521. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  522. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  523. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  524. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  525. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  526. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  527. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  528. ];
  529. //lotech
  530. U.MD.D.I.lotechTeacherDeskIcon = [
  531. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  532. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  533. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  534. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  535. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  536. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  537. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  538. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  539. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  540. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  541. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  542. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  543. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  544. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  545. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  546. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  547. ];
  548. //龍華中心小學教師桌面圖標的全局變量
  549. U.MD.D.I.longhuateacherDeskIcon = [
  550. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  551. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  552. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  553. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  554. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  555. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  556. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  557. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  558. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  559. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  560. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  561. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  562. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  563. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  564. ];
  565. //教科院實小教師桌面圖標的全局變量
  566. U.MD.D.I.siesteacherDeskIcon = [
  567. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  568. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  569. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  570. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  571. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  572. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  573. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  574. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  575. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  576. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  577. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  578. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  579. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  580. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  581. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  582. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  583. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  584. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  586. { "Name": "數據融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  587. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  588. { "Name": "評測看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  589. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  590. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  591. { "Name": "教師管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  592. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  593. ];
  594. //教科院實小教師桌面圖標的全局變量
  595. U.MD.D.I.siesStudentDeskIcon = [
  596. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  597. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  598. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  599. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  600. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  601. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  602. ];
  603. //中山小學教師桌面圖標的全局變量
  604. U.MD.D.I.guzmsteacherDeskIcon = [
  605. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  606. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  607. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  608. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  609. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  610. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  611. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  612. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  613. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  614. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  615. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  616. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  617. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  618. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  619. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  620. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  621. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  622. ];
  623. //中山小學學生桌面圖標的全局變量
  624. U.MD.D.I.guzmsStudentDeskIcon = [
  625. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  626. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  627. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  628. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  629. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  630. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  631. ];
  632. //福田
  633. U.MD.D.I.gdjgTeacherDeskIcon = [
  634. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  635. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  636. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  637. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  638. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  639. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  640. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  641. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  642. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  643. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  644. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  645. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  646. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  647. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  648. ];
  649. //gdjg
  650. U.MD.D.I.gdjgAdminDeskIcon = [
  651. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  652. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  653. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  654. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  655. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  656. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  657. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  658. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  659. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  660. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  661. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  662. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  663. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  664. ];
  665. //hk
  666. U.MD.D.I.hkteacherDeskIcon = [
  667. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  668. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  669. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  670. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  671. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  672. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  673. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  674. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  675. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  676. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  677. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  678. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  679. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  680. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  681. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  682. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  683. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  684. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  685. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  686. ];
  687. //hk
  688. U.MD.D.I.hkStudentDeskIcon = [
  689. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  690. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  691. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  692. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  693. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  694. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  695. ];
  696. //hk
  697. U.MD.D.I.hkaceteacherDeskIcon = [
  698. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  699. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  700. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  701. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  702. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  703. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  704. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  705. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  706. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  707. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  708. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  709. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  710. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  711. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  712. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  713. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  714. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  715. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  716. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  717. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  718. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  719. ];
  720. //hk
  721. U.MD.D.I.hkaceStudentDeskIcon = [
  722. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  723. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  724. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  725. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  726. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  727. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  728. ];
  729. //香海正覺蓮社佛教正覺中學
  730. U.MD.D.I.hkZJLSteacherDeskIcon = [
  731. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  732. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  733. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  734. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  735. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  736. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  737. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  738. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  739. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  740. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  741. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  742. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  743. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  744. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  745. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  746. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  747. ];
  748. //香海正覺蓮社佛教正覺中學
  749. U.MD.D.I.hkZJLSStudentDeskIcon = [
  750. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  751. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  752. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  753. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  754. ];
  755. //雲海
  756. U.MD.D.I.yunhaiTeacherDeskIcon = [
  757. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  758. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  759. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  760. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  761. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  762. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  763. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  764. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  765. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  766. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  767. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  768. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  769. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  770. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  771. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  772. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  773. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  774. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  775. ];
  776. //福田
  777. U.MD.D.I.heyuanTeacherDeskIcon = [
  778. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  779. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  780. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  781. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  782. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  783. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  784. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  785. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  786. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  787. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  788. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  789. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  790. ];
  791. //福田
  792. U.MD.D.I.heyuanAdminDeskIcon = [
  793. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  794. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  795. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  796. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  797. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  798. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  799. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  800. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  801. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  802. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  803. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  804. ];
  805. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  806. U.MD.D.I.szherTeacherDeskIcon = [
  807. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  808. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  809. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  810. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  811. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  812. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  813. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  814. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  816. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  817. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  818. ];
  819. //dsei
  820. U.MD.D.I.dseiTeacherDeskIcon = [
  821. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  822. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  823. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  824. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  825. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  826. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  827. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  828. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  829. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  830. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  831. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  832. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  833. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  834. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  835. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  836. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  837. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  838. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  839. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  840. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  841. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  842. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  843. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  844. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  845. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  846. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  847. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  848. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  849. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  850. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  851. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  852. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  853. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  854. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  855. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  856. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  857. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  858. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  859. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  860. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  861. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  862. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  863. ];
  864. //dsei
  865. U.MD.D.I.dseiAdminDeskIcon = [
  866. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  867. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  868. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  869. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  870. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  871. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  872. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  873. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  874. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  875. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  876. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  877. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  878. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  879. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  880. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  881. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  882. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  883. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  884. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  885. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  886. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  887. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  888. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  889. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  890. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  891. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  892. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  893. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  894. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  895. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  896. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  897. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  898. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  899. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  900. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  901. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  902. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  903. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  904. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  905. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  906. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  907. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  908. ];
  909. //dsei
  910. U.MD.D.I.dseiStudentDeskIcon = [
  911. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  912. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  913. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  914. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  915. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  916. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  917. ];
  918. //未來教育基地
  919. U.MD.D.I.szjkyTeacherDeskIcon = [
  920. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  921. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  922. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  923. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  924. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  925. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  926. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  927. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  928. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  929. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  930. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  931. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  932. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  933. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  934. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  935. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  936. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  937. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  938. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  939. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  940. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  941. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  942. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  943. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  944. ];
  945. //未來教育基地
  946. U.MD.D.I.szjkyAdminDeskIcon = [
  947. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  948. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  949. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  950. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  951. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  952. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  953. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  954. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  955. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  956. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  957. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  958. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  959. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  960. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  961. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  962. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  963. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  964. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  965. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  966. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  967. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  968. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  969. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  970. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  971. ];
  972. //未來教育基地
  973. U.MD.D.I.szjkyStudentDeskIcon = [
  974. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  975. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  976. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  977. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  978. ];
  979. //成華教育局
  980. U.MD.D.I.chjyjTeacherDeskIcon = [
  981. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  982. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  983. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  984. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  985. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  986. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  987. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  988. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  989. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  990. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  991. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  992. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  993. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  994. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  995. ];
  996. //成華教育局chjyj
  997. U.MD.D.I.chjyjAdminDeskIcon = [
  998. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  999. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1000. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1001. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1002. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1003. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1004. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1005. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1006. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1007. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1008. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1009. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1010. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1011. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1012. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1013. ];
  1014. //成華教育局chjyj
  1015. U.MD.D.I.chjyjStudentDeskIcon = [
  1016. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1017. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1018. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1019. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1020. ];
  1021. //tpc
  1022. U.MD.D.I.tpcStudentDeskIcon = [
  1023. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1024. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1025. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1026. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1027. ];
  1028. //tpc
  1029. U.MD.D.I.tpcTeacherDeskIcon = [
  1030. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1031. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1032. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1033. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1034. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1035. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1036. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1037. ];
  1038. //tpc
  1039. U.MD.D.I.tpcAdminDeskIcon = [
  1040. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1041. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1042. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1043. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1044. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1045. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1046. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1047. ];
  1048. //THU-IOE
  1049. U.MD.D.I.thuioeTeacherDeskIcon = [
  1050. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1051. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1052. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1053. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1054. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1055. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1056. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1057. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1058. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1059. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1060. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1061. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1062. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1063. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1064. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1065. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1066. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1067. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1068. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1069. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1070. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1071. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1072. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1073. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1074. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1075. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1076. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1077. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1078. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1079. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1080. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1081. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1082. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1083. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1084. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1085. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1086. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1087. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1088. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1089. ];
  1090. //THU-IOE
  1091. U.MD.D.I.thuioeStudentDeskIcon = [
  1092. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1093. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1094. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1095. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1096. ];
  1097. //jccssyl
  1098. U.MD.D.I.jccssylTeacherDeskIcon = [
  1099. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1100. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1101. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1102. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1103. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1104. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1105. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1106. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1107. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1108. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1109. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1110. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1111. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1112. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1113. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1114. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1115. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1116. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1117. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1118. ];
  1119. //jccssyl
  1120. U.MD.D.I.jccssylStudentDeskIcon = [
  1121. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1122. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1123. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1124. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1125. ];
  1126. //cale
  1127. U.MD.D.I.caleTeacherDeskIcon = [
  1128. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1129. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1130. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1131. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1132. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1133. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1134. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1135. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1136. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1137. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1138. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1139. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1140. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1141. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1142. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1143. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1144. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1145. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1146. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1147. ];
  1148. //cale
  1149. U.MD.D.I.caleStudentDeskIcon = [
  1150. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1151. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1152. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1153. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1154. ];
  1155. //lqwmsgzs
  1156. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1157. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1158. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1159. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1160. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1161. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1162. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1163. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1164. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1165. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1166. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1167. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1168. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1169. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1170. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1171. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1172. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1173. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1174. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1175. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1176. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1177. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1178. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1179. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1180. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1181. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1182. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1183. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1184. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1185. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1186. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1187. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1188. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1189. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1190. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1191. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1192. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1193. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1194. ];
  1195. //lqwmsgzs
  1196. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1197. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1198. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1199. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1200. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1201. ];
  1202. //鹽田區幼兒園
  1203. U.MD.D.I.ytyTeacherDeskIcon = [
  1204. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1205. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1206. { "Name": "課程評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1207. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1208. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1209. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1210. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1211. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1212. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1213. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1214. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1215. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1216. ];
  1217. //鹽田區幼兒園
  1218. U.MD.D.I.ytyStudentDeskIcon = [
  1219. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1220. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1221. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1222. ];
  1223. //scnuai
  1224. U.MD.D.I.scnuaiTeacherDeskIcon = [
  1225. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1226. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1227. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1228. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1229. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1230. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1231. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1232. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1233. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1234. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1235. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1236. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1237. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1238. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1239. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1240. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1241. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1242. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1243. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1244. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1245. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1246. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1247. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1248. ];
  1249. //scnuai
  1250. U.MD.D.I.scnuaiAdminDeskIcon = [
  1251. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1252. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1253. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1254. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1255. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1256. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1257. // { "Name": "教研室", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  1258. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1259. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1260. // { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1261. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1262. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1263. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1264. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1265. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1266. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1267. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1268. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1269. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1270. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1271. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1272. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1273. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1274. ];
  1275. //scnuai
  1276. U.MD.D.I.scnuaiStudentDeskIcon = [
  1277. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1278. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1279. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1280. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1281. ];
  1282. //cocobiz
  1283. U.MD.D.I.cocobizteacherDeskIcon = [
  1284. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1285. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1286. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1287. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1288. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1289. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1290. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1291. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1292. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1293. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1294. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1295. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1296. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1297. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1298. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1299. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1300. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1301. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1302. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1303. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1304. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1305. ];
  1306. //cocobiz
  1307. U.MD.D.I.cocobizStudentDeskIcon = [
  1308. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1309. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1310. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1311. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1312. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1313. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1314. ];
  1315. //xxzjky
  1316. U.MD.D.I.xxzjkyteacherDeskIcon = [
  1317. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1318. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1319. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1320. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1321. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1322. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1323. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1324. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1325. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1326. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1327. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1328. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1329. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1330. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1331. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1332. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1333. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1334. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1335. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1336. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1337. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1338. ];
  1339. //xxzjky
  1340. U.MD.D.I.xxzjkyStudentDeskIcon = [
  1341. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1342. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1343. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1344. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1345. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1346. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1347. ];
  1348. //nsfx
  1349. U.MD.D.I.nsfxTeacherDeskIcon = [
  1350. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1351. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1352. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1353. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1354. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1355. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1356. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1357. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1358. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1359. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1360. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1361. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1362. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1363. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1364. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1365. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1366. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1367. ];
  1368. //nsfx
  1369. U.MD.D.I.nsfxStudentDeskIcon = [
  1370. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1371. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1372. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1373. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1374. ];
  1375. //stia
  1376. U.MD.D.I.stiaTeacherDeskIcon = [
  1377. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1378. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1379. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1380. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1381. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1382. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1383. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1384. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1385. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1386. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1387. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1388. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1389. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1390. ];
  1391. //stia
  1392. U.MD.D.I.stiaStudentDeskIcon = [
  1393. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1394. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1395. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1396. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1397. ];
  1398. //szdjg
  1399. U.MD.D.I.szdjgTeacherDeskIcon = [
  1400. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1401. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1402. ];
  1403. //szdjg
  1404. U.MD.D.I.szdjgStudentDeskIcon = [
  1405. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1406. // { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1407. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1408. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1409. ];
  1410. //010607
  1411. U.MD.D.I.x010607TeacherDeskIcon = [
  1412. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1413. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1414. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1415. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1416. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1417. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1418. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1419. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1420. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1421. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1422. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1423. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1424. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1425. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1426. // { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1427. ];
  1428. //010607
  1429. U.MD.D.I.x010607StudentDeskIcon = [
  1430. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1431. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1432. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1433. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1434. ];
  1435. //010608
  1436. U.MD.D.I.x010608TeacherDeskIcon = [
  1437. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1438. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1439. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1440. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1441. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1442. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1443. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1444. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1445. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1446. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1447. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1448. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1449. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1450. // { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1451. ];
  1452. //010608
  1453. U.MD.D.I.x010608StudentDeskIcon = [
  1454. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1455. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1456. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1457. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1458. ];
  1459. //xhly
  1460. U.MD.D.I.xhlyTeacherDeskIcon = [
  1461. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1462. ];
  1463. //010608
  1464. U.MD.D.I.xhlyStudentDeskIcon = [
  1465. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1466. ];
  1467. //北師大
  1468. U.MD.D.I.BSDNSteacherDeskIcon = [
  1469. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1470. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1471. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1472. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1473. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1474. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1475. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1476. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1477. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1478. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1479. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1480. ];
  1481. //北師大
  1482. U.MD.D.I.BSDNSstudentDeskIcon = [
  1483. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1484. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1485. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1486. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1487. ];
  1488. //CUHK_EDU
  1489. U.MD.D.I.CUHKEDUTeacherDeskIcon = [
  1490. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1491. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1492. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1493. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1494. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1495. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1496. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1497. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1498. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1499. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1500. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1501. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1502. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1503. // { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1504. ];
  1505. //CUHK_EDU
  1506. U.MD.D.I.CUHKEDUStudentDeskIcon = [
  1507. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1508. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1509. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1510. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1511. ];
  1512. //010503
  1513. U.MD.D.I.x010503TeacherDeskIcon = [
  1514. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1515. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1516. ];
  1517. //010503
  1518. U.MD.D.I.x010503StudentDeskIcon = [
  1519. // { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1520. // { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1521. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1522. // { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1523. ];
  1524. //SPROUT Lab
  1525. U.MD.D.I.SPROUTLabTeacherDeskIcon = [
  1526. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1527. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1528. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1529. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1530. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1531. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1532. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1533. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1534. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1535. ];
  1536. //SPROUT Lab
  1537. U.MD.D.I.SPROUTLabStudentDeskIcon = [
  1538. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1539. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1540. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1541. ];
  1542. //#region 桌面初始化a
  1543. /**
  1544. * 初始化桌面的起始函數
  1545. *
  1546. */
  1547. U.MD.D.I.init = function () {
  1548. if ($("#U_MD_D_K")[0]) {
  1549. //初始化桌面圖標
  1550. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1551. // var clickUrl = ':12588/requestIp.php';
  1552. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1553. // U.MD.D.I.Ip = data;
  1554. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1555. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1556. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1557. // })
  1558. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1559. // })
  1560. }
  1561. }
  1562. /**
  1563. * 模式切換
  1564. *
  1565. */
  1566. U.MD.D.I.ModeCheck = function (type) {
  1567. if (US.Config.type == type) {
  1568. return
  1569. }
  1570. US.Config.type = type
  1571. $('.U_PBL_Check .active')[0].className = ''
  1572. if (type == 1) {
  1573. $('.U_PBL_Check div')[0].className = 'active'
  1574. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1575. } else {
  1576. $('.U_PBL_Check div')[1].className = 'active'
  1577. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1578. }
  1579. //初始化桌面圖標
  1580. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1581. if (type == 2) {
  1582. U.MD.D.I.openApplication("project")
  1583. }
  1584. }
  1585. /**
  1586. * 隱藏任務欄
  1587. *
  1588. * @param {element} 桌面元素
  1589. */
  1590. U.MD.D.I.hiddenTaskbar = function (el) {
  1591. //任務欄位置變小
  1592. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1593. //桌面的位置變大
  1594. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1595. }
  1596. /**
  1597. * 隱藏任務欄
  1598. *
  1599. * @param {element} 桌面元素
  1600. */
  1601. U.MD.D.I.hiddenTaskbarout = function (el) {
  1602. //任務欄位置變小
  1603. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1604. //任務欄位置變化
  1605. U.selectEl(el).css({ "bottom": "-60px" });
  1606. //桌面的位置變大
  1607. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1608. }
  1609. }
  1610. /**
  1611. * 初始化打印桌面圖標
  1612. *
  1613. * @param {element} 桌面元素
  1614. */
  1615. U.MD.D.I.initDesktopIcons = function (el, type) {
  1616. var i, //用於循環
  1617. _content, //桌面圖標元素
  1618. _iconcontent, //桌面圖標元素
  1619. _frag = $$("frag"), //定義一個碎片元素
  1620. _type = US.userInfo.type,
  1621. _org = US.userInfo.org,
  1622. _oid = US.userInfo.organizeid,
  1623. _role = US.userInfo.role,
  1624. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1625. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1626. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1627. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1628. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1629. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1630. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1631. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1632. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1633. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1634. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1635. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大.
  1636. _BSDNSstudentDesktopIconInfo = U.MD.D.I.BSDNSstudentDeskIcon, //獲取北師大.
  1637. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1638. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1639. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1640. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1641. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1642. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1643. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1644. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1645. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1646. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1647. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1648. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1649. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1650. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1651. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1652. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1653. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1654. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1655. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1656. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1657. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1658. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1659. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1660. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1661. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1662. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1663. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1664. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1665. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1666. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1667. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1668. _guzmsTeacherDeskIconInfo = U.MD.D.I.guzmsteacherDeskIcon, //guzms
  1669. _guzmsStudentDeskIconInfo = U.MD.D.I.guzmsStudentDeskIcon, //guzms
  1670. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1671. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1672. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1673. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1674. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1675. _cocobizTeacherDeskIconInfo = U.MD.D.I.cocobizteacherDeskIcon, //cocobiz
  1676. _cocobizStudentDeskIconInfo = U.MD.D.I.cocobizStudentDeskIcon, //cocobiz
  1677. _xxzjkyTeacherDeskIconInfo = U.MD.D.I.xxzjkyteacherDeskIcon, //xxzjky
  1678. _xxzjkyStudentDeskIconInfo = U.MD.D.I.xxzjkyStudentDeskIcon, //xxzjky
  1679. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1680. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1681. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1682. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1683. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1684. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1685. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1686. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1687. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1688. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1689. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1690. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1691. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1692. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1693. _ytyStudentDeskIconInfo = U.MD.D.I.ytyStudentDeskIcon, // 鹽田幼兒園
  1694. _ytyTeacherDeskIconInfo = U.MD.D.I.ytyTeacherDeskIcon, // 鹽田幼兒園
  1695. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
  1696. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
  1697. _nsfxStudentDeskIconInfo = U.MD.D.I.nsfxStudentDeskIcon, //nsfx
  1698. _nsfxTeacherDeskIconInfo = U.MD.D.I.nsfxTeacherDeskIcon, //nsfx
  1699. _stiaStudentDeskIconInfo = U.MD.D.I.stiaStudentDeskIcon, //stia
  1700. _stiaTeacherDeskIconInfo = U.MD.D.I.stiaTeacherDeskIcon, //stia
  1701. _szdjgStudentDeskIconInfo = U.MD.D.I.szdjgStudentDeskIcon, //szdjg
  1702. _szdjgTeacherDeskIconInfo = U.MD.D.I.szdjgTeacherDeskIcon, //szdjg
  1703. _x010607StudentDeskIconInfo = U.MD.D.I.x010607StudentDeskIcon, //010607
  1704. _x010607TeacherDeskIconInfo = U.MD.D.I.x010607TeacherDeskIcon, //010607
  1705. _x010608StudentDeskIconInfo = U.MD.D.I.x010608StudentDeskIcon, //010608
  1706. _x010608TeacherDeskIconInfo = U.MD.D.I.x010608TeacherDeskIcon, //010608
  1707. _xhlyStudentDeskIconInfo = U.MD.D.I.xhlyStudentDeskIcon, //xhly
  1708. _xhlyTeacherDeskIconInfo = U.MD.D.I.xhlyTeacherDeskIcon, //xhly
  1709. _CUHKEDUStudentDeskIconInfo = U.MD.D.I.CUHKEDUStudentDeskIcon, //CUHK_EDU
  1710. _CUHKEDUTeacherDeskIconInfo = U.MD.D.I.CUHKEDUTeacherDeskIcon, //CUHK_EDU
  1711. _x010503StudentDeskIconInfo = U.MD.D.I.x010503StudentDeskIcon, //010503
  1712. _x010503TeacherDeskIconInfo = U.MD.D.I.x010503TeacherDeskIcon, //010503
  1713. _SPROUTLabTeacherDeskIconInfo = U.MD.D.I.SPROUTLabTeacherDeskIcon, //SPROUT Lab
  1714. _SPROUTLabStudentDeskIconInfo = U.MD.D.I.SPROUTLabStudentDeskIcon, //SPROUT Lab
  1715. _scnuaiTeacherDeskIconInfo = U.MD.D.I.scnuaiTeacherDeskIcon, //未来教育基地
  1716. _scnuaiAdminDeskIconInfo = U.MD.D.I.scnuaiAdminDeskIcon, //scnuai
  1717. _scnuaiStudentDeskIconInfo = U.MD.D.I.scnuaiStudentDeskIcon, //scnuai
  1718. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //scnuai
  1719. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5', '2f30fe58-a94f-11ee-b534-005056b86db5', 'eaba9110-d1eb-11ee-b534-005056b86db5','c7df0bd4-6e75-401a-a137-4e163aa62263','8a352da2-56e1-11ef-b873-005056b86db5','9b46a3c9-7657-11ef-9b30-005056b86db5','857af1c7-c8ee-4b04-85b5-fd182903adb7','876030db-7a49-11ef-9b30-005056b86db5'];
  1720. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956', 'fbb00cc1-380b-4173-add4-59b3cf7682b5', '63060b4a-89dc-4f0c-bf04-a1de22d479ff', '777559d2-7239-11ee-b98c-005056b86db5', '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344','884c5665-a453-46f3-b7b6-01d575290aa9','c9a6de59-8b4f-4be1-8565-a08081f649d3','7f280060-665e-4868-b68f-1eec9e1b4a07','f3b243b2-75e2-4b00-8f66-7644946a2a25','16ace517-b5c7-4168-a9bb-a9e0035df840','2fe1a080-4425-4620-b7a0-be2f3750ffd4','a5efd078-20f6-4185-bef9-6d1c688bee70','23bbe712-e35a-4888-9b4e-8d9e5a4fa2f6','ec84034b-8ea4-4d27-9cba-1adcb4720bb3'];
  1721. //清楚桌面图标
  1722. el.innerHTML = "";
  1723. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1724. _teacherDesktopIconInfo.push(
  1725. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1726. { "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)" } },
  1727. )
  1728. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1729. }
  1730. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5' || _org == '0fec3a8a-ad04-11ed-b13d-005056b86db5') {
  1731. _teacherDesktopIconInfo.push(
  1732. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1733. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1734. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1735. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1736. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1737. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1738. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1739. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1740. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1741. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1742. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1743. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1744. { "Name": "觀察記錄", "Url": "Record", "style": { "cssText": "background-image:url(/img/icon/Record.png)" } },
  1745. { "Name": "課堂觀察", "Url": "classroomObservation", "style": { "cssText": "background-image:url(/img/icon/classroomObservation.png)" } },
  1746. { "Name": "學生PBL", "Url": "pblCourse", "style": { "cssText": "background-image:url(/img/icon/pblCourse.png)" } },
  1747. { "Name": "知識建構", "Url": "aiKnowledge", "style": { "cssText": "background-image:url(/img/icon/aiKnowledge.png)" } },
  1748. )
  1749. }
  1750. if (_oid == '5f6c97eb-4778-11ed-8c78-005056b86db5') {//松坪學校
  1751. _teacherDesktopIconInfo.push(
  1752. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1753. )
  1754. }
  1755. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1756. // _teacherDesktopIconInfo.push(
  1757. // )
  1758. // }
  1759. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1760. _teacherDesktopIconInfo.push(
  1761. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1762. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1763. )
  1764. }
  1765. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1766. _teacherDesktopIconInfo.push(
  1767. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1768. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1769. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1770. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1771. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1772. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1773. )
  1774. _studentDesktopIconInfo.push(
  1775. )
  1776. }
  1777. if (_org == '1ef7bdf6-c300-11ed-8d51-005056b86db5') {
  1778. _teacherDesktopIconInfo.push(
  1779. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1780. )
  1781. _studentDesktopIconInfo.push(
  1782. )
  1783. }
  1784. //010606 組織
  1785. if (_oid == 'f297fbdc-f0a0-11ee-b534-005056b86db5') {
  1786. _teacherDesktopIconInfo.push(
  1787. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1788. )
  1789. _studentDesktopIconInfo.push(
  1790. )
  1791. }
  1792. //麒麟二中 和 民新小學
  1793. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1794. _teacherDesktopIconInfo.push(
  1795. )
  1796. }
  1797. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1798. _teacherDesktopIconInfo.push(
  1799. { "Name": "教師管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1800. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1801. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1802. )
  1803. }
  1804. //北師大附中(010601)
  1805. // if(_oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7"){
  1806. // _teacherDesktopIconInfo.push(
  1807. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1808. // )
  1809. // _studentDesktopIconInfo.push(
  1810. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1811. // )
  1812. // }
  1813. //樂善堂余近卿中學
  1814. if(_oid == "8d074a02-6057-11ef-b873-005056b86db5"){
  1815. _teacherDesktopIconInfo.push(
  1816. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1817. )
  1818. }
  1819. // Education Artificial Intelligence
  1820. if(_org == "0f4359aa-1065-423f-afcc-a70cc21ea9d0"){
  1821. _teacherDesktopIconInfo.push(
  1822. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1823. )
  1824. }
  1825. if (_oid == "215340ee-8f22-11ee-b98c-005056b86db5" || _oid == "1bc66f4e-8798-11ee-b98c-005056b86db5") {
  1826. _teacherDesktopIconInfo.push(
  1827. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1828. )
  1829. }
  1830. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1831. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1832. _teacherDesktopIconInfo.push(
  1833. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1834. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1835. )
  1836. }
  1837. //麒麟二中
  1838. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1839. _studentDesktopIconInfo.push(
  1840. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1841. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1842. )
  1843. }
  1844. //萬科雙語
  1845. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1846. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1847. if (el.Name == '項目管理') {
  1848. el.Name = 'PBL項目'
  1849. }
  1850. return el
  1851. })
  1852. _studentDesktopIconInfo3.push(
  1853. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1854. )
  1855. }
  1856. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1857. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1858. return el.Name != '魔盒識字' && el.Name != '24點'
  1859. })
  1860. }
  1861. 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) {
  1862. _studentDesktopIconInfo.push(
  1863. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1864. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1865. )
  1866. }
  1867. //循環創建桌面圖標
  1868. if (type == 1) {
  1869. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1870. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1871. _content = $$("div", {
  1872. className: "U_MD_D_KO",
  1873. "onmousedown": U.UF.C.closure(function (obj) {
  1874. //防止拖動圖標即打開了桌面應用
  1875. U.MD.D.click(this, obj);
  1876. }, [_studentDesktopIconInfo[i]]),
  1877. "onclick": U.UF.C.closure(function (obj) {
  1878. //防止拖動圖標即打開了桌面應用
  1879. U.MD.D.click(this, obj);
  1880. }, [_studentDesktopIconInfo[i]])
  1881. }, _frag); //
  1882. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1883. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1884. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1885. }
  1886. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1887. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1888. _content = $$("div", {
  1889. className: "U_MD_D_KO",
  1890. "onmousedown": U.UF.C.closure(function (obj) {
  1891. //防止拖動圖標即打開了桌面應用
  1892. U.MD.D.click(this, obj);
  1893. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1894. "onclick": U.UF.C.closure(function (obj) {
  1895. //防止拖動圖標即打開了桌面應用
  1896. U.MD.D.click(this, obj);
  1897. }, [_hkZJLSStudentDeskIconInfo[i]])
  1898. }, _frag); //
  1899. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1900. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1901. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1902. } //
  1903. }else if (_type == 2 && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  1904. for (i = 0; i < _ytyStudentDeskIconInfo.length; i++) {
  1905. _content = $$("div", {
  1906. className: "U_MD_D_KO",
  1907. "onmousedown": U.UF.C.closure(function (obj) {
  1908. //防止拖動圖標即打開了桌面應用
  1909. U.MD.D.click(this, obj);
  1910. }, [_ytyStudentDeskIconInfo[i]]),
  1911. "onclick": U.UF.C.closure(function (obj) {
  1912. //防止拖動圖標即打開了桌面應用
  1913. U.MD.D.click(this, obj);
  1914. }, [_ytyStudentDeskIconInfo[i]])
  1915. }, _frag); //
  1916. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1917. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyStudentDeskIconInfo[i].style }, _iconcontent);
  1918. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyStudentDeskIconInfo[i].Name }, _iconcontent);
  1919. } //
  1920. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1921. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1922. _content = $$("div", {
  1923. className: "U_MD_D_KO",
  1924. "onmousedown": U.UF.C.closure(function (obj) {
  1925. //防止拖動圖標即打開了桌面應用
  1926. U.MD.D.click(this, obj);
  1927. }, [_jccssylStudentDeskIconInfo[i]]),
  1928. "onclick": U.UF.C.closure(function (obj) {
  1929. //防止拖動圖標即打開了桌面應用
  1930. U.MD.D.click(this, obj);
  1931. }, [_jccssylStudentDeskIconInfo[i]])
  1932. }, _frag); //
  1933. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1934. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1935. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1936. }
  1937. } else if (_type == 2 && (_org == "884c5665-a453-46f3-b7b6-01d575290aa9")) {
  1938. for (i = 0; i < _scnuaiStudentDeskIconInfo.length; i++) {
  1939. _content = $$("div", {
  1940. className: "U_MD_D_KO",
  1941. "onmousedown": U.UF.C.closure(function (obj) {
  1942. //防止拖動圖標即打開了桌面應用
  1943. U.MD.D.click(this, obj);
  1944. }, [_scnuaiStudentDeskIconInfo[i]]),
  1945. "onclick": U.UF.C.closure(function (obj) {
  1946. //防止拖動圖標即打開了桌面應用
  1947. U.MD.D.click(this, obj);
  1948. }, [_scnuaiStudentDeskIconInfo[i]])
  1949. }, _frag); //
  1950. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1951. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiStudentDeskIconInfo[i].style }, _iconcontent);
  1952. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiStudentDeskIconInfo[i].Name }, _iconcontent);
  1953. }
  1954. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1955. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1956. _content = $$("div", {
  1957. className: "U_MD_D_KO",
  1958. "onmousedown": U.UF.C.closure(function (obj) {
  1959. //防止拖動圖標即打開了桌面應用
  1960. U.MD.D.click(this, obj);
  1961. }, [_caleStudentDeskIconInfo[i]]),
  1962. "onclick": U.UF.C.closure(function (obj) {
  1963. //防止拖動圖標即打開了桌面應用
  1964. U.MD.D.click(this, obj);
  1965. }, [_caleStudentDeskIconInfo[i]])
  1966. }, _frag); //
  1967. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1968. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1969. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1970. }
  1971. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1972. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1973. _content = $$("div", {
  1974. className: "U_MD_D_KO",
  1975. "onmousedown": U.UF.C.closure(function (obj) {
  1976. //防止拖動圖標即打開了桌面應用
  1977. U.MD.D.click(this, obj);
  1978. }, [_thuioeStudentDeskIconInfo[i]]),
  1979. "onclick": U.UF.C.closure(function (obj) {
  1980. //防止拖動圖標即打開了桌面應用
  1981. U.MD.D.click(this, obj);
  1982. }, [_thuioeStudentDeskIconInfo[i]])
  1983. }, _frag); //
  1984. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1985. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1986. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1987. }
  1988. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1989. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1990. _content = $$("div", {
  1991. className: "U_MD_D_KO",
  1992. "onmousedown": U.UF.C.closure(function (obj) {
  1993. //防止拖動圖標即打開了桌面應用
  1994. U.MD.D.click(this, obj);
  1995. }, [_tpcStudentDeskIconInfo[i]]),
  1996. "onclick": U.UF.C.closure(function (obj) {
  1997. //防止拖動圖標即打開了桌面應用
  1998. U.MD.D.click(this, obj);
  1999. }, [_tpcStudentDeskIconInfo[i]])
  2000. }, _frag); //
  2001. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2002. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  2003. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  2004. } //
  2005. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  2006. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  2007. _content = $$("div", {
  2008. className: "U_MD_D_KO",
  2009. "onmousedown": U.UF.C.closure(function (obj) {
  2010. //防止拖動圖標即打開了桌面應用
  2011. U.MD.D.click(this, obj);
  2012. }, [_chjyjStudentDeskIconInfo[i]]),
  2013. "onclick": U.UF.C.closure(function (obj) {
  2014. //防止拖動圖標即打開了桌面應用
  2015. U.MD.D.click(this, obj);
  2016. }, [_chjyjStudentDeskIconInfo[i]])
  2017. }, _frag); //
  2018. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2019. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  2020. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  2021. }
  2022. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  2023. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  2024. _content = $$("div", {
  2025. className: "U_MD_D_KO",
  2026. "onmousedown": U.UF.C.closure(function (obj) {
  2027. //防止拖動圖標即打開了桌面應用
  2028. U.MD.D.click(this, obj);
  2029. }, [_szjkyStudentDeskIconInfo[i]]),
  2030. "onclick": U.UF.C.closure(function (obj) {
  2031. //防止拖動圖標即打開了桌面應用
  2032. U.MD.D.click(this, obj);
  2033. }, [_szjkyStudentDeskIconInfo[i]])
  2034. }, _frag); //
  2035. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2036. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  2037. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  2038. }
  2039. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  2040. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  2041. _content = $$("div", {
  2042. className: "U_MD_D_KO",
  2043. "onmousedown": U.UF.C.closure(function (obj) {
  2044. //防止拖動圖標即打開了桌面應用
  2045. U.MD.D.click(this, obj);
  2046. }, [_dseiStudentDeskIconInfo[i]]),
  2047. "onclick": U.UF.C.closure(function (obj) {
  2048. //防止拖動圖標即打開了桌面應用
  2049. U.MD.D.click(this, obj);
  2050. }, [_dseiStudentDeskIconInfo[i]])
  2051. }, _frag); //
  2052. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2053. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  2054. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  2055. }
  2056. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2057. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  2058. _content = $$("div", {
  2059. className: "U_MD_D_KO",
  2060. "onmousedown": U.UF.C.closure(function (obj) {
  2061. //防止拖動圖標即打開了桌面應用
  2062. U.MD.D.click(this, obj);
  2063. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  2064. "onclick": U.UF.C.closure(function (obj) {
  2065. //防止拖動圖標即打開了桌面應用
  2066. U.MD.D.click(this, obj);
  2067. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  2068. }, _frag); //
  2069. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2070. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  2071. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  2072. }
  2073. } else if (_type == 2 && (_oid == "8a352da2-56e1-11ef-b873-005056b86db5")) {
  2074. for (i = 0; i < _nsfxStudentDeskIconInfo.length; i++) {
  2075. _content = $$("div", {
  2076. className: "U_MD_D_KO",
  2077. "onmousedown": U.UF.C.closure(function (obj) {
  2078. //防止拖動圖標即打開了桌面應用
  2079. U.MD.D.click(this, obj);
  2080. }, [_nsfxStudentDeskIconInfo[i]]),
  2081. "onclick": U.UF.C.closure(function (obj) {
  2082. //防止拖動圖標即打開了桌面應用
  2083. U.MD.D.click(this, obj);
  2084. }, [_nsfxStudentDeskIconInfo[i]])
  2085. }, _frag); //
  2086. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2087. $$("div", { className: "U_MD_D_KOS U_Img", "style": _nsfxStudentDeskIconInfo[i].style }, _iconcontent);
  2088. $$("div", { className: "U_MD_D_KOX", "innerHTML": _nsfxStudentDeskIconInfo[i].Name }, _iconcontent);
  2089. }
  2090. } else if (_type == 2 && (_org == "f3b243b2-75e2-4b00-8f66-7644946a2a25")) {
  2091. for (i = 0; i < _stiaStudentDeskIconInfo.length; i++) {
  2092. _content = $$("div", {
  2093. className: "U_MD_D_KO",
  2094. "onmousedown": U.UF.C.closure(function (obj) {
  2095. //防止拖動圖標即打開了桌面應用
  2096. U.MD.D.click(this, obj);
  2097. }, [_stiaStudentDeskIconInfo[i]]),
  2098. "onclick": U.UF.C.closure(function (obj) {
  2099. //防止拖動圖標即打開了桌面應用
  2100. U.MD.D.click(this, obj);
  2101. }, [_stiaStudentDeskIconInfo[i]])
  2102. }, _frag); //
  2103. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2104. $$("div", { className: "U_MD_D_KOS U_Img", "style": _stiaStudentDeskIconInfo[i].style }, _iconcontent);
  2105. $$("div", { className: "U_MD_D_KOX", "innerHTML": _stiaStudentDeskIconInfo[i].Name }, _iconcontent);
  2106. }
  2107. } else if (_type == 2 && (_org == "16ace517-b5c7-4168-a9bb-a9e0035df840")) {
  2108. for (i = 0; i < _szdjgStudentDeskIconInfo.length; i++) {
  2109. _content = $$("div", {
  2110. className: "U_MD_D_KO",
  2111. "onmousedown": U.UF.C.closure(function (obj) {
  2112. //防止拖動圖標即打開了桌面應用
  2113. U.MD.D.click(this, obj);
  2114. }, [_szdjgStudentDeskIconInfo[i]]),
  2115. "onclick": U.UF.C.closure(function (obj) {
  2116. //防止拖動圖標即打開了桌面應用
  2117. U.MD.D.click(this, obj);
  2118. }, [_szdjgStudentDeskIconInfo[i]])
  2119. }, _frag); //
  2120. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2121. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szdjgStudentDeskIconInfo[i].style }, _iconcontent);
  2122. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szdjgStudentDeskIconInfo[i].Name }, _iconcontent);
  2123. }
  2124. } else if (_type == 2 && (_org == "2fe1a080-4425-4620-b7a0-be2f3750ffd4")) {
  2125. for (i = 0; i < _x010607StudentDeskIconInfo.length; i++) {
  2126. _content = $$("div", {
  2127. className: "U_MD_D_KO",
  2128. "onmousedown": U.UF.C.closure(function (obj) {
  2129. //防止拖動圖標即打開了桌面應用
  2130. U.MD.D.click(this, obj);
  2131. }, [_x010607StudentDeskIconInfo[i]]),
  2132. "onclick": U.UF.C.closure(function (obj) {
  2133. //防止拖動圖標即打開了桌面應用
  2134. U.MD.D.click(this, obj);
  2135. }, [_x010607StudentDeskIconInfo[i]])
  2136. }, _frag); //
  2137. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2138. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010607StudentDeskIconInfo[i].style }, _iconcontent);
  2139. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010607StudentDeskIconInfo[i].Name }, _iconcontent);
  2140. }
  2141. } else if (_type == 2 && (_org == "a5efd078-20f6-4185-bef9-6d1c688bee70")) {
  2142. for (i = 0; i < _xhlyStudentDeskIconInfo.length; i++) {
  2143. _content = $$("div", {
  2144. className: "U_MD_D_KO",
  2145. "onmousedown": U.UF.C.closure(function (obj) {
  2146. //防止拖動圖標即打開了桌面應用
  2147. U.MD.D.click(this, obj);
  2148. }, [_xhlyStudentDeskIconInfo[i]]),
  2149. "onclick": U.UF.C.closure(function (obj) {
  2150. //防止拖動圖標即打開了桌面應用
  2151. U.MD.D.click(this, obj);
  2152. }, [_xhlyStudentDeskIconInfo[i]])
  2153. }, _frag); //
  2154. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2155. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xhlyStudentDeskIconInfo[i].style }, _iconcontent);
  2156. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xhlyStudentDeskIconInfo[i].Name }, _iconcontent);
  2157. }
  2158. } else if (_type == 2 && (_org == "23bbe712-e35a-4888-9b4e-8d9e5a4fa2f6")) {
  2159. for (i = 0; i < _CUHKEDUStudentDeskIconInfo.length; i++) {
  2160. _content = $$("div", {
  2161. className: "U_MD_D_KO",
  2162. "onmousedown": U.UF.C.closure(function (obj) {
  2163. //防止拖動圖標即打開了桌面應用
  2164. U.MD.D.click(this, obj);
  2165. }, [_CUHKEDUStudentDeskIconInfo[i]]),
  2166. "onclick": U.UF.C.closure(function (obj) {
  2167. //防止拖動圖標即打開了桌面應用
  2168. U.MD.D.click(this, obj);
  2169. }, [_CUHKEDUStudentDeskIconInfo[i]])
  2170. }, _frag); //
  2171. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2172. $$("div", { className: "U_MD_D_KOS U_Img", "style": _CUHKEDUStudentDeskIconInfo[i].style }, _iconcontent);
  2173. $$("div", { className: "U_MD_D_KOX", "innerHTML": _CUHKEDUStudentDeskIconInfo[i].Name }, _iconcontent);
  2174. }
  2175. } else if (_type == 2 && (_oid == "876030db-7a49-11ef-9b30-005056b86db5")) {
  2176. for (i = 0; i < _x010503StudentDeskIconInfo.length; i++) {
  2177. _content = $$("div", {
  2178. className: "U_MD_D_KO",
  2179. "onmousedown": U.UF.C.closure(function (obj) {
  2180. //防止拖动图标即打开了桌面应用
  2181. U.MD.D.click(this, obj);
  2182. }, [_x010503StudentDeskIconInfo[i]]),
  2183. "onclick": U.UF.C.closure(function (obj) {
  2184. //防止拖动图标即打开了桌面应用
  2185. U.MD.D.click(this, obj);
  2186. }, [_x010503StudentDeskIconInfo[i]])
  2187. }, _frag); //
  2188. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2189. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010503StudentDeskIconInfo[i].style }, _iconcontent);
  2190. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010503StudentDeskIconInfo[i].Name }, _iconcontent);
  2191. }
  2192. } else if (_type == 2 && (_org == "ec84034b-8ea4-4d27-9cba-1adcb4720bb3")) {
  2193. for (i = 0; i < _SPROUTLabStudentDeskIconInfo.length; i++) {
  2194. _content = $$("div", {
  2195. className: "U_MD_D_KO",
  2196. "onmousedown": U.UF.C.closure(function (obj) {
  2197. //防止拖动图标即打开了桌面应用
  2198. U.MD.D.click(this, obj);
  2199. }, [_SPROUTLabStudentDeskIconInfo[i]]),
  2200. "onclick": U.UF.C.closure(function (obj) {
  2201. //防止拖动图标即打开了桌面应用
  2202. U.MD.D.click(this, obj);
  2203. }, [_SPROUTLabStudentDeskIconInfo[i]])
  2204. }, _frag); //
  2205. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2206. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SPROUTLabStudentDeskIconInfo[i].style }, _iconcontent);
  2207. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SPROUTLabStudentDeskIconInfo[i].Name }, _iconcontent);
  2208. }
  2209. } else if (_type == 2 && (_oid == "9b46a3c9-7657-11ef-9b30-005056b86db5")) {
  2210. for (i = 0; i < _x010608StudentDeskIconInfo.length; i++) {
  2211. _content = $$("div", {
  2212. className: "U_MD_D_KO",
  2213. "onmousedown": U.UF.C.closure(function (obj) {
  2214. //防止拖動圖標即打開了桌面應用
  2215. U.MD.D.click(this, obj);
  2216. }, [_x010608StudentDeskIconInfo[i]]),
  2217. "onclick": U.UF.C.closure(function (obj) {
  2218. //防止拖動圖標即打開了桌面應用
  2219. U.MD.D.click(this, obj);
  2220. }, [_x010608StudentDeskIconInfo[i]])
  2221. }, _frag); //
  2222. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2223. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010608StudentDeskIconInfo[i].style }, _iconcontent);
  2224. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010608StudentDeskIconInfo[i].Name }, _iconcontent);
  2225. }
  2226. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2227. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  2228. _content = $$("div", {
  2229. className: "U_MD_D_KO",
  2230. "onmousedown": U.UF.C.closure(function (obj) {
  2231. //防止拖動圖標即打開了桌面應用
  2232. U.MD.D.click(this, obj);
  2233. }, [_siesStudentDeskIconInfo[i]]),
  2234. "onclick": U.UF.C.closure(function (obj) {
  2235. //防止拖動圖標即打開了桌面應用
  2236. U.MD.D.click(this, obj);
  2237. }, [_siesStudentDeskIconInfo[i]])
  2238. }, _frag); //
  2239. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2240. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  2241. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  2242. }
  2243. } else if (_type == 2 && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  2244. for (i = 0; i < _guzmsStudentDeskIconInfo.length; i++) {
  2245. _content = $$("div", {
  2246. className: "U_MD_D_KO",
  2247. "onmousedown": U.UF.C.closure(function (obj) {
  2248. //防止拖動圖標即打開了桌面應用
  2249. U.MD.D.click(this, obj);
  2250. }, [_guzmsStudentDeskIconInfo[i]]),
  2251. "onclick": U.UF.C.closure(function (obj) {
  2252. //防止拖動圖標即打開了桌面應用
  2253. U.MD.D.click(this, obj);
  2254. }, [_guzmsStudentDeskIconInfo[i]])
  2255. }, _frag); //
  2256. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsStudentDeskIconInfo[i].style }, _iconcontent);
  2258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsStudentDeskIconInfo[i].Name }, _iconcontent);
  2259. }
  2260. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2261. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  2262. _content = $$("div", {
  2263. className: "U_MD_D_KO",
  2264. "onmousedown": U.UF.C.closure(function (obj) {
  2265. //防止拖動圖標即打開了桌面應用
  2266. U.MD.D.click(this, obj);
  2267. }, [_hkStudentDeskIconInfo[i]]),
  2268. "onclick": U.UF.C.closure(function (obj) {
  2269. //防止拖動圖標即打開了桌面應用
  2270. U.MD.D.click(this, obj);
  2271. }, [_hkStudentDeskIconInfo[i]])
  2272. }, _frag); //
  2273. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2274. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  2275. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  2276. }
  2277. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2278. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  2279. _content = $$("div", {
  2280. className: "U_MD_D_KO",
  2281. "onmousedown": U.UF.C.closure(function (obj) {
  2282. //防止拖動圖標即打開了桌面應用
  2283. U.MD.D.click(this, obj);
  2284. }, [_hkaceStudentDeskIconInfo[i]]),
  2285. "onclick": U.UF.C.closure(function (obj) {
  2286. //防止拖動圖標即打開了桌面應用
  2287. U.MD.D.click(this, obj);
  2288. }, [_hkaceStudentDeskIconInfo[i]])
  2289. }, _frag); //
  2290. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2291. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  2292. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  2293. }
  2294. } else if (_type == 2 && (_oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7")) {
  2295. for (i = 0; i < _BSDNSstudentDesktopIconInfo.length; i++) {
  2296. _content = $$("div", {
  2297. className: "U_MD_D_KO",
  2298. "onmousedown": U.UF.C.closure(function (obj) {
  2299. //防止拖動圖標即打開了桌面應用
  2300. U.MD.D.click(this, obj);
  2301. }, [_BSDNSstudentDesktopIconInfo[i]]),
  2302. "onclick": U.UF.C.closure(function (obj) {
  2303. //防止拖動圖標即打開了桌面應用
  2304. U.MD.D.click(this, obj);
  2305. }, [_BSDNSstudentDesktopIconInfo[i]])
  2306. }, _frag); //
  2307. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2308. $$("div", { className: "U_MD_D_KOS U_Img", "style": _BSDNSstudentDesktopIconInfo[i].style }, _iconcontent);
  2309. $$("div", { className: "U_MD_D_KOX", "innerHTML": _BSDNSstudentDesktopIconInfo[i].Name }, _iconcontent);
  2310. }
  2311. } else if (_type == 2 && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  2312. for (i = 0; i < _cocobizStudentDeskIconInfo.length; i++) {
  2313. _content = $$("div", {
  2314. className: "U_MD_D_KO",
  2315. "onmousedown": U.UF.C.closure(function (obj) {
  2316. //防止拖動圖標即打開了桌面應用
  2317. U.MD.D.click(this, obj);
  2318. }, [_cocobizStudentDeskIconInfo[i]]),
  2319. "onclick": U.UF.C.closure(function (obj) {
  2320. //防止拖動圖標即打開了桌面應用
  2321. U.MD.D.click(this, obj);
  2322. }, [_cocobizStudentDeskIconInfo[i]])
  2323. }, _frag); //
  2324. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2325. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizStudentDeskIconInfo[i].style }, _iconcontent);
  2326. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizStudentDeskIconInfo[i].Name }, _iconcontent);
  2327. }
  2328. } else if (_type == 2 && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  2329. for (i = 0; i < _xxzjkyStudentDeskIconInfo.length; i++) {
  2330. _content = $$("div", {
  2331. className: "U_MD_D_KO",
  2332. "onmousedown": U.UF.C.closure(function (obj) {
  2333. //防止拖動圖標即打開了桌面應用
  2334. U.MD.D.click(this, obj);
  2335. }, [_xxzjkyStudentDeskIconInfo[i]]),
  2336. "onclick": U.UF.C.closure(function (obj) {
  2337. //防止拖動圖標即打開了桌面應用
  2338. U.MD.D.click(this, obj);
  2339. }, [_xxzjkyStudentDeskIconInfo[i]])
  2340. }, _frag); //
  2341. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2342. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyStudentDeskIconInfo[i].style }, _iconcontent);
  2343. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  2344. }
  2345. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  2346. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  2347. _content = $$("div", {
  2348. className: "U_MD_D_KO",
  2349. "onmousedown": U.UF.C.closure(function (obj) {
  2350. //防止拖動圖標即打開了桌面應用
  2351. U.MD.D.click(this, obj);
  2352. }, [_studentDesktopIconInfo[i]]),
  2353. "onclick": U.UF.C.closure(function (obj) {
  2354. //防止拖動圖標即打開了桌面應用
  2355. U.MD.D.click(this, obj);
  2356. }, [_studentDesktopIconInfo[i]])
  2357. }, _frag); //
  2358. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2359. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  2360. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  2361. }
  2362. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  2363. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  2364. _content = $$("div", {
  2365. className: "U_MD_D_KO",
  2366. "onmousedown": U.UF.C.closure(function (obj) {
  2367. //防止拖動圖標即打開了桌面應用
  2368. U.MD.D.click(this, obj);
  2369. }, [_tcStudentDeskIconInfo[i]]),
  2370. "onclick": U.UF.C.closure(function (obj) {
  2371. //防止拖動圖標即打開了桌面應用
  2372. U.MD.D.click(this, obj);
  2373. }, [_tcStudentDeskIconInfo[i]])
  2374. }, _frag); //
  2375. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2376. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  2377. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  2378. }
  2379. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  2380. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  2381. _content = $$("div", {
  2382. className: "U_MD_D_KO",
  2383. "onmousedown": U.UF.C.closure(function (obj) {
  2384. //防止拖動圖標即打開了桌面應用
  2385. U.MD.D.click(this, obj);
  2386. }, [_szscStudentDeskIconInfo[i]]),
  2387. "onclick": U.UF.C.closure(function (obj) {
  2388. //防止拖動圖標即打開了桌面應用
  2389. U.MD.D.click(this, obj);
  2390. }, [_szscStudentDeskIconInfo[i]])
  2391. }, _frag); //
  2392. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2393. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  2394. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  2395. }
  2396. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  2397. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  2398. _content = $$("div", {
  2399. className: "U_MD_D_KO",
  2400. "onmousedown": U.UF.C.closure(function (obj) {
  2401. //防止拖動圖標即打開了桌面應用
  2402. U.MD.D.click(this, obj);
  2403. }, [_studentDesktopIconInfo3[i]]),
  2404. "onclick": U.UF.C.closure(function (obj) {
  2405. //防止拖動圖標即打開了桌面應用
  2406. U.MD.D.click(this, obj);
  2407. }, [_studentDesktopIconInfo3[i]])
  2408. }, _frag); //
  2409. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2410. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  2411. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  2412. }
  2413. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  2414. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  2415. _content = $$("div", {
  2416. className: "U_MD_D_KO",
  2417. "onmousedown": U.UF.C.closure(function (obj) {
  2418. //防止拖動圖標即打開了桌面應用
  2419. U.MD.D.click(this, obj);
  2420. }, [_studentDesktopIconInfo2[i]]),
  2421. "onclick": U.UF.C.closure(function (obj) {
  2422. //防止拖動圖標即打開了桌面應用
  2423. U.MD.D.click(this, obj);
  2424. }, [_studentDesktopIconInfo2[i]])
  2425. }, _frag); //
  2426. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2427. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  2428. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  2429. }
  2430. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  2431. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  2432. if(_role === 0 && _wanketeacherDesktopIconInfo[i].Url == 'testTeacher'){
  2433. continue
  2434. }
  2435. _content = $$("div", {
  2436. className: "U_MD_D_KO",
  2437. "onmousedown": U.UF.C.closure(function (obj) {
  2438. //防止拖動圖標即打開了桌面應用
  2439. U.MD.D.click(this, obj);
  2440. }, [_wanketeacherDesktopIconInfo[i]]),
  2441. "onclick": U.UF.C.closure(function (obj) {
  2442. //防止拖動圖標即打開了桌面應用
  2443. U.MD.D.click(this, obj);
  2444. }, [_wanketeacherDesktopIconInfo[i]])
  2445. }, _frag); //
  2446. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2447. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  2448. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  2449. }
  2450. }else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  2451. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  2452. _content = $$("div", {
  2453. className: "U_MD_D_KO",
  2454. "onmousedown": U.UF.C.closure(function (obj) {
  2455. //防止拖動圖標即打開了桌面應用
  2456. U.MD.D.click(this, obj);
  2457. }, [_wankeAdminDesktopIconInfo[i]]),
  2458. "onclick": U.UF.C.closure(function (obj) {
  2459. //防止拖動圖標即打開了桌面應用
  2460. U.MD.D.click(this, obj);
  2461. }, [_wankeAdminDesktopIconInfo[i]])
  2462. }, _frag); //
  2463. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2464. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  2465. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  2466. }
  2467. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 0) {
  2468. for (i = 0; i < _scnuaiTeacherDeskIconInfo.length; i++) {
  2469. if(_role === 0 && _scnuaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2470. continue
  2471. }
  2472. _content = $$("div", {
  2473. className: "U_MD_D_KO",
  2474. "onmousedown": U.UF.C.closure(function (obj) {
  2475. //防止拖動圖標即打開了桌面應用
  2476. U.MD.D.click(this, obj);
  2477. }, [_scnuaiTeacherDeskIconInfo[i]]),
  2478. "onclick": U.UF.C.closure(function (obj) {
  2479. //防止拖動圖標即打開了桌面應用
  2480. U.MD.D.click(this, obj);
  2481. }, [_scnuaiTeacherDeskIconInfo[i]])
  2482. }, _frag); //
  2483. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2484. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2485. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2486. }
  2487. } else if ((_type == 1 || _type == 4) && _oid == "857af1c7-c8ee-4b04-85b5-fd182903adb7") {
  2488. for (i = 0; i < _BSDNSteacherDesktopIconInfo.length; i++) {
  2489. if(_role === 0 && _BSDNSteacherDesktopIconInfo[i].Url == 'testTeacher'){
  2490. continue
  2491. }
  2492. _content = $$("div", {
  2493. className: "U_MD_D_KO",
  2494. "onmousedown": U.UF.C.closure(function (obj) {
  2495. //防止拖動圖標即打開了桌面應用
  2496. U.MD.D.click(this, obj);
  2497. }, [_BSDNSteacherDesktopIconInfo[i]]),
  2498. "onclick": U.UF.C.closure(function (obj) {
  2499. //防止拖動圖標即打開了桌面應用
  2500. U.MD.D.click(this, obj);
  2501. }, [_BSDNSteacherDesktopIconInfo[i]])
  2502. }, _frag); //
  2503. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2504. $$("div", { className: "U_MD_D_KOS U_Img", "style": _BSDNSteacherDesktopIconInfo[i].style }, _iconcontent);
  2505. $$("div", { className: "U_MD_D_KOX", "innerHTML": _BSDNSteacherDesktopIconInfo[i].Name }, _iconcontent);
  2506. }
  2507. } else if ((_type == 1 || _type == 4) && _org == "884c5665-a453-46f3-b7b6-01d575290aa9" && _role == 1) {
  2508. for (i = 0; i < _scnuaiAdminDeskIconInfo.length; i++) {
  2509. _content = $$("div", {
  2510. className: "U_MD_D_KO",
  2511. "onmousedown": U.UF.C.closure(function (obj) {
  2512. //防止拖動圖標即打開了桌面應用
  2513. U.MD.D.click(this, obj);
  2514. }, [_scnuaiAdminDeskIconInfo[i]]),
  2515. "onclick": U.UF.C.closure(function (obj) {
  2516. //防止拖動圖標即打開了桌面應用
  2517. U.MD.D.click(this, obj);
  2518. }, [_scnuaiAdminDeskIconInfo[i]])
  2519. }, _frag); //
  2520. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2521. $$("div", { className: "U_MD_D_KOS U_Img", "style": _scnuaiAdminDeskIconInfo[i].style }, _iconcontent);
  2522. $$("div", { className: "U_MD_D_KOX", "innerHTML": _scnuaiAdminDeskIconInfo[i].Name }, _iconcontent);
  2523. }
  2524. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  2525. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  2526. if(_role === 0 && _jccssylTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2527. continue
  2528. }
  2529. _content = $$("div", {
  2530. className: "U_MD_D_KO",
  2531. "onmousedown": U.UF.C.closure(function (obj) {
  2532. //防止拖動圖標即打開了桌面應用
  2533. U.MD.D.click(this, obj);
  2534. }, [_jccssylTeacherDeskIconInfo[i]]),
  2535. "onclick": U.UF.C.closure(function (obj) {
  2536. //防止拖動圖標即打開了桌面應用
  2537. U.MD.D.click(this, obj);
  2538. }, [_jccssylTeacherDeskIconInfo[i]])
  2539. }, _frag); //
  2540. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2541. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  2542. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  2543. }
  2544. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  2545. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  2546. if(_role === 0 && _caleTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2547. continue
  2548. }
  2549. _content = $$("div", {
  2550. className: "U_MD_D_KO",
  2551. "onmousedown": U.UF.C.closure(function (obj) {
  2552. //防止拖動圖標即打開了桌面應用
  2553. U.MD.D.click(this, obj);
  2554. }, [_caleTeacherDeskIconInfo[i]]),
  2555. "onclick": U.UF.C.closure(function (obj) {
  2556. //防止拖動圖標即打開了桌面應用
  2557. U.MD.D.click(this, obj);
  2558. }, [_caleTeacherDeskIconInfo[i]])
  2559. }, _frag); //
  2560. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2561. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  2562. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  2563. }
  2564. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  2565. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  2566. _content = $$("div", {
  2567. className: "U_MD_D_KO",
  2568. "onmousedown": U.UF.C.closure(function (obj) {
  2569. //防止拖動圖標即打開了桌面應用
  2570. U.MD.D.click(this, obj);
  2571. }, [_tpcOrganizerDeskIconInfo[i]]),
  2572. "onclick": U.UF.C.closure(function (obj) {
  2573. //防止拖動圖標即打開了桌面應用
  2574. U.MD.D.click(this, obj);
  2575. }, [_tpcOrganizerDeskIconInfo[i]])
  2576. }, _frag); //
  2577. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2578. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2579. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2580. }
  2581. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  2582. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  2583. if(_role === 0 && _tpcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2584. continue
  2585. }
  2586. _content = $$("div", {
  2587. className: "U_MD_D_KO",
  2588. "onmousedown": U.UF.C.closure(function (obj) {
  2589. //防止拖動圖標即打開了桌面應用
  2590. U.MD.D.click(this, obj);
  2591. }, [_tpcTeacherDeskIconInfo[i]]),
  2592. "onclick": U.UF.C.closure(function (obj) {
  2593. //防止拖動圖標即打開了桌面應用
  2594. U.MD.D.click(this, obj);
  2595. }, [_tpcTeacherDeskIconInfo[i]])
  2596. }, _frag); //
  2597. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2598. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  2599. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2600. }
  2601. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2602. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  2603. if(_role === 0 && _teacherDesktopIconInfo2[i].Url == 'testTeacher'){
  2604. continue
  2605. }
  2606. _content = $$("div", {
  2607. className: "U_MD_D_KO",
  2608. "onmousedown": U.UF.C.closure(function (obj) {
  2609. //防止拖動圖標即打開了桌面應用
  2610. U.MD.D.click(this, obj);
  2611. }, [_teacherDesktopIconInfo2[i]]),
  2612. "onclick": U.UF.C.closure(function (obj) {
  2613. //防止拖動圖標即打開了桌面應用
  2614. U.MD.D.click(this, obj);
  2615. }, [_teacherDesktopIconInfo2[i]])
  2616. }, _frag); //
  2617. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2618. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  2619. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  2620. }
  2621. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  2622. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  2623. if(_role === 0 && _thuioeTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2624. continue
  2625. }
  2626. _content = $$("div", {
  2627. className: "U_MD_D_KO",
  2628. "onmousedown": U.UF.C.closure(function (obj) {
  2629. //防止拖動圖標即打開了桌面應用
  2630. U.MD.D.click(this, obj);
  2631. }, [_thuioeTeacherDeskIconInfo[i]]),
  2632. "onclick": U.UF.C.closure(function (obj) {
  2633. //防止拖動圖標即打開了桌面應用
  2634. U.MD.D.click(this, obj);
  2635. }, [_thuioeTeacherDeskIconInfo[i]])
  2636. }, _frag); //
  2637. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2638. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  2639. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  2640. }
  2641. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  2642. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  2643. if(_role === 0 && _lotechTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2644. continue
  2645. }
  2646. _content = $$("div", {
  2647. className: "U_MD_D_KO",
  2648. "onmousedown": U.UF.C.closure(function (obj) {
  2649. //防止拖動圖標即打開了桌面應用
  2650. U.MD.D.click(this, obj);
  2651. }, [_lotechTeacherDeskIconInfo[i]]),
  2652. "onclick": U.UF.C.closure(function (obj) {
  2653. //防止拖動圖標即打開了桌面應用
  2654. U.MD.D.click(this, obj);
  2655. }, [_lotechTeacherDeskIconInfo[i]])
  2656. }, _frag); //
  2657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  2659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  2660. }//
  2661. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  2662. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  2663. if(_role === 0 && _lqwmsgzsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2664. continue
  2665. }
  2666. _content = $$("div", {
  2667. className: "U_MD_D_KO",
  2668. "onmousedown": U.UF.C.closure(function (obj) {
  2669. //防止拖動圖標即打開了桌面應用
  2670. U.MD.D.click(this, obj);
  2671. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  2672. "onclick": U.UF.C.closure(function (obj) {
  2673. //防止拖動圖標即打開了桌面應用
  2674. U.MD.D.click(this, obj);
  2675. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  2676. }, _frag); //
  2677. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2678. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  2679. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2680. }
  2681. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  2682. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  2683. if(_role === 0 && _siesTeacherDeskIconInfo[i].Url == 'testTeacherSies'){
  2684. continue
  2685. }
  2686. _content = $$("div", {
  2687. className: "U_MD_D_KO",
  2688. "onmousedown": U.UF.C.closure(function (obj) {
  2689. //防止拖動圖標即打開了桌面應用
  2690. U.MD.D.click(this, obj);
  2691. }, [_siesTeacherDeskIconInfo[i]]),
  2692. "onclick": U.UF.C.closure(function (obj) {
  2693. //防止拖動圖標即打開了桌面應用
  2694. U.MD.D.click(this, obj);
  2695. }, [_siesTeacherDeskIconInfo[i]])
  2696. }, _frag); //
  2697. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2698. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  2699. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  2700. }
  2701. } else if ((_type == 1 || _type == 4) && (_oid == "c7df0bd4-6e75-401a-a137-4e163aa62263")) {
  2702. for (i = 0; i < _guzmsTeacherDeskIconInfo.length; i++) {
  2703. if(_role === 0 && _guzmsTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2704. continue
  2705. }
  2706. _content = $$("div", {
  2707. className: "U_MD_D_KO",
  2708. "onmousedown": U.UF.C.closure(function (obj) {
  2709. //防止拖動圖標即打開了桌面應用
  2710. U.MD.D.click(this, obj);
  2711. }, [_guzmsTeacherDeskIconInfo[i]]),
  2712. "onclick": U.UF.C.closure(function (obj) {
  2713. //防止拖動圖標即打開了桌面應用
  2714. U.MD.D.click(this, obj);
  2715. }, [_guzmsTeacherDeskIconInfo[i]])
  2716. }, _frag); //
  2717. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2718. $$("div", { className: "U_MD_D_KOS U_Img", "style": _guzmsTeacherDeskIconInfo[i].style }, _iconcontent);
  2719. $$("div", { className: "U_MD_D_KOX", "innerHTML": _guzmsTeacherDeskIconInfo[i].Name }, _iconcontent);
  2720. }
  2721. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  2722. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  2723. if(_role === 0 && _longhuaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2724. continue
  2725. }
  2726. _content = $$("div", {
  2727. className: "U_MD_D_KO",
  2728. "onmousedown": U.UF.C.closure(function (obj) {
  2729. //防止拖動圖標即打開了桌面應用
  2730. U.MD.D.click(this, obj);
  2731. }, [_longhuaTeacherDeskIconInfo[i]]),
  2732. "onclick": U.UF.C.closure(function (obj) {
  2733. //防止拖動圖標即打開了桌面應用
  2734. U.MD.D.click(this, obj);
  2735. }, [_longhuaTeacherDeskIconInfo[i]])
  2736. }, _frag); //
  2737. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2738. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  2739. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  2740. }
  2741. } else if ((_type == 1 || _type == 4) && (_oid == "eaba9110-d1eb-11ee-b534-005056b86db5")) {
  2742. for (i = 0; i < _ytyTeacherDeskIconInfo.length; i++) {
  2743. if(_role === 0 && _ytyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2744. continue
  2745. }
  2746. _content = $$("div", {
  2747. className: "U_MD_D_KO",
  2748. "onmousedown": U.UF.C.closure(function (obj) {
  2749. //防止拖動圖標即打開了桌面應用
  2750. U.MD.D.click(this, obj);
  2751. }, [_ytyTeacherDeskIconInfo[i]]),
  2752. "onclick": U.UF.C.closure(function (obj) {
  2753. //防止拖動圖標即打開了桌面應用
  2754. U.MD.D.click(this, obj);
  2755. }, [_ytyTeacherDeskIconInfo[i]])
  2756. }, _frag); //
  2757. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2758. $$("div", { className: "U_MD_D_KOS U_Img", "style": _ytyTeacherDeskIconInfo[i].style }, _iconcontent);
  2759. $$("div", { className: "U_MD_D_KOX", "innerHTML": _ytyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2760. }
  2761. }else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  2762. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  2763. if(_role === 0 && _yunhaiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2764. continue
  2765. }
  2766. _content = $$("div", {
  2767. className: "U_MD_D_KO",
  2768. "onmousedown": U.UF.C.closure(function (obj) {
  2769. //防止拖動圖標即打開了桌面應用
  2770. U.MD.D.click(this, obj);
  2771. }, [_yunhaiTeacherDeskIconInfo[i]]),
  2772. "onclick": U.UF.C.closure(function (obj) {
  2773. //防止拖動圖標即打開了桌面應用
  2774. U.MD.D.click(this, obj);
  2775. }, [_yunhaiTeacherDeskIconInfo[i]])
  2776. }, _frag); //
  2777. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2778. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  2779. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2780. } //_hkStudentDeskIconInfo
  2781. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  2782. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  2783. if(_role === 0 && _hkZJLSTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2784. continue
  2785. }
  2786. _content = $$("div", {
  2787. className: "U_MD_D_KO",
  2788. "onmousedown": U.UF.C.closure(function (obj) {
  2789. //防止拖動圖標即打開了桌面應用
  2790. U.MD.D.click(this, obj);
  2791. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  2792. "onclick": U.UF.C.closure(function (obj) {
  2793. //防止拖動圖標即打開了桌面應用
  2794. U.MD.D.click(this, obj);
  2795. }, [_hkZJLSTeacherDeskIconInfo[i]])
  2796. }, _frag); //
  2797. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2798. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  2799. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  2800. }
  2801. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  2802. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  2803. if(_role === 0 && _hkTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2804. continue
  2805. }
  2806. _content = $$("div", {
  2807. className: "U_MD_D_KO",
  2808. "onmousedown": U.UF.C.closure(function (obj) {
  2809. //防止拖動圖標即打開了桌面應用
  2810. U.MD.D.click(this, obj);
  2811. }, [_hkTeacherDeskIconInfo[i]]),
  2812. "onclick": U.UF.C.closure(function (obj) {
  2813. //防止拖動圖標即打開了桌面應用
  2814. U.MD.D.click(this, obj);
  2815. }, [_hkTeacherDeskIconInfo[i]])
  2816. }, _frag); //
  2817. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2818. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2819. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2820. }
  2821. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2822. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2823. if(_role === 0 && _hkaceTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2824. continue
  2825. }
  2826. _content = $$("div", {
  2827. className: "U_MD_D_KO",
  2828. "onmousedown": U.UF.C.closure(function (obj) {
  2829. //防止拖動圖標即打開了桌面應用
  2830. U.MD.D.click(this, obj);
  2831. }, [_hkaceTeacherDeskIconInfo[i]]),
  2832. "onclick": U.UF.C.closure(function (obj) {
  2833. //防止拖動圖標即打開了桌面應用
  2834. U.MD.D.click(this, obj);
  2835. }, [_hkaceTeacherDeskIconInfo[i]])
  2836. }, _frag); //
  2837. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2838. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2839. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2840. }
  2841. } else if ((_type == 1 || _type == 4) && (_org == "c9a6de59-8b4f-4be1-8565-a08081f649d3")) {
  2842. for (i = 0; i < _cocobizTeacherDeskIconInfo.length; i++) {
  2843. if(_role === 0 && _cocobizTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2844. continue
  2845. }
  2846. _content = $$("div", {
  2847. className: "U_MD_D_KO",
  2848. "onmousedown": U.UF.C.closure(function (obj) {
  2849. //防止拖動圖標即打開了桌面應用
  2850. U.MD.D.click(this, obj);
  2851. }, [_cocobizTeacherDeskIconInfo[i]]),
  2852. "onclick": U.UF.C.closure(function (obj) {
  2853. //防止拖動圖標即打開了桌面應用
  2854. U.MD.D.click(this, obj);
  2855. }, [_cocobizTeacherDeskIconInfo[i]])
  2856. }, _frag); //
  2857. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2858. $$("div", { className: "U_MD_D_KOS U_Img", "style": _cocobizTeacherDeskIconInfo[i].style }, _iconcontent);
  2859. $$("div", { className: "U_MD_D_KOX", "innerHTML": _cocobizTeacherDeskIconInfo[i].Name }, _iconcontent);
  2860. }
  2861. } else if ((_type == 1 || _type == 4) && (_org == "7f280060-665e-4868-b68f-1eec9e1b4a07")) {
  2862. for (i = 0; i < _xxzjkyTeacherDeskIconInfo.length; i++) {
  2863. if(_role === 0 && _xxzjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2864. continue
  2865. }
  2866. _content = $$("div", {
  2867. className: "U_MD_D_KO",
  2868. "onmousedown": U.UF.C.closure(function (obj) {
  2869. //防止拖動圖標即打開了桌面應用
  2870. U.MD.D.click(this, obj);
  2871. }, [_xxzjkyTeacherDeskIconInfo[i]]),
  2872. "onclick": U.UF.C.closure(function (obj) {
  2873. //防止拖動圖標即打開了桌面應用
  2874. U.MD.D.click(this, obj);
  2875. }, [_xxzjkyTeacherDeskIconInfo[i]])
  2876. }, _frag); //
  2877. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2878. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xxzjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2879. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xxzjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2880. }
  2881. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2882. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2883. _content = $$("div", {
  2884. className: "U_MD_D_KO",
  2885. "onmousedown": U.UF.C.closure(function (obj) {
  2886. //防止拖動圖標即打開了桌面應用
  2887. U.MD.D.click(this, obj);
  2888. }, [_gdjgAdminDeskIconInfo[i]]),
  2889. "onclick": U.UF.C.closure(function (obj) {
  2890. //防止拖動圖標即打開了桌面應用
  2891. U.MD.D.click(this, obj);
  2892. }, [_gdjgAdminDeskIconInfo[i]])
  2893. }, _frag); //
  2894. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2895. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2896. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2897. }
  2898. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2899. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2900. if(_role === 0 && _gdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2901. continue
  2902. }
  2903. _content = $$("div", {
  2904. className: "U_MD_D_KO",
  2905. "onmousedown": U.UF.C.closure(function (obj) {
  2906. //防止拖動圖標即打開了桌面應用
  2907. U.MD.D.click(this, obj);
  2908. }, [_gdjgTeacherDeskIconInfo[i]]),
  2909. "onclick": U.UF.C.closure(function (obj) {
  2910. //防止拖動圖標即打開了桌面應用
  2911. U.MD.D.click(this, obj);
  2912. }, [_gdjgTeacherDeskIconInfo[i]])
  2913. }, _frag); //
  2914. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2915. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2916. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2917. }
  2918. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2919. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2920. if(_role === 0 && _szherTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2921. continue
  2922. }
  2923. _content = $$("div", {
  2924. className: "U_MD_D_KO",
  2925. "onmousedown": U.UF.C.closure(function (obj) {
  2926. //防止拖動圖標即打開了桌面應用
  2927. U.MD.D.click(this, obj);
  2928. }, [_szherTeacherDeskIconInfo[i]]),
  2929. "onclick": U.UF.C.closure(function (obj) {
  2930. //防止拖動圖標即打開了桌面應用
  2931. U.MD.D.click(this, obj);
  2932. }, [_szherTeacherDeskIconInfo[i]])
  2933. }, _frag); //
  2934. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2935. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2936. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2937. }
  2938. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2939. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2940. _content = $$("div", {
  2941. className: "U_MD_D_KO",
  2942. "onmousedown": U.UF.C.closure(function (obj) {
  2943. //防止拖動圖標即打開了桌面應用
  2944. U.MD.D.click(this, obj);
  2945. }, [_heyuannAdminDeskIconInfo[i]]),
  2946. "onclick": U.UF.C.closure(function (obj) {
  2947. //防止拖動圖標即打開了桌面應用
  2948. U.MD.D.click(this, obj);
  2949. }, [_heyuannAdminDeskIconInfo[i]])
  2950. }, _frag); //
  2951. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2952. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2953. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2954. }
  2955. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2956. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2957. if(_role === 0 && _heyuanTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2958. continue
  2959. }
  2960. _content = $$("div", {
  2961. className: "U_MD_D_KO",
  2962. "onmousedown": U.UF.C.closure(function (obj) {
  2963. //防止拖動圖標即打開了桌面應用
  2964. U.MD.D.click(this, obj);
  2965. }, [_heyuanTeacherDeskIconInfo[i]]),
  2966. "onclick": U.UF.C.closure(function (obj) {
  2967. //防止拖動圖標即打開了桌面應用
  2968. U.MD.D.click(this, obj);
  2969. }, [_heyuanTeacherDeskIconInfo[i]])
  2970. }, _frag); //
  2971. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2972. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2973. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2974. } //
  2975. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2976. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2977. _content = $$("div", {
  2978. className: "U_MD_D_KO",
  2979. "onmousedown": U.UF.C.closure(function (obj) {
  2980. //防止拖動圖標即打開了桌面應用
  2981. U.MD.D.click(this, obj);
  2982. }, [_dseiAdminDeskIconInfo[i]]),
  2983. "onclick": U.UF.C.closure(function (obj) {
  2984. //防止拖動圖標即打開了桌面應用
  2985. U.MD.D.click(this, obj);
  2986. }, [_dseiAdminDeskIconInfo[i]])
  2987. }, _frag); //
  2988. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2989. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2990. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2991. }
  2992. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2993. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2994. if(_role === 0 && _dseiTeacherDeskIconInfo[i].Url == 'testTeacher'){
  2995. continue
  2996. }
  2997. _content = $$("div", {
  2998. className: "U_MD_D_KO",
  2999. "onmousedown": U.UF.C.closure(function (obj) {
  3000. //防止拖動圖標即打開了桌面應用
  3001. U.MD.D.click(this, obj);
  3002. }, [_dseiTeacherDeskIconInfo[i]]),
  3003. "onclick": U.UF.C.closure(function (obj) {
  3004. //防止拖動圖標即打開了桌面應用
  3005. U.MD.D.click(this, obj);
  3006. }, [_dseiTeacherDeskIconInfo[i]])
  3007. }, _frag); //
  3008. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3009. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  3010. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  3011. } //
  3012. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  3013. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  3014. _content = $$("div", {
  3015. className: "U_MD_D_KO",
  3016. "onmousedown": U.UF.C.closure(function (obj) {
  3017. //防止拖動圖標即打開了桌面應用
  3018. U.MD.D.click(this, obj);
  3019. }, [_chjyjAdminDeskIconInfo[i]]),
  3020. "onclick": U.UF.C.closure(function (obj) {
  3021. //防止拖動圖標即打開了桌面應用
  3022. U.MD.D.click(this, obj);
  3023. }, [_chjyjAdminDeskIconInfo[i]])
  3024. }, _frag); //
  3025. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3026. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  3027. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  3028. }//
  3029. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  3030. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  3031. if(_role === 0 && _chjyjTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3032. continue
  3033. }
  3034. _content = $$("div", {
  3035. className: "U_MD_D_KO",
  3036. "onmousedown": U.UF.C.closure(function (obj) {
  3037. //防止拖動圖標即打開了桌面應用
  3038. U.MD.D.click(this, obj);
  3039. }, [_chjyjTeacherDeskIconInfo[i]]),
  3040. "onclick": U.UF.C.closure(function (obj) {
  3041. //防止拖動圖標即打開了桌面應用
  3042. U.MD.D.click(this, obj);
  3043. }, [_chjyjTeacherDeskIconInfo[i]])
  3044. }, _frag); //
  3045. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3046. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  3047. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  3048. }
  3049. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  3050. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  3051. _content = $$("div", {
  3052. className: "U_MD_D_KO",
  3053. "onmousedown": U.UF.C.closure(function (obj) {
  3054. //防止拖動圖標即打開了桌面應用
  3055. U.MD.D.click(this, obj);
  3056. }, [_szjkyAdminDeskIconInfo[i]]),
  3057. "onclick": U.UF.C.closure(function (obj) {
  3058. //防止拖動圖標即打開了桌面應用
  3059. U.MD.D.click(this, obj);
  3060. }, [_szjkyAdminDeskIconInfo[i]])
  3061. }, _frag); //
  3062. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3063. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  3064. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  3065. }//
  3066. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  3067. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  3068. if(_role === 0 && _szjkyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3069. continue
  3070. }
  3071. _content = $$("div", {
  3072. className: "U_MD_D_KO",
  3073. "onmousedown": U.UF.C.closure(function (obj) {
  3074. //防止拖動圖標即打開了桌面應用
  3075. U.MD.D.click(this, obj);
  3076. }, [_szjkyTeacherDeskIconInfo[i]]),
  3077. "onclick": U.UF.C.closure(function (obj) {
  3078. //防止拖動圖標即打開了桌面應用
  3079. U.MD.D.click(this, obj);
  3080. }, [_szjkyTeacherDeskIconInfo[i]])
  3081. }, _frag); //
  3082. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  3084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  3085. }
  3086. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  3087. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  3088. _content = $$("div", {
  3089. className: "U_MD_D_KO",
  3090. "onmousedown": U.UF.C.closure(function (obj) {
  3091. //防止拖動圖標即打開了桌面應用
  3092. U.MD.D.click(this, obj);
  3093. }, [_futianAdminDeskIconInfo[i]]),
  3094. "onclick": U.UF.C.closure(function (obj) {
  3095. //防止拖動圖標即打開了桌面應用
  3096. U.MD.D.click(this, obj);
  3097. }, [_futianAdminDeskIconInfo[i]])
  3098. }, _frag); //
  3099. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3100. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  3101. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  3102. }
  3103. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  3104. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  3105. if(_role === 0 && _futianTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3106. continue
  3107. }
  3108. _content = $$("div", {
  3109. className: "U_MD_D_KO",
  3110. "onmousedown": U.UF.C.closure(function (obj) {
  3111. //防止拖動圖標即打開了桌面應用
  3112. U.MD.D.click(this, obj);
  3113. }, [_futianTeacherDeskIconInfo[i]]),
  3114. "onclick": U.UF.C.closure(function (obj) {
  3115. //防止拖動圖標即打開了桌面應用
  3116. U.MD.D.click(this, obj);
  3117. }, [_futianTeacherDeskIconInfo[i]])
  3118. }, _frag); //
  3119. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3120. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  3121. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  3122. }
  3123. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  3124. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  3125. if(_role === 0 && _MingdeTeacherDeskIcon[i].Url == 'testTeacher'){
  3126. continue
  3127. }
  3128. _content = $$("div", {
  3129. className: "U_MD_D_KO",
  3130. "onmousedown": U.UF.C.closure(function (obj) {
  3131. //防止拖動圖標即打開了桌面應用
  3132. U.MD.D.click(this, obj);
  3133. }, [_MingdeTeacherDeskIcon[i]]),
  3134. "onclick": U.UF.C.closure(function (obj) {
  3135. //防止拖動圖標即打開了桌面應用
  3136. U.MD.D.click(this, obj);
  3137. }, [_MingdeTeacherDeskIcon[i]])
  3138. }, _frag); //
  3139. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3140. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  3141. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  3142. }
  3143. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  3144. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  3145. _content = $$("div", {
  3146. className: "U_MD_D_KO",
  3147. "onmousedown": U.UF.C.closure(function (obj) {
  3148. //防止拖動圖標即打開了桌面應用
  3149. U.MD.D.click(this, obj);
  3150. }, [_lhsAdminDesktopIconInfo[i]]),
  3151. "onclick": U.UF.C.closure(function (obj) {
  3152. //防止拖動圖標即打開了桌面應用
  3153. U.MD.D.click(this, obj);
  3154. }, [_lhsAdminDesktopIconInfo[i]])
  3155. }, _frag); //
  3156. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3157. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  3158. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  3159. }
  3160. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  3161. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  3162. if(_role === 0 && _lhsteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3163. continue
  3164. }
  3165. _content = $$("div", {
  3166. className: "U_MD_D_KO",
  3167. "onmousedown": U.UF.C.closure(function (obj) {
  3168. //防止拖動圖標即打開了桌面應用
  3169. U.MD.D.click(this, obj);
  3170. }, [_lhsteacherDesktopIconInfo[i]]),
  3171. "onclick": U.UF.C.closure(function (obj) {
  3172. //防止拖動圖標即打開了桌面應用
  3173. U.MD.D.click(this, obj);
  3174. }, [_lhsteacherDesktopIconInfo[i]])
  3175. }, _frag); //
  3176. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3177. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  3178. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  3179. }
  3180. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  3181. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  3182. if(_role === 0 && _zhoujiateacherDesktopIconInfo[i].Url == 'testTeacher'){
  3183. continue
  3184. }
  3185. _content = $$("div", {
  3186. className: "U_MD_D_KO",
  3187. "onmousedown": U.UF.C.closure(function (obj) {
  3188. //防止拖動圖標即打開了桌面應用
  3189. U.MD.D.click(this, obj);
  3190. }, [_zhoujiateacherDesktopIconInfo[i]]),
  3191. "onclick": U.UF.C.closure(function (obj) {
  3192. //防止拖動圖標即打開了桌面應用
  3193. U.MD.D.click(this, obj);
  3194. }, [_zhoujiateacherDesktopIconInfo[i]])
  3195. }, _frag); //
  3196. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3197. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  3198. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  3199. }
  3200. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  3201. for (i = 0; i < _hanDeskIcon.length; i++) {
  3202. if(_role === 0 && _hanDeskIcon[i].Url == 'testTeacher'){
  3203. continue
  3204. }
  3205. _content = $$("div", {
  3206. className: "U_MD_D_KO",
  3207. "onmousedown": U.UF.C.closure(function (obj) {
  3208. //防止拖動圖標即打開了桌面應用
  3209. U.MD.D.click(this, obj);
  3210. }, [_hanDeskIcon[i]]),
  3211. "onclick": U.UF.C.closure(function (obj) {
  3212. //防止拖動圖標即打開了桌面應用
  3213. U.MD.D.click(this, obj);
  3214. }, [_hanDeskIcon[i]])
  3215. }, _frag); //
  3216. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3217. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  3218. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  3219. }
  3220. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  3221. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  3222. if(_role === 0 && _orgStemDeskIcon[i].Url == 'testTeacher'){
  3223. continue
  3224. }
  3225. _content = $$("div", {
  3226. className: "U_MD_D_KO",
  3227. "onmousedown": U.UF.C.closure(function (obj) {
  3228. //防止拖動圖標即打開了桌面應用
  3229. U.MD.D.click(this, obj);
  3230. }, [_orgStemDeskIcon[i]]),
  3231. "onclick": U.UF.C.closure(function (obj) {
  3232. //防止拖動圖標即打開了桌面應用
  3233. U.MD.D.click(this, obj);
  3234. }, [_orgStemDeskIcon[i]])
  3235. }, _frag); //
  3236. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3237. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  3238. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  3239. }
  3240. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  3241. for (i = 0; i < _szulsDeskIcon.length; i++) {
  3242. if(_role === 0 && _szulsDeskIcon[i].Url == 'testTeacher'){
  3243. continue
  3244. }
  3245. _content = $$("div", {
  3246. className: "U_MD_D_KO",
  3247. "onmousedown": U.UF.C.closure(function (obj) {
  3248. //防止拖動圖標即打開了桌面應用
  3249. U.MD.D.click(this, obj);
  3250. }, [_szulsDeskIcon[i]]),
  3251. "onclick": U.UF.C.closure(function (obj) {
  3252. //防止拖動圖標即打開了桌面應用
  3253. U.MD.D.click(this, obj);
  3254. }, [_szulsDeskIcon[i]])
  3255. }, _frag); //
  3256. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3257. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  3258. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  3259. }
  3260. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  3261. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  3262. if(_role === 0 && _orgDesktopIconInfo[i].Url == 'testTeacher'){
  3263. continue
  3264. }
  3265. _content = $$("div", {
  3266. className: "U_MD_D_KO",
  3267. "onmousedown": U.UF.C.closure(function (obj) {
  3268. //防止拖動圖標即打開了桌面應用
  3269. U.MD.D.click(this, obj);
  3270. }, [_orgDesktopIconInfo[i]]),
  3271. "onclick": U.UF.C.closure(function (obj) {
  3272. //防止拖動圖標即打開了桌面應用
  3273. U.MD.D.click(this, obj);
  3274. }, [_orgDesktopIconInfo[i]])
  3275. }, _frag); //
  3276. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3277. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  3278. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  3279. }
  3280. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3281. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  3282. if(_role === 0 && _schoolDesktopIconInfo[i].Url == 'testTeacher'){
  3283. continue
  3284. }
  3285. _content = $$("div", {
  3286. className: "U_MD_D_KO",
  3287. "onmousedown": U.UF.C.closure(function (obj) {
  3288. //防止拖動圖標即打開了桌面應用
  3289. U.MD.D.click(this, obj);
  3290. }, [_schoolDesktopIconInfo[i]]),
  3291. "onclick": U.UF.C.closure(function (obj) {
  3292. //防止拖動圖標即打開了桌面應用
  3293. U.MD.D.click(this, obj);
  3294. }, [_schoolDesktopIconInfo[i]])
  3295. }, _frag); //
  3296. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3297. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  3298. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  3299. }
  3300. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  3301. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  3302. if(_role === 0 && _GMteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3303. continue
  3304. }
  3305. _content = $$("div", {
  3306. className: "U_MD_D_KO",
  3307. "onmousedown": U.UF.C.closure(function (obj) {
  3308. //防止拖動圖標即打開了桌面應用
  3309. U.MD.D.click(this, obj);
  3310. }, [_GMteacherDesktopIconInfo[i]]),
  3311. "onclick": U.UF.C.closure(function (obj) {
  3312. //防止拖動圖標即打開了桌面應用
  3313. U.MD.D.click(this, obj);
  3314. }, [_GMteacherDesktopIconInfo[i]])
  3315. }, _frag); //
  3316. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3317. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  3318. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  3319. }
  3320. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  3321. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  3322. if(_role === 0 && _SONGteacherDesktopIconInfo[i].Url == 'testTeacher'){
  3323. continue
  3324. }
  3325. _content = $$("div", {
  3326. className: "U_MD_D_KO",
  3327. "onmousedown": U.UF.C.closure(function (obj) {
  3328. //防止拖動圖標即打開了桌面應用
  3329. U.MD.D.click(this, obj);
  3330. }, [_SONGteacherDesktopIconInfo[i]]),
  3331. "onclick": U.UF.C.closure(function (obj) {
  3332. //防止拖動圖標即打開了桌面應用
  3333. U.MD.D.click(this, obj);
  3334. }, [_SONGteacherDesktopIconInfo[i]])
  3335. }, _frag); //
  3336. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3337. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  3338. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  3339. }
  3340. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  3341. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  3342. _content = $$("div", {
  3343. className: "U_MD_D_KO",
  3344. "onmousedown": U.UF.C.closure(function (obj) {
  3345. //防止拖動圖標即打開了桌面應用
  3346. U.MD.D.click(this, obj);
  3347. }, [_GMstudentDesktopIconInfo[i]]),
  3348. "onclick": U.UF.C.closure(function (obj) {
  3349. //防止拖動圖標即打開了桌面應用
  3350. U.MD.D.click(this, obj);
  3351. }, [_GMstudentDesktopIconInfo[i]])
  3352. }, _frag); //
  3353. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3354. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  3355. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  3356. }
  3357. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  3358. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  3359. if(_role === 0 && _tcTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3360. continue
  3361. }
  3362. _content = $$("div", {
  3363. className: "U_MD_D_KO",
  3364. "onmousedown": U.UF.C.closure(function (obj) {
  3365. //防止拖動圖標即打開了桌面應用
  3366. U.MD.D.click(this, obj);
  3367. }, [_tcTeacherDeskIconInfo[i]]),
  3368. "onclick": U.UF.C.closure(function (obj) {
  3369. //防止拖動圖標即打開了桌面應用
  3370. U.MD.D.click(this, obj);
  3371. }, [_tcTeacherDeskIconInfo[i]])
  3372. }, _frag); //
  3373. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3374. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  3375. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  3376. }
  3377. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  3378. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  3379. if(_role === 0 && _tcOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  3380. continue
  3381. }
  3382. _content = $$("div", {
  3383. className: "U_MD_D_KO",
  3384. "onmousedown": U.UF.C.closure(function (obj) {
  3385. //防止拖動圖標即打開了桌面應用
  3386. U.MD.D.click(this, obj);
  3387. }, [_tcOrganizerDeskIconInfo[i]]),
  3388. "onclick": U.UF.C.closure(function (obj) {
  3389. //防止拖動圖標即打開了桌面應用
  3390. U.MD.D.click(this, obj);
  3391. }, [_tcOrganizerDeskIconInfo[i]])
  3392. }, _frag); //
  3393. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3394. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  3395. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3396. }
  3397. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  3398. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  3399. if(_role === 0 && _szscTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3400. continue
  3401. }
  3402. _content = $$("div", {
  3403. className: "U_MD_D_KO",
  3404. "onmousedown": U.UF.C.closure(function (obj) {
  3405. //防止拖動圖標即打開了桌面應用
  3406. U.MD.D.click(this, obj);
  3407. }, [_szscTeacherDeskIconInfo[i]]),
  3408. "onclick": U.UF.C.closure(function (obj) {
  3409. //防止拖動圖標即打開了桌面應用
  3410. U.MD.D.click(this, obj);
  3411. }, [_szscTeacherDeskIconInfo[i]])
  3412. }, _frag); //
  3413. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3414. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  3415. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  3416. }
  3417. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  3418. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  3419. if(_role === 0 && _szscOrganizerDeskIconInfo[i].Url == 'testTeacher'){
  3420. continue
  3421. }
  3422. _content = $$("div", {
  3423. className: "U_MD_D_KO",
  3424. "onmousedown": U.UF.C.closure(function (obj) {
  3425. //防止拖動圖標即打開了桌面應用
  3426. U.MD.D.click(this, obj);
  3427. }, [_szscOrganizerDeskIconInfo[i]]),
  3428. "onclick": U.UF.C.closure(function (obj) {
  3429. //防止拖動圖標即打開了桌面應用
  3430. U.MD.D.click(this, obj);
  3431. }, [_szscOrganizerDeskIconInfo[i]])
  3432. }, _frag); //
  3433. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3434. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  3435. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  3436. }
  3437. } else if ((_type == 1 || _type == 4) && _oid == "8a352da2-56e1-11ef-b873-005056b86db5") {
  3438. for (i = 0; i < _nsfxTeacherDeskIconInfo.length; i++) {
  3439. if(_role === 0 && _nsfxTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3440. continue
  3441. }
  3442. _content = $$("div", {
  3443. className: "U_MD_D_KO",
  3444. "onmousedown": U.UF.C.closure(function (obj) {
  3445. //防止拖動圖標即打開了桌面應用
  3446. U.MD.D.click(this, obj);
  3447. }, [_nsfxTeacherDeskIconInfo[i]]),
  3448. "onclick": U.UF.C.closure(function (obj) {
  3449. //防止拖動圖標即打開了桌面應用
  3450. U.MD.D.click(this, obj);
  3451. }, [_nsfxTeacherDeskIconInfo[i]])
  3452. }, _frag); //
  3453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _nsfxTeacherDeskIconInfo[i].style }, _iconcontent);
  3455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _nsfxTeacherDeskIconInfo[i].Name }, _iconcontent);
  3456. }
  3457. } else if ((_type == 1 || _type == 4) && _org == "f3b243b2-75e2-4b00-8f66-7644946a2a25") {
  3458. for (i = 0; i < _stiaTeacherDeskIconInfo.length; i++) {
  3459. if(_role === 0 && _stiaTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3460. continue
  3461. }
  3462. _content = $$("div", {
  3463. className: "U_MD_D_KO",
  3464. "onmousedown": U.UF.C.closure(function (obj) {
  3465. //防止拖動圖標即打開了桌面應用
  3466. U.MD.D.click(this, obj);
  3467. }, [_stiaTeacherDeskIconInfo[i]]),
  3468. "onclick": U.UF.C.closure(function (obj) {
  3469. //防止拖動圖標即打開了桌面應用
  3470. U.MD.D.click(this, obj);
  3471. }, [_stiaTeacherDeskIconInfo[i]])
  3472. }, _frag); //
  3473. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3474. $$("div", { className: "U_MD_D_KOS U_Img", "style": _stiaTeacherDeskIconInfo[i].style }, _iconcontent);
  3475. $$("div", { className: "U_MD_D_KOX", "innerHTML": _stiaTeacherDeskIconInfo[i].Name }, _iconcontent);
  3476. }
  3477. } else if ((_type == 1 || _type == 4) && _org == "16ace517-b5c7-4168-a9bb-a9e0035df840") {
  3478. for (i = 0; i < _szdjgTeacherDeskIconInfo.length; i++) {
  3479. if(_role === 0 && _szdjgTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3480. continue
  3481. }
  3482. _content = $$("div", {
  3483. className: "U_MD_D_KO",
  3484. "onmousedown": U.UF.C.closure(function (obj) {
  3485. //防止拖動圖標即打開了桌面應用
  3486. U.MD.D.click(this, obj);
  3487. }, [_szdjgTeacherDeskIconInfo[i]]),
  3488. "onclick": U.UF.C.closure(function (obj) {
  3489. //防止拖動圖標即打開了桌面應用
  3490. U.MD.D.click(this, obj);
  3491. }, [_szdjgTeacherDeskIconInfo[i]])
  3492. }, _frag); //
  3493. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3494. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  3495. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  3496. }
  3497. } else if ((_type == 1 || _type == 4) && _org == "2fe1a080-4425-4620-b7a0-be2f3750ffd4") {
  3498. for (i = 0; i < _x010607TeacherDeskIconInfo.length; i++) {
  3499. if(_role === 0 && _x010607TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3500. continue
  3501. }
  3502. _content = $$("div", {
  3503. className: "U_MD_D_KO",
  3504. "onmousedown": U.UF.C.closure(function (obj) {
  3505. //防止拖動圖標即打開了桌面應用
  3506. U.MD.D.click(this, obj);
  3507. }, [_x010607TeacherDeskIconInfo[i]]),
  3508. "onclick": U.UF.C.closure(function (obj) {
  3509. //防止拖動圖標即打開了桌面應用
  3510. U.MD.D.click(this, obj);
  3511. }, [_x010607TeacherDeskIconInfo[i]])
  3512. }, _frag); //
  3513. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3514. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010607TeacherDeskIconInfo[i].style }, _iconcontent);
  3515. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010607TeacherDeskIconInfo[i].Name }, _iconcontent);
  3516. }
  3517. } else if ((_type == 1 || _type == 4) && _org == "a5efd078-20f6-4185-bef9-6d1c688bee70") {
  3518. for (i = 0; i < _xhlyTeacherDeskIconInfo.length; i++) {
  3519. if(_role === 0 && _xhlyTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3520. continue
  3521. }
  3522. _content = $$("div", {
  3523. className: "U_MD_D_KO",
  3524. "onmousedown": U.UF.C.closure(function (obj) {
  3525. //防止拖動圖標即打開了桌面應用
  3526. U.MD.D.click(this, obj);
  3527. }, [_xhlyTeacherDeskIconInfo[i]]),
  3528. "onclick": U.UF.C.closure(function (obj) {
  3529. //防止拖動圖標即打開了桌面應用
  3530. U.MD.D.click(this, obj);
  3531. }, [_xhlyTeacherDeskIconInfo[i]])
  3532. }, _frag); //
  3533. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3534. $$("div", { className: "U_MD_D_KOS U_Img", "style": _xhlyTeacherDeskIconInfo[i].style }, _iconcontent);
  3535. $$("div", { className: "U_MD_D_KOX", "innerHTML": _xhlyTeacherDeskIconInfo[i].Name }, _iconcontent);
  3536. }
  3537. } else if ((_type == 1 || _type == 4) && _org == "23bbe712-e35a-4888-9b4e-8d9e5a4fa2f6") {
  3538. for (i = 0; i < _CUHKEDUTeacherDeskIconInfo.length; i++) {
  3539. if(_role === 0 && _CUHKEDUTeacherDeskIconInfo[i].Url == 'testTeacher'){
  3540. continue
  3541. }
  3542. _content = $$("div", {
  3543. className: "U_MD_D_KO",
  3544. "onmousedown": U.UF.C.closure(function (obj) {
  3545. //防止拖動圖標即打開了桌面應用
  3546. U.MD.D.click(this, obj);
  3547. }, [_CUHKEDUTeacherDeskIconInfo[i]]),
  3548. "onclick": U.UF.C.closure(function (obj) {
  3549. //防止拖動圖標即打開了桌面應用
  3550. U.MD.D.click(this, obj);
  3551. }, [_CUHKEDUTeacherDeskIconInfo[i]])
  3552. }, _frag); //
  3553. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3554. $$("div", { className: "U_MD_D_KOS U_Img", "style": _CUHKEDUTeacherDeskIconInfo[i].style }, _iconcontent);
  3555. $$("div", { className: "U_MD_D_KOX", "innerHTML": _CUHKEDUTeacherDeskIconInfo[i].Name }, _iconcontent);
  3556. }
  3557. } else if ((_type == 1 || _type == 4) && _oid == "876030db-7a49-11ef-9b30-005056b86db5") {
  3558. for (i = 0; i < _x010503TeacherDeskIconInfo.length; i++) {
  3559. if(_role === 0 && _x010503TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3560. continue
  3561. }
  3562. _content = $$("div", {
  3563. className: "U_MD_D_KO",
  3564. "onmousedown": U.UF.C.closure(function (obj) {
  3565. //防止拖动图标即打开了桌面应用
  3566. U.MD.D.click(this, obj);
  3567. }, [_x010503TeacherDeskIconInfo[i]]),
  3568. "onclick": U.UF.C.closure(function (obj) {
  3569. //防止拖动图标即打开了桌面应用
  3570. U.MD.D.click(this, obj);
  3571. }, [_x010503TeacherDeskIconInfo[i]])
  3572. }, _frag); //
  3573. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3574. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010503TeacherDeskIconInfo[i].style }, _iconcontent);
  3575. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010503TeacherDeskIconInfo[i].Name }, _iconcontent);
  3576. }
  3577. } else if ((_type == 1 || _type == 4) && _org == "ec84034b-8ea4-4d27-9cba-1adcb4720bb3") {
  3578. for (i = 0; i < _SPROUTLabStudentDeskIconInfo.length; i++) {
  3579. if(_role === 0 && _SPROUTLabStudentDeskIconInfo[i].Url == 'testTeacher'){
  3580. continue
  3581. }
  3582. _content = $$("div", {
  3583. className: "U_MD_D_KO",
  3584. "onmousedown": U.UF.C.closure(function (obj) {
  3585. //防止拖动图标即打开了桌面应用
  3586. U.MD.D.click(this, obj);
  3587. }, [_SPROUTLabStudentDeskIconInfo[i]]),
  3588. "onclick": U.UF.C.closure(function (obj) {
  3589. //防止拖动图标即打开了桌面应用
  3590. U.MD.D.click(this, obj);
  3591. }, [_SPROUTLabStudentDeskIconInfo[i]])
  3592. }, _frag); //
  3593. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3594. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SPROUTLabStudentDeskIconInfo[i].style }, _iconcontent);
  3595. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SPROUTLabStudentDeskIconInfo[i].Name }, _iconcontent);
  3596. }
  3597. } else if ((_type == 1 || _type == 4) && _oid == "9b46a3c9-7657-11ef-9b30-005056b86db5") {
  3598. for (i = 0; i < _x010608TeacherDeskIconInfo.length; i++) {
  3599. if(_role === 0 && _x010608TeacherDeskIconInfo[i].Url == 'testTeacher'){
  3600. continue
  3601. }
  3602. _content = $$("div", {
  3603. className: "U_MD_D_KO",
  3604. "onmousedown": U.UF.C.closure(function (obj) {
  3605. //防止拖動圖標即打開了桌面應用
  3606. U.MD.D.click(this, obj);
  3607. }, [_x010608TeacherDeskIconInfo[i]]),
  3608. "onclick": U.UF.C.closure(function (obj) {
  3609. //防止拖動圖標即打開了桌面應用
  3610. U.MD.D.click(this, obj);
  3611. }, [_x010608TeacherDeskIconInfo[i]])
  3612. }, _frag); //
  3613. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3614. $$("div", { className: "U_MD_D_KOS U_Img", "style": _x010608TeacherDeskIconInfo[i].style }, _iconcontent);
  3615. $$("div", { className: "U_MD_D_KOX", "innerHTML": _x010608TeacherDeskIconInfo[i].Name }, _iconcontent);
  3616. }
  3617. } else {
  3618. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  3619. if(_role === 0 && _teacherDesktopIconInfo[i].Url == 'testTeacher' && _oid != '45facc0a-1211-11ec-80ad-005056b86db5'){
  3620. continue
  3621. }
  3622. _content = $$("div", {
  3623. className: "U_MD_D_KO",
  3624. "onmousedown": U.UF.C.closure(function (obj) {
  3625. //防止拖動圖標即打開了桌面應用
  3626. U.MD.D.click(this, obj);
  3627. }, [_teacherDesktopIconInfo[i]]),
  3628. "onclick": U.UF.C.closure(function (obj) {
  3629. //防止拖動圖標即打開了桌面應用
  3630. U.MD.D.click(this, obj);
  3631. }, [_teacherDesktopIconInfo[i]])
  3632. }, _frag); //
  3633. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  3634. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  3635. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  3636. }
  3637. }
  3638. } else {
  3639. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  3640. _content = $$("div", {
  3641. className: "U_MD_D_KO",
  3642. style: { 'width': '124px', 'height': '145px' },
  3643. "onmousedown": U.UF.C.closure(function (obj) {
  3644. //防止拖動圖標即打開了桌面應用
  3645. U.MD.D.click(this, obj);
  3646. }, [_easyDesktopIconInfo[i]]),
  3647. "onclick": U.UF.C.closure(function (obj) {
  3648. //防止拖動圖標即打開了桌面應用
  3649. U.MD.D.click(this, obj);
  3650. }, [_easyDesktopIconInfo[i]])
  3651. }, _frag); //
  3652. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  3653. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  3654. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  3655. }
  3656. }
  3657. if (type == 1) {
  3658. //加載好後給圖標定位
  3659. U.MD.D.iconPostion($(_frag).Child());
  3660. } else {
  3661. //加載好後給圖標定位
  3662. U.MD.D.iconPostion2($(_frag).Child());
  3663. }
  3664. //把圖標加載到頁面
  3665. el.appendChild(_frag);
  3666. }
  3667. /**
  3668. * 顯示任務欄
  3669. *
  3670. * @param {element} 桌面元素
  3671. */
  3672. U.MD.D.I.displayTaskbar = function (el) {
  3673. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  3674. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  3675. //任務欄位置變化
  3676. U.selectEl(el).css({ "bottom": "0px" });
  3677. //桌面位置變話
  3678. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  3679. }
  3680. }
  3681. //#region 桌面圖標拖動邏輯
  3682. /**
  3683. * 桌面排列圖標
  3684. *
  3685. * @param {element} 桌面元素
  3686. * @param {object} 上下相距的距離
  3687. * @param {object} 左右相距的距離
  3688. * @return {object} 命名空間
  3689. */
  3690. U.MD.D.iconPostion = function (childs, top, left) {
  3691. var i; //用於循環處理
  3692. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  3693. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  3694. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  3695. for (i = 0; i < childs.length; i++) {
  3696. //如果豎排top超過了範圍處理
  3697. if (top + 95 > US.height - 10) {
  3698. //left超過了頁面範圍處理,則向上重疊打印處理
  3699. if ((left + 180) > US.width) {
  3700. top -= 110;
  3701. left -= 90;
  3702. }
  3703. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  3704. else {
  3705. left += 90;
  3706. top = 15;
  3707. };
  3708. }
  3709. //給圖標的位置賦值
  3710. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  3711. if (i < childs.length - 1) {
  3712. //頁面圖標每次向下加95
  3713. top += 95;
  3714. }
  3715. }
  3716. //返回最後調用的圖標的位置
  3717. return [top, left];
  3718. }
  3719. /**
  3720. * 桌面排列圖標
  3721. *
  3722. * @param {element} 桌面元素
  3723. * @param {object} 上下相距的距離
  3724. * @param {object} 左右相距的距離
  3725. * @return {object} 命名空間
  3726. */
  3727. U.MD.D.iconPostion2 = function (childs, top, left) {
  3728. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  3729. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  3730. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  3731. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  3732. for (i = 0; i < childs.length; i++) {
  3733. //如果豎排top超過了範圍處理
  3734. if (left + 150 > US.width - 10) {
  3735. //left超過了頁面範圍處理,則向上重疊打印處理
  3736. if ((top + 180) > US.Height) {
  3737. top -= 150;
  3738. left -= 150;
  3739. }
  3740. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  3741. else {
  3742. top += 150;
  3743. left = ol;
  3744. };
  3745. }
  3746. //給圖標的位置賦值
  3747. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  3748. if (i < childs.length - 1) {
  3749. //頁面圖標每次向下加95
  3750. left += 150;
  3751. }
  3752. }
  3753. //返回最後調用的圖標的位置
  3754. return [top, left];
  3755. }
  3756. /**
  3757. * 桌面點擊事件邏輯
  3758. *
  3759. * @param {element} 桌面元素
  3760. * @param {object} 上下相距的距離
  3761. * @param {object} 左右相距的距離
  3762. * @return {object} 命名空間
  3763. */
  3764. U.MD.D.click = function (el, obj) {
  3765. var _buttonnumber = event.button; //點擊的按鈕的事件值
  3766. var _userinfo = US.userInfo;
  3767. U.UF.EV.stopBubble(); //阻止向上冒泡
  3768. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  3769. if (_buttonnumber < 2) {
  3770. //如果是click事件的處理
  3771. if (event.type == "click") {
  3772. //如果元素在mousemove事件中沒有移動則出發click事件
  3773. if (!U.MD.D.I.IsDrag) {
  3774. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3775. U.alert("請先登錄您的賬號!");
  3776. setTimeout(() => {
  3777. U.MD.U.L.login();
  3778. }, 2000);
  3779. } else {
  3780. //打開應用處理
  3781. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  3782. }
  3783. }
  3784. }
  3785. //如果是mouse事件的處理
  3786. else {
  3787. if (US.Config.type == '1') {
  3788. //拖動處理,添加拖動和拖動結束事件
  3789. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  3790. }
  3791. }
  3792. U.MD.D.I.IsDrag = false;
  3793. }
  3794. }
  3795. /**
  3796. * 拖動的處理
  3797. *
  3798. */
  3799. U.MD.D.iconMove = function () {
  3800. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  3801. U.MD.D.I.IsDrag = true;
  3802. }
  3803. /**
  3804. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  3805. *
  3806. * @param {element} 拖動的元素
  3807. * @return {object} 命名空間
  3808. */
  3809. U.MD.D.iconUp = function (el) {
  3810. var _top = 15,
  3811. _left = 20,
  3812. _margin,
  3813. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  3814. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  3815. if (_positioninfo["OT"] > 15) {
  3816. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  3817. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  3818. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  3819. }
  3820. if (_positioninfo["OL"] > 20) {
  3821. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  3822. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  3823. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  3824. }
  3825. //while循環判斷麼一個重疊的元素
  3826. do {
  3827. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  3828. _top = _positioninfo[0] + 95; //得到定位後的top
  3829. _left = _positioninfo[1]; //得到定位後的left
  3830. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  3831. }
  3832. /**
  3833. * 判斷拖動後圖標是否重疊
  3834. *
  3835. * @param {element} 拖動的元素
  3836. * @param {element} 桌面所有的元素
  3837. * @param {array} 拖動元素的位置
  3838. ----------[0] 上 top
  3839. ----------[1] 左 left
  3840. * @return {object} 命名空間
  3841. */
  3842. U.MD.D.isOverlap = function (el, childs, postionarray) {
  3843. //循環所有的圖標
  3844. for (var i = 0; i < childs.length; i++) {
  3845. //判斷有沒有和該圖標誒子重疊的元素
  3846. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  3847. return childs[i]; //如果有返回
  3848. }
  3849. }
  3850. }
  3851. //#endregion
  3852. //#endregion
  3853. //#region 桌面應用
  3854. /**
  3855. * 打開應用
  3856. *
  3857. * @param {string} 類型
  3858. -----------------Disk 網盤系統
  3859. -----------------PDisk 學習系統網盤
  3860. -----------------Poto 圖片
  3861. -----------------Video 視頻
  3862. -----------------Music 音樂
  3863. -----------------Word word
  3864. -----------------Excel excel
  3865. -----------------Txt 記事本
  3866. -----------------PB 學習系統
  3867. -----------------Blog 朋友圈系統
  3868. -----------------FTP ftp系統
  3869. -----------------Group 好友群
  3870. -----------------SY 首頁系統
  3871. -----------------Set 個人設置
  3872. -----------------XSet 系統設置
  3873. -----------------App 我們所有的app
  3874. -----------------BC c.1473.cn 平臺
  3875. -----------------CWeb d.1473.cn 變成平臺
  3876. -----------------其他的外聯系統 我們統一用iframe打開
  3877. * @param {array} 類型
  3878. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  3879. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  3880. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  3881. 如果第一個參數為其他,則無第二個參數
  3882. * @returns {array}
  3883. */
  3884. window.addEventListener('message', function (e) { // 監聽 message 事件
  3885. // alert(e.data.type);
  3886. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  3887. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  3888. //3是展示全部階段 2學生 1老師 4專家
  3889. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  3890. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  3891. //3是展示全部階段 2學生 1老師 4專家
  3892. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  3893. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  3894. //3是展示全部階段 2學生 1老師 4專家
  3895. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  3896. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  3897. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  3898. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  3899. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  3900. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  3901. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  3902. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  3903. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  3904. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  3905. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  3906. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  3907. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  3908. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  3909. //3是展示全部階段 2學生 1老師 4專家
  3910. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  3911. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  3912. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  3913. U.MD.D.I.selectUser();
  3914. } else if (e.data.allScreen && e.data.allScreen == "1") {
  3915. var _formel = document.getElementById("study");
  3916. U.UF.F.windowZooming(_formel);
  3917. } else if (e.data.allScreen && e.data.allScreen == "2") {
  3918. var _formel = document.getElementById("studyDetail");
  3919. U.UF.F.windowZooming(_formel);
  3920. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  3921. var _formel = document.getElementById("studyDetail");
  3922. U.UF.F.windowZooming(_formel);
  3923. } else if (e.data.allScreen && e.data.allScreen == "3") {
  3924. var _formel = document.getElementById("studentStudy");
  3925. U.UF.F.windowZooming(_formel);
  3926. } else if (e.data.allScreen && e.data.allScreen == "6") {
  3927. // var _formel = document.getElementById("study");
  3928. //如果最大化了,那麼就把他縮小
  3929. // if (_formel.ismaximize) {
  3930. // return;
  3931. // }
  3932. // U.UF.F.windowZooming(_formel);
  3933. // U.UF.F.topWindow(_formel);
  3934. } else if (e.data.allScreen && e.data.allScreen == "4") {
  3935. // var _formel = document.getElementById("studyDetail");
  3936. //如果最大化了,那麼就把他縮小
  3937. // if (_formel.ismaximize) {
  3938. // return;
  3939. // }
  3940. // U.UF.F.windowZooming(_formel);
  3941. // U.UF.F.topWindow(_formel);
  3942. } else if (e.data.allScreen && e.data.allScreen == "5") {
  3943. // var _formel = document.getElementById("studentStudy");
  3944. // if (_formel.ismaximize) {
  3945. // return;
  3946. // }
  3947. // U.UF.F.windowZooming(_formel);
  3948. // U.UF.F.topWindow(_formel);
  3949. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  3950. var _formel = document.getElementById("study");
  3951. // if (_formel.ismaximize) {
  3952. // return;
  3953. // }
  3954. // U.UF.F.windowZooming(_formel);
  3955. U.UF.F.topWindow(_formel);
  3956. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  3957. var _formel = document.getElementById("studentIndex");
  3958. U.UF.F.windowZooming(_formel);
  3959. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  3960. var _formel = document.getElementById("studyDetailS");
  3961. U.UF.F.windowZooming(_formel);
  3962. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  3963. var _formel = document.getElementById("studioIndex");
  3964. U.UF.F.windowZooming(_formel);
  3965. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  3966. var _formel = document.getElementById("studyDetailStudio");
  3967. U.UF.F.windowZooming(_formel);
  3968. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  3969. var _formel = document.getElementById("studyDetailStudio");
  3970. U.UF.F.windowZooming(_formel);
  3971. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  3972. var _formel = document.getElementById("studyDetailNT");
  3973. U.UF.F.windowZooming(_formel);
  3974. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  3975. var _formel = document.getElementById("studyDetailS");
  3976. U.UF.F.windowZooming(_formel);
  3977. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  3978. var _formel = document.getElementById("studyDetailS");
  3979. U.UF.F.topWindow(_formel);
  3980. } else if (e.data.tools && e.data.tools == "1") {
  3981. // U.MD.D.I.openApplication("whiteboard")
  3982. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3983. } else if (e.data.tools && e.data.tools == "2") {
  3984. U.MD.D.I.openApplication("note")
  3985. } else if (e.data.tools && e.data.tools == "3") {
  3986. // U.MD.D.I.openApplication("mind")
  3987. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3988. } else if (e.data.tools && e.data.tools == "4") {
  3989. U.MD.D.I.openApplication("investigation")
  3990. } else if (e.data.tools && e.data.tools == "6") {
  3991. // U.MD.D.I.openApplication("doc")
  3992. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3993. } else if (e.data.tools && e.data.tools == "7") {
  3994. // U.MD.D.I.openApplication("mindNetwork")
  3995. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  3996. } else if (e.data.tools && e.data.tools == "8") {
  3997. U.MD.D.I.openApplication("library")
  3998. } else if (e.data.tools && e.data.tools == "17") {
  3999. U.MD.D.I.openApplication("stuLibrary")
  4000. } else if (e.data.tools && e.data.tools == "18") {
  4001. U.MD.D.I.openApplication("train")
  4002. } else if (e.data.tools && e.data.tools == "21") {
  4003. U.MD.D.I.openApplication("program")
  4004. } else if (e.data.tools && e.data.tools == "22") {
  4005. U.MD.D.I.openApplication("AIprogram2")
  4006. } else if (e.data.tools && e.data.tools == "23") {
  4007. U.MD.D.I.openApplication("Pythonprogram")
  4008. } else if (e.data.tools && e.data.tools == "24") {
  4009. U.MD.D.I.openApplication("AIprogram")
  4010. } else if (e.data.tools && e.data.tools == "25") {
  4011. U.MD.D.I.openApplication("sys")
  4012. } else if (e.data.tools && e.data.tools == "26") {
  4013. // U.MD.D.I.openApplication("courseDesign")
  4014. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4015. } else if (e.data.tools && e.data.tools == "31") {
  4016. U.MD.D.I.openApplication("netWorkPanel")
  4017. } else if (e.data.tools && e.data.tools == "32") {
  4018. U.MD.D.I.openApplication("codeEdit")
  4019. } else if (e.data.tools && e.data.tools == "57") {
  4020. U.MD.D.I.openApplication("CocoPi")
  4021. } else if (e.data.tools && e.data.tools == "63") {
  4022. U.MD.D.I.openApplication("Wood")
  4023. } else if (e.data.tools && e.data.tools == "58") {
  4024. U.MD.D.I.openApplication("car")
  4025. } else if (e.data.tools && e.data.tools == "59") {
  4026. U.MD.D.I.openApplication("lineSearch")
  4027. } else if (e.data.tools && e.data.tools == "60") {
  4028. U.MD.D.I.openApplication("deepLearning")
  4029. } else if (e.data.tools && e.data.tools == "61") {
  4030. U.MD.D.I.openApplication("allHistory")
  4031. } else if (e.data.tools && e.data.tools == "28") {
  4032. U.MD.D.I.openApplication("translation")
  4033. } else if (e.data.tools && e.data.tools == "37") {
  4034. U.MD.D.I.openApplication("mohe")
  4035. } else if (e.data.tools && e.data.tools == "38") {
  4036. U.MD.D.I.openApplication("24game")
  4037. } else if (e.data.tools && e.data.tools == "39") {
  4038. U.MD.D.I.openApplication("GeoGebra")
  4039. } else if (e.data.tools && e.data.tools == "43") {
  4040. U.MD.D.I.openApplication("studentEvaluate")
  4041. } else if (e.data.tools && e.data.tools == "44") {
  4042. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  4043. } else if (e.data.tools && e.data.tools == "46") {
  4044. U.MD.D.I.openApplication("project")
  4045. } else if (e.data.tools && e.data.tools == "71") {
  4046. U.MD.D.I.openApplication("aigptCourse")
  4047. } else if (e.data.tools && e.data.tools == "1s") {
  4048. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4049. } else if (e.data.tools && e.data.tools == "3s") {
  4050. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4051. } else if (e.data.tools && e.data.tools == "6s") {
  4052. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4053. } else if (e.data.tools && e.data.tools == "1studio") {
  4054. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4055. } else if (e.data.tools && e.data.tools == "3studio") {
  4056. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4057. } else if (e.data.tools && e.data.tools == "6studio") {
  4058. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4059. } else if (e.data.tools && e.data.tools == "3y") {
  4060. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4061. } else if (e.data.tools && e.data.tools == "1y") {
  4062. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4063. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  4064. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  4065. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  4066. U.MD.D.I.openApplication("AIAnalyse")
  4067. } else if (e.data.tools && e.data.tools == "1teacher") {
  4068. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4069. } else if (e.data.tools && e.data.tools == "3teacher") {
  4070. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4071. } else if (e.data.tools && e.data.tools == "7teacher") {
  4072. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4073. } else if (e.data.tools && e.data.tools == "1teacherE") {
  4074. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4075. } else if (e.data.tools && e.data.tools == "3teacherE") {
  4076. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4077. } else if (e.data.tools && e.data.tools == "1E") {
  4078. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4079. } else if (e.data.tools && e.data.tools == "3E") {
  4080. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4081. } else if (e.data.tools && e.data.tools == "57y") {
  4082. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4083. } else if (e.data.tools && e.data.tools == "57u") {
  4084. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  4085. } else if (e.data.tools && e.data.tools == "57teacher") {
  4086. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  4087. } else if (e.data.tools && e.data.tools == "64") {
  4088. U.MD.D.I.openApplication("AIChat")
  4089. } else if (e.data.tools && e.data.tools == "66") {
  4090. U.MD.D.I.openApplication("formulaEdi")
  4091. } else if (e.data.tools && e.data.tools == "67") {
  4092. U.MD.D.I.openApplication("molStr")
  4093. } else if (e.data.tools && e.data.tools == "68") {
  4094. U.MD.D.I.openApplication("timeAxis")
  4095. } else if (e.data.tools && e.data.tools == "openCourse") {
  4096. let _data = {
  4097. typea: e.data.typea || '',
  4098. typeb: e.data.typeb || '',
  4099. typed: e.data.typed || '',
  4100. }
  4101. U.MD.D.I.openInApplication("index", _data)
  4102. } else if (e.data.tools && e.data.tools == "openDataClass") {
  4103. let _data = {
  4104. classid: e.data.classid || '',
  4105. }
  4106. U.MD.D.I.openInApplication("dataClass", _data)
  4107. } else if (e.data.tools && e.data.tools == "opencCscl") {
  4108. let _data = {
  4109. cid: e.data.cid || '',
  4110. gid: e.data.gid || '',
  4111. }
  4112. U.MD.D.I.openInApplication("opencCscl", _data)
  4113. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  4114. U.MD.D.I.openApplication("dataBoardTest")
  4115. } else if (e.data.tools && e.data.tools == "openCourseUpdate") {
  4116. U.MD.D.I.openInApplication("openCourseUpdate", e.data.cid)
  4117. }else if (e.data.tools && e.data.tools == "openCourseEUpdate") {
  4118. U.MD.D.I.openInApplication("openCourseEUpdate", e.data.cid)
  4119. }else if (e.data.tools && e.data.tools == "openCourseAiUpdate") {
  4120. U.MD.D.I.openInApplication("openCourseAiUpdate", e.data.cid)
  4121. }else if (e.data.tools && e.data.tools == "openNewCourseUpdate") {
  4122. U.MD.D.I.openInApplication("openNewCourseUpdate", e.data.cid)
  4123. }else if (e.data.tools && e.data.tools == "inviteLoginSz") {
  4124. U.MD.D.I.openInApplication("inviteLoginSz", e.data.cid)
  4125. }else if (e.data.tools && e.data.tools == "loginSz") {
  4126. U.MD.D.I.openInApplication("loginSz")
  4127. }else if (e.data.tools && e.data.tools == "classroom_observation_board"){
  4128. if($('#classroom_observation_board')[0]){
  4129. $('#classroom_observation_board iframe')[0].contentDocument.location.reload()
  4130. }
  4131. U.MD.D.I.openInApplication("classroom_observation_board", e.data.type)
  4132. }else if (e.data.tools && e.data.tools == "classroom_observation_ob_comment"){
  4133. if($('#classroom_observation_ob_comment')[0]){
  4134. $('#classroom_observation_ob_comment iframe')[0].contentDocument.location.reload()
  4135. }
  4136. U.MD.D.I.openInApplication("classroom_observation_ob_comment", e.data.type)
  4137. }
  4138. });
  4139. U.MD.D.I.selectUser = function () {
  4140. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  4141. if (res.value[0].length > 0) {
  4142. US.userInfo = res.value[0][0];
  4143. $(".userName")[0].innerHTML = US.userInfo.username;
  4144. }
  4145. }, [], { "type": "GET", "withCredentials": true });
  4146. }
  4147. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  4148. var _userinfo = US.userInfo, //登錄用戶信息
  4149. _userid = US.userInfo.userid, //登錄用戶id
  4150. _oid = _userinfo.organizeid,
  4151. _type = US.userInfo.type,
  4152. _org = US.userInfo.org,
  4153. _role = US.userInfo.role,
  4154. _classId = US.userInfo.classid;
  4155. if (_type == 4) {
  4156. tType = 4
  4157. }
  4158. switch (str) {
  4159. case "studyDetailNT": //無終端模式
  4160. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4161. setTimeout(() => {
  4162. U.MD.U.L.login();
  4163. }, 2000);
  4164. } else {
  4165. _formdiv = new U.UF.UI.form(
  4166. "課程詳情",
  4167. $$("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 }), {
  4168. "id": "studyDetailNT",
  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/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4175. break;
  4176. }
  4177. case "studyDetail":
  4178. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4179. setTimeout(() => {
  4180. U.MD.U.L.login();
  4181. }, 2000);
  4182. } else {
  4183. _formdiv = new U.UF.UI.form(
  4184. "課程詳情",
  4185. $$("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 }), {
  4186. "id": "studyDetail",
  4187. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4188. "onresize": function () { }
  4189. }, {
  4190. closecallback: function () { }
  4191. }, { "style": { "height": "36px" } }).form; //創建窗體
  4192. _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); } }
  4193. break;
  4194. }
  4195. case "studyDetailTrain":
  4196. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4197. setTimeout(() => {
  4198. U.MD.U.L.login();
  4199. }, 2000);
  4200. } else {
  4201. _formdiv = new U.UF.UI.form(
  4202. "培訓詳情",
  4203. $$("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 }), {
  4204. "id": "studyDetailTrain",
  4205. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4206. "onresize": function () { }
  4207. }, {
  4208. closecallback: function () { }
  4209. }, { "style": { "height": "36px" } }).form; //創建窗體
  4210. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4211. break;
  4212. }
  4213. case "studyDetailS":
  4214. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4215. setTimeout(() => {
  4216. U.MD.U.L.login();
  4217. }, 2000);
  4218. } else {
  4219. _formdiv = new U.UF.UI.form(
  4220. "項目詳情",
  4221. $$("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 }), {
  4222. "id": "studyDetailS",
  4223. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4224. "onresize": function () { }
  4225. }, {
  4226. closecallback: function () { }
  4227. }, { "style": { "height": "36px" } }).form; //創建窗體
  4228. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4229. break;
  4230. }
  4231. case "studyDetailStudio":
  4232. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4233. setTimeout(() => {
  4234. U.MD.U.L.login();
  4235. }, 2000);
  4236. } else {
  4237. _formdiv = new U.UF.UI.form(
  4238. "工作詳情",
  4239. $$("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 }), {
  4240. "id": "studyDetailStudio",
  4241. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4242. "onresize": function () { }
  4243. }, {
  4244. closecallback: function () { }
  4245. }, { "style": { "height": "36px" } }).form; //創建窗體
  4246. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作詳情", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4247. break;
  4248. }
  4249. case "studyDetailS5":
  4250. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4251. setTimeout(() => {
  4252. U.MD.U.L.login();
  4253. }, 2000);
  4254. } else {
  4255. _formdiv = new U.UF.UI.form(
  4256. "項目詳情",
  4257. $$("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 }), {
  4258. "id": "studyDetailS",
  4259. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  4260. "onresize": function () { }
  4261. }, {
  4262. closecallback: function () { }
  4263. }, { "style": { "height": "36px" } }).form; //創建窗體
  4264. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4265. break;
  4266. }
  4267. case "studyDetailGM":
  4268. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4269. setTimeout(() => {
  4270. U.MD.U.L.login();
  4271. }, 2000);
  4272. } else {
  4273. _formdiv = new U.UF.UI.form(
  4274. "課程詳情",
  4275. $$("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 }), {
  4276. "id": "studyDetail",
  4277. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4278. "onresize": function () { }
  4279. }, {
  4280. closecallback: function () { }
  4281. }, { "style": { "height": "36px" } }).form; //創建窗體
  4282. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4283. break;
  4284. }
  4285. case "hanUrl":
  4286. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4287. setTimeout(() => {
  4288. U.MD.U.L.login();
  4289. }, 2000);
  4290. } else {
  4291. _formdiv = new U.UF.UI.form(
  4292. "漢字宮",
  4293. $$("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" }), {
  4294. "id": "hanUrl",
  4295. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4296. "onresize": function () { }
  4297. }, {
  4298. closecallback: function () { }
  4299. }, { "style": { "height": "36px" } }).form; //創建窗體
  4300. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "漢字宮", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4301. break;
  4302. }
  4303. case "index":
  4304. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4305. setTimeout(() => {
  4306. U.MD.U.L.login();
  4307. }, 2000);
  4308. } else {
  4309. _formdiv = new U.UF.UI.form(
  4310. "課程中心",
  4311. $$("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 }), {
  4312. "id": "study",
  4313. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4314. "onresize": function () { }
  4315. }, {
  4316. closecallback: function () { }
  4317. }, { "style": { "height": "36px" } }).form; //創建窗體
  4318. _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); } }
  4319. break;
  4320. }
  4321. case "dataClass":
  4322. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4323. setTimeout(() => {
  4324. U.MD.U.L.login();
  4325. }, 2000);
  4326. } else {
  4327. _formdiv = new U.UF.UI.form(
  4328. "數據報告",
  4329. $$("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 }), {
  4330. "id": "dataClass",
  4331. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4332. "onresize": function () { }
  4333. }, {
  4334. closecallback: function () { }
  4335. }, { "style": { "height": "36px" } }).form; //創建窗體
  4336. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "數據報告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4337. break;
  4338. }
  4339. case "opencCscl":
  4340. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4341. setTimeout(() => {
  4342. U.MD.U.L.login();
  4343. }, 2000);
  4344. } else {
  4345. _formdiv = new U.UF.UI.form(
  4346. "協同建構",
  4347. $$("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 }), {
  4348. "id": "futureClass",
  4349. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4350. "onresize": function () { }
  4351. }, {
  4352. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  4353. }, { "style": { "height": "36px" } }).form; //創建窗體
  4354. _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); } }
  4355. break;
  4356. }
  4357. case "openCourseUpdate":
  4358. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4359. setTimeout(() => {
  4360. U.MD.U.L.login();
  4361. }, 2000);
  4362. } else {
  4363. _formdiv = new U.UF.UI.form(
  4364. "課程管理",
  4365. $$("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 }), {
  4366. "id": "openCourseUpdate",
  4367. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4368. "onresize": function () { }
  4369. }, {
  4370. closecallback: function () { }
  4371. }, { "style": { "height": "36px" } }).form; //創建窗體
  4372. break;
  4373. }
  4374. case "openNewCourseUpdate":
  4375. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4376. setTimeout(() => {
  4377. U.MD.U.L.login();
  4378. }, 2000);
  4379. } else {
  4380. _formdiv = new U.UF.UI.form(
  4381. "課程管理",
  4382. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4383. "id": "openCourseUpdate",
  4384. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4385. "onresize": function () { }
  4386. }, {
  4387. closecallback: function () { }
  4388. }, { "style": { "height": "36px" } }).form; //創建窗體
  4389. break;
  4390. }
  4391. case "openCourseEUpdate":
  4392. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4393. setTimeout(() => {
  4394. U.MD.U.L.login();
  4395. }, 2000);
  4396. } else {
  4397. _formdiv = new U.UF.UI.form(
  4398. "課程管理",
  4399. $$("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 }), {
  4400. "id": "openCourseUpdate",
  4401. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4402. "onresize": function () { }
  4403. }, {
  4404. closecallback: function () { }
  4405. }, { "style": { "height": "36px" } }).form; //創建窗體
  4406. break;
  4407. }
  4408. case "openCourseAiUpdate":
  4409. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4410. setTimeout(() => {
  4411. U.MD.U.L.login();
  4412. }, 2000);
  4413. } else {
  4414. _formdiv = new U.UF.UI.form(
  4415. "課程管理",
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/aiAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4417. "id": "openCourseUpdate",
  4418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4419. "onresize": function () { }
  4420. }, {
  4421. closecallback: function () { }
  4422. }, { "style": { "height": "36px" } }).form; //創建窗體
  4423. break;
  4424. }
  4425. case "openCourseNewUpdate":
  4426. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4427. setTimeout(() => {
  4428. U.MD.U.L.login();
  4429. }, 2000);
  4430. } else {
  4431. _formdiv = new U.UF.UI.form(
  4432. "課程管理",
  4433. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/newAddCourse?cid=" + data + "&userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4434. "id": "openCourseUpdate",
  4435. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4436. "onresize": function () { }
  4437. }, {
  4438. closecallback: function () { }
  4439. }, { "style": { "height": "36px" } }).form; //創建窗體
  4440. break;
  4441. }
  4442. case "inviteLoginSz":
  4443. _formdiv = new U.UF.UI.form(
  4444. "隨機碼登錄",
  4445. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/inviteLoginSZ?code=" + data }), {
  4446. "id": "loginSz",
  4447. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4448. "onresize": function () { }
  4449. }, {
  4450. closecallback: function () { }
  4451. }, { "style": { "height": "36px" } }).form; //創建窗體
  4452. break;
  4453. case "loginSz":
  4454. _formdiv = new U.UF.UI.form(
  4455. "教師登錄",
  4456. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://edu.cocorobo.cn/ResourcesLogin" }), {
  4457. "id": "loginSz",
  4458. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4459. "onresize": function () { }
  4460. }, {
  4461. closecallback: function () { }
  4462. }, { "style": { "height": "36px" } }).form; //創建窗體
  4463. break;
  4464. case "teacher":
  4465. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4466. setTimeout(() => {
  4467. U.MD.U.L.login();
  4468. }, 2000);
  4469. } else {
  4470. _formdiv = new U.UF.UI.form(
  4471. "教師管理",
  4472. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/teacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4473. "id": "teacher",
  4474. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4475. "onresize": function () { }
  4476. }, {
  4477. closecallback: function () { }
  4478. }, { "style": { "height": "36px" } }).form; //創建窗體
  4479. break;
  4480. }
  4481. case "dataBoardSZArea":
  4482. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4483. setTimeout(() => {
  4484. U.MD.U.L.login();
  4485. }, 2000);
  4486. } else {
  4487. _formdiv = new U.UF.UI.form(
  4488. "綜合數據看板",
  4489. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardArea?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4490. "id": "dataBoardSZArea",
  4491. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4492. "onresize": function () { }
  4493. }, {
  4494. closecallback: function () { }
  4495. }, { "style": { "height": "36px" } }).form; //創建窗體
  4496. break;
  4497. }
  4498. case "dataBoardSZCity":
  4499. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4500. setTimeout(() => {
  4501. U.MD.U.L.login();
  4502. }, 2000);
  4503. } else {
  4504. _formdiv = new U.UF.UI.form(
  4505. "綜合數據看板",
  4506. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/sz/dataBoardCity?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4507. "id": "dataBoardSZCity",
  4508. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4509. "onresize": function () { }
  4510. }, {
  4511. closecallback: function () { }
  4512. }, { "style": { "height": "36px" } }).form; //創建窗體
  4513. break;
  4514. }
  4515. case "classroom_observation_board":
  4516. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4517. setTimeout(() => {
  4518. U.MD.U.L.login();
  4519. }, 2000);
  4520. } else {
  4521. _formdiv = new U.UF.UI.form(
  4522. "課堂觀察",
  4523. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_board?tid="+data }), {
  4524. "id": "classroom_observation_board",
  4525. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4526. "onresize": function () { }
  4527. }, {
  4528. closecallback: function () { }
  4529. }, { "style": { "height": "36px" } }).form; //創建窗體
  4530. break;
  4531. }
  4532. case "classroom_observation_ob_comment":
  4533. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  4534. setTimeout(() => {
  4535. U.MD.U.L.login();
  4536. }, 2000);
  4537. } else {
  4538. _formdiv = new U.UF.UI.form(
  4539. "課堂審核",
  4540. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://beta.cloud.cocorobo.cn/aigpt/#/classroom_observation_ob_comment?tid="+data }), {
  4541. "id": "classroom_observation_ob_comment",
  4542. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4543. "onresize": function () { }
  4544. }, {
  4545. closecallback: function () { }
  4546. }, { "style": { "height": "36px" } }).form; //創建窗體
  4547. break;
  4548. }
  4549. }
  4550. }
  4551. U.MD.D.I.openApplication = function (str, obj, info) {
  4552. obj = obj || {};
  4553. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  4554. _formdiv, //創建任務欄時同時彈出的窗體元素。
  4555. _userinfo = US.userInfo, //登錄用戶信息
  4556. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  4557. _oid = obj.organizeid || _userinfo.organizeid,
  4558. _type = US.userInfo.type,
  4559. _org = US.userInfo.org,
  4560. _role = US.userInfo.role,
  4561. _classId = US.userInfo.classid,
  4562. _TscreenType = 1
  4563. _screenType = 2,
  4564. _SscreenType = 3;
  4565. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  4566. return;
  4567. }
  4568. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4569. switch (str) {
  4570. case "studnetProject": //好友打開
  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-student-table/dist/#/project?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=" + _SscreenType }), {
  4574. "id": "studnetProject",
  4575. "style": { "width": "70%", "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/project.png)" }, "name": "我的項目", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4581. break;
  4582. case "studentEvaluate": //好友打開
  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-student-table/dist/#/works?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4586. "id": "studentEvaluate",
  4587. "style": { "width": "70%", "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/evaluation.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4593. break;
  4594. case "my":
  4595. _formdiv = new U.UF.UI.form(
  4596. "我的資料",
  4597. $$("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 }), {
  4598. "id": "my",
  4599. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4600. "onresize": function () { }
  4601. }, {
  4602. closecallback: function () { }
  4603. }, { "style": { "height": "36px" } }).form; //創建窗體
  4604. _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); } }
  4605. break;
  4606. case "program":
  4607. _formdiv = new U.UF.UI.form(
  4608. "編程平臺",
  4609. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4610. "id": "program",
  4611. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4612. "onresize": function () { }
  4613. }, {
  4614. closecallback: function () { }
  4615. }, { "style": { "height": "36px" } }).form; //創建窗體
  4616. _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); } }
  4617. break;
  4618. case "library":
  4619. _formdiv = new U.UF.UI.form(
  4620. "素材庫",
  4621. $$("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 }), {
  4622. "id": "library",
  4623. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4624. "onresize": function () { }
  4625. }, {
  4626. closecallback: function () { }
  4627. }, { "style": { "height": "36px" } }).form; //創建窗體
  4628. _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); } }
  4629. break;
  4630. case "whiteboard":
  4631. _formdiv = new U.UF.UI.form(
  4632. "電子白板",
  4633. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4634. "id": "whiteboard",
  4635. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4636. "onresize": function () { }
  4637. }, {
  4638. closecallback: function () { }
  4639. }, { "style": { "height": "36px" } }).form; //創建窗體
  4640. _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); } }
  4641. break;
  4642. case "investigation":
  4643. _formdiv = new U.UF.UI.form(
  4644. "問卷調查",
  4645. $$("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 }), {
  4646. "id": "investigation",
  4647. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4648. "onresize": function () { }
  4649. }, {
  4650. closecallback: function () { }
  4651. }, { "style": { "height": "36px" } }).form; //創建窗體
  4652. _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); } }
  4653. break;
  4654. case "note":
  4655. _formdiv = new U.UF.UI.form(
  4656. "便簽分類",
  4657. $$("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 }), {
  4658. "id": "note",
  4659. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4660. "onresize": function () { }
  4661. }, {
  4662. closecallback: function () { }
  4663. }, { "style": { "height": "36px" } }).form; //創建窗體
  4664. _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); } }
  4665. break;
  4666. // case "score":
  4667. // _formdiv = new U.UF.UI.form(
  4668. // "量規評分",
  4669. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4670. // "id": "score",
  4671. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4672. // "onresize": function() {}
  4673. // }, {
  4674. // closecallback: function() {}
  4675. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4676. // _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); } }
  4677. // break;
  4678. case "mind":
  4679. _formdiv = new U.UF.UI.form(
  4680. "思維導圖",
  4681. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  4682. "id": "mind",
  4683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4684. "onresize": function () { }
  4685. }, {
  4686. closecallback: function () { }
  4687. }, { "style": { "height": "36px" } }).form; //創建窗體
  4688. _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); } }
  4689. break;
  4690. case "doc":
  4691. // U.MD.D.I.isRoom();
  4692. _formdiv = new U.UF.UI.form(
  4693. "協同文檔",
  4694. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  4695. "id": "doc",
  4696. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4697. "onresize": function () { }
  4698. }, {
  4699. closecallback: function () { }
  4700. }, { "style": { "height": "36px" } }).form; //創建窗體
  4701. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4702. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4703. // })
  4704. _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); } }
  4705. break;
  4706. case "studentStudy":
  4707. _formdiv = new U.UF.UI.form(
  4708. "課程中心",
  4709. $$("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
  4710. "id": "studentStudy",
  4711. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4712. "onresize": function () { }
  4713. }, {
  4714. closecallback: function () { }
  4715. }, { "style": { "height": "36px" } }).form; //創建窗體
  4716. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4717. break;
  4718. case "train": //好友打開
  4719. _formdiv = new U.UF.UI.form(
  4720. "訓練平臺",
  4721. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4722. "id": "train",
  4723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4724. "onresize": function () { }
  4725. }, {
  4726. closecallback: function () { }
  4727. }, { "style": { "height": "36px" } }).form; //創建窗體
  4728. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4729. break;
  4730. case "mindNetwork": //好友打開
  4731. _formdiv = new U.UF.UI.form(
  4732. "思維網格",
  4733. $$("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 }), {
  4734. "id": "mindNetwork",
  4735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4736. "onresize": function () { }
  4737. }, {
  4738. closecallback: function () { }
  4739. }, { "style": { "height": "36px" } }).form; //創建窗體
  4740. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思維網格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4741. break;
  4742. case "studentClassRoom": //好友打開
  4743. _formdiv = new U.UF.UI.form(
  4744. "實時課堂",
  4745. $$("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 }), {
  4746. "id": "studentClassRoom",
  4747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4748. "onresize": function () { }
  4749. }, {
  4750. closecallback: function () { }
  4751. }, { "style": { "height": "36px" } }).form; //創建窗體
  4752. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "實時課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4753. setTimeout(() => {
  4754. U.UF.F.windowZooming(_formdiv)
  4755. }, 0);
  4756. break;
  4757. }
  4758. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  4759. switch (str) {
  4760. case "studnetProject": //好友打開
  4761. _formdiv = new U.UF.UI.form(
  4762. "我的項目",
  4763. $$("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 }), {
  4764. "id": "studnetProject",
  4765. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4766. "onresize": function () { }
  4767. }, {
  4768. closecallback: function () { }
  4769. }, { "style": { "height": "36px" } }).form; //創建窗體
  4770. _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); } }
  4771. break;
  4772. case "studentEvaluate": //好友打開
  4773. _formdiv = new U.UF.UI.form(
  4774. "我的評價",
  4775. $$("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 }), {
  4776. "id": "studentEvaluate",
  4777. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4778. "onresize": function () { }
  4779. }, {
  4780. closecallback: function () { }
  4781. }, { "style": { "height": "36px" } }).form; //創建窗體
  4782. _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); } }
  4783. break;
  4784. case "my":
  4785. _formdiv = new U.UF.UI.form(
  4786. "我的資料",
  4787. $$("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 }), {
  4788. "id": "my",
  4789. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4790. "onresize": function () { }
  4791. }, {
  4792. closecallback: function () { }
  4793. }, { "style": { "height": "36px" } }).form; //創建窗體
  4794. _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); } }
  4795. break;
  4796. case "program":
  4797. _formdiv = new U.UF.UI.form(
  4798. "編程平臺",
  4799. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  4800. "id": "program",
  4801. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4802. "onresize": function () { }
  4803. }, {
  4804. closecallback: function () { }
  4805. }, { "style": { "height": "36px" } }).form; //創建窗體
  4806. _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); } }
  4807. break;
  4808. case "library":
  4809. _formdiv = new U.UF.UI.form(
  4810. "素材庫",
  4811. $$("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 }), {
  4812. "id": "library",
  4813. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4814. "onresize": function () { }
  4815. }, {
  4816. closecallback: function () { }
  4817. }, { "style": { "height": "36px" } }).form; //創建窗體
  4818. _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); } }
  4819. break;
  4820. case "whiteboard":
  4821. _formdiv = new U.UF.UI.form(
  4822. "電子白板",
  4823. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  4824. "id": "whiteboard",
  4825. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4826. "onresize": function () { }
  4827. }, {
  4828. closecallback: function () { }
  4829. }, { "style": { "height": "36px" } }).form; //創建窗體
  4830. _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); } }
  4831. break;
  4832. case "investigation":
  4833. _formdiv = new U.UF.UI.form(
  4834. "問卷調查",
  4835. $$("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 }), {
  4836. "id": "investigation",
  4837. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4838. "onresize": function () { }
  4839. }, {
  4840. closecallback: function () { }
  4841. }, { "style": { "height": "36px" } }).form; //創建窗體
  4842. _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); } }
  4843. break;
  4844. case "note":
  4845. _formdiv = new U.UF.UI.form(
  4846. "便簽分類",
  4847. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  4848. "id": "note",
  4849. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  4850. "onresize": function () { }
  4851. }, {
  4852. closecallback: function () { }
  4853. }, { "style": { "height": "36px" } }).form; //創建窗體
  4854. _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); } }
  4855. break;
  4856. // case "score":
  4857. // _formdiv = new U.UF.UI.form(
  4858. // "量規評分",
  4859. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  4860. // "id": "score",
  4861. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4862. // "onresize": function() {}
  4863. // }, {
  4864. // closecallback: function() {}
  4865. // }, { "style": { "height": "36px" } }).form; //創建窗體
  4866. // _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); } }
  4867. // break;
  4868. case "mind":
  4869. _formdiv = new U.UF.UI.form(
  4870. "思維導圖",
  4871. $$("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"
  4872. "id": "mind",
  4873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4874. "onresize": function () { }
  4875. }, {
  4876. closecallback: function () { }
  4877. }, { "style": { "height": "36px" } }).form; //創建窗體
  4878. _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); } }
  4879. break;
  4880. case "doc":
  4881. // U.MD.D.I.isRoom();
  4882. _formdiv = new U.UF.UI.form(
  4883. "協同文檔",
  4884. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4885. "id": "doc",
  4886. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4887. "onresize": function () { }
  4888. }, {
  4889. closecallback: function () { }
  4890. }, { "style": { "height": "36px" } }).form; //創建窗體
  4891. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4892. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4893. })
  4894. _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); } }
  4895. break;
  4896. case "train": //好友打開
  4897. _formdiv = new U.UF.UI.form(
  4898. "訓練平臺",
  4899. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4900. "id": "train",
  4901. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4902. "onresize": function () { }
  4903. }, {
  4904. closecallback: function () { }
  4905. }, { "style": { "height": "36px" } }).form; //創建窗體
  4906. _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); } }
  4907. break;
  4908. case "studentStudy":
  4909. _formdiv = new U.UF.UI.form(
  4910. "課程中心",
  4911. $$("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
  4912. "id": "studentStudy",
  4913. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4914. "onresize": function () { }
  4915. }, {
  4916. closecallback: function () { }
  4917. }, { "style": { "height": "36px" } }).form; //創建窗體
  4918. _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); } }
  4919. break;
  4920. case "mindNetwork": //好友打開
  4921. _formdiv = new U.UF.UI.form(
  4922. "思維網格",
  4923. $$("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 }), {
  4924. "id": "mindNetwork",
  4925. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4926. "onresize": function () { }
  4927. }, {
  4928. closecallback: function () { }
  4929. }, { "style": { "height": "36px" } }).form; //創建窗體
  4930. _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); } }
  4931. break;
  4932. case "studentClassRoom": //好友打開
  4933. _formdiv = new U.UF.UI.form(
  4934. "實時課堂",
  4935. $$("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 }), {
  4936. "id": "studentClassRoom",
  4937. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4938. "onresize": function () { }
  4939. }, {
  4940. closecallback: function () { }
  4941. }, { "style": { "height": "36px" } }).form; //創建窗體
  4942. _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); } }
  4943. setTimeout(() => {
  4944. U.UF.F.windowZooming(_formdiv)
  4945. }, 0);
  4946. break;
  4947. }
  4948. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  4949. //選擇應用處理
  4950. switch (str) {
  4951. case "project": //好友打開
  4952. _formdiv = new U.UF.UI.form(
  4953. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  4954. $$("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 }), {
  4955. "id": "project",
  4956. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4957. "onresize": function () { }
  4958. }, {
  4959. closecallback: function () { }
  4960. }, { "style": { "height": "36px" } }).form; //創建窗體
  4961. _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); } }
  4962. break;
  4963. case "student":
  4964. _formdiv = new U.UF.UI.form(
  4965. "學生管理",
  4966. $$("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 }), {
  4967. "id": "student",
  4968. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4969. "onresize": function () { }
  4970. }, {
  4971. closecallback: function () { }
  4972. }, { "style": { "height": "36px" } }).form; //創建窗體
  4973. _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); } }
  4974. break;
  4975. case "evaluate":
  4976. _formdiv = new U.UF.UI.form(
  4977. "學生評價",
  4978. $$("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 }), {
  4979. "id": "evaluate",
  4980. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4981. "onresize": function () { }
  4982. }, {
  4983. closecallback: function () { }
  4984. }, { "style": { "height": "36px" } }).form; //創建窗體
  4985. _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); } }
  4986. break;
  4987. case "sys":
  4988. _formdiv = new U.UF.UI.form(
  4989. "目標管理",
  4990. $$("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 }), {
  4991. "id": "sys",
  4992. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4993. "onresize": function () { }
  4994. }, {
  4995. closecallback: function () { }
  4996. }, { "style": { "height": "36px" } }).form; //創建窗體
  4997. _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); } }
  4998. break;
  4999. case "courseDesign":
  5000. _formdiv = new U.UF.UI.form(
  5001. "項目設計",
  5002. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  5003. "id": "courseDesign",
  5004. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5005. "onresize": function () { }
  5006. }, {
  5007. closecallback: function () { }
  5008. }, { "style": { "height": "36px" } }).form; //創建窗體
  5009. _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); } }
  5010. break;
  5011. case "program":
  5012. _formdiv = new U.UF.UI.form(
  5013. "編程平臺",
  5014. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  5015. "id": "program",
  5016. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5017. "onresize": function () { }
  5018. }, {
  5019. closecallback: function () { }
  5020. }, { "style": { "height": "36px" } }).form; //創建窗體
  5021. _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); } }
  5022. break;
  5023. case "class":
  5024. _formdiv = new U.UF.UI.form(
  5025. "班級管理",
  5026. $$("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 }), {
  5027. "id": "class",
  5028. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5029. "onresize": function () { }
  5030. }, {
  5031. closecallback: function () { }
  5032. }, { "style": { "height": "36px" } }).form; //創建窗體
  5033. _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); } }
  5034. break;
  5035. case "Grade":
  5036. _formdiv = new U.UF.UI.form(
  5037. "年級管理",
  5038. $$("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 }), {
  5039. "id": "Grade",
  5040. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5041. "onresize": function () { }
  5042. }, {
  5043. closecallback: function () { }
  5044. }, { "style": { "height": "36px" } }).form; //創建窗體
  5045. _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); } }
  5046. break;
  5047. case "teacherOffice":
  5048. _formdiv = new U.UF.UI.form(
  5049. "教研室",
  5050. $$("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 }), {
  5051. "id": "teacherOffice",
  5052. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5053. "onresize": function () { }
  5054. }, {
  5055. closecallback: function () { }
  5056. }, { "style": { "height": "36px" } }).form; //創建窗體
  5057. _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); } }
  5058. break;
  5059. case "my":
  5060. _formdiv = new U.UF.UI.form(
  5061. "我的資料",
  5062. $$("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 }), {
  5063. "id": "my",
  5064. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5065. "onresize": function () { }
  5066. }, {
  5067. closecallback: function () { }
  5068. }, { "style": { "height": "36px" } }).form; //創建窗體
  5069. _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); } }
  5070. break;
  5071. case "notice":
  5072. _formdiv = new U.UF.UI.form(
  5073. "通知公告",
  5074. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  5075. "id": "notice",
  5076. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5077. "onresize": function () { }
  5078. }, {
  5079. closecallback: function () { }
  5080. }, { "style": { "height": "36px" } }).form; //創建窗體
  5081. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5082. break;
  5083. case "library":
  5084. _formdiv = new U.UF.UI.form(
  5085. "素材庫",
  5086. $$("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 }), {
  5087. "id": "library",
  5088. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5089. "onresize": function () { }
  5090. }, {
  5091. closecallback: function () { }
  5092. }, { "style": { "height": "36px" } }).form; //創建窗體
  5093. _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); } }
  5094. break;
  5095. case "whiteboard":
  5096. _formdiv = new U.UF.UI.form(
  5097. "電子白板",
  5098. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  5099. "id": "whiteboard",
  5100. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5101. "onresize": function () { }
  5102. }, {
  5103. closecallback: function () { }
  5104. }, { "style": { "height": "36px" } }).form; //創建窗體
  5105. _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); } }
  5106. break;
  5107. case "investigation":
  5108. _formdiv = new U.UF.UI.form(
  5109. "問卷調查",
  5110. $$("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 }), {
  5111. "id": "investigation",
  5112. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5113. "onresize": function () { }
  5114. }, {
  5115. closecallback: function () { }
  5116. }, { "style": { "height": "36px" } }).form; //創建窗體
  5117. _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); } }
  5118. break;
  5119. case "note":
  5120. _formdiv = new U.UF.UI.form(
  5121. "便簽分類",
  5122. $$("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 }), {
  5123. "id": "note",
  5124. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  5125. "onresize": function () { }
  5126. }, {
  5127. closecallback: function () { }
  5128. }, { "style": { "height": "36px" } }).form; //創建窗體
  5129. _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); } }
  5130. break;
  5131. // case "score":
  5132. // _formdiv = new U.UF.UI.form(
  5133. // "量規評分",
  5134. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  5135. // "id": "score",
  5136. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5137. // "onresize": function() {}
  5138. // }, {
  5139. // closecallback: function() {}
  5140. // }, { "style": { "height": "36px" } }).form; //創建窗體
  5141. // _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); } }
  5142. // break;
  5143. case "mind":
  5144. _formdiv = new U.UF.UI.form(
  5145. "思維導圖",
  5146. $$("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"
  5147. "id": "mind",
  5148. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5149. "onresize": function () { }
  5150. }, {
  5151. closecallback: function () { }
  5152. }, { "style": { "height": "36px" } }).form; //創建窗體
  5153. _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); } }
  5154. break;
  5155. case "doc":
  5156. // U.MD.D.I.isRoom();
  5157. _formdiv = new U.UF.UI.form(
  5158. "協同文檔",
  5159. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  5160. "id": "doc",
  5161. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5162. "onresize": function () { }
  5163. }, {
  5164. closecallback: function () { }
  5165. }, { "style": { "height": "36px" } }).form; //創建窗體
  5166. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5167. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  5168. })
  5169. _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); } }
  5170. break;
  5171. case "study":
  5172. _formdiv = new U.UF.UI.form(
  5173. "課程中心",
  5174. $$("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
  5175. "id": "study",
  5176. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5177. "onresize": function () { }
  5178. }, {
  5179. closecallback: function () { }
  5180. }, { "style": { "height": "36px" } }).form; //創建窗體
  5181. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5182. break;
  5183. case "mindNetwork": //好友打開
  5184. _formdiv = new U.UF.UI.form(
  5185. "思維網格",
  5186. $$("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 }), {
  5187. "id": "mindNetwork",
  5188. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5189. "onresize": function () { }
  5190. }, {
  5191. closecallback: function () { }
  5192. }, { "style": { "height": "36px" } }).form; //創建窗體
  5193. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思維網格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5194. break;
  5195. case "train": //好友打開
  5196. _formdiv = new U.UF.UI.form(
  5197. "訓練平臺",
  5198. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  5199. "id": "mindNetwork",
  5200. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5201. "onresize": function () { }
  5202. }, {
  5203. closecallback: function () { }
  5204. }, { "style": { "height": "36px" } }).form; //創建窗體
  5205. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5206. break;
  5207. case "teacherClassRoom": //好友打開
  5208. _formdiv = new U.UF.UI.form(
  5209. "實時課堂",
  5210. $$("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 }), {
  5211. "id": "teacherClassRoom",
  5212. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5213. "onresize": function () { }
  5214. }, {
  5215. closecallback: function () { }
  5216. }, { "style": { "height": "36px" } }).form; //創建窗體
  5217. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classRoom.png)" }, "name": "實時課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5218. setTimeout(() => {
  5219. U.UF.F.windowZooming(_formdiv)
  5220. }, 0);
  5221. break;
  5222. }
  5223. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  5224. switch (str) {
  5225. case "project": //好友打開
  5226. _formdiv = new U.UF.UI.form(
  5227. "課程管理",
  5228. $$("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 }), {
  5229. "id": "project",
  5230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5231. "onresize": function () { }
  5232. }, {
  5233. closecallback: function () { }
  5234. }, { "style": { "height": "36px" } }).form; //創建窗體
  5235. _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); } }
  5236. break;
  5237. case "evaluate":
  5238. _formdiv = new U.UF.UI.form(
  5239. "學生評價",
  5240. $$("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 }), {
  5241. "id": "evaluate",
  5242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5243. "onresize": function () { }
  5244. }, {
  5245. closecallback: function () { }
  5246. }, { "style": { "height": "36px" } }).form; //創建窗體
  5247. _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); } }
  5248. break;
  5249. case "notice":
  5250. _formdiv = new U.UF.UI.form(
  5251. "通知公告",
  5252. $$("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 }), {
  5253. "id": "notice",
  5254. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5255. "onresize": function () { }
  5256. }, {
  5257. closecallback: function () { }
  5258. }, { "style": { "height": "36px" } }).form; //創建窗體
  5259. _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); } }
  5260. break;
  5261. case "stuLibrary":
  5262. _formdiv = new U.UF.UI.form(
  5263. "學習資料",
  5264. $$("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 }), {
  5265. "id": "stuLibrary",
  5266. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5267. "onresize": function () { }
  5268. }, {
  5269. closecallback: function () { }
  5270. }, { "style": { "height": "36px" } }).form; //創建窗體
  5271. _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); } }
  5272. break;
  5273. case "program":
  5274. _formdiv = new U.UF.UI.form(
  5275. "編程平臺",
  5276. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  5277. "id": "program",
  5278. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5279. "onresize": function () { }
  5280. }, {
  5281. closecallback: function () { }
  5282. }, { "style": { "height": "36px" } }).form; //創建窗體
  5283. _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); } }
  5284. break;
  5285. case "whiteboard":
  5286. _formdiv = new U.UF.UI.form(
  5287. "電子白板",
  5288. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  5289. "id": "whiteboard",
  5290. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5291. "onresize": function () { }
  5292. }, {
  5293. closecallback: function () { }
  5294. }, { "style": { "height": "36px" } }).form; //創建窗體
  5295. _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); } }
  5296. break;
  5297. case "investigation":
  5298. _formdiv = new U.UF.UI.form(
  5299. "問卷調查",
  5300. $$("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 }), {
  5301. "id": "investigation",
  5302. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5303. "onresize": function () { }
  5304. }, {
  5305. closecallback: function () { }
  5306. }, { "style": { "height": "36px" } }).form; //創建窗體
  5307. _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); } }
  5308. break;
  5309. case "mind":
  5310. _formdiv = new U.UF.UI.form(
  5311. "思維導圖",
  5312. $$("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"
  5313. "id": "mind",
  5314. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5315. "onresize": function () { }
  5316. }, {
  5317. closecallback: function () { }
  5318. }, { "style": { "height": "36px" } }).form; //創建窗體
  5319. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5320. break;
  5321. case "doc":
  5322. // U.MD.D.I.isRoom();
  5323. _formdiv = new U.UF.UI.form(
  5324. "協同文檔",
  5325. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  5326. "id": "doc",
  5327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5328. "onresize": function () { }
  5329. }, {
  5330. closecallback: function () { }
  5331. }, { "style": { "height": "36px" } }).form; //創建窗體
  5332. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5333. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  5334. })
  5335. _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); } }
  5336. break;
  5337. case "study":
  5338. _formdiv = new U.UF.UI.form(
  5339. "課程中心",
  5340. $$("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
  5341. "id": "study",
  5342. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5343. "onresize": function () { }
  5344. }, {
  5345. closecallback: function () { }
  5346. }, { "style": { "height": "36px" } }).form; //創建窗體
  5347. _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); } }
  5348. break;
  5349. case "mindNetwork": //好友打開
  5350. _formdiv = new U.UF.UI.form(
  5351. "思維網格",
  5352. $$("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 }), {
  5353. "id": "mindNetwork",
  5354. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5355. "onresize": function () { }
  5356. }, {
  5357. closecallback: function () { }
  5358. }, { "style": { "height": "36px" } }).form; //創建窗體
  5359. _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); } }
  5360. break;
  5361. case "train": //好友打開
  5362. _formdiv = new U.UF.UI.form(
  5363. "訓練平臺",
  5364. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  5365. "id": "train",
  5366. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5367. "onresize": function () { }
  5368. }, {
  5369. closecallback: function () { }
  5370. }, { "style": { "height": "36px" } }).form; //創建窗體
  5371. _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); } }
  5372. break;
  5373. case "sys":
  5374. _formdiv = new U.UF.UI.form(
  5375. "目標管理",
  5376. $$("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 }), {
  5377. "id": "sys",
  5378. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5379. "onresize": function () { }
  5380. }, {
  5381. closecallback: function () { }
  5382. }, { "style": { "height": "36px" } }).form; //創建窗體
  5383. _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); } }
  5384. break;
  5385. case "courseDesign":
  5386. _formdiv = new U.UF.UI.form(
  5387. "項目設計",
  5388. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  5389. "id": "courseDesign",
  5390. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5391. "onresize": function () { }
  5392. }, {
  5393. closecallback: function () { }
  5394. }, { "style": { "height": "36px" } }).form; //創建窗體
  5395. _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); } }
  5396. break;
  5397. }
  5398. } else if (!_type) {
  5399. switch (str) {
  5400. case "my":
  5401. _formdiv = new U.UF.UI.form(
  5402. "我的資料",
  5403. $$("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 }), {
  5404. "id": "my",
  5405. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5406. "onresize": function () { }
  5407. }, {
  5408. closecallback: function () { }
  5409. }, { "style": { "height": "36px" } }).form; //創建窗體
  5410. _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); } }
  5411. break;
  5412. }
  5413. }
  5414. switch (str) {
  5415. // AIprogram2 AI體驗 aihub.cocorobo.cn
  5416. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  5417. // AIprogram AI編程 ai-blockly.cocorobo.cn
  5418. case "formulaEdi": //公式編輯
  5419. _formdiv = new U.UF.UI.form(
  5420. "公式編輯",
  5421. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  5422. "id": "formulaEdi",
  5423. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5424. "onresize": function () { }
  5425. }, {
  5426. closecallback: function () { }
  5427. }, { "style": { "height": "36px" } }).form; //創建窗體
  5428. _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); } }
  5429. break;
  5430. case "molStr": //分子結構
  5431. _formdiv = new U.UF.UI.form(
  5432. "分子結構",
  5433. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  5434. "id": "molStr",
  5435. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5436. "onresize": function () { }
  5437. }, {
  5438. closecallback: function () { }
  5439. }, { "style": { "height": "36px" } }).form; //創建窗體
  5440. _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); } }
  5441. break;
  5442. case "timeAxis": //時間軸
  5443. _formdiv = new U.UF.UI.form(
  5444. "時間軸",
  5445. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  5446. "id": "timeAxis",
  5447. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5448. "onresize": function () { }
  5449. }, {
  5450. closecallback: function () { }
  5451. }, { "style": { "height": "36px" } }).form; //創建窗體
  5452. _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); } }
  5453. break;
  5454. case "AIprogram2": //AI體驗
  5455. _formdiv = new U.UF.UI.form(
  5456. "AI體驗",
  5457. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  5458. "id": "AIprogram2",
  5459. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5460. "onresize": function () { }
  5461. }, {
  5462. closecallback: function () { }
  5463. }, { "style": { "height": "36px" } }).form; //創建窗體
  5464. _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); } }
  5465. break;
  5466. case "Pythonprogram": //python編程
  5467. _formdiv = new U.UF.UI.form(
  5468. "Python編程",
  5469. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  5470. "id": "Pythonprogram",
  5471. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5472. "onresize": function () { }
  5473. }, {
  5474. closecallback: function () { }
  5475. }, { "style": { "height": "36px" } }).form; //創建窗體
  5476. _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); } }
  5477. break;
  5478. case "AIprogram": //ai編程
  5479. _formdiv = new U.UF.UI.form(
  5480. "AI編程平臺",
  5481. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  5482. "id": "AIprogram",
  5483. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5484. "onresize": function () { }
  5485. }, {
  5486. closecallback: function () { }
  5487. }, { "style": { "height": "36px" } }).form; //創建窗體
  5488. _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); } }
  5489. break;
  5490. case "CocoPi": //CocoPi
  5491. _formdiv = new U.UF.UI.form(
  5492. "CocoPi",
  5493. $$("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" }), {
  5494. "id": "CocoPi",
  5495. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5496. "onresize": function () { }
  5497. }, {
  5498. closecallback: function () { }
  5499. }, { "style": { "height": "36px" } }).form; //創建窗體
  5500. _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); } }
  5501. break;
  5502. case "Wood": //Wood
  5503. _formdiv = new U.UF.UI.form(
  5504. "海龜編程",
  5505. $$("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/" }), {
  5506. "id": "Wood",
  5507. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5508. "onresize": function () { }
  5509. }, {
  5510. closecallback: function () { }
  5511. }, { "style": { "height": "36px" } }).form; //創建窗體
  5512. _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); } }
  5513. break;
  5514. case "car": //模擬駕駛
  5515. _formdiv = new U.UF.UI.form(
  5516. "模擬駕駛",
  5517. $$("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/" }), {
  5518. "id": "car",
  5519. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5520. "onresize": function () { }
  5521. }, {
  5522. closecallback: function () { }
  5523. }, { "style": { "height": "36px" } }).form; //創建窗體
  5524. _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); } }
  5525. break;
  5526. case "lineSearch": //路徑搜索
  5527. _formdiv = new U.UF.UI.form(
  5528. "路徑搜索",
  5529. $$("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/" }), {
  5530. "id": "lineSearch",
  5531. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5532. "onresize": function () { }
  5533. }, {
  5534. closecallback: function () { }
  5535. }, { "style": { "height": "36px" } }).form; //創建窗體
  5536. _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); } }
  5537. break;
  5538. case "deepLearning": //深度學習
  5539. _formdiv = new U.UF.UI.form(
  5540. "深度學習",
  5541. $$("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/#" }), {
  5542. "id": "deepLearning",
  5543. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5544. "onresize": function () { }
  5545. }, {
  5546. closecallback: function () { }
  5547. }, { "style": { "height": "36px" } }).form; //創建窗體
  5548. _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); } }
  5549. break;
  5550. case "allHistory": //深度學習
  5551. _formdiv = new U.UF.UI.form(
  5552. "全歷史",
  5553. $$("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/" }), {
  5554. "id": "allHistory",
  5555. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5556. "onresize": function () { }
  5557. }, {
  5558. closecallback: function () { }
  5559. }, { "style": { "height": "36px" } }).form; //創建窗體
  5560. _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); } }
  5561. break;
  5562. case "chatPDF": //ai編程
  5563. _formdiv = new U.UF.UI.form(
  5564. "chatPDF",
  5565. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  5566. "id": "chatPDF",
  5567. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5568. "onresize": function () { }
  5569. }, {
  5570. closecallback: function () { }
  5571. }, { "style": { "height": "36px" } }).form; //創建窗體
  5572. _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); } }
  5573. break;
  5574. case "resources": //國家教育
  5575. _formdiv = new U.UF.UI.form(
  5576. "國家教育",
  5577. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  5578. "id": "resources",
  5579. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5580. "onresize": function () { }
  5581. }, {
  5582. closecallback: function () { }
  5583. }, { "style": { "height": "36px" } }).form; //創建窗體
  5584. _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); } }
  5585. break;
  5586. case "codeEdit": //源碼編輯
  5587. _formdiv = new U.UF.UI.form(
  5588. "源碼編輯",
  5589. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  5590. "id": "codeEdit",
  5591. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5592. "onresize": function () { }
  5593. }, {
  5594. closecallback: function () { }
  5595. }, { "style": { "height": "36px" } }).form; //創建窗體
  5596. _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); } }
  5597. break; //
  5598. case "MindMap": //MindMap
  5599. _formdiv = new U.UF.UI.form(
  5600. "MindMap",
  5601. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  5602. "id": "MindMap",
  5603. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5604. "onresize": function () { }
  5605. }, {
  5606. closecallback: function () { }
  5607. }, { "style": { "height": "36px" } }).form; //創建窗體
  5608. _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); } }
  5609. break;
  5610. case "netWorkPanel": //netWorkPanel
  5611. _formdiv = new U.UF.UI.form(
  5612. "netWorkPanel",
  5613. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  5614. "id": "netWorkPanel",
  5615. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5616. "onresize": function () { }
  5617. }, {
  5618. closecallback: function () { }
  5619. }, { "style": { "height": "36px" } }).form; //創建窗體
  5620. _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); } }
  5621. break;
  5622. case "GeoGebra": //GeoGebra
  5623. _formdiv = new U.UF.UI.form(
  5624. "GeoGebra",
  5625. $$("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" }), {
  5626. "id": "GeoGebra",
  5627. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5628. "onresize": function () { }
  5629. }, {
  5630. closecallback: function () { }
  5631. }, { "style": { "height": "36px" } }).form; //創建窗體
  5632. _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); } }
  5633. break;
  5634. case "translation": //翻譯
  5635. _formdiv = new U.UF.UI.form(
  5636. "翻譯",
  5637. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  5638. "id": "translation",
  5639. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  5640. "onresize": function () { }
  5641. }, {
  5642. closecallback: function () { }
  5643. }, { "style": { "height": "36px" } }).form; //創建窗體
  5644. _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); } }
  5645. break;
  5646. case "mohe": //魔盒
  5647. _formdiv = new U.UF.UI.form(
  5648. "魔盒識字",
  5649. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  5650. "id": "mohe",
  5651. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5652. "onresize": function () { }
  5653. }, {
  5654. closecallback: function () { }
  5655. }, { "style": { "height": "36px" } }).form; //創建窗體
  5656. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒識字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5657. break;
  5658. case "24game": //24點
  5659. _formdiv = new U.UF.UI.form(
  5660. "24點",
  5661. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  5662. "id": "24game",
  5663. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  5664. "onresize": function () { }
  5665. }, {
  5666. closecallback: function () { }
  5667. }, { "style": { "height": "36px" } }).form; //創建窗體
  5668. _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); } }
  5669. break;
  5670. case "case":
  5671. _formdiv = new U.UF.UI.form(
  5672. "課程進展",
  5673. $$("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 }), {
  5674. "id": "case",
  5675. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5676. "onresize": function () { }
  5677. }, {
  5678. closecallback: function () { }
  5679. }, { "style": { "height": "36px" } }).form; //創建窗體
  5680. _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); } }
  5681. break;
  5682. case "snf":
  5683. _formdiv = new U.UF.UI.form(
  5684. "賽諾梵",
  5685. $$("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" }), {
  5686. "id": "snf",
  5687. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5688. "onresize": function () { }
  5689. }, {
  5690. closecallback: function () { }
  5691. }, { "style": { "height": "36px" } }).form; //創建窗體
  5692. _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); } }
  5693. break;
  5694. case "hanFamily":
  5695. _formdiv = new U.UF.UI.form(
  5696. "漢字家族",
  5697. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  5698. "id": "hanFamily",
  5699. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5700. "onresize": function () { }
  5701. }, {
  5702. closecallback: function () { }
  5703. }, { "style": { "height": "36px" } }).form; //創建窗體
  5704. _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); } }
  5705. break;
  5706. case "hanClassics":
  5707. _formdiv = new U.UF.UI.form(
  5708. "國學經典",
  5709. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  5710. "id": "hanClassics",
  5711. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5712. "onresize": function () { }
  5713. }, {
  5714. closecallback: function () { }
  5715. }, { "style": { "height": "36px" } }).form; //創建窗體
  5716. _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); } }
  5717. break;
  5718. case "hanTraining":
  5719. _formdiv = new U.UF.UI.form(
  5720. "筆畫訓練",
  5721. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  5722. "id": "hanTraining",
  5723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5724. "onresize": function () { }
  5725. }, {
  5726. closecallback: function () { }
  5727. }, { "style": { "height": "36px" } }).form; //創建窗體
  5728. _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); } }
  5729. break;
  5730. case "hanClass":
  5731. _formdiv = new U.UF.UI.form(
  5732. "書法課堂",
  5733. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  5734. "id": "hanClass",
  5735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5736. "onresize": function () { }
  5737. }, {
  5738. closecallback: function () { }
  5739. }, { "style": { "height": "36px" } }).form; //創建窗體
  5740. _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); } }
  5741. break;
  5742. case "han":
  5743. _formdiv = new U.UF.UI.form(
  5744. "漢字宮",
  5745. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  5746. "id": "han",
  5747. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5748. "onresize": function () { }
  5749. }, {
  5750. closecallback: function () { }
  5751. }, { "style": { "height": "36px" } }).form; //創建窗體
  5752. _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); } }
  5753. break;
  5754. case "projectGM": //課程管理
  5755. _formdiv = new U.UF.UI.form(
  5756. "課程管理",
  5757. $$("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 }), {
  5758. "id": "projectGM",
  5759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5760. "onresize": function () { }
  5761. }, {
  5762. closecallback: function () { }
  5763. }, { "style": { "height": "36px" } }).form; //創建窗體
  5764. _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); } }
  5765. break;
  5766. case "studyGM": //課程中心
  5767. _formdiv = new U.UF.UI.form(
  5768. "課程中心",
  5769. $$("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
  5770. "id": "study",
  5771. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  5772. "onresize": function () { }
  5773. }, {
  5774. closecallback: function () { }
  5775. }, { "style": { "height": "36px" } }).form; //創建窗體
  5776. _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); } }
  5777. break;
  5778. // studentGM
  5779. case "studentGM": //學生管理
  5780. _formdiv = new U.UF.UI.form(
  5781. "學生管理",
  5782. $$("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 }), {
  5783. "id": "studentGM",
  5784. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5785. "onresize": function () { }
  5786. }, {
  5787. closecallback: function () { }
  5788. }, { "style": { "height": "36px" } }).form; //創建窗體
  5789. _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); } }
  5790. break;
  5791. case "evaluateGM": //學生評價
  5792. _formdiv = new U.UF.UI.form(
  5793. "學生評價",
  5794. $$("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 }), {
  5795. "id": "evaluateGM",
  5796. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5797. "onresize": function () { }
  5798. }, {
  5799. closecallback: function () { }
  5800. }, { "style": { "height": "36px" } }).form; //創建窗體
  5801. _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); } }
  5802. break;
  5803. // classGM
  5804. case "classGM": //班級管理
  5805. _formdiv = new U.UF.UI.form(
  5806. "班級管理",
  5807. $$("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 }), {
  5808. "id": "classGM",
  5809. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5810. "onresize": function () { }
  5811. }, {
  5812. closecallback: function () { }
  5813. }, { "style": { "height": "36px" } }).form; //創建窗體
  5814. _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); } }
  5815. break;
  5816. // dataGM
  5817. case "dataGM":
  5818. _formdiv = new U.UF.UI.form(
  5819. "我的資料",
  5820. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataGM?userid=" + _userid + "&org=" + _org }), {
  5821. "id": "dataGM",
  5822. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5823. "onresize": function () { }
  5824. }, {
  5825. closecallback: function () { }
  5826. }, { "style": { "height": "36px" } }).form; //創建窗體
  5827. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/data.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5828. break;
  5829. // caseGM
  5830. case "caseGM": //課程進展
  5831. _formdiv = new U.UF.UI.form(
  5832. "課程進展",
  5833. $$("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 }), {
  5834. "id": "caseGM",
  5835. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5836. "onresize": function () { }
  5837. }, {
  5838. closecallback: function () { }
  5839. }, { "style": { "height": "36px" } }).form; //創建窗體
  5840. _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); } }
  5841. break;
  5842. // meterialGM
  5843. case "meterialGM": //素材庫
  5844. _formdiv = new U.UF.UI.form(
  5845. "素材庫",
  5846. $$("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 }), {
  5847. "id": "meterialGM",
  5848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5849. "onresize": function () { }
  5850. }, {
  5851. closecallback: function () { }
  5852. }, { "style": { "height": "36px" } }).form; //創建窗體
  5853. _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); } }
  5854. break;
  5855. // evaluateSGM
  5856. case "evaluateSGM": //我的評價
  5857. _formdiv = new U.UF.UI.form(
  5858. "我的評價",
  5859. $$("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 }), {
  5860. "id": "evaluateSGM",
  5861. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  5862. "onresize": function () { }
  5863. }, {
  5864. closecallback: function () { }
  5865. }, { "style": { "height": "36px" } }).form; //創建窗體
  5866. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5867. break;
  5868. case "jupyter": //jupyter
  5869. _formdiv = new U.UF.UI.form(
  5870. "jupyter",
  5871. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  5872. "id": "jupyter",
  5873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5874. "onresize": function () { }
  5875. }, {
  5876. closecallback: function () { }
  5877. }, { "style": { "height": "36px" } }).form; //創建窗體
  5878. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  5879. break;
  5880. case "number": //數字實驗室
  5881. _formdiv = new U.UF.UI.form(
  5882. "數字實驗室",
  5883. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  5884. "id": "number",
  5885. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5886. "onresize": function () { }
  5887. }, {
  5888. closecallback: function () { }
  5889. }, { "style": { "height": "36px" } }).form; //創建窗體
  5890. _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); } }
  5891. break;
  5892. case "studentCourse": //項目管理 學生
  5893. _formdiv = new U.UF.UI.form(
  5894. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  5895. $$("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 }), {
  5896. "id": "studentCourse",
  5897. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5898. "onresize": function () { }
  5899. }, {
  5900. closecallback: function () { }
  5901. }, { "style": { "height": "36px" } }).form; //創建窗體
  5902. _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); } }
  5903. break;
  5904. case "studentCourseS": //項目管理 老師
  5905. _formdiv = new U.UF.UI.form(
  5906. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  5907. $$("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 }), {
  5908. "id": "studentCourseS",
  5909. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5910. "onresize": function () { }
  5911. }, {
  5912. closecallback: function () { }
  5913. }, { "style": { "height": "36px" } }).form; //創建窗體
  5914. _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); } }
  5915. break;
  5916. case "studentIndex": //項目中心
  5917. _formdiv = new U.UF.UI.form(
  5918. "項目中心",
  5919. $$("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 }), {
  5920. "id": "studentIndex",
  5921. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5922. "onresize": function () { }
  5923. }, {
  5924. closecallback: function () { }
  5925. }, { "style": { "height": "36px" } }).form; //創建窗體
  5926. _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); } }
  5927. break;
  5928. case "CaseDesignS":
  5929. _formdiv = new U.UF.UI.form(
  5930. "項目進展",
  5931. $$("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 }), {
  5932. "id": "case",
  5933. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5934. "onresize": function () { }
  5935. }, {
  5936. closecallback: function () { }
  5937. }, { "style": { "height": "36px" } }).form; //創建窗體
  5938. _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); } }
  5939. break;
  5940. case "tcStudent": //騰訊學生管理
  5941. _formdiv = new U.UF.UI.form(
  5942. "學生管理",
  5943. $$("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 }), {
  5944. "id": "tcStudent",
  5945. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5946. "onresize": function () { }
  5947. }, {
  5948. closecallback: function () { }
  5949. }, { "style": { "height": "36px" } }).form; //創建窗體
  5950. _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); } }
  5951. break;
  5952. case "tcSchool": //騰訊學校管理
  5953. _formdiv = new U.UF.UI.form(
  5954. "學校管理",
  5955. $$("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 }), {
  5956. "id": "tcSchool",
  5957. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5958. "onresize": function () { }
  5959. }, {
  5960. closecallback: function () { }
  5961. }, { "style": { "height": "36px" } }).form; //創建窗體
  5962. _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); } }
  5963. break;
  5964. case "tcTeacher": //騰訊學校管理
  5965. _formdiv = new U.UF.UI.form(
  5966. "教師管理",
  5967. $$("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 }), {
  5968. "id": "tcTeacher",
  5969. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5970. "onresize": function () { }
  5971. }, {
  5972. closecallback: function () { }
  5973. }, { "style": { "height": "36px" } }).form; //創建窗體
  5974. _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); } }
  5975. break;
  5976. case "tcData": //騰訊我的資料
  5977. _formdiv = new U.UF.UI.form(
  5978. "我的資料",
  5979. $$("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 }), {
  5980. "id": "tcData",
  5981. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  5982. "onresize": function () { }
  5983. }, {
  5984. closecallback: function () { }
  5985. }, { "style": { "height": "36px" } }).form; //創建窗體
  5986. _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); } }
  5987. break;
  5988. case "tcNotice": //騰訊消息通知
  5989. _formdiv = new U.UF.UI.form(
  5990. "消息通知",
  5991. $$("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 }), {
  5992. "id": "tcNotice",
  5993. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  5994. "onresize": function () { }
  5995. }, {
  5996. closecallback: function () { }
  5997. }, { "style": { "height": "36px" } }).form; //創建窗體
  5998. _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); } }
  5999. break;
  6000. case "myReport": //好友打開
  6001. _formdiv = new U.UF.UI.form(
  6002. "我的評價",
  6003. $$("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 }), {
  6004. "id": "myReport",
  6005. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6006. "onresize": function () { }
  6007. }, {
  6008. closecallback: function () { }
  6009. }, { "style": { "height": "36px" } }).form; //創建窗體
  6010. _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); } }
  6011. break;
  6012. case "learnAna": //好友打開
  6013. _formdiv = new U.UF.UI.form(
  6014. "學習分析",
  6015. $$("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 }), {
  6016. "id": "learnAna",
  6017. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6018. "onresize": function () { }
  6019. }, {
  6020. closecallback: function () { }
  6021. }, { "style": { "height": "36px" } }).form; //創建窗體
  6022. _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); } }
  6023. break;
  6024. case "AIChat": //AI共創
  6025. _formdiv = new U.UF.UI.form(
  6026. "AI共創",
  6027. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  6028. "id": "AIChat",
  6029. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  6030. "onresize": function () { }
  6031. }, {
  6032. istop: true,
  6033. closecallback: function () { $("#aichat_icon").remove(); },
  6034. narrowcallback: function () {
  6035. if (!$("#aichat_icon")[0]) {
  6036. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  6037. }
  6038. },
  6039. }, { "style": { "height": "36px" } }).form; //創建窗體
  6040. _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); } }
  6041. break;
  6042. case "ainew": //AI共創
  6043. _formdiv = new U.UF.UI.form(
  6044. "AI協同",
  6045. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  6046. "id": "ainew",
  6047. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6048. "onresize": function () { }
  6049. }, {
  6050. closecallback: function () { }
  6051. }, { "style": { "height": "36px" } }).form; //創建窗體
  6052. _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); } }
  6053. break;
  6054. case "gpt4": //gpt4
  6055. _formdiv = new U.UF.UI.form(
  6056. "AI助手",
  6057. $$("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 }), {
  6058. "id": "gpt4",
  6059. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6060. "onresize": function () { }
  6061. }, {
  6062. closecallback: function () { }
  6063. }, { "style": { "height": "36px" } }).form; //創建窗體
  6064. _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); } }
  6065. break;
  6066. case "aigpt": //gpt4
  6067. _formdiv = new U.UF.UI.form(
  6068. "AI助手+",
  6069. $$("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 }), {
  6070. "id": "aigpt",
  6071. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6072. "onresize": function () { }
  6073. }, {
  6074. closecallback: function () { }
  6075. }, { "style": { "height": "36px" } }).form; //創建窗體
  6076. _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); } }
  6077. break;
  6078. case "aiKnowledge": //aiKnowledge
  6079. _formdiv = new U.UF.UI.form(
  6080. "知識建構",
  6081. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aigpt/#/knowledge_construction/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  6082. "id": "aiKnowledge",
  6083. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6084. "onresize": function () { }
  6085. }, {
  6086. closecallback: function () { }
  6087. }, { "style": { "height": "36px" } }).form; //創建窗體
  6088. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aiKnowledge.png)" }, "name": "知識建構", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6089. break;
  6090. case "futureClass": //AI共創
  6091. _formdiv = new U.UF.UI.form(
  6092. "協同建構",
  6093. $$("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
  6094. "id": "synergyCourse",
  6095. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6096. "onresize": function () { }
  6097. }, {
  6098. closecallback: function () {
  6099. $("iframe", _formdiv)[0].contentWindow.loginout();
  6100. }
  6101. }, { "style": { "height": "36px" } }).form; //創建窗體
  6102. _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); } }
  6103. break;
  6104. case "aiagent": //ai agent
  6105. _formdiv = new U.UF.UI.form(
  6106. "AI Agent",
  6107. $$("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" }), {
  6108. "id": "AIAgent",
  6109. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6110. "onresize": function () { }
  6111. }, {
  6112. closecallback: function () { }
  6113. }, { "style": { "height": "36px" } }).form; //創建窗體
  6114. _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); } }
  6115. break;
  6116. case "dataBoard": //數據看板
  6117. _formdiv = new U.UF.UI.form(
  6118. "數據看板",
  6119. $$("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 }), {
  6120. "id": "dataBoard",
  6121. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6122. "onresize": function () { }
  6123. }, {
  6124. closecallback: function () { }
  6125. }, { "style": { "height": "36px" } }).form; //創建窗體
  6126. _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); } }
  6127. break;
  6128. case "dataBoardSies": //數據融合
  6129. _formdiv = new U.UF.UI.form(
  6130. "數據融合",
  6131. $$("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 }), {
  6132. "id": "dataBoardSies",
  6133. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6134. "onresize": function () { }
  6135. }, {
  6136. closecallback: function () { }
  6137. }, { "style": { "height": "36px" } }).form; //創建窗體
  6138. _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); } }
  6139. break;
  6140. case "dataBoardNew": //數據看板
  6141. _formdiv = new U.UF.UI.form(
  6142. "綜合看板",
  6143. $$("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 }), {
  6144. "id": "dataBoardNew",
  6145. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6146. "onresize": function () { }
  6147. }, {
  6148. closecallback: function () { }
  6149. }, { "style": { "height": "36px" } }).form; //創建窗體
  6150. _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); } }
  6151. break;
  6152. case "dataBoardTest": //數據看板
  6153. _formdiv = new U.UF.UI.form(
  6154. "評測看板",
  6155. $$("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 }), {
  6156. "id": "dataBoardTest",
  6157. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6158. "onresize": function () { }
  6159. }, {
  6160. closecallback: function () { }
  6161. }, { "style": { "height": "36px" } }).form; //創建窗體
  6162. _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); } }
  6163. break;
  6164. case "AIAnalyse": //AI共創
  6165. _formdiv = new U.UF.UI.form(
  6166. "AI分析",
  6167. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  6168. "id": "AIAnalyse",
  6169. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6170. "onresize": function () { }
  6171. }, {
  6172. closecallback: function () { }
  6173. }, { "style": { "height": "36px" } }).form; //創建窗體
  6174. _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); } }
  6175. break;
  6176. case "studioCourse": //AI共創
  6177. _formdiv = new U.UF.UI.form(
  6178. "工作管理",
  6179. $$("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 }), {
  6180. "id": "studioCourse",
  6181. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6182. "onresize": function () { }
  6183. }, {
  6184. closecallback: function () { }
  6185. }, { "style": { "height": "36px" } }).form; //創建窗體
  6186. _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); } }
  6187. break;
  6188. case "studioIndex": //AI共創
  6189. _formdiv = new U.UF.UI.form(
  6190. "工作中心",
  6191. $$("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 }), {
  6192. "id": "studioIndex",
  6193. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6194. "onresize": function () { }
  6195. }, {
  6196. closecallback: function () { }
  6197. }, { "style": { "height": "36px" } }).form; //創建窗體
  6198. _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); } }
  6199. break;
  6200. case "source":
  6201. _formdiv = new U.UF.UI.form(
  6202. "教學資源",
  6203. $$("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 }), {
  6204. "id": "source",
  6205. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6206. "onresize": function () { }
  6207. }, {
  6208. closecallback: function () { }
  6209. }, { "style": { "height": "36px" } }).form; //創建窗體
  6210. _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); } }
  6211. break;
  6212. case "testTeacher":
  6213. _formdiv = new U.UF.UI.form(
  6214. "教師管理",
  6215. $$("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 }), {
  6216. "id": "testTeacher",
  6217. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6218. "onresize": function () { }
  6219. }, {
  6220. closecallback: function () { }
  6221. }, { "style": { "height": "36px" } }).form; //創建窗體
  6222. _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); } }
  6223. break;
  6224. case "testStudent":
  6225. _formdiv = new U.UF.UI.form(
  6226. "教師中心",
  6227. $$("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 }), {
  6228. "id": "testStudent",
  6229. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6230. "onresize": function () { }
  6231. }, {
  6232. closecallback: function () { }
  6233. }, { "style": { "height": "36px" } }).form; //創建窗體
  6234. _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); } }
  6235. break;
  6236. case "testTeacherSies":
  6237. _formdiv = new U.UF.UI.form(
  6238. "教師管理",
  6239. $$("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 }), {
  6240. "id": "testTeacherSies",
  6241. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6242. "onresize": function () { }
  6243. }, {
  6244. closecallback: function () { }
  6245. }, { "style": { "height": "36px" } }).form; //創建窗體
  6246. _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); } }
  6247. break;
  6248. case "testStudentSies":
  6249. _formdiv = new U.UF.UI.form(
  6250. "教師中心",
  6251. $$("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 }), {
  6252. "id": "testStudentSies",
  6253. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  6254. "onresize": function () { }
  6255. }, {
  6256. closecallback: function () { }
  6257. }, { "style": { "height": "36px" } }).form; //創建窗體
  6258. _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); } }
  6259. break;
  6260. case "ytpbl": //消息通知
  6261. _formdiv = new U.UF.UI.form(
  6262. "案例征集",
  6263. $$("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 }), {
  6264. "id": "ytpbl",
  6265. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6266. "onresize": function () { }
  6267. }, {
  6268. closecallback: function () { }
  6269. }, { "style": { "height": "36px" } }).form; //創建窗體
  6270. _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); } }
  6271. // 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");
  6272. break;
  6273. case "aiCourseResource": //人工智能窗體
  6274. _formdiv = new U.UF.UI.form(
  6275. false,
  6276. $$("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 }), {
  6277. "id": "aiCourseResource",
  6278. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6279. "onresize": function () { },
  6280. "isdrag": false,
  6281. }, {
  6282. closecallback: function () { }
  6283. }, { "style": { "height": "36px" } }).form; //創建窗體
  6284. _taskbar = ''
  6285. break;
  6286. case "szdjgCocooroboX": //圖形化編程
  6287. _formdiv = new U.UF.UI.form(
  6288. "圖形化編程",
  6289. $$("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" }), {
  6290. "id": "szdjgCocooroboX",
  6291. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6292. "onresize": function () { }
  6293. }, {
  6294. closecallback: function () { }
  6295. }, { "style": { "height": "36px" } }).form; //創建窗體
  6296. _taskbar = ''
  6297. break;
  6298. case "szdjgPython": //python編程
  6299. _formdiv = new U.UF.UI.form(
  6300. "Python編程",
  6301. $$("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" }), {
  6302. "id": "szdjgPython",
  6303. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  6304. "onresize": function () { }
  6305. }, {
  6306. closecallback: function () { }
  6307. }, { "style": { "height": "36px" } }).form; //創建窗體
  6308. _taskbar = ''
  6309. break;
  6310. case "Record":
  6311. _formdiv = new U.UF.UI.form(
  6312. "觀察記錄",
  6313. $$("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 }), {
  6314. "id": "Record",
  6315. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6316. "onresize": function () { }
  6317. }, {
  6318. closecallback: function () { }
  6319. }, { "style": { "height": "36px" } }).form; //創建窗體
  6320. _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); } }
  6321. break;
  6322. case "aigptCourse":
  6323. _formdiv = new U.UF.UI.form(
  6324. "AI智能體",
  6325. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role + '#/AgentVue' }), {
  6326. "id": "aigptCourse",
  6327. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6328. "onresize": function () { }
  6329. }, {
  6330. closecallback: function () { }
  6331. }, { "style": { "height": "36px" } }).form; //創建窗體
  6332. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigptCourse.png)" }, "name": "AI智能體", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6333. break;
  6334. case "classroomObservation":
  6335. _formdiv = new U.UF.UI.form(
  6336. "課堂觀察",
  6337. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/classroomObservation?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  6338. "id": "classroomObservation",
  6339. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6340. "onresize": function () { }
  6341. }, {
  6342. closecallback: function () { }
  6343. }, { "style": { "height": "36px" } }).form; //創建窗體
  6344. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/classroomObservation.png)" }, "name": "課堂觀察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6345. break;
  6346. case "pblCourse":
  6347. _formdiv = new U.UF.UI.form(
  6348. "學生PBL",
  6349. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/guide?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  6350. "id": "pblCourse",
  6351. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  6352. "onresize": function () { }
  6353. }, {
  6354. closecallback: function () { }
  6355. }, { "style": { "height": "36px" } }).form; //創建窗體
  6356. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/pblCourse.png)" }, "name": "課堂觀察", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  6357. break;
  6358. }
  6359. //U.MD.D.I.openClick(str);
  6360. //如果有任務欄信息
  6361. if (_taskbar) {
  6362. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6363. }
  6364. }
  6365. // U.MD.D.I.openClick = function(str){
  6366. // var click = '';
  6367. // switch(str){
  6368. // case 'friend':
  6369. // click = '我的好友';
  6370. // break;
  6371. // case 'domain':
  6372. // click = '域名管理';
  6373. // break;
  6374. // case 'disk':
  6375. // click = '我的雲盤';
  6376. // break;
  6377. // case 'word':
  6378. // click = 'Word';
  6379. // break;
  6380. // case 'excel':
  6381. // click = 'Execl';
  6382. // break;
  6383. // case 'txt':
  6384. // click = '文本文件';
  6385. // break;
  6386. // case 'lookupFriend':
  6387. // click = '查找好友';
  6388. // break;
  6389. // case 'ftp':
  6390. // click = 'FTP';
  6391. // break;
  6392. // case 'group':
  6393. // click = '群組';
  6394. // break;
  6395. // case 'set':
  6396. // click = '我的設置';
  6397. // break;
  6398. // case 'systemSet':
  6399. // click = '系統設置';
  6400. // break;
  6401. // case 'boomYun':
  6402. // click = '互聯辦公';
  6403. // break;
  6404. // case 'xz':
  6405. // click = '雲端下載';
  6406. // break;
  6407. // case 'client':
  6408. // click = '有思瀏覽器';
  6409. // break;
  6410. // case 'backEndProgramming':
  6411. // click = '在線後臺編程';
  6412. // break;
  6413. // case 'frontEndProgramming':
  6414. // click = '在線前端編程';
  6415. // break;
  6416. // default: break;
  6417. // }
  6418. // if(U.MD.D.I.Ip && click){
  6419. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  6420. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  6421. // })
  6422. // }
  6423. // }
  6424. /**
  6425. *函數作用:ajax簡易函數,使用post格式
  6426. *@param url {data} 後臺地址
  6427. *@param data {data} 參數json
  6428. *@param fn {data} 回調函數
  6429. *
  6430. */
  6431. // U.MD.D.I.Mysqlrequest = function(url,fn){
  6432. // var xhr = new XMLHttpRequest();
  6433. // xhr.open("GET",url,true);
  6434. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  6435. // xhr.onreadystatechange = function(){
  6436. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  6437. // fn.call(this,xhr.responseText);
  6438. // }
  6439. // };
  6440. // xhr.send();
  6441. // }
  6442. /*判斷是否是內網IP*/
  6443. // U.MD.D.I.isInnerIPFn = function(str){
  6444. // var curPageUrl = str;
  6445. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  6446. // curPageUrl =curPageUrl.replace(reg1,'');
  6447. // // console.log('curPageUrl-1 '+curPageUrl);
  6448. // var reg2 = /\:+/g;//替換冒號為一點
  6449. // curPageUrl =curPageUrl.replace(reg2,'.');
  6450. // // console.log('curPageUrl-2 '+curPageUrl);
  6451. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  6452. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  6453. // if(curPageUrl[2] != '16'){
  6454. // return ipAddress;
  6455. // }else{
  6456. // return false;
  6457. // }
  6458. // }
  6459. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  6460. // //compatibility for firefox and chrome
  6461. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  6462. // var pc = new myPeerConnection({
  6463. // iceServers: []
  6464. // }),
  6465. // noop = function() {},
  6466. // localIPs = {},
  6467. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  6468. // key;
  6469. // function iterateIP(ip) {
  6470. // if (!localIPs[ip]) onNewIP(ip);
  6471. // localIPs[ip] = true;
  6472. // }
  6473. // //create a bogus data channel
  6474. // pc.createDataChannel("");
  6475. // // create offer and set local description
  6476. // pc.createOffer().then(function(sdp) {
  6477. // sdp.sdp.split('\n').forEach(function(line) {
  6478. // if (line.indexOf('candidate') < 0) return;
  6479. // line.match(ipRegex).forEach(iterateIP);
  6480. // });
  6481. // pc.setLocalDescription(sdp, noop, noop);
  6482. // }).catch(function(reason) {
  6483. // // An error occurred, so handle the failure to connect
  6484. // });
  6485. // //sten for candidate events
  6486. // pc.onicecandidate = function(ice) {
  6487. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  6488. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  6489. // };
  6490. // }
  6491. // U.MD.D.I.getUserIpBool = function(callback){
  6492. // U.MD.D.I.getUserIP(function(ip){
  6493. // alert("Got IP! :" + ip);
  6494. // });
  6495. //}
  6496. //#endregion
  6497. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  6498. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6499. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6500. _userinfo = US.userInfo, //登錄用戶信息
  6501. _userid = US.userInfo.userid //登錄用戶id
  6502. let _iframe;
  6503. let _cid = cid,
  6504. _stage = stage,
  6505. _task = task,
  6506. _tool = tool;
  6507. var _jie = $$("div", {
  6508. "style": {
  6509. "position": "absolute",
  6510. "bottom": "50px",
  6511. "right": "50px",
  6512. "zIndex": "9999",
  6513. "backgroundColor": "#2268bc",
  6514. "color": "#fff",
  6515. "padding": "12px 20px",
  6516. "cursor": "pointer",
  6517. "borderRadius": "4px",
  6518. },
  6519. "innerHTML": "提交作業"
  6520. })
  6521. let aTool = ''
  6522. let _loading = document.createElement('div')
  6523. _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;"
  6524. // _loading.id = "";
  6525. let _lchild = document.createElement('div')
  6526. let _limg = document.createElement('img')
  6527. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6528. _limg.style = "width: 26px;margin-right: 10px;"
  6529. _lchild.appendChild(_limg)
  6530. let _lspan = document.createElement('span')
  6531. _lspan.innerHTML = "上傳中..."
  6532. _lchild.appendChild(_lspan)
  6533. _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%);"
  6534. _loading.appendChild(_lchild)
  6535. var _box = $$('div', {
  6536. "style": {
  6537. "position": "relative",
  6538. "width": "100%",
  6539. "height": "100%",
  6540. },
  6541. })
  6542. _box.appendChild(_loading)
  6543. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  6544. switch (str) {
  6545. case "whiteboard":
  6546. aTool = 1;
  6547. _iframe = $$("iframe", {
  6548. "frameborder": "no",
  6549. "border": "0",
  6550. "scrolling ": "no",
  6551. "style": {
  6552. "cssText": "border:0;width:100%;height:100%"
  6553. },
  6554. "src": "https://iwb.cocorobo.hk/"
  6555. })
  6556. _box.appendChild(_iframe);
  6557. _box.appendChild(_jie);
  6558. _formdiv = new U.UF.UI.form(
  6559. "電子白板",
  6560. _box, {
  6561. "id": "whiteboard" + cid + stage + task + tool,
  6562. "style": {
  6563. "width": "90%",
  6564. "height": "90%",
  6565. "overflow": 'hidden'
  6566. },
  6567. "onresize": function () { }
  6568. }, {
  6569. closecallback: function () { }
  6570. }, {
  6571. "style": {
  6572. "height": "36px"
  6573. }
  6574. }).form; //創建窗體
  6575. _taskbar = {
  6576. "id": str + _formdiv.id,
  6577. "style": {
  6578. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6579. },
  6580. "name": "電子白板",
  6581. "forms": _formdiv,
  6582. "click": function () {
  6583. U.MD.D.I.openApplication(str, obj, info);
  6584. }
  6585. }
  6586. break;
  6587. case "mind":
  6588. aTool = 3;
  6589. _iframe = $$("iframe", {
  6590. "frameborder": "no",
  6591. "border": "0",
  6592. "scrolling ": "no",
  6593. "style": {
  6594. "cssText": "border:0;width:100%;height:100%"
  6595. },
  6596. "src": "/kityminder-editor/dist/index.html"
  6597. })
  6598. _box.appendChild(_iframe);
  6599. _box.appendChild(_jie);
  6600. _formdiv = new U.UF.UI.form(
  6601. "思維導圖",
  6602. _box, { //"/jsmind/example/demo.html"
  6603. "id": "mind" + cid + stage + task + tool,
  6604. "style": {
  6605. "width": "90%",
  6606. "height": "90%",
  6607. "overflow": 'hidden'
  6608. },
  6609. "onresize": function () { }
  6610. }, {
  6611. closecallback: function () { }
  6612. }, {
  6613. "style": {
  6614. "height": "36px"
  6615. }
  6616. }).form; //創建窗體
  6617. _taskbar = {
  6618. "id": str + _formdiv.id,
  6619. "style": {
  6620. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6621. },
  6622. "name": "思維導圖",
  6623. "forms": _formdiv,
  6624. "click": function () {
  6625. U.MD.D.I.openApplication(str, obj, info);
  6626. }
  6627. }
  6628. break;
  6629. case "MindMap":
  6630. aTool = 3;
  6631. _iframe = $$("iframe", {
  6632. "frameborder": "no",
  6633. "border": "0",
  6634. "scrolling ": "no",
  6635. "style": {
  6636. "cssText": "border:0;width:100%;height:100%"
  6637. },
  6638. "src": "//cloud.cocorobo.hk/mind/"
  6639. })
  6640. _box.appendChild(_iframe);
  6641. _box.appendChild(_jie);
  6642. _formdiv = new U.UF.UI.form(
  6643. "思維導圖",
  6644. _box, { //"/jsmind/example/demo.html"
  6645. "id": "mind" + cid + stage + task + tool,
  6646. "style": {
  6647. "width": "90%",
  6648. "height": "90%",
  6649. "overflow": 'hidden'
  6650. },
  6651. "onresize": function () { }
  6652. }, {
  6653. closecallback: function () { }
  6654. }, {
  6655. "style": {
  6656. "height": "36px"
  6657. }
  6658. }).form; //創建窗體
  6659. _taskbar = {
  6660. "id": str + _formdiv.id,
  6661. "style": {
  6662. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6663. },
  6664. "name": "思維導圖",
  6665. "forms": _formdiv,
  6666. "click": function () {
  6667. U.MD.D.I.openApplication(str, obj, info);
  6668. }
  6669. }
  6670. break;
  6671. case "doc":
  6672. aTool = 6;
  6673. _iframe = $$("iframe", {
  6674. "frameborder": "no",
  6675. "border": "0",
  6676. "scrolling ": "no",
  6677. "style": {
  6678. "cssText": "border:0;width:100%;height:100%"
  6679. },
  6680. "src": "/Office/Word/WordEditArea.htm"
  6681. })
  6682. _box.appendChild(_iframe);
  6683. _box.appendChild(_jie);
  6684. _formdiv = new U.UF.UI.form(
  6685. "協同文檔",
  6686. _box, {
  6687. "id": "doc" + cid + stage + task + tool,
  6688. "style": {
  6689. "width": "90%",
  6690. "height": "90%",
  6691. "overflow": 'hidden'
  6692. },
  6693. "onresize": function () { }
  6694. }, {
  6695. closecallback: function () { }
  6696. }, {
  6697. "style": {
  6698. "height": "36px"
  6699. }
  6700. }).form; //創建窗體
  6701. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6702. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6703. })
  6704. _taskbar = {
  6705. "id": str + _formdiv.id,
  6706. "style": {
  6707. "backgroundImage": "url(/img/icon/doc.png)"
  6708. },
  6709. "name": "協同文檔",
  6710. "forms": _formdiv,
  6711. "click": function () {
  6712. U.MD.D.I.openApplication(str, obj, info);
  6713. }
  6714. }
  6715. break;
  6716. case "mindNetwork": //好友打開
  6717. aTool = 7;
  6718. _iframe = $$("iframe", {
  6719. "webkitallowfullscreen": "",
  6720. "mozallowfullscreen": "",
  6721. "allowfullscreen": "",
  6722. "frameborder": "no",
  6723. "border": "0",
  6724. "scrolling ": "no",
  6725. "style": {
  6726. "cssText": "border:0; width:100%; height:100%;"
  6727. },
  6728. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6729. })
  6730. _box.appendChild(_iframe);
  6731. _box.appendChild(_jie);
  6732. _formdiv = new U.UF.UI.form(
  6733. "思維網格",
  6734. _box, {
  6735. "id": "mindNetwork" + cid + stage + task + tool,
  6736. "style": {
  6737. "width": "90%",
  6738. "height": "90%",
  6739. "overflow": 'hidden'
  6740. },
  6741. "onresize": function () { }
  6742. }, {
  6743. closecallback: function () { }
  6744. }, {
  6745. "style": {
  6746. "height": "36px"
  6747. }
  6748. }).form; //創建窗體
  6749. _taskbar = {
  6750. "id": str + _formdiv.id,
  6751. "style": {
  6752. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6753. },
  6754. "name": "思維網格",
  6755. "forms": _formdiv,
  6756. "click": function () {
  6757. U.MD.D.I.openApplication(str, obj, info);
  6758. }
  6759. }
  6760. break;
  6761. case "courseDesign":
  6762. _iframe = $$("iframe", {
  6763. "webkitallowfullscreen": "",
  6764. "mozallowfullscreen": "",
  6765. "allowfullscreen": "",
  6766. "frameborder": "no",
  6767. "border": "0",
  6768. "scrolling ": "no",
  6769. "style": {
  6770. "cssText": "border:0; width:100%; height:100%;"
  6771. },
  6772. "src": "/course-design-vue"
  6773. })
  6774. _box.appendChild(_iframe);
  6775. _box.appendChild(_jie);
  6776. _formdiv = new U.UF.UI.form(
  6777. "項目設計",
  6778. _box, {
  6779. "id": "courseDesign" + cid + stage + task + tool,
  6780. "style": {
  6781. "width": "90%",
  6782. "height": "90%",
  6783. "overflow": 'hidden'
  6784. },
  6785. "onresize": function () { }
  6786. }, {
  6787. closecallback: function () { }
  6788. }, {
  6789. "style": {
  6790. "height": "36px"
  6791. }
  6792. }).form; //創建窗體
  6793. _taskbar = {
  6794. "id": str + _formdiv.id,
  6795. "style": {
  6796. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6797. },
  6798. "name": "項目設計",
  6799. "forms": _formdiv,
  6800. "click": function () {
  6801. U.MD.D.I.openApplication(str, obj, info);
  6802. }
  6803. }
  6804. break;
  6805. }
  6806. const script1 = document.createElement("script");
  6807. script1.type = "text/javascript";
  6808. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6809. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6810. const script2 = document.createElement("script");
  6811. script2.type = "text/javascript";
  6812. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6813. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6814. const script3 = document.createElement("script");
  6815. script3.type = "text/javascript";
  6816. script3.charset = "UTF-8";
  6817. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6818. const script4 = document.createElement("script");
  6819. script4.type = "text/javascript";
  6820. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6821. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6822. if (_iframe) {
  6823. if (str == 'doc') {
  6824. _iframe = _formdiv.querySelector('iframe')
  6825. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6826. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6827. _iframe.contentWindow.document.body.appendChild(script1);
  6828. _iframe.contentWindow.document.body.appendChild(script2);
  6829. // _iframe.contentWindow.document.body.appendChild(script3);
  6830. _iframe.contentWindow.document.body.appendChild(script4);
  6831. })
  6832. if (onloadListener) {
  6833. _iframe.contentDocument.location.reload()
  6834. } else {
  6835. _iframe.contentDocument.location.reload()
  6836. }
  6837. } else if (str == 'courseDesign') {
  6838. U.UF.DL.iframeLoad(_iframe, function () {
  6839. // _iframe.contentWindow.U.MD.O.W.load();
  6840. // _iframe.contentWindow.document.body.appendChild(script1);
  6841. _iframe.contentWindow.document.body.appendChild(script2);
  6842. _iframe.contentWindow.document.body.appendChild(script4);
  6843. })
  6844. } else if (str == 'mind') {
  6845. _iframe = _formdiv.querySelector('iframe')
  6846. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6847. //
  6848. _iframe.contentWindow.document.body.appendChild(script1);
  6849. _iframe.contentWindow.document.body.appendChild(script2);
  6850. _iframe.contentWindow.document.body.appendChild(script4);
  6851. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6852. })
  6853. if (onloadListener) {
  6854. _iframe.contentDocument.location.reload()
  6855. } else {
  6856. _iframe.contentDocument.location.reload()
  6857. }
  6858. } else if (str == 'whiteboard') {
  6859. _iframe = _formdiv.querySelector('iframe')
  6860. let onloadListener = _iframe.onload = () => {
  6861. _iframe.contentWindow.document.body.appendChild(script1);
  6862. _iframe.contentWindow.document.body.appendChild(script2);
  6863. _iframe.contentWindow.document.body.appendChild(script4);
  6864. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6865. };
  6866. // if (onloadListener) {
  6867. // try {
  6868. // _iframe.src += "?cocorobo="+new Date().getTime()
  6869. // _iframe.contentWindow.document.location.reload()
  6870. // } catch (error) {
  6871. // }
  6872. // } else {
  6873. // _iframe.contentDocument.location.reload()
  6874. // }
  6875. } else {
  6876. _iframe.onload = () => {
  6877. _iframe.contentWindow.document.body.appendChild(script1);
  6878. _iframe.contentWindow.document.body.appendChild(script2);
  6879. // _iframe.contentWindow.document.body.appendChild(script3);
  6880. _iframe.contentWindow.document.body.appendChild(script4);
  6881. };
  6882. }
  6883. _jie.onclick = async () => {
  6884. let text = ''
  6885. if (aTool == 1) {
  6886. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6887. } else if (aTool == 6) {
  6888. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6889. } else if (aTool == 3) {
  6890. text = await U.MD.D.I.getEditorContent(_iframe);
  6891. }
  6892. _loading.style.display = 'flex'
  6893. console.log(_loading);
  6894. var _ajs = _iframe.contentWindow.document.createElement("script");
  6895. _ajs.type = "text/javascript";
  6896. _ajs.innerHTML =
  6897. // 'console.log(' + _loading + ');\n' +
  6898. 'var _js = document.createElement("script");\n' +
  6899. '_js.type="text/javascript";\n' +
  6900. '_js.charset="UTF-8";\n' +
  6901. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6902. "_js.onload = function(){\n" +
  6903. ' var a = document.getElementsByTagName("img")\n' +
  6904. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6905. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6906. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6907. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6908. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6909. "beforeUpload_shishi(file," +
  6910. "'" +
  6911. _userid +
  6912. "'" +
  6913. ", " +
  6914. "'" +
  6915. _cid +
  6916. "'" +
  6917. ", " +
  6918. "'" +
  6919. _stage +
  6920. "'" +
  6921. ", " +
  6922. "'" +
  6923. _task +
  6924. "'" +
  6925. ", " +
  6926. "'" +
  6927. _tool +
  6928. "'" +
  6929. ", " +
  6930. "'" +
  6931. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  6932. "'" +
  6933. ", " +
  6934. "'" +
  6935. aTool +
  6936. "'" +
  6937. ", " +
  6938. "`" +
  6939. text +
  6940. "`" +
  6941. ")\n" +
  6942. " });\n" +
  6943. "}\n" +
  6944. "document.head.appendChild(_js);\n";
  6945. _iframe.contentWindow.document.head.appendChild(_ajs);
  6946. }
  6947. }
  6948. //U.MD.D.I.openClick(str);
  6949. //如果有任務欄信息
  6950. // if (_taskbar) {
  6951. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6952. // }
  6953. }
  6954. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  6955. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6956. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6957. _userinfo = US.userInfo, //登錄用戶信息
  6958. _userid = US.userInfo.userid //登錄用戶id
  6959. let _iframe;
  6960. let _cid = cid,
  6961. _stage = stage,
  6962. _task = task,
  6963. _tool = tool;
  6964. var _jie = $$("div", {
  6965. "style": {
  6966. "position": "absolute",
  6967. "bottom": "50px",
  6968. "right": "50px",
  6969. "zIndex": "9999",
  6970. "backgroundColor": "#2268bc",
  6971. "color": "#fff",
  6972. "padding": "12px 20px",
  6973. "cursor": "pointer",
  6974. "borderRadius": "4px",
  6975. },
  6976. "innerHTML": "提交作業"
  6977. })
  6978. let aTool = ''
  6979. let _loading = document.createElement('div')
  6980. _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;"
  6981. // _loading.id = "";
  6982. let _lchild = document.createElement('div')
  6983. let _limg = document.createElement('img')
  6984. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6985. _limg.style = "width: 26px;margin-right: 10px;"
  6986. _lchild.appendChild(_limg)
  6987. let _lspan = document.createElement('span')
  6988. _lspan.innerHTML = "上傳中..."
  6989. _lchild.appendChild(_lspan)
  6990. _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%);"
  6991. _loading.appendChild(_lchild)
  6992. let _box = $$('div', {
  6993. "style": {
  6994. "position": "relative",
  6995. "width": "100%",
  6996. "height": "100%",
  6997. },
  6998. })
  6999. _box.appendChild(_loading)
  7000. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  7001. switch (str) {
  7002. case "whiteboard":
  7003. aTool = 1;
  7004. _iframe = $$("iframe", {
  7005. "frameborder": "no",
  7006. "border": "0",
  7007. "scrolling ": "no",
  7008. "style": {
  7009. "cssText": "border:0;width:100%;height:100%"
  7010. },
  7011. "src": "https://iwb.cocorobo.hk/"
  7012. })
  7013. _box.appendChild(_iframe);
  7014. _box.appendChild(_jie);
  7015. _formdiv = new U.UF.UI.form(
  7016. "電子白板",
  7017. _box, {
  7018. "id": "whiteboard" + cid + stage + task + tool,
  7019. "style": {
  7020. "width": "90%",
  7021. "height": "90%",
  7022. "overflow": 'hidden'
  7023. },
  7024. "onresize": function () { }
  7025. }, {
  7026. closecallback: function () { }
  7027. }, {
  7028. "style": {
  7029. "height": "36px"
  7030. }
  7031. }).form; //創建窗體
  7032. _taskbar = {
  7033. "id": str + _formdiv.id,
  7034. "style": {
  7035. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7036. },
  7037. "name": "電子白板",
  7038. "forms": _formdiv,
  7039. "click": function () {
  7040. U.MD.D.I.openApplication(str, obj, info);
  7041. }
  7042. }
  7043. break;
  7044. case "mind":
  7045. aTool = 3;
  7046. _iframe = $$("iframe", {
  7047. "frameborder": "no",
  7048. "border": "0",
  7049. "scrolling ": "no",
  7050. "style": {
  7051. "cssText": "border:0;width:100%;height:100%"
  7052. },
  7053. "src": "/kityminder-editor/dist/index.html"
  7054. })
  7055. _box.appendChild(_iframe);
  7056. _box.appendChild(_jie);
  7057. _formdiv = new U.UF.UI.form(
  7058. "思維導圖",
  7059. _box, { //"/jsmind/example/demo.html"
  7060. "id": "mind" + cid + stage + task + tool,
  7061. "style": {
  7062. "width": "90%",
  7063. "height": "90%",
  7064. "overflow": 'hidden'
  7065. },
  7066. "onresize": function () { }
  7067. }, {
  7068. closecallback: function () { }
  7069. }, {
  7070. "style": {
  7071. "height": "36px"
  7072. }
  7073. }).form; //創建窗體
  7074. _taskbar = {
  7075. "id": str + _formdiv.id,
  7076. "style": {
  7077. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7078. },
  7079. "name": "思維導圖",
  7080. "forms": _formdiv,
  7081. "click": function () {
  7082. U.MD.D.I.openApplication(str, obj, info);
  7083. }
  7084. }
  7085. break;
  7086. case "MindMap":
  7087. aTool = 3;
  7088. _iframe = $$("iframe", {
  7089. "frameborder": "no",
  7090. "border": "0",
  7091. "scrolling ": "no",
  7092. "style": {
  7093. "cssText": "border:0;width:100%;height:100%"
  7094. },
  7095. "src": "//cloud.cocorobo.hk/mind/"
  7096. })
  7097. _box.appendChild(_iframe);
  7098. _box.appendChild(_jie);
  7099. _formdiv = new U.UF.UI.form(
  7100. "思維導圖",
  7101. _box, { //"/jsmind/example/demo.html"
  7102. "id": "mind" + cid + stage + task + tool,
  7103. "style": {
  7104. "width": "90%",
  7105. "height": "90%",
  7106. "overflow": 'hidden'
  7107. },
  7108. "onresize": function () { }
  7109. }, {
  7110. closecallback: function () { }
  7111. }, {
  7112. "style": {
  7113. "height": "36px"
  7114. }
  7115. }).form; //創建窗體
  7116. _taskbar = {
  7117. "id": str + _formdiv.id,
  7118. "style": {
  7119. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7120. },
  7121. "name": "思維導圖",
  7122. "forms": _formdiv,
  7123. "click": function () {
  7124. U.MD.D.I.openApplication(str, obj, info);
  7125. }
  7126. }
  7127. break;
  7128. case "doc":
  7129. aTool = 6;
  7130. _iframe = $$("iframe", {
  7131. "frameborder": "no",
  7132. "border": "0",
  7133. "scrolling ": "no",
  7134. "style": {
  7135. "cssText": "border:0;width:100%;height:100%"
  7136. },
  7137. "src": "/Office/Word/WordEditArea.htm"
  7138. })
  7139. _box.appendChild(_iframe);
  7140. _box.appendChild(_jie);
  7141. _formdiv = new U.UF.UI.form(
  7142. "協同文檔",
  7143. _box, {
  7144. "id": "doc" + cid + stage + task + tool,
  7145. "style": {
  7146. "width": "90%",
  7147. "height": "90%",
  7148. "overflow": 'hidden'
  7149. },
  7150. "onresize": function () { }
  7151. }, {
  7152. closecallback: function () { }
  7153. }, {
  7154. "style": {
  7155. "height": "36px"
  7156. }
  7157. }).form; //創建窗體
  7158. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7159. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7160. })
  7161. _taskbar = {
  7162. "id": str + _formdiv.id,
  7163. "style": {
  7164. "backgroundImage": "url(/img/icon/doc.png)"
  7165. },
  7166. "name": "協同文檔",
  7167. "forms": _formdiv,
  7168. "click": function () {
  7169. U.MD.D.I.openApplication(str, obj, info);
  7170. }
  7171. }
  7172. break;
  7173. case "mindNetwork": //好友打開
  7174. aTool = 7;
  7175. _iframe = $$("iframe", {
  7176. "webkitallowfullscreen": "",
  7177. "mozallowfullscreen": "",
  7178. "allowfullscreen": "",
  7179. "frameborder": "no",
  7180. "border": "0",
  7181. "scrolling ": "no",
  7182. "style": {
  7183. "cssText": "border:0; width:100%; height:100%;"
  7184. },
  7185. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7186. })
  7187. _box.appendChild(_iframe);
  7188. _box.appendChild(_jie);
  7189. _formdiv = new U.UF.UI.form(
  7190. "思維網格",
  7191. _box, {
  7192. "id": "mindNetwork" + 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/mindNetwork.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 "courseDesign":
  7219. _iframe = $$("iframe", {
  7220. "webkitallowfullscreen": "",
  7221. "mozallowfullscreen": "",
  7222. "allowfullscreen": "",
  7223. "frameborder": "no",
  7224. "border": "0",
  7225. "scrolling ": "no",
  7226. "style": {
  7227. "cssText": "border:0; width:100%; height:100%;"
  7228. },
  7229. "src": "/course-design-vue"
  7230. })
  7231. _box.appendChild(_iframe);
  7232. _box.appendChild(_jie);
  7233. _formdiv = new U.UF.UI.form(
  7234. "項目設計",
  7235. _box, {
  7236. "id": "courseDesign" + cid + stage + task + tool,
  7237. "style": {
  7238. "width": "90%",
  7239. "height": "90%",
  7240. "overflow": 'hidden'
  7241. },
  7242. "onresize": function () { }
  7243. }, {
  7244. closecallback: function () { }
  7245. }, {
  7246. "style": {
  7247. "height": "36px"
  7248. }
  7249. }).form; //創建窗體
  7250. _taskbar = {
  7251. "id": str + _formdiv.id,
  7252. "style": {
  7253. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7254. },
  7255. "name": "項目設計",
  7256. "forms": _formdiv,
  7257. "click": function () {
  7258. U.MD.D.I.openApplication(str, obj, info);
  7259. }
  7260. }
  7261. break;
  7262. }
  7263. const script1 = document.createElement("script");
  7264. script1.type = "text/javascript";
  7265. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7266. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7267. const script2 = document.createElement("script");
  7268. script2.type = "text/javascript";
  7269. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7270. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7271. const script3 = document.createElement("script");
  7272. script3.type = "text/javascript";
  7273. script3.charset = "UTF-8";
  7274. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7275. const script4 = document.createElement("script");
  7276. script4.type = "text/javascript";
  7277. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7278. script4.src = window.origin + "/js/Common/jietu2E.js";
  7279. if (_iframe) {
  7280. if (str == 'doc') {
  7281. _iframe = _formdiv.querySelector('iframe')
  7282. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7283. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7284. _iframe.contentWindow.document.body.appendChild(script1);
  7285. _iframe.contentWindow.document.body.appendChild(script2);
  7286. // _iframe.contentWindow.document.body.appendChild(script3);
  7287. _iframe.contentWindow.document.body.appendChild(script4);
  7288. })
  7289. if (onloadListener) {
  7290. _iframe.contentDocument.location.reload()
  7291. } else {
  7292. _iframe.contentDocument.location.reload()
  7293. }
  7294. } else if (str == 'courseDesign') {
  7295. U.UF.DL.iframeLoad(_iframe, function () {
  7296. // _iframe.contentWindow.U.MD.O.W.load();
  7297. // _iframe.contentWindow.document.body.appendChild(script1);
  7298. _iframe.contentWindow.document.body.appendChild(script2);
  7299. _iframe.contentWindow.document.body.appendChild(script4);
  7300. })
  7301. } else if (str == 'mind') {
  7302. _iframe = _formdiv.querySelector('iframe')
  7303. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7304. //
  7305. _iframe.contentWindow.document.body.appendChild(script1);
  7306. _iframe.contentWindow.document.body.appendChild(script2);
  7307. _iframe.contentWindow.document.body.appendChild(script4);
  7308. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7309. })
  7310. if (onloadListener) {
  7311. _iframe.contentDocument.location.reload()
  7312. } else {
  7313. _iframe.contentDocument.location.reload()
  7314. }
  7315. } else if (str == 'whiteboard') {
  7316. _iframe = _formdiv.querySelector('iframe')
  7317. let onloadListener = _iframe.onload = () => {
  7318. _iframe.contentWindow.document.body.appendChild(script1);
  7319. _iframe.contentWindow.document.body.appendChild(script2);
  7320. _iframe.contentWindow.document.body.appendChild(script4);
  7321. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7322. };
  7323. // if (onloadListener) {
  7324. // try {
  7325. // _iframe.src += "?cocorobo="+new Date().getTime()
  7326. // _iframe.contentWindow.document.location.reload()
  7327. // } catch (error) {
  7328. // }
  7329. // } else {
  7330. // _iframe.contentDocument.location.reload()
  7331. // }
  7332. } else {
  7333. _iframe.onload = () => {
  7334. _iframe.contentWindow.document.body.appendChild(script1);
  7335. _iframe.contentWindow.document.body.appendChild(script2);
  7336. // _iframe.contentWindow.document.body.appendChild(script3);
  7337. _iframe.contentWindow.document.body.appendChild(script4);
  7338. };
  7339. }
  7340. _jie.onclick = async () => {
  7341. let text = ''
  7342. if (aTool == 1) {
  7343. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7344. } else if (aTool == 6) {
  7345. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7346. } else if (aTool == 3) {
  7347. text = await U.MD.D.I.getEditorContent(_iframe);
  7348. }
  7349. _loading.style.display = 'flex'
  7350. console.log(_loading);
  7351. var _ajs = _iframe.contentWindow.document.createElement("script");
  7352. _ajs.type = "text/javascript";
  7353. _ajs.innerHTML =
  7354. // 'console.log(' + _loading + ');\n' +
  7355. 'var _js = document.createElement("script");\n' +
  7356. '_js.type="text/javascript";\n' +
  7357. '_js.charset="UTF-8";\n' +
  7358. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7359. "_js.onload = function(){\n" +
  7360. ' var a = document.getElementsByTagName("img")\n' +
  7361. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7362. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7363. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7364. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7365. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7366. "beforeUpload_shishi(file," +
  7367. "'" +
  7368. _userid +
  7369. "'" +
  7370. ", " +
  7371. "'" +
  7372. _cid +
  7373. "'" +
  7374. ", " +
  7375. "'" +
  7376. _stage +
  7377. "'" +
  7378. ", " +
  7379. "'" +
  7380. _task +
  7381. "'" +
  7382. ", " +
  7383. "'" +
  7384. _tool +
  7385. "'" +
  7386. ", " +
  7387. "'" +
  7388. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  7389. "'" +
  7390. ", " +
  7391. "'" +
  7392. aTool +
  7393. "'" +
  7394. ", " +
  7395. "`" +
  7396. text +
  7397. "`" +
  7398. ")\n" +
  7399. " });\n" +
  7400. "}\n" +
  7401. "document.head.appendChild(_js);\n";
  7402. _iframe.contentWindow.document.head.appendChild(_ajs);
  7403. }
  7404. }
  7405. //U.MD.D.I.openClick(str);
  7406. //如果有任務欄信息
  7407. // if (_taskbar) {
  7408. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7409. // }
  7410. }
  7411. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  7412. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7413. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7414. _userid = student.userid, //登錄用戶id
  7415. _username = student.student //用戶名字
  7416. let _iframe;
  7417. let _cid = cid,
  7418. _stage = stage,
  7419. _task = task,
  7420. _tool = tool;
  7421. var _jie = $$("div", {
  7422. "style": {
  7423. "position": "absolute",
  7424. "bottom": "50px",
  7425. "right": "50px",
  7426. "zIndex": "9999",
  7427. "backgroundColor": "#2268bc",
  7428. "color": "#fff",
  7429. "padding": "12px 20px",
  7430. "cursor": "pointer",
  7431. "borderRadius": "4px",
  7432. },
  7433. "innerHTML": "提交作業"
  7434. })
  7435. let aTool = ''
  7436. let _loading = document.createElement('div')
  7437. _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;"
  7438. // _loading.id = "";
  7439. let _lchild = document.createElement('div')
  7440. let _limg = document.createElement('img')
  7441. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7442. _limg.style = "width: 26px;margin-right: 10px;"
  7443. _lchild.appendChild(_limg)
  7444. let _lspan = document.createElement('span')
  7445. _lspan.innerHTML = "上傳中..."
  7446. _lchild.appendChild(_lspan)
  7447. _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%);"
  7448. _loading.appendChild(_lchild)
  7449. var _box = $$('div', {
  7450. "style": {
  7451. "position": "relative",
  7452. "width": "100%",
  7453. "height": "100%",
  7454. },
  7455. })
  7456. _box.appendChild(_loading)
  7457. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  7458. switch (str) {
  7459. case "whiteboard":
  7460. aTool = 1;
  7461. _iframe = $$("iframe", {
  7462. "frameborder": "no",
  7463. "border": "0",
  7464. "scrolling ": "no",
  7465. "style": {
  7466. "cssText": "border:0;width:100%;height:100%"
  7467. },
  7468. "src": "https://iwb.cocorobo.hk/"
  7469. })
  7470. _box.appendChild(_iframe);
  7471. _box.appendChild(_jie);
  7472. _formdiv = new U.UF.UI.form(
  7473. "電子白板-" + _username,
  7474. _box, {
  7475. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7476. "style": {
  7477. "width": "90%",
  7478. "height": "90%",
  7479. "overflow": 'hidden'
  7480. },
  7481. "onresize": function () { }
  7482. }, {
  7483. closecallback: function () { }
  7484. }, {
  7485. "style": {
  7486. "height": "36px"
  7487. }
  7488. }).form; //創建窗體
  7489. _taskbar = {
  7490. "id": str + _formdiv.id,
  7491. "style": {
  7492. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7493. },
  7494. "name": "電子白板",
  7495. "forms": _formdiv,
  7496. "click": function () {
  7497. U.MD.D.I.openApplication(str, obj, info);
  7498. }
  7499. }
  7500. break;
  7501. case "mind":
  7502. aTool = 3;
  7503. _iframe = $$("iframe", {
  7504. "frameborder": "no",
  7505. "border": "0",
  7506. "scrolling ": "no",
  7507. "style": {
  7508. "cssText": "border:0;width:100%;height:100%"
  7509. },
  7510. "src": "/kityminder-editor/dist/index.html"
  7511. })
  7512. _box.appendChild(_iframe);
  7513. _box.appendChild(_jie);
  7514. _formdiv = new U.UF.UI.form(
  7515. "思維導圖-" + _username,
  7516. _box, { //"/jsmind/example/demo.html"
  7517. "id": "mind" + cid + stage + task + tool + _userid,
  7518. "style": {
  7519. "width": "90%",
  7520. "height": "90%",
  7521. "overflow": 'hidden'
  7522. },
  7523. "onresize": function () { }
  7524. }, {
  7525. closecallback: function () { }
  7526. }, {
  7527. "style": {
  7528. "height": "36px"
  7529. }
  7530. }).form; //創建窗體
  7531. _taskbar = {
  7532. "id": str + _formdiv.id,
  7533. "style": {
  7534. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7535. },
  7536. "name": "思維導圖",
  7537. "forms": _formdiv,
  7538. "click": function () {
  7539. U.MD.D.I.openApplication(str, obj, info);
  7540. }
  7541. }
  7542. break;
  7543. case "MindMap":
  7544. aTool = 3;
  7545. _iframe = $$("iframe", {
  7546. "frameborder": "no",
  7547. "border": "0",
  7548. "scrolling ": "no",
  7549. "style": {
  7550. "cssText": "border:0;width:100%;height:100%"
  7551. },
  7552. "src": "//cloud.cocorobo.hk/mind/"
  7553. })
  7554. _box.appendChild(_iframe);
  7555. _box.appendChild(_jie);
  7556. _formdiv = new U.UF.UI.form(
  7557. "思維導圖-" + _username,
  7558. _box, { //"/jsmind/example/demo.html"
  7559. "id": "mind" + cid + stage + task + tool + _userid,
  7560. "style": {
  7561. "width": "90%",
  7562. "height": "90%",
  7563. "overflow": 'hidden'
  7564. },
  7565. "onresize": function () { }
  7566. }, {
  7567. closecallback: function () { }
  7568. }, {
  7569. "style": {
  7570. "height": "36px"
  7571. }
  7572. }).form; //創建窗體
  7573. _taskbar = {
  7574. "id": str + _formdiv.id,
  7575. "style": {
  7576. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7577. },
  7578. "name": "思維導圖",
  7579. "forms": _formdiv,
  7580. "click": function () {
  7581. U.MD.D.I.openApplication(str, obj, info);
  7582. }
  7583. }
  7584. break;
  7585. case "doc":
  7586. aTool = 6;
  7587. _iframe = $$("iframe", {
  7588. "frameborder": "no",
  7589. "border": "0",
  7590. "scrolling ": "no",
  7591. "style": {
  7592. "cssText": "border:0;width:100%;height:100%"
  7593. },
  7594. "src": "/Office/Word/WordEditArea.htm"
  7595. })
  7596. _box.appendChild(_iframe);
  7597. _box.appendChild(_jie);
  7598. _formdiv = new U.UF.UI.form(
  7599. "協同文檔-" + _username,
  7600. _box, {
  7601. "id": "doc" + cid + stage + task + tool + _userid,
  7602. "style": {
  7603. "width": "90%",
  7604. "height": "90%",
  7605. "overflow": 'hidden'
  7606. },
  7607. "onresize": function () { }
  7608. }, {
  7609. closecallback: function () { }
  7610. }, {
  7611. "style": {
  7612. "height": "36px"
  7613. }
  7614. }).form; //創建窗體
  7615. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7616. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7617. })
  7618. _taskbar = {
  7619. "id": str + _formdiv.id,
  7620. "style": {
  7621. "backgroundImage": "url(/img/icon/doc.png)"
  7622. },
  7623. "name": "協同文檔",
  7624. "forms": _formdiv,
  7625. "click": function () {
  7626. U.MD.D.I.openApplication(str, obj, info);
  7627. }
  7628. }
  7629. break;
  7630. case "mindNetwork": //好友打開
  7631. aTool = 7;
  7632. _iframe = $$("iframe", {
  7633. "webkitallowfullscreen": "",
  7634. "mozallowfullscreen": "",
  7635. "allowfullscreen": "",
  7636. "frameborder": "no",
  7637. "border": "0",
  7638. "scrolling ": "no",
  7639. "style": {
  7640. "cssText": "border:0; width:100%; height:100%;"
  7641. },
  7642. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  7643. })
  7644. _box.appendChild(_iframe);
  7645. _box.appendChild(_jie);
  7646. _formdiv = new U.UF.UI.form(
  7647. "思維網格-" + _username,
  7648. _box, {
  7649. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  7650. "style": {
  7651. "width": "90%",
  7652. "height": "90%",
  7653. "overflow": 'hidden'
  7654. },
  7655. "onresize": function () { }
  7656. }, {
  7657. closecallback: function () { }
  7658. }, {
  7659. "style": {
  7660. "height": "36px"
  7661. }
  7662. }).form; //創建窗體
  7663. _taskbar = {
  7664. "id": str + _formdiv.id,
  7665. "style": {
  7666. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  7667. },
  7668. "name": "思維網格",
  7669. "forms": _formdiv,
  7670. "click": function () {
  7671. U.MD.D.I.openApplication(str, obj, info);
  7672. }
  7673. }
  7674. break;
  7675. case "courseDesign":
  7676. _iframe = $$("iframe", {
  7677. "webkitallowfullscreen": "",
  7678. "mozallowfullscreen": "",
  7679. "allowfullscreen": "",
  7680. "frameborder": "no",
  7681. "border": "0",
  7682. "scrolling ": "no",
  7683. "style": {
  7684. "cssText": "border:0; width:100%; height:100%;"
  7685. },
  7686. "src": "/course-design-vue"
  7687. })
  7688. _box.appendChild(_iframe);
  7689. _box.appendChild(_jie);
  7690. _formdiv = new U.UF.UI.form(
  7691. "項目設計-" + _username,
  7692. _box, {
  7693. "id": "courseDesign" + cid + stage + task + tool + _userid,
  7694. "style": {
  7695. "width": "90%",
  7696. "height": "90%",
  7697. "overflow": 'hidden'
  7698. },
  7699. "onresize": function () { }
  7700. }, {
  7701. closecallback: function () { }
  7702. }, {
  7703. "style": {
  7704. "height": "36px"
  7705. }
  7706. }).form; //創建窗體
  7707. _taskbar = {
  7708. "id": str + _formdiv.id,
  7709. "style": {
  7710. "backgroundImage": "url(/img/icon/courseDesign.png)"
  7711. },
  7712. "name": "項目設計",
  7713. "forms": _formdiv,
  7714. "click": function () {
  7715. U.MD.D.I.openApplication(str, obj, info);
  7716. }
  7717. }
  7718. break;
  7719. }
  7720. const script1 = document.createElement("script");
  7721. script1.type = "text/javascript";
  7722. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7723. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7724. const script2 = document.createElement("script");
  7725. script2.type = "text/javascript";
  7726. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7727. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7728. const script3 = document.createElement("script");
  7729. script3.type = "text/javascript";
  7730. script3.charset = "UTF-8";
  7731. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7732. const script4 = document.createElement("script");
  7733. script4.type = "text/javascript";
  7734. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  7735. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  7736. if (_iframe) {
  7737. if (str == 'doc') {
  7738. _iframe = _formdiv.querySelector('iframe')
  7739. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7740. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  7741. _iframe.contentWindow.document.body.appendChild(script1);
  7742. _iframe.contentWindow.document.body.appendChild(script2);
  7743. // _iframe.contentWindow.document.body.appendChild(script3);
  7744. _iframe.contentWindow.document.body.appendChild(script4);
  7745. })
  7746. if (onloadListener) {
  7747. _iframe.contentDocument.location.reload()
  7748. } else {
  7749. _iframe.contentDocument.location.reload()
  7750. }
  7751. } else if (str == 'courseDesign') {
  7752. U.UF.DL.iframeLoad(_iframe, function () {
  7753. // _iframe.contentWindow.U.MD.O.W.load();
  7754. // _iframe.contentWindow.document.body.appendChild(script1);
  7755. _iframe.contentWindow.document.body.appendChild(script2);
  7756. _iframe.contentWindow.document.body.appendChild(script4);
  7757. })
  7758. } else if (str == 'mind') {
  7759. _iframe = _formdiv.querySelector('iframe')
  7760. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7761. //
  7762. _iframe.contentWindow.document.body.appendChild(script1);
  7763. _iframe.contentWindow.document.body.appendChild(script2);
  7764. _iframe.contentWindow.document.body.appendChild(script4);
  7765. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  7766. })
  7767. if (onloadListener) {
  7768. _iframe.contentDocument.location.reload()
  7769. } else {
  7770. _iframe.contentDocument.location.reload()
  7771. }
  7772. } else if (str == 'whiteboard') {
  7773. _iframe = _formdiv.querySelector('iframe')
  7774. let onloadListener = _iframe.onload = () => {
  7775. _iframe.contentWindow.document.body.appendChild(script1);
  7776. _iframe.contentWindow.document.body.appendChild(script2);
  7777. _iframe.contentWindow.document.body.appendChild(script4);
  7778. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  7779. };
  7780. // if (onloadListener) {
  7781. // try {
  7782. // _iframe.src += "?cocorobo="+new Date().getTime()
  7783. // _iframe.contentWindow.document.location.reload()
  7784. // } catch (error) {
  7785. // }
  7786. // } else {
  7787. // _iframe.contentDocument.location.reload()
  7788. // }
  7789. } else {
  7790. _iframe.onload = () => {
  7791. _iframe.contentWindow.document.body.appendChild(script1);
  7792. _iframe.contentWindow.document.body.appendChild(script2);
  7793. // _iframe.contentWindow.document.body.appendChild(script3);
  7794. _iframe.contentWindow.document.body.appendChild(script4);
  7795. };
  7796. }
  7797. _jie.onclick = async () => {
  7798. let text = ''
  7799. if (aTool == 1) {
  7800. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7801. } else if (aTool == 6) {
  7802. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7803. } else if (aTool == 3) {
  7804. text = await U.MD.D.I.getEditorContent(_iframe);
  7805. }
  7806. _loading.style.display = 'flex'
  7807. console.log(_loading);
  7808. var _ajs = _iframe.contentWindow.document.createElement("script");
  7809. _ajs.type = "text/javascript";
  7810. _ajs.innerHTML =
  7811. // 'console.log(' + _loading + ');\n' +
  7812. 'var _js = document.createElement("script");\n' +
  7813. '_js.type="text/javascript";\n' +
  7814. '_js.charset="UTF-8";\n' +
  7815. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7816. "_js.onload = function(){\n" +
  7817. ' var a = document.getElementsByTagName("img")\n' +
  7818. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7819. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7820. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7821. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7822. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7823. "beforeUpload_shishi(file," +
  7824. "'" +
  7825. _userid +
  7826. "'" +
  7827. ", " +
  7828. "'" +
  7829. _cid +
  7830. "'" +
  7831. ", " +
  7832. "'" +
  7833. _stage +
  7834. "'" +
  7835. ", " +
  7836. "'" +
  7837. _task +
  7838. "'" +
  7839. ", " +
  7840. "'" +
  7841. _tool +
  7842. "'" +
  7843. ", " +
  7844. "'" +
  7845. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  7846. "'" +
  7847. ", " +
  7848. "'" +
  7849. aTool +
  7850. "'" +
  7851. ", " +
  7852. "`" +
  7853. text +
  7854. "`" +
  7855. ")\n" +
  7856. " });\n" +
  7857. "}\n" +
  7858. "document.head.appendChild(_js);\n";
  7859. _iframe.contentWindow.document.head.appendChild(_ajs);
  7860. }
  7861. }
  7862. }
  7863. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  7864. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7865. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7866. _userid = student.userid, //登錄用戶id
  7867. _username = student.student //用戶名字
  7868. let _iframe;
  7869. let _cid = cid,
  7870. _stage = stage,
  7871. _task = task,
  7872. _tool = tool;
  7873. var _jie = $$("div", {
  7874. "style": {
  7875. "position": "absolute",
  7876. "bottom": "50px",
  7877. "right": "50px",
  7878. "zIndex": "9999",
  7879. "backgroundColor": "#2268bc",
  7880. "color": "#fff",
  7881. "padding": "12px 20px",
  7882. "cursor": "pointer",
  7883. "borderRadius": "4px",
  7884. },
  7885. "innerHTML": "提交作業"
  7886. })
  7887. let aTool = ''
  7888. let _loading = document.createElement('div')
  7889. _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;"
  7890. // _loading.id = "";
  7891. let _lchild = document.createElement('div')
  7892. let _limg = document.createElement('img')
  7893. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7894. _limg.style = "width: 26px;margin-right: 10px;"
  7895. _lchild.appendChild(_limg)
  7896. let _lspan = document.createElement('span')
  7897. _lspan.innerHTML = "上傳中..."
  7898. _lchild.appendChild(_lspan)
  7899. _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%);"
  7900. _loading.appendChild(_lchild)
  7901. var _box = $$('div', {
  7902. "style": {
  7903. "position": "relative",
  7904. "width": "100%",
  7905. "height": "100%",
  7906. },
  7907. })
  7908. _box.appendChild(_loading)
  7909. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  7910. switch (str) {
  7911. case "whiteboard":
  7912. aTool = 1;
  7913. _iframe = $$("iframe", {
  7914. "frameborder": "no",
  7915. "border": "0",
  7916. "scrolling ": "no",
  7917. "style": {
  7918. "cssText": "border:0;width:100%;height:100%"
  7919. },
  7920. "src": "https://iwb.cocorobo.hk/"
  7921. })
  7922. _box.appendChild(_iframe);
  7923. _box.appendChild(_jie);
  7924. _formdiv = new U.UF.UI.form(
  7925. "電子白板-" + _username,
  7926. _box, {
  7927. "id": "whiteboard" + cid + stage + task + tool + _userid,
  7928. "style": {
  7929. "width": "90%",
  7930. "height": "90%",
  7931. "overflow": 'hidden'
  7932. },
  7933. "onresize": function () { }
  7934. }, {
  7935. closecallback: function () { }
  7936. }, {
  7937. "style": {
  7938. "height": "36px"
  7939. }
  7940. }).form; //創建窗體
  7941. _taskbar = {
  7942. "id": str + _formdiv.id,
  7943. "style": {
  7944. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7945. },
  7946. "name": "電子白板",
  7947. "forms": _formdiv,
  7948. "click": function () {
  7949. U.MD.D.I.openApplication(str, obj, info);
  7950. }
  7951. }
  7952. break;
  7953. case "mind":
  7954. aTool = 3;
  7955. _iframe = $$("iframe", {
  7956. "frameborder": "no",
  7957. "border": "0",
  7958. "scrolling ": "no",
  7959. "style": {
  7960. "cssText": "border:0;width:100%;height:100%"
  7961. },
  7962. "src": "/kityminder-editor/dist/index.html"
  7963. })
  7964. _box.appendChild(_iframe);
  7965. _box.appendChild(_jie);
  7966. _formdiv = new U.UF.UI.form(
  7967. "思維導圖-" + _username,
  7968. _box, { //"/jsmind/example/demo.html"
  7969. "id": "mind" + cid + stage + task + tool + _userid,
  7970. "style": {
  7971. "width": "90%",
  7972. "height": "90%",
  7973. "overflow": 'hidden'
  7974. },
  7975. "onresize": function () { }
  7976. }, {
  7977. closecallback: function () { }
  7978. }, {
  7979. "style": {
  7980. "height": "36px"
  7981. }
  7982. }).form; //創建窗體
  7983. _taskbar = {
  7984. "id": str + _formdiv.id,
  7985. "style": {
  7986. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7987. },
  7988. "name": "思維導圖",
  7989. "forms": _formdiv,
  7990. "click": function () {
  7991. U.MD.D.I.openApplication(str, obj, info);
  7992. }
  7993. }
  7994. break;
  7995. case "MindMap":
  7996. aTool = 3;
  7997. _iframe = $$("iframe", {
  7998. "frameborder": "no",
  7999. "border": "0",
  8000. "scrolling ": "no",
  8001. "style": {
  8002. "cssText": "border:0;width:100%;height:100%"
  8003. },
  8004. "src": "//cloud.cocorobo.hk/mind/"
  8005. })
  8006. _box.appendChild(_iframe);
  8007. _box.appendChild(_jie);
  8008. _formdiv = new U.UF.UI.form(
  8009. "思維導圖-" + _username,
  8010. _box, { //"/jsmind/example/demo.html"
  8011. "id": "mind" + cid + stage + task + tool + _userid,
  8012. "style": {
  8013. "width": "90%",
  8014. "height": "90%",
  8015. "overflow": 'hidden'
  8016. },
  8017. "onresize": function () { }
  8018. }, {
  8019. closecallback: function () { }
  8020. }, {
  8021. "style": {
  8022. "height": "36px"
  8023. }
  8024. }).form; //創建窗體
  8025. _taskbar = {
  8026. "id": str + _formdiv.id,
  8027. "style": {
  8028. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8029. },
  8030. "name": "思維導圖",
  8031. "forms": _formdiv,
  8032. "click": function () {
  8033. U.MD.D.I.openApplication(str, obj, info);
  8034. }
  8035. }
  8036. break;
  8037. case "doc":
  8038. aTool = 6;
  8039. _iframe = $$("iframe", {
  8040. "frameborder": "no",
  8041. "border": "0",
  8042. "scrolling ": "no",
  8043. "style": {
  8044. "cssText": "border:0;width:100%;height:100%"
  8045. },
  8046. "src": "/Office/Word/WordEditArea.htm"
  8047. })
  8048. _box.appendChild(_iframe);
  8049. _box.appendChild(_jie);
  8050. _formdiv = new U.UF.UI.form(
  8051. "協同文檔-" + _username,
  8052. _box, {
  8053. "id": "doc" + cid + stage + task + tool + _userid,
  8054. "style": {
  8055. "width": "90%",
  8056. "height": "90%",
  8057. "overflow": 'hidden'
  8058. },
  8059. "onresize": function () { }
  8060. }, {
  8061. closecallback: function () { }
  8062. }, {
  8063. "style": {
  8064. "height": "36px"
  8065. }
  8066. }).form; //創建窗體
  8067. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8068. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  8069. })
  8070. _taskbar = {
  8071. "id": str + _formdiv.id,
  8072. "style": {
  8073. "backgroundImage": "url(/img/icon/doc.png)"
  8074. },
  8075. "name": "協同文檔",
  8076. "forms": _formdiv,
  8077. "click": function () {
  8078. U.MD.D.I.openApplication(str, obj, info);
  8079. }
  8080. }
  8081. break;
  8082. case "mindNetwork": //好友打開
  8083. aTool = 7;
  8084. _iframe = $$("iframe", {
  8085. "webkitallowfullscreen": "",
  8086. "mozallowfullscreen": "",
  8087. "allowfullscreen": "",
  8088. "frameborder": "no",
  8089. "border": "0",
  8090. "scrolling ": "no",
  8091. "style": {
  8092. "cssText": "border:0; width:100%; height:100%;"
  8093. },
  8094. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  8095. })
  8096. _box.appendChild(_iframe);
  8097. _box.appendChild(_jie);
  8098. _formdiv = new U.UF.UI.form(
  8099. "思維網格-" + _username,
  8100. _box, {
  8101. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  8102. "style": {
  8103. "width": "90%",
  8104. "height": "90%",
  8105. "overflow": 'hidden'
  8106. },
  8107. "onresize": function () { }
  8108. }, {
  8109. closecallback: function () { }
  8110. }, {
  8111. "style": {
  8112. "height": "36px"
  8113. }
  8114. }).form; //創建窗體
  8115. _taskbar = {
  8116. "id": str + _formdiv.id,
  8117. "style": {
  8118. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  8119. },
  8120. "name": "思維網格",
  8121. "forms": _formdiv,
  8122. "click": function () {
  8123. U.MD.D.I.openApplication(str, obj, info);
  8124. }
  8125. }
  8126. break;
  8127. case "courseDesign":
  8128. _iframe = $$("iframe", {
  8129. "webkitallowfullscreen": "",
  8130. "mozallowfullscreen": "",
  8131. "allowfullscreen": "",
  8132. "frameborder": "no",
  8133. "border": "0",
  8134. "scrolling ": "no",
  8135. "style": {
  8136. "cssText": "border:0; width:100%; height:100%;"
  8137. },
  8138. "src": "/course-design-vue"
  8139. })
  8140. _box.appendChild(_iframe);
  8141. _box.appendChild(_jie);
  8142. _formdiv = new U.UF.UI.form(
  8143. "項目設計-" + _username,
  8144. _box, {
  8145. "id": "courseDesign" + cid + stage + task + tool + _userid,
  8146. "style": {
  8147. "width": "90%",
  8148. "height": "90%",
  8149. "overflow": 'hidden'
  8150. },
  8151. "onresize": function () { }
  8152. }, {
  8153. closecallback: function () { }
  8154. }, {
  8155. "style": {
  8156. "height": "36px"
  8157. }
  8158. }).form; //創建窗體
  8159. _taskbar = {
  8160. "id": str + _formdiv.id,
  8161. "style": {
  8162. "backgroundImage": "url(/img/icon/courseDesign.png)"
  8163. },
  8164. "name": "項目設計",
  8165. "forms": _formdiv,
  8166. "click": function () {
  8167. U.MD.D.I.openApplication(str, obj, info);
  8168. }
  8169. }
  8170. break;
  8171. }
  8172. const script1 = document.createElement("script");
  8173. script1.type = "text/javascript";
  8174. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8175. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8176. const script2 = document.createElement("script");
  8177. script2.type = "text/javascript";
  8178. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8179. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8180. const script3 = document.createElement("script");
  8181. script3.type = "text/javascript";
  8182. script3.charset = "UTF-8";
  8183. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8184. const script4 = document.createElement("script");
  8185. script4.type = "text/javascript";
  8186. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  8187. script4.src = window.origin + "/js/Common/jietu2E.js";
  8188. if (_iframe) {
  8189. if (str == 'doc') {
  8190. _iframe = _formdiv.querySelector('iframe')
  8191. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8192. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  8193. _iframe.contentWindow.document.body.appendChild(script1);
  8194. _iframe.contentWindow.document.body.appendChild(script2);
  8195. // _iframe.contentWindow.document.body.appendChild(script3);
  8196. _iframe.contentWindow.document.body.appendChild(script4);
  8197. })
  8198. if (onloadListener) {
  8199. _iframe.contentDocument.location.reload()
  8200. } else {
  8201. _iframe.contentDocument.location.reload()
  8202. }
  8203. } else if (str == 'courseDesign') {
  8204. U.UF.DL.iframeLoad(_iframe, function () {
  8205. // _iframe.contentWindow.U.MD.O.W.load();
  8206. // _iframe.contentWindow.document.body.appendChild(script1);
  8207. _iframe.contentWindow.document.body.appendChild(script2);
  8208. _iframe.contentWindow.document.body.appendChild(script4);
  8209. })
  8210. } else if (str == 'mind') {
  8211. _iframe = _formdiv.querySelector('iframe')
  8212. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8213. //
  8214. _iframe.contentWindow.document.body.appendChild(script1);
  8215. _iframe.contentWindow.document.body.appendChild(script2);
  8216. _iframe.contentWindow.document.body.appendChild(script4);
  8217. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  8218. })
  8219. if (onloadListener) {
  8220. _iframe.contentDocument.location.reload()
  8221. } else {
  8222. _iframe.contentDocument.location.reload()
  8223. }
  8224. } else if (str == 'whiteboard') {
  8225. _iframe = _formdiv.querySelector('iframe')
  8226. let onloadListener = _iframe.onload = () => {
  8227. _iframe.contentWindow.document.body.appendChild(script1);
  8228. _iframe.contentWindow.document.body.appendChild(script2);
  8229. _iframe.contentWindow.document.body.appendChild(script4);
  8230. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  8231. };
  8232. // if (onloadListener) {
  8233. // try {
  8234. // _iframe.src += "?cocorobo="+new Date().getTime()
  8235. // _iframe.contentWindow.document.location.reload()
  8236. // } catch (error) {
  8237. // }
  8238. // } else {
  8239. // _iframe.contentDocument.location.reload()
  8240. // }
  8241. } else {
  8242. _iframe.onload = () => {
  8243. _iframe.contentWindow.document.body.appendChild(script1);
  8244. _iframe.contentWindow.document.body.appendChild(script2);
  8245. // _iframe.contentWindow.document.body.appendChild(script3);
  8246. _iframe.contentWindow.document.body.appendChild(script4);
  8247. };
  8248. }
  8249. _jie.onclick = async () => {
  8250. let text = ''
  8251. if (aTool == 1) {
  8252. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  8253. } else if (aTool == 6) {
  8254. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8255. } else if (aTool == 3) {
  8256. text = await U.MD.D.I.getEditorContent(_iframe);
  8257. }
  8258. _loading.style.display = 'flex'
  8259. console.log(_loading);
  8260. var _ajs = _iframe.contentWindow.document.createElement("script");
  8261. _ajs.type = "text/javascript";
  8262. _ajs.innerHTML =
  8263. // 'console.log(' + _loading + ');\n' +
  8264. 'var _js = document.createElement("script");\n' +
  8265. '_js.type="text/javascript";\n' +
  8266. '_js.charset="UTF-8";\n' +
  8267. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8268. "_js.onload = function(){\n" +
  8269. ' var a = document.getElementsByTagName("img")\n' +
  8270. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8271. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8272. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8273. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8274. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8275. "beforeUpload_shishi(file," +
  8276. "'" +
  8277. _userid +
  8278. "'" +
  8279. ", " +
  8280. "'" +
  8281. _cid +
  8282. "'" +
  8283. ", " +
  8284. "'" +
  8285. _stage +
  8286. "'" +
  8287. ", " +
  8288. "'" +
  8289. _task +
  8290. "'" +
  8291. ", " +
  8292. "'" +
  8293. _tool +
  8294. "'" +
  8295. ", " +
  8296. "'" +
  8297. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  8298. "'" +
  8299. ", " +
  8300. "'" +
  8301. aTool +
  8302. "'" +
  8303. ", " +
  8304. "`" +
  8305. text +
  8306. "`" +
  8307. ")\n" +
  8308. " });\n" +
  8309. "}\n" +
  8310. "document.head.appendChild(_js);\n";
  8311. _iframe.contentWindow.document.head.appendChild(_ajs);
  8312. }
  8313. }
  8314. }
  8315. U.MD.D.I.getEditorContent = function (iframe) {
  8316. return new Promise((resolve, reject) => {
  8317. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  8318. console.log(content);
  8319. resolve(content)
  8320. });
  8321. });
  8322. }
  8323. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  8324. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  8325. // if (res.value[0].length > 0) {
  8326. // // resolve(res.value[0][0].text);
  8327. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  8328. // $(fileInput).val('');
  8329. // });
  8330. // }
  8331. // }, [], { "type": "GET", "withCredentials": true });
  8332. var xmlhttp;
  8333. var Mac, Sn, DeviceId
  8334. if (window.XMLHttpRequest) {
  8335. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  8336. xmlhttp = new XMLHttpRequest();
  8337. }
  8338. else {
  8339. // IE6, IE5 瀏覽器執行代碼
  8340. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  8341. }
  8342. xmlhttp.onreadystatechange = function () {
  8343. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  8344. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  8345. // resolve(res.value[0][0].text);
  8346. if (type == '2') {
  8347. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  8348. } else if (type == '3') {
  8349. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  8350. }
  8351. } else {
  8352. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  8353. }
  8354. }
  8355. }
  8356. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  8357. xmlhttp.send();
  8358. }
  8359. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  8360. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8361. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8362. _userinfo = US.userInfo, //登錄用戶信息
  8363. _userid = US.userInfo.userid //登錄用戶id
  8364. let _iframe;
  8365. let _cid = cid,
  8366. _stage = stage,
  8367. _task = task,
  8368. _tool = tool;
  8369. var _jie = $$("div", {
  8370. "style": {
  8371. "position": "absolute",
  8372. "bottom": "50px",
  8373. "right": "50px",
  8374. "zIndex": "9999",
  8375. "backgroundColor": "#2268bc",
  8376. "color": "#fff",
  8377. "padding": "12px 20px",
  8378. "cursor": "pointer",
  8379. "borderRadius": "4px",
  8380. },
  8381. "innerHTML": "確認並提交"
  8382. })
  8383. let aTool = ''
  8384. let _loading = document.createElement('div')
  8385. _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;"
  8386. // _loading.id = "";
  8387. let _lchild = document.createElement('div')
  8388. let _limg = document.createElement('img')
  8389. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8390. _limg.style = "width: 26px;margin-right: 10px;"
  8391. _lchild.appendChild(_limg)
  8392. let _lspan = document.createElement('span')
  8393. _lspan.innerHTML = "上傳中..."
  8394. _lchild.appendChild(_lspan)
  8395. _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%);"
  8396. _loading.appendChild(_lchild)
  8397. var _box = $$('div', {
  8398. "style": {
  8399. "position": "relative",
  8400. "width": "100%",
  8401. "height": "100%",
  8402. },
  8403. })
  8404. _box.appendChild(_loading)
  8405. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  8406. switch (str) {
  8407. case "whiteboard":
  8408. aTool = 1;
  8409. _iframe = $$("iframe", {
  8410. "frameborder": "no",
  8411. "border": "0",
  8412. "scrolling ": "no",
  8413. "style": {
  8414. "cssText": "border:0;width:100%;height:100%"
  8415. },
  8416. "src": "https://iwb.cocorobo.hk/"
  8417. })
  8418. _box.appendChild(_iframe);
  8419. _box.appendChild(_jie);
  8420. _formdiv = new U.UF.UI.form(
  8421. "電子白板",
  8422. _box, {
  8423. "id": "whiteboards" + cid + stage + task + tool,
  8424. "style": {
  8425. "width": "90%",
  8426. "height": "90%",
  8427. "overflow": 'hidden'
  8428. },
  8429. "onresize": function () { }
  8430. }, {
  8431. closecallback: function () { }
  8432. }, {
  8433. "style": {
  8434. "height": "36px"
  8435. }
  8436. }).form; //創建窗體
  8437. _taskbar = {
  8438. "id": str + _formdiv.id,
  8439. "style": {
  8440. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8441. },
  8442. "name": "電子白板",
  8443. "forms": _formdiv,
  8444. "click": function () {
  8445. U.MD.D.I.openApplication(str, obj, info);
  8446. }
  8447. }
  8448. break;
  8449. case "mind":
  8450. aTool = 3;
  8451. _iframe = $$("iframe", {
  8452. "frameborder": "no",
  8453. "border": "0",
  8454. "scrolling ": "no",
  8455. "style": {
  8456. "cssText": "border:0;width:100%;height:100%"
  8457. },
  8458. "src": "/kityminder-editor/dist/index.html"
  8459. });
  8460. _box.appendChild(_iframe);
  8461. _box.appendChild(_jie);
  8462. _formdiv = new U.UF.UI.form(
  8463. "思維導圖",
  8464. _box, { //"/jsmind/example/demo.html"
  8465. "id": "minds" + cid + stage + task + tool,
  8466. "style": {
  8467. "width": "90%",
  8468. "height": "90%",
  8469. "overflow": 'hidden'
  8470. },
  8471. "onresize": function () { }
  8472. }, {
  8473. closecallback: function () { }
  8474. }, {
  8475. "style": {
  8476. "height": "36px"
  8477. }
  8478. }).form; //創建窗體
  8479. _taskbar = {
  8480. "id": str + _formdiv.id,
  8481. "style": {
  8482. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8483. },
  8484. "name": "思維導圖",
  8485. "forms": _formdiv,
  8486. "click": function () {
  8487. U.MD.D.I.openApplication(str, obj, info);
  8488. }
  8489. }
  8490. break;
  8491. case "doc":
  8492. aTool = 6;
  8493. _iframe = $$("iframe", {
  8494. "frameborder": "no",
  8495. "border": "0",
  8496. "scrolling ": "no",
  8497. "style": {
  8498. "cssText": "border:0;width:100%;height:100%"
  8499. },
  8500. "src": "/Office/Word/WordEditArea.htm"
  8501. })
  8502. _box.appendChild(_iframe);
  8503. _box.appendChild(_jie);
  8504. _formdiv = new U.UF.UI.form(
  8505. "協同文檔",
  8506. _box, {
  8507. "id": "docs" + cid + stage + task + tool,
  8508. "style": {
  8509. "width": "90%",
  8510. "height": "90%",
  8511. "overflow": 'hidden'
  8512. },
  8513. "onresize": function () { }
  8514. }, {
  8515. closecallback: function () { }
  8516. }, {
  8517. "style": {
  8518. "height": "36px"
  8519. }
  8520. }).form; //創建窗體
  8521. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8522. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8523. })
  8524. _taskbar = {
  8525. "id": str + _formdiv.id,
  8526. "style": {
  8527. "backgroundImage": "url(/img/icon/doc.png)"
  8528. },
  8529. "name": "協同文檔",
  8530. "forms": _formdiv,
  8531. "click": function () {
  8532. U.MD.D.I.openApplication(str, obj, info);
  8533. }
  8534. }
  8535. break;
  8536. }
  8537. const script1 = document.createElement("script");
  8538. script1.type = "text/javascript";
  8539. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8540. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8541. const script2 = document.createElement("script");
  8542. script2.type = "text/javascript";
  8543. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8544. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8545. const script3 = document.createElement("script");
  8546. script3.type = "text/javascript";
  8547. script3.charset = "UTF-8";
  8548. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8549. const script4 = document.createElement("script");
  8550. script4.type = "text/javascript";
  8551. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8552. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  8553. if (_iframe) {
  8554. if (str == 'doc') {
  8555. _iframe = _formdiv.querySelector('iframe')
  8556. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8557. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8558. _iframe.contentWindow.document.body.appendChild(script1);
  8559. _iframe.contentWindow.document.body.appendChild(script2);
  8560. // _iframe.contentWindow.document.body.appendChild(script3);
  8561. _iframe.contentWindow.document.body.appendChild(script4);
  8562. })
  8563. if (onloadListener) {
  8564. _iframe.contentDocument.location.reload()
  8565. } else {
  8566. _iframe.contentDocument.location.reload()
  8567. }
  8568. } else if (str == 'mind') {
  8569. _iframe = _formdiv.querySelector('iframe')
  8570. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8571. _iframe.contentWindow.document.body.appendChild(script1);
  8572. _iframe.contentWindow.document.body.appendChild(script2);
  8573. _iframe.contentWindow.document.body.appendChild(script4);
  8574. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8575. })
  8576. if (onloadListener) {
  8577. _iframe.contentDocument.location.reload()
  8578. } else {
  8579. _iframe.contentDocument.location.reload()
  8580. }
  8581. } else {
  8582. _iframe.onload = () => {
  8583. _iframe.contentWindow.document.body.appendChild(script1);
  8584. _iframe.contentWindow.document.body.appendChild(script2);
  8585. // _iframe.contentWindow.document.body.appendChild(script3);
  8586. _iframe.contentWindow.document.body.appendChild(script4);
  8587. };
  8588. }
  8589. _jie.onclick = async () => {
  8590. let text = ''
  8591. if (aTool == 6) {
  8592. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8593. } else if (aTool == 3) {
  8594. text = await U.MD.D.I.getEditorContent(_iframe);
  8595. }
  8596. _loading.style.display = 'flex'
  8597. console.log(_loading);
  8598. var _ajs = _iframe.contentWindow.document.createElement("script");
  8599. _ajs.type = "text/javascript";
  8600. _ajs.innerHTML =
  8601. // 'console.log(' + _loading + ');\n' +
  8602. 'var _js = document.createElement("script");\n' +
  8603. '_js.type="text/javascript";\n' +
  8604. '_js.charset="UTF-8";\n' +
  8605. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8606. "_js.onload = function(){\n" +
  8607. ' var a = document.getElementsByTagName("img")\n' +
  8608. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8609. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8610. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8611. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8612. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8613. "beforeUpload_shishi(file," +
  8614. "'" +
  8615. _userid +
  8616. "'" +
  8617. ", " +
  8618. "'" +
  8619. _cid +
  8620. "'" +
  8621. ", " +
  8622. "'" +
  8623. _stage +
  8624. "'" +
  8625. ", " +
  8626. "'" +
  8627. _task +
  8628. "'" +
  8629. ", " +
  8630. "'" +
  8631. _tool +
  8632. "'" +
  8633. ", " +
  8634. "'" +
  8635. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  8636. "'" +
  8637. ", " +
  8638. "'" +
  8639. aTool +
  8640. "'" +
  8641. ", " +
  8642. "`" +
  8643. text +
  8644. "`" +
  8645. ")\n" +
  8646. " });\n" +
  8647. "}\n" +
  8648. "document.head.appendChild(_js);\n";
  8649. _iframe.contentWindow.document.head.appendChild(_ajs);
  8650. }
  8651. }
  8652. //U.MD.D.I.openClick(str);
  8653. //如果有任務欄信息
  8654. // if (_taskbar) {
  8655. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8656. // }
  8657. }
  8658. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  8659. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8660. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8661. _userinfo = US.userInfo, //登錄用戶信息
  8662. _userid = US.userInfo.userid //登錄用戶id
  8663. let _iframe;
  8664. let _cid = cid,
  8665. _stage = stage,
  8666. _task = task,
  8667. _tool = tool;
  8668. var _jie = $$("div", {
  8669. "style": {
  8670. "position": "absolute",
  8671. "bottom": "50px",
  8672. "right": "50px",
  8673. "zIndex": "9999",
  8674. "backgroundColor": "#2268bc",
  8675. "color": "#fff",
  8676. "padding": "12px 20px",
  8677. "cursor": "pointer",
  8678. "borderRadius": "4px",
  8679. },
  8680. "innerHTML": "確認並提交"
  8681. })
  8682. let aTool = ''
  8683. let _loading = document.createElement('div')
  8684. _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;"
  8685. // _loading.id = "";
  8686. let _lchild = document.createElement('div')
  8687. let _limg = document.createElement('img')
  8688. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8689. _limg.style = "width: 26px;margin-right: 10px;"
  8690. _lchild.appendChild(_limg)
  8691. let _lspan = document.createElement('span')
  8692. _lspan.innerHTML = "上傳中..."
  8693. _lchild.appendChild(_lspan)
  8694. _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%);"
  8695. _loading.appendChild(_lchild)
  8696. var _box = $$('div', {
  8697. "style": {
  8698. "position": "relative",
  8699. "width": "100%",
  8700. "height": "100%",
  8701. },
  8702. })
  8703. _box.appendChild(_loading)
  8704. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  8705. switch (str) {
  8706. case "whiteboard":
  8707. aTool = 1;
  8708. _iframe = $$("iframe", {
  8709. "frameborder": "no",
  8710. "border": "0",
  8711. "scrolling ": "no",
  8712. "style": {
  8713. "cssText": "border:0;width:100%;height:100%"
  8714. },
  8715. "src": "https://iwb.cocorobo.hk/"
  8716. })
  8717. _box.appendChild(_iframe);
  8718. _box.appendChild(_jie);
  8719. _formdiv = new U.UF.UI.form(
  8720. "電子白板",
  8721. _box, {
  8722. "id": "whiteboards" + cid + stage + task + tool,
  8723. "style": {
  8724. "width": "90%",
  8725. "height": "90%",
  8726. "overflow": 'hidden'
  8727. },
  8728. "onresize": function () { }
  8729. }, {
  8730. closecallback: function () { }
  8731. }, {
  8732. "style": {
  8733. "height": "36px"
  8734. }
  8735. }).form; //創建窗體
  8736. _taskbar = {
  8737. "id": str + _formdiv.id,
  8738. "style": {
  8739. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  8740. },
  8741. "name": "電子白板",
  8742. "forms": _formdiv,
  8743. "click": function () {
  8744. U.MD.D.I.openApplication(str, obj, info);
  8745. }
  8746. }
  8747. break;
  8748. case "mind":
  8749. aTool = 3;
  8750. _iframe = $$("iframe", {
  8751. "frameborder": "no",
  8752. "border": "0",
  8753. "scrolling ": "no",
  8754. "style": {
  8755. "cssText": "border:0;width:100%;height:100%"
  8756. },
  8757. "src": "/kityminder-editor/dist/index.html"
  8758. });
  8759. _box.appendChild(_iframe);
  8760. _box.appendChild(_jie);
  8761. _formdiv = new U.UF.UI.form(
  8762. "思維導圖",
  8763. _box, { //"/jsmind/example/demo.html"
  8764. "id": "minds" + cid + stage + task + tool,
  8765. "style": {
  8766. "width": "90%",
  8767. "height": "90%",
  8768. "overflow": 'hidden'
  8769. },
  8770. "onresize": function () { }
  8771. }, {
  8772. closecallback: function () { }
  8773. }, {
  8774. "style": {
  8775. "height": "36px"
  8776. }
  8777. }).form; //創建窗體
  8778. _taskbar = {
  8779. "id": str + _formdiv.id,
  8780. "style": {
  8781. "backgroundImage": "url(/img/icon/mindMapping.png)"
  8782. },
  8783. "name": "思維導圖",
  8784. "forms": _formdiv,
  8785. "click": function () {
  8786. U.MD.D.I.openApplication(str, obj, info);
  8787. }
  8788. }
  8789. break;
  8790. case "doc":
  8791. aTool = 6;
  8792. _iframe = $$("iframe", {
  8793. "frameborder": "no",
  8794. "border": "0",
  8795. "scrolling ": "no",
  8796. "style": {
  8797. "cssText": "border:0;width:100%;height:100%"
  8798. },
  8799. "src": "/Office/Word/WordEditArea.htm"
  8800. })
  8801. _box.appendChild(_iframe);
  8802. _box.appendChild(_jie);
  8803. _formdiv = new U.UF.UI.form(
  8804. "協同文檔",
  8805. _box, {
  8806. "id": "docs" + cid + stage + task + tool,
  8807. "style": {
  8808. "width": "90%",
  8809. "height": "90%",
  8810. "overflow": 'hidden'
  8811. },
  8812. "onresize": function () { }
  8813. }, {
  8814. closecallback: function () { }
  8815. }, {
  8816. "style": {
  8817. "height": "36px"
  8818. }
  8819. }).form; //創建窗體
  8820. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  8821. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8822. })
  8823. _taskbar = {
  8824. "id": str + _formdiv.id,
  8825. "style": {
  8826. "backgroundImage": "url(/img/icon/doc.png)"
  8827. },
  8828. "name": "協同文檔",
  8829. "forms": _formdiv,
  8830. "click": function () {
  8831. U.MD.D.I.openApplication(str, obj, info);
  8832. }
  8833. }
  8834. break;
  8835. }
  8836. const script1 = document.createElement("script");
  8837. script1.type = "text/javascript";
  8838. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  8839. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  8840. const script2 = document.createElement("script");
  8841. script2.type = "text/javascript";
  8842. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  8843. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  8844. const script3 = document.createElement("script");
  8845. script3.type = "text/javascript";
  8846. script3.charset = "UTF-8";
  8847. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  8848. const script4 = document.createElement("script");
  8849. script4.type = "text/javascript";
  8850. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  8851. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  8852. if (_iframe) {
  8853. if (str == 'doc') {
  8854. _iframe = _formdiv.querySelector('iframe')
  8855. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8856. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  8857. _iframe.contentWindow.document.body.appendChild(script1);
  8858. _iframe.contentWindow.document.body.appendChild(script2);
  8859. // _iframe.contentWindow.document.body.appendChild(script3);
  8860. _iframe.contentWindow.document.body.appendChild(script4);
  8861. })
  8862. if (onloadListener) {
  8863. _iframe.contentDocument.location.reload()
  8864. } else {
  8865. _iframe.contentDocument.location.reload()
  8866. }
  8867. } else if (str == 'mind') {
  8868. _iframe = _formdiv.querySelector('iframe')
  8869. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8870. _iframe.contentWindow.document.body.appendChild(script1);
  8871. _iframe.contentWindow.document.body.appendChild(script2);
  8872. _iframe.contentWindow.document.body.appendChild(script4);
  8873. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  8874. })
  8875. if (onloadListener) {
  8876. _iframe.contentDocument.location.reload()
  8877. } else {
  8878. _iframe.contentDocument.location.reload()
  8879. }
  8880. } else {
  8881. _iframe.onload = () => {
  8882. _iframe.contentWindow.document.body.appendChild(script1);
  8883. _iframe.contentWindow.document.body.appendChild(script2);
  8884. // _iframe.contentWindow.document.body.appendChild(script3);
  8885. _iframe.contentWindow.document.body.appendChild(script4);
  8886. };
  8887. }
  8888. _jie.onclick = async () => {
  8889. let text = ''
  8890. if (aTool == 6) {
  8891. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  8892. } else if (aTool == 3) {
  8893. text = await U.MD.D.I.getEditorContent(_iframe);
  8894. }
  8895. _loading.style.display = 'flex'
  8896. console.log(_loading);
  8897. var _ajs = _iframe.contentWindow.document.createElement("script");
  8898. _ajs.type = "text/javascript";
  8899. _ajs.innerHTML =
  8900. // 'console.log(' + _loading + ');\n' +
  8901. 'var _js = document.createElement("script");\n' +
  8902. '_js.type="text/javascript";\n' +
  8903. '_js.charset="UTF-8";\n' +
  8904. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  8905. "_js.onload = function(){\n" +
  8906. ' var a = document.getElementsByTagName("img")\n' +
  8907. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  8908. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  8909. '  var base64Url = canvas.toDataURL("image/png");\n' +
  8910. 'var base64 = "<img src=" + base64Url + " />"\n' +
  8911. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  8912. "beforeUpload_shishi(file," +
  8913. "'" +
  8914. _userid +
  8915. "'" +
  8916. ", " +
  8917. "'" +
  8918. _cid +
  8919. "'" +
  8920. ", " +
  8921. "'" +
  8922. _stage +
  8923. "'" +
  8924. ", " +
  8925. "'" +
  8926. _task +
  8927. "'" +
  8928. ", " +
  8929. "'" +
  8930. _tool +
  8931. "'" +
  8932. ", " +
  8933. "'" +
  8934. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  8935. "'" +
  8936. ", " +
  8937. "'" +
  8938. aTool +
  8939. "'" +
  8940. ", " +
  8941. "`" +
  8942. text +
  8943. "`" +
  8944. ")\n" +
  8945. " });\n" +
  8946. "}\n" +
  8947. "document.head.appendChild(_js);\n";
  8948. _iframe.contentWindow.document.head.appendChild(_ajs);
  8949. }
  8950. }
  8951. //U.MD.D.I.openClick(str);
  8952. //如果有任務欄信息
  8953. // if (_taskbar) {
  8954. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  8955. // }
  8956. }
  8957. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  8958. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8959. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8960. _userinfo = US.userInfo, //登錄用戶信息
  8961. _userid = US.userInfo.userid //登錄用戶id
  8962. let _iframe;
  8963. let _cid = cid,
  8964. _stage = stage,
  8965. _task = task,
  8966. _tool = tool;
  8967. var _jie = $$("div", {
  8968. "style": {
  8969. "position": "absolute",
  8970. "bottom": "50px",
  8971. "right": "50px",
  8972. "zIndex": "9999",
  8973. "backgroundColor": "#2268bc",
  8974. "color": "#fff",
  8975. "padding": "12px 20px",
  8976. "cursor": "pointer",
  8977. "borderRadius": "4px",
  8978. },
  8979. "innerHTML": "上傳模板"
  8980. })
  8981. let aTool = ''
  8982. let _loading = document.createElement('div')
  8983. _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;"
  8984. // _loading.id = "";
  8985. let _lchild = document.createElement('div')
  8986. let _limg = document.createElement('img')
  8987. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8988. _limg.style = "width: 26px;margin-right: 10px;"
  8989. _lchild.appendChild(_limg)
  8990. let _lspan = document.createElement('span')
  8991. _lspan.innerHTML = "上傳中..."
  8992. _lchild.appendChild(_lspan)
  8993. _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%);"
  8994. _loading.appendChild(_lchild)
  8995. var _box = $$('div', {
  8996. "style": {
  8997. "position": "relative",
  8998. "width": "100%",
  8999. "height": "100%",
  9000. },
  9001. })
  9002. _box.appendChild(_loading)
  9003. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  9004. switch (str) {
  9005. case "whiteboard":
  9006. aTool = 1;
  9007. _iframe = $$("iframe", {
  9008. "frameborder": "no",
  9009. "border": "0",
  9010. "scrolling ": "no",
  9011. "style": {
  9012. "cssText": "border:0;width:100%;height:100%"
  9013. },
  9014. "src": "https://iwb.cocorobo.hk/"
  9015. })
  9016. _box.appendChild(_iframe);
  9017. _box.appendChild(_jie);
  9018. _formdiv = new U.UF.UI.form(
  9019. "電子白板",
  9020. _box, {
  9021. "id": "whiteboards_Yu" + cid + stage + task + tool,
  9022. "style": {
  9023. "width": "90%",
  9024. "height": "90%",
  9025. "overflow": 'hidden'
  9026. },
  9027. "onresize": function () { }
  9028. }, {
  9029. closecallback: function () { }
  9030. }, {
  9031. "style": {
  9032. "height": "36px"
  9033. }
  9034. }).form; //創建窗體
  9035. _taskbar = {
  9036. "id": str + _formdiv.id,
  9037. "style": {
  9038. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  9039. },
  9040. "name": "電子白板",
  9041. "forms": _formdiv,
  9042. "click": function () {
  9043. U.MD.D.I.openApplication(str, obj, info);
  9044. }
  9045. }
  9046. break;
  9047. case "mind":
  9048. aTool = 3;
  9049. _iframe = $$("iframe", {
  9050. "frameborder": "no",
  9051. "border": "0",
  9052. "scrolling ": "no",
  9053. "style": {
  9054. "cssText": "border:0;width:100%;height:100%"
  9055. },
  9056. "src": "/kityminder-editor/dist/index.html"
  9057. });
  9058. _box.appendChild(_iframe);
  9059. _box.appendChild(_jie);
  9060. _formdiv = new U.UF.UI.form(
  9061. "思維導圖",
  9062. _box, { //"/jsmind/example/demo.html"
  9063. "id": "minds_Yu" + cid + stage + task + tool,
  9064. "style": {
  9065. "width": "90%",
  9066. "height": "90%",
  9067. "overflow": 'hidden'
  9068. },
  9069. "onresize": function () { }
  9070. }, {
  9071. closecallback: function () { }
  9072. }, {
  9073. "style": {
  9074. "height": "36px"
  9075. }
  9076. }).form; //創建窗體
  9077. _taskbar = {
  9078. "id": str + _formdiv.id,
  9079. "style": {
  9080. "backgroundImage": "url(/img/icon/mindMapping.png)"
  9081. },
  9082. "name": "思維導圖",
  9083. "forms": _formdiv,
  9084. "click": function () {
  9085. U.MD.D.I.openApplication(str, obj, info);
  9086. }
  9087. }
  9088. break;
  9089. case "doc":
  9090. aTool = 6;
  9091. _iframe = $$("iframe", {
  9092. "frameborder": "no",
  9093. "border": "0",
  9094. "scrolling ": "no",
  9095. "style": {
  9096. "cssText": "border:0;width:100%;height:100%"
  9097. },
  9098. "src": "/Office/Word/WordEditArea.htm"
  9099. })
  9100. _box.appendChild(_iframe);
  9101. _box.appendChild(_jie);
  9102. _formdiv = new U.UF.UI.form(
  9103. "協同文檔",
  9104. _box, {
  9105. "id": "docs_Yu" + cid + stage + task + tool,
  9106. "style": {
  9107. "width": "90%",
  9108. "height": "90%",
  9109. "overflow": 'hidden'
  9110. },
  9111. "onresize": function () { }
  9112. }, {
  9113. closecallback: function () { }
  9114. }, {
  9115. "style": {
  9116. "height": "36px"
  9117. }
  9118. }).form; //創建窗體
  9119. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  9120. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  9121. })
  9122. _taskbar = {
  9123. "id": str + _formdiv.id,
  9124. "style": {
  9125. "backgroundImage": "url(/img/icon/doc.png)"
  9126. },
  9127. "name": "協同文檔",
  9128. "forms": _formdiv,
  9129. "click": function () {
  9130. U.MD.D.I.openApplication(str, obj, info);
  9131. }
  9132. }
  9133. break;
  9134. case "CocoPi":
  9135. aTool = 57;
  9136. _iframe = $$("iframe", {
  9137. "allowpaymentrequest": "allowpaymentrequest",
  9138. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9139. "webkitallowfullscreen": "",
  9140. "mozallowfullscreen": "",
  9141. "frameborder": "no",
  9142. "border": "0",
  9143. "scrolling ": "no",
  9144. "style": {
  9145. "cssText": "border:0;width:100%;height:100%"
  9146. },
  9147. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9148. })
  9149. _box.appendChild(_iframe);
  9150. _box.appendChild(_jie);
  9151. _formdiv = new U.UF.UI.form(
  9152. "CocoPi",
  9153. _box, {
  9154. "id": "CocoPi_Yu" + cid + stage + task + tool,
  9155. "style": {
  9156. "width": "90%",
  9157. "height": "90%",
  9158. "overflow": 'hidden'
  9159. },
  9160. "onresize": function () { }
  9161. }, {
  9162. closecallback: function () { }
  9163. }, {
  9164. "style": {
  9165. "height": "36px"
  9166. }
  9167. }).form; //創建窗體
  9168. _taskbar = {
  9169. "id": str + _formdiv.id,
  9170. "style": {
  9171. "backgroundImage": "url(/img/icon/cocopi.png)"
  9172. },
  9173. "name": "CocoPi",
  9174. "forms": _formdiv,
  9175. "click": function () {
  9176. U.MD.D.I.openApplication(str, obj, info);
  9177. }
  9178. }
  9179. break;
  9180. }
  9181. if (_iframe) {
  9182. if (str == 'doc') {
  9183. _iframe = _formdiv.querySelector('iframe')
  9184. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9185. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  9186. })
  9187. if (onloadListener) {
  9188. _iframe.contentDocument.location.reload()
  9189. } else {
  9190. _iframe.contentDocument.location.reload()
  9191. }
  9192. } else if (str == 'mind') {
  9193. _iframe = _formdiv.querySelector('iframe')
  9194. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9195. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  9196. })
  9197. if (onloadListener) {
  9198. _iframe.contentDocument.location.reload()
  9199. } else {
  9200. _iframe.contentDocument.location.reload()
  9201. }
  9202. } else if (str == 'whiteboard') {
  9203. _iframe = _formdiv.querySelector('iframe')
  9204. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9205. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  9206. })
  9207. // if (onloadListener) {
  9208. // try {
  9209. // _iframe.src += "?cocorobo="+new Date().getTime()
  9210. // _iframe.contentWindow.document.location.reload()
  9211. // } catch (error) {
  9212. // }
  9213. // } else {
  9214. // _iframe.contentDocument.location.reload()
  9215. // }
  9216. } else if (str == 'CocoPi') {
  9217. _iframe = _formdiv.querySelector('iframe')
  9218. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9219. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  9220. })
  9221. if (onloadListener) {
  9222. _iframe.contentDocument.location.reload()
  9223. } else {
  9224. _iframe.contentDocument.location.reload()
  9225. }
  9226. } else {
  9227. _iframe.onload = () => { };
  9228. }
  9229. _jie.onclick = async () => {
  9230. let text = ''
  9231. let type = '2'
  9232. if (aTool == 1) {
  9233. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  9234. type = '3'
  9235. } else if (aTool == 6) {
  9236. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  9237. type = '1'
  9238. } else if (aTool == 3) {
  9239. text = await U.MD.D.I.getEditorContent(_iframe);
  9240. type = '2'
  9241. } else if (aTool == 57) {
  9242. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  9243. type = '4'
  9244. }
  9245. _loading.style.display = 'flex'
  9246. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  9247. }
  9248. }
  9249. //U.MD.D.I.openClick(str);
  9250. //如果有任務欄信息
  9251. // if (_taskbar) {
  9252. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  9253. // }
  9254. }
  9255. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  9256. var xmlhttp;
  9257. var Mac, Sn, DeviceId
  9258. if (window.XMLHttpRequest) {
  9259. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9260. xmlhttp = new XMLHttpRequest();
  9261. }
  9262. else {
  9263. // IE6, IE5 瀏覽器執行代碼
  9264. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9265. }
  9266. xmlhttp.onreadystatechange = function () {
  9267. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9268. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  9269. // resolve(res.value[0][0].text);
  9270. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  9271. }
  9272. }
  9273. }
  9274. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  9275. xmlhttp.send();
  9276. }
  9277. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  9278. var xmlhttp;
  9279. var Mac, Sn, DeviceId
  9280. if (window.XMLHttpRequest) {
  9281. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9282. xmlhttp = new XMLHttpRequest();
  9283. }
  9284. else {
  9285. // IE6, IE5 瀏覽器執行代碼
  9286. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9287. }
  9288. xmlhttp.onreadystatechange = function () {
  9289. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9290. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  9291. // resolve(res.value[0][0].text);
  9292. if (type == '2') {
  9293. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  9294. } else if (type == '3') {
  9295. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  9296. } else if (type == '4') {
  9297. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  9298. }
  9299. } else {
  9300. if (type == '2') {
  9301. iframe.contentWindow.editor.minder.importData('json', '')
  9302. } else if (type == '3') {
  9303. iframe.contentWindow.h.app.updateScene({ elements: [] })
  9304. } else if (type == '4') {
  9305. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  9306. }
  9307. }
  9308. }
  9309. }
  9310. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  9311. xmlhttp.send();
  9312. }
  9313. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  9314. var xmlhttp;
  9315. var Mac, Sn, DeviceId
  9316. if (window.XMLHttpRequest) {
  9317. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  9318. xmlhttp = new XMLHttpRequest();
  9319. }
  9320. else {
  9321. // IE6, IE5 瀏覽器執行代碼
  9322. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  9323. }
  9324. xmlhttp.onreadystatechange = function () {
  9325. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  9326. if (xmlhttp.response) {
  9327. // resolve(res.value[0][0].text);
  9328. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  9329. // $(fileInput).val('');
  9330. // });
  9331. span.innerHTML = '上傳成功'
  9332. setTimeout(() => {
  9333. loading.style.display = 'none'
  9334. }, 1000);
  9335. }
  9336. }
  9337. }
  9338. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  9339. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  9340. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  9341. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  9342. // 設置請求頭,表示請求體的編碼格式
  9343. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  9344. // 設置請求體,使用url-encoded格式的數據
  9345. }
  9346. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  9347. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  9348. _formdiv, //創建任務欄時同時彈出的窗體元素。
  9349. _userinfo = US.userInfo, //登錄用戶信息
  9350. _userid = US.userInfo.userid //登錄用戶id
  9351. let _iframe;
  9352. let _cid = cid,
  9353. _stage = stage,
  9354. _task = task,
  9355. _tool = tool;
  9356. var _jie = $$("div", {
  9357. "style": {
  9358. "position": "absolute",
  9359. "bottom": "50px",
  9360. "right": "50px",
  9361. "zIndex": "9999",
  9362. "backgroundColor": "#2268bc",
  9363. "color": "#fff",
  9364. "padding": "12px 20px",
  9365. "cursor": "pointer",
  9366. "borderRadius": "4px",
  9367. },
  9368. "innerHTML": "提交作業"
  9369. })
  9370. let aTool = ''
  9371. let _loading = document.createElement('div')
  9372. _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;"
  9373. // _loading.id = "";
  9374. let _lchild = document.createElement('div')
  9375. let _limg = document.createElement('img')
  9376. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  9377. _limg.style = "width: 26px;margin-right: 10px;"
  9378. _lchild.appendChild(_limg)
  9379. let _lspan = document.createElement('span')
  9380. _lspan.innerHTML = "上傳中..."
  9381. _lchild.appendChild(_lspan)
  9382. _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%);"
  9383. _loading.appendChild(_lchild)
  9384. var _box = $$('div', {
  9385. "style": {
  9386. "position": "relative",
  9387. "width": "100%",
  9388. "height": "100%",
  9389. },
  9390. })
  9391. _box.appendChild(_loading)
  9392. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  9393. switch (str) {
  9394. case "CocoPi":
  9395. aTool = 57;
  9396. _iframe = $$("iframe", {
  9397. "allowpaymentrequest": "allowpaymentrequest",
  9398. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9399. "webkitallowfullscreen": "",
  9400. "mozallowfullscreen": "",
  9401. "frameborder": "no",
  9402. "border": "0",
  9403. "scrolling ": "no",
  9404. "style": {
  9405. "cssText": "border:0;width:100%;height:100%"
  9406. },
  9407. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9408. })
  9409. _box.appendChild(_iframe);
  9410. _box.appendChild(_jie);
  9411. _formdiv = new U.UF.UI.form(
  9412. "CocoPi",
  9413. _box, {
  9414. "id": "CocoPi_Upload" + cid + stage + task + tool,
  9415. "style": {
  9416. "width": "90%",
  9417. "height": "90%",
  9418. "overflow": 'hidden'
  9419. },
  9420. "onresize": function () { }
  9421. }, {
  9422. closecallback: function () { }
  9423. }, {
  9424. "style": {
  9425. "height": "36px"
  9426. }
  9427. }).form; //創建窗體
  9428. _taskbar = {
  9429. "id": str + _formdiv.id,
  9430. "style": {
  9431. "backgroundImage": "url(/img/icon/cocopi.png)"
  9432. },
  9433. "name": "CocoPi",
  9434. "forms": _formdiv,
  9435. "click": function () {
  9436. U.MD.D.I.openApplication(str, obj, info);
  9437. }
  9438. }
  9439. break;
  9440. }
  9441. if (_iframe) {
  9442. if (str == 'CocoPi') {
  9443. _iframe = _formdiv.querySelector('iframe')
  9444. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9445. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  9446. })
  9447. if (onloadListener) {
  9448. _iframe.contentDocument.location.reload()
  9449. } else {
  9450. _iframe.contentDocument.location.reload()
  9451. }
  9452. }
  9453. _jie.onclick = async () => {
  9454. let text = ''
  9455. if (aTool == 57) {
  9456. text = _iframe.contentWindow.getLoadXmlStr()
  9457. }
  9458. _loading.style.display = 'flex'
  9459. console.log(_loading);
  9460. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  9461. _loading.style.display = 'none'
  9462. let _div = document.createElement('div')
  9463. _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;"
  9464. let _inner = document.createElement('div')
  9465. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  9466. _inner.innerHTML = "上傳成功"
  9467. _div.appendChild(_inner)
  9468. _iframe.contentWindow.window.document.body.appendChild(_div)
  9469. _div.onclick = () => {
  9470. _iframe.contentWindow.window.document.body.removeChild(_div)
  9471. }
  9472. setTimeout(() => {
  9473. _iframe.contentWindow.window.document.body.removeChild(_div)
  9474. }, 1000);
  9475. }, [], { "type": "POST", "withCredentials": true });
  9476. }
  9477. }
  9478. }
  9479. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  9480. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  9481. _formdiv, //創建任務欄時同時彈出的窗體元素。
  9482. _userid = student.userid, //登錄用戶id
  9483. _username = student.student //用戶名字
  9484. let _iframe;
  9485. let _cid = cid,
  9486. _stage = stage,
  9487. _task = task,
  9488. _tool = tool;
  9489. var _jie = $$("div", {
  9490. "style": {
  9491. "position": "absolute",
  9492. "bottom": "50px",
  9493. "right": "50px",
  9494. "zIndex": "9999",
  9495. "backgroundColor": "#2268bc",
  9496. "color": "#fff",
  9497. "padding": "12px 20px",
  9498. "cursor": "pointer",
  9499. "borderRadius": "4px",
  9500. },
  9501. "innerHTML": "提交作業"
  9502. })
  9503. let aTool = ''
  9504. let _loading = document.createElement('div')
  9505. _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;"
  9506. // _loading.id = "";
  9507. let _lchild = document.createElement('div')
  9508. let _limg = document.createElement('img')
  9509. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  9510. _limg.style = "width: 26px;margin-right: 10px;"
  9511. _lchild.appendChild(_limg)
  9512. let _lspan = document.createElement('span')
  9513. _lspan.innerHTML = "上傳中..."
  9514. _lchild.appendChild(_lspan)
  9515. _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%);"
  9516. _loading.appendChild(_lchild)
  9517. var _box = $$('div', {
  9518. "style": {
  9519. "position": "relative",
  9520. "width": "100%",
  9521. "height": "100%",
  9522. },
  9523. })
  9524. _box.appendChild(_loading)
  9525. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  9526. switch (str) {
  9527. case "CocoPi":
  9528. aTool = 57;
  9529. _iframe = $$("iframe", {
  9530. "allowpaymentrequest": "allowpaymentrequest",
  9531. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  9532. "webkitallowfullscreen": "",
  9533. "mozallowfullscreen": "",
  9534. "frameborder": "no",
  9535. "border": "0",
  9536. "scrolling ": "no",
  9537. "style": {
  9538. "cssText": "border:0;width:100%;height:100%"
  9539. },
  9540. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  9541. })
  9542. _box.appendChild(_iframe);
  9543. _box.appendChild(_jie);
  9544. _formdiv = new U.UF.UI.form(
  9545. "CocoPi-" + _username,
  9546. _box, {
  9547. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  9548. "style": {
  9549. "width": "90%",
  9550. "height": "90%",
  9551. "overflow": 'hidden'
  9552. },
  9553. "onresize": function () { }
  9554. }, {
  9555. closecallback: function () { }
  9556. }, {
  9557. "style": {
  9558. "height": "36px"
  9559. }
  9560. }).form; //創建窗體
  9561. _taskbar = {
  9562. "id": str + _formdiv.id,
  9563. "style": {
  9564. "backgroundImage": "url(/img/icon/cocopi.png)"
  9565. },
  9566. "name": "CocoPi",
  9567. "forms": _formdiv,
  9568. "click": function () {
  9569. U.MD.D.I.openApplication(str, obj, info);
  9570. }
  9571. }
  9572. break;
  9573. }
  9574. if (_iframe) {
  9575. if (str == 'CocoPi') {
  9576. _iframe = _formdiv.querySelector('iframe')
  9577. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  9578. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  9579. })
  9580. if (onloadListener) {
  9581. _iframe.contentDocument.location.reload()
  9582. } else {
  9583. _iframe.contentDocument.location.reload()
  9584. }
  9585. }
  9586. _jie.onclick = async () => {
  9587. let text = ''
  9588. if (aTool == 57) {
  9589. text = _iframe.contentWindow.getLoadXmlStr()
  9590. }
  9591. _loading.style.display = 'flex'
  9592. console.log(_loading);
  9593. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  9594. _loading.style.display = 'none'
  9595. let _div = document.createElement('div')
  9596. _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;"
  9597. let _inner = document.createElement('div')
  9598. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  9599. _inner.innerHTML = "上傳成功"
  9600. _div.appendChild(_inner)
  9601. _iframe.contentWindow.window.document.body.appendChild(_div)
  9602. _div.onclick = () => {
  9603. _iframe.contentWindow.window.document.body.removeChild(_div)
  9604. }
  9605. setTimeout(() => {
  9606. _iframe.contentWindow.window.document.body.removeChild(_div)
  9607. }, 1000);
  9608. }, [], { "type": "POST", "withCredentials": true });
  9609. }
  9610. }
  9611. }
  9612. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  9613. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  9614. if (res.value[0].length > 0) {
  9615. if (atool == 57) {
  9616. iframe.contentWindow.loadingXml(res.value[0][0].content)
  9617. }
  9618. } else {
  9619. if (atool == 57) {
  9620. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  9621. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  9622. }
  9623. }
  9624. }, [], { "type": "POST", "withCredentials": true });
  9625. }