DeskTop.js 488 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209
  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": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  186. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  187. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  188. ];
  189. U.MD.D.I.orgStemDeskIcon = [
  190. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  191. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  192. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  193. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  194. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  195. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  196. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  197. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  198. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  199. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  200. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  201. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  202. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  203. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  204. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  205. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  206. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  207. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  210. ];
  211. U.MD.D.I.szulsDeskIcon = [
  212. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  213. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  214. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  215. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  216. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  217. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  218. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  219. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  220. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  223. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  224. ];
  225. U.MD.D.I.hanDeskIcon = [
  226. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  227. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  228. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  229. { "Name": "漢字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  230. { "Name": "國學經典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  231. { "Name": "筆畫訓練", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  232. { "Name": "書法課堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  233. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  234. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  235. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  236. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  237. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  238. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  239. ];
  240. U.MD.D.I.GMteacherDeskIcon = [
  241. { "Name": "課程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  242. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  243. { "Name": "學生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  244. { "Name": "學生評價", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  245. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  246. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  247. { "Name": "班級管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  248. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  249. { "Name": "課程進展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  250. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  251. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  252. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  253. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  254. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  255. ];
  256. U.MD.D.I.GMstudentDeskIcon = [
  257. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  258. { "Name": "我的評價", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  259. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  260. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  261. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  262. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  263. ];
  264. //北師大
  265. U.MD.D.I.BSDNSteacherDeskIcon = [
  266. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  267. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  268. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  269. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  270. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  271. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  272. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  273. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  274. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  275. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  276. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  277. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  278. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  279. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  280. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  281. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  282. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  283. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  284. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  285. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  286. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  287. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  288. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  289. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  290. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  291. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  292. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  293. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  294. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  295. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  296. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  297. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  298. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  299. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  300. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  301. { "Name": "數字實驗室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  302. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  303. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  304. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  305. ];
  306. //松山湖
  307. U.MD.D.I.SONGteacherDeskIcon = [
  308. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  309. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  310. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  311. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  312. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  313. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  314. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  315. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  316. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  317. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  318. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  319. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  320. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  321. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  322. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  323. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  324. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  325. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  326. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  327. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  328. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  329. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  330. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  331. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  332. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  333. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  334. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  335. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  336. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  337. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  338. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  339. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  340. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  341. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  342. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  343. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  344. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  345. ];
  346. U.MD.D.I.tcStudentDeskIcon = [
  347. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  348. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  351. ];
  352. U.MD.D.I.tcTeacherDeskIcon = [
  353. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  354. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  355. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  356. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  357. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  358. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  359. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  360. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  361. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  362. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  363. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  364. ];
  365. U.MD.D.I.tcOrganizerDeskIcon = [
  366. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  367. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  368. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  369. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  370. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  371. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  372. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  373. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  374. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  375. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  376. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  377. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  378. ];
  379. U.MD.D.I.szscStudentDeskIcon = [
  380. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  381. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  382. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  383. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  384. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  385. ];
  386. U.MD.D.I.szscTeacherDeskIcon = [
  387. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  388. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  389. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  390. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  391. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  392. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  393. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  394. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  395. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  396. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  397. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  399. ];
  400. U.MD.D.I.szscOrganizerDeskIcon = [
  401. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  402. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  403. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  404. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  405. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  406. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  407. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  408. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  409. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  410. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  411. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  412. ];
  413. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  414. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  415. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  416. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  417. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  418. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  419. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  420. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  421. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  422. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  423. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  424. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  425. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  426. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  427. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  428. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  429. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  430. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  431. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  432. ];
  433. U.MD.D.I.wankeAdminDeskIcon = [
  434. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  435. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  436. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  437. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  438. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  439. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  440. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  441. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  442. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  443. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  444. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  445. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  446. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  447. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  448. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  449. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  450. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  451. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  452. ];
  453. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  454. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  455. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  456. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  457. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  458. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  459. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  460. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  461. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  462. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  463. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  464. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  465. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  466. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  467. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  468. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  469. ];
  470. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  471. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  472. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  473. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  474. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  475. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  476. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  477. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  478. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  479. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  480. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  481. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  482. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  483. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  484. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  485. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  486. ];
  487. //明德教師桌面圖標的全局變量
  488. U.MD.D.I.MingdeTeacherDeskIcon = [
  489. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  490. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  491. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  492. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  493. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  494. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  495. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  496. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  497. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  498. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  499. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  500. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  501. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  502. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  503. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  504. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  505. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  506. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  507. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  508. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  509. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  510. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  511. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  512. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  513. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  514. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  515. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  516. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  517. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  518. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  519. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  520. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  521. ];
  522. //97c4ee8b-d010-4042-986d-e9d3c217264f
  523. //教師桌面圖標的全局變量
  524. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  525. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  526. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  527. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  528. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  529. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  530. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  531. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  532. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  533. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  534. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  535. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  536. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  537. ];
  538. //福田
  539. U.MD.D.I.futianTeacherDeskIcon = [
  540. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  541. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  542. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  543. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  544. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  545. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  546. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  547. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  548. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  549. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  550. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  551. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  552. ];
  553. //福田
  554. U.MD.D.I.futianAdminDeskIcon = [
  555. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  556. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  557. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  558. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  559. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  560. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  561. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  562. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  563. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  564. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  565. ];
  566. //lotech
  567. U.MD.D.I.lotechTeacherDeskIcon = [
  568. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  569. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  570. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  571. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  572. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  573. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  574. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  575. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  576. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  577. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  578. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  579. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  580. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  581. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  582. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  583. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  584. ];
  585. //龍華中心小學教師桌面圖標的全局變量
  586. U.MD.D.I.longhuateacherDeskIcon = [
  587. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  588. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  589. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  590. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  591. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  594. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  595. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  596. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  597. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  598. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  599. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  600. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  601. ];
  602. //教科院實小教師桌面圖標的全局變量
  603. U.MD.D.I.siesteacherDeskIcon = [
  604. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  605. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  606. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  607. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  608. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  609. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  614. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  615. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  616. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  617. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  618. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  619. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  620. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  621. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  622. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  623. { "Name": "數據融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  624. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  625. ];
  626. //教科院實小教師桌面圖標的全局變量
  627. U.MD.D.I.siesStudentDeskIcon = [
  628. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  629. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  630. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  631. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  632. ];
  633. //福田
  634. U.MD.D.I.gdjgTeacherDeskIcon = [
  635. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  636. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  638. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  639. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  640. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  641. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  642. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  643. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  644. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  645. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  646. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  647. ];
  648. //gdjg
  649. U.MD.D.I.gdjgAdminDeskIcon = [
  650. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  651. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  652. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  653. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  654. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  655. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  656. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  657. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  658. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  659. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  660. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  661. ];
  662. //hk
  663. U.MD.D.I.hkteacherDeskIcon = [
  664. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  665. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  666. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  667. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  668. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  669. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  670. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  671. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  672. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  673. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  674. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  675. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  676. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  677. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  678. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  679. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  680. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  681. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  682. ];
  683. //hk
  684. U.MD.D.I.hkStudentDeskIcon = [
  685. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  686. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  687. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  688. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  689. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  690. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  691. ];
  692. //hk
  693. U.MD.D.I.hkaceteacherDeskIcon = [
  694. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  695. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  696. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  697. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  698. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  699. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  700. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  701. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  702. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  703. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  704. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  705. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  706. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  707. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  708. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  709. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  710. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  711. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  712. ];
  713. //hk
  714. U.MD.D.I.hkaceStudentDeskIcon = [
  715. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  716. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  717. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  718. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  719. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  720. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  721. ];
  722. //香海正覺蓮社佛教正覺中學
  723. U.MD.D.I.hkZJLSteacherDeskIcon = [
  724. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  725. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  726. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  727. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  728. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  729. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  730. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  731. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  732. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  733. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  734. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  735. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  736. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  737. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  738. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  739. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  740. ];
  741. //香海正覺蓮社佛教正覺中學
  742. U.MD.D.I.hkZJLSStudentDeskIcon = [
  743. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  744. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  745. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  746. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  747. ];
  748. //雲海
  749. U.MD.D.I.yunhaiTeacherDeskIcon = [
  750. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  751. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  752. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  753. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  754. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  755. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  756. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  757. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  758. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  759. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  760. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  761. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  762. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  763. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  764. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  765. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  766. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  767. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  768. ];
  769. //福田
  770. U.MD.D.I.heyuanTeacherDeskIcon = [
  771. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  772. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  773. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  774. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  775. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  776. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  777. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  778. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  779. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  780. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  781. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  782. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  783. ];
  784. //福田
  785. U.MD.D.I.heyuanAdminDeskIcon = [
  786. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  787. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  788. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  789. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  790. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  791. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  792. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  793. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  794. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  795. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  796. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  797. ];
  798. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  799. U.MD.D.I.szherTeacherDeskIcon = [
  800. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  801. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  802. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  803. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  804. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  805. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  806. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  807. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  808. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  809. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  810. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  811. ];
  812. //dsei
  813. U.MD.D.I.dseiTeacherDeskIcon = [
  814. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  815. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  816. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  817. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  818. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  819. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  820. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  821. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  822. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  823. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  824. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  825. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  826. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  827. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  828. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  829. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  830. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  831. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  832. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  833. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  834. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  835. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  836. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  837. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  838. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  839. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  840. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  841. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  842. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  843. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  844. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  845. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  846. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  847. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  848. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  849. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  850. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  851. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  852. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  853. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  854. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  855. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  856. ];
  857. //dsei
  858. U.MD.D.I.dseiAdminDeskIcon = [
  859. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  860. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  861. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  862. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  863. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  864. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  865. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  866. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  867. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  868. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  869. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  870. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  871. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  872. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  873. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  874. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  875. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  876. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  877. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  878. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  879. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  880. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  881. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  882. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  883. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  884. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  885. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  886. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  887. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  888. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  889. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  890. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  891. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  892. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  893. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  894. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  895. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  896. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  897. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  898. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  899. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  900. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  901. ];
  902. //dsei
  903. U.MD.D.I.dseiStudentDeskIcon = [
  904. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  905. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  906. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  907. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  908. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  909. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  910. ];
  911. //未來教育基地
  912. U.MD.D.I.szjkyTeacherDeskIcon = [
  913. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  914. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  915. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  916. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  917. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  918. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  919. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  920. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  921. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  922. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  923. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  924. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  925. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  926. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  927. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  928. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  929. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  930. ];
  931. //未來教育基地
  932. U.MD.D.I.szjkyAdminDeskIcon = [
  933. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  934. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  935. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  936. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  937. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  938. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  939. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  940. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  941. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  942. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  943. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  944. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  945. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  946. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  947. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  948. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  949. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  950. ];
  951. //未來教育基地
  952. U.MD.D.I.szjkyStudentDeskIcon = [
  953. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  954. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  955. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  956. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  957. ];
  958. //成華教育局
  959. U.MD.D.I.chjyjTeacherDeskIcon = [
  960. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  961. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  962. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  963. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  964. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  965. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  966. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  967. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  968. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  969. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  970. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  971. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  972. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  973. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  974. ];
  975. //成華教育局chjyj
  976. U.MD.D.I.chjyjAdminDeskIcon = [
  977. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  978. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  979. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  980. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  981. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  982. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  983. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  984. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  985. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  986. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  987. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  988. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  989. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  990. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  991. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  992. ];
  993. //成華教育局chjyj
  994. U.MD.D.I.chjyjStudentDeskIcon = [
  995. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  996. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  997. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  998. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  999. ];
  1000. //tpc
  1001. U.MD.D.I.tpcStudentDeskIcon = [
  1002. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1003. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1004. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1005. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1006. ];
  1007. //tpc
  1008. U.MD.D.I.tpcTeacherDeskIcon = [
  1009. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1010. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1011. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1012. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1013. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1014. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1015. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1016. ];
  1017. //tpc
  1018. U.MD.D.I.tpcAdminDeskIcon = [
  1019. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1020. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1021. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1022. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1023. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1024. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1025. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1026. ];
  1027. //THU-IOE
  1028. U.MD.D.I.thuioeTeacherDeskIcon = [
  1029. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1030. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1031. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1032. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1033. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1034. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1035. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1036. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1037. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1038. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1039. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1040. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1041. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1042. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1043. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1044. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1045. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1046. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1047. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1048. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1049. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1050. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1051. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1052. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1053. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1054. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1055. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1056. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1057. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1058. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1059. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1060. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1061. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1062. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1063. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1064. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1065. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1066. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1067. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1068. ];
  1069. //THU-IOE
  1070. U.MD.D.I.thuioeStudentDeskIcon = [
  1071. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1072. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1073. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1074. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1075. ];
  1076. //jccssyl
  1077. U.MD.D.I.jccssylTeacherDeskIcon = [
  1078. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1079. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1080. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1081. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1082. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1083. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1084. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1085. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1086. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1087. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1088. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1089. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1090. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1091. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1092. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1093. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1094. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1095. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1096. ];
  1097. //jccssyl
  1098. U.MD.D.I.jccssylStudentDeskIcon = [
  1099. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1100. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1101. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1102. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1103. ];
  1104. //#region 桌面初始化a
  1105. /**
  1106. * 初始化桌面的起始函數
  1107. *
  1108. */
  1109. U.MD.D.I.init = function () {
  1110. if ($("#U_MD_D_K")[0]) {
  1111. //初始化桌面圖標
  1112. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1113. // var clickUrl = ':12588/requestIp.php';
  1114. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1115. // U.MD.D.I.Ip = data;
  1116. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1117. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1118. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1119. // })
  1120. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1121. // })
  1122. }
  1123. }
  1124. /**
  1125. * 模式切換
  1126. *
  1127. */
  1128. U.MD.D.I.ModeCheck = function (type) {
  1129. if (US.Config.type == type) {
  1130. return
  1131. }
  1132. US.Config.type = type
  1133. $('.U_PBL_Check .active')[0].className = ''
  1134. if (type == 1) {
  1135. $('.U_PBL_Check div')[0].className = 'active'
  1136. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1137. } else {
  1138. $('.U_PBL_Check div')[1].className = 'active'
  1139. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1140. }
  1141. //初始化桌面圖標
  1142. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1143. if (type == 2) {
  1144. U.MD.D.I.openApplication("project")
  1145. }
  1146. }
  1147. /**
  1148. * 隱藏任務欄
  1149. *
  1150. * @param {element} 桌面元素
  1151. */
  1152. U.MD.D.I.hiddenTaskbar = function (el) {
  1153. //任務欄位置變小
  1154. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1155. //桌面的位置變大
  1156. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1157. }
  1158. /**
  1159. * 隱藏任務欄
  1160. *
  1161. * @param {element} 桌面元素
  1162. */
  1163. U.MD.D.I.hiddenTaskbarout = function (el) {
  1164. //任務欄位置變小
  1165. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1166. //任務欄位置變化
  1167. U.selectEl(el).css({ "bottom": "-60px" });
  1168. //桌面的位置變大
  1169. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1170. }
  1171. }
  1172. /**
  1173. * 初始化打印桌面圖標
  1174. *
  1175. * @param {element} 桌面元素
  1176. */
  1177. U.MD.D.I.initDesktopIcons = function (el, type) {
  1178. var i, //用於循環
  1179. _content, //桌面圖標元素
  1180. _iconcontent, //桌面圖標元素
  1181. _frag = $$("frag"), //定義一個碎片元素
  1182. _type = US.userInfo.type,
  1183. _org = US.userInfo.org,
  1184. _oid = US.userInfo.organizeid,
  1185. _role = US.userInfo.role,
  1186. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1187. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1188. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1189. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1190. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1191. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1192. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1193. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1194. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1195. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1196. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1197. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大
  1198. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1199. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1200. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1201. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1202. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1203. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1204. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1205. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1206. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1207. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1208. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1209. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1210. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1211. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1212. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1213. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1214. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1215. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1216. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1217. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1218. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1219. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1220. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1221. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1222. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1223. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1224. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1225. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1226. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1227. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1228. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1229. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1230. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1231. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1232. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1233. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1234. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1235. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1236. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1237. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1238. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1239. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1240. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1241. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1242. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1243. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1244. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
  1245. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
  1246. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //網絡夏令營
  1247. 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'];
  1248. 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'];
  1249. //清楚桌面圖標
  1250. el.innerHTML = "";
  1251. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1252. _teacherDesktopIconInfo.push(
  1253. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1254. { "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)" } },
  1255. )
  1256. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1257. }
  1258. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1259. _teacherDesktopIconInfo.push(
  1260. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1261. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1262. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1263. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1264. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1265. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1266. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1267. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1268. { "Name": "評測管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1269. { "Name": "評測中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1270. // { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1271. )
  1272. }
  1273. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1274. // _teacherDesktopIconInfo.push(
  1275. // )
  1276. // }
  1277. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1278. _teacherDesktopIconInfo.push(
  1279. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1280. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1281. )
  1282. }
  1283. if (_org == '03d24cf9-4fbc-4aeb-bb02-6f84f66e6344') {
  1284. _teacherDesktopIconInfo.push(
  1285. )
  1286. }
  1287. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1288. _teacherDesktopIconInfo.push(
  1289. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1290. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1291. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1292. )
  1293. _studentDesktopIconInfo.push(
  1294. )
  1295. }
  1296. //麒麟二中 和 民新小學
  1297. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1298. _teacherDesktopIconInfo.push(
  1299. )
  1300. }
  1301. // 馬巒小學 和 龍華區教育科學研究院附屬學校 和 僑香學校
  1302. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1303. _teacherDesktopIconInfo.push(
  1304. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1305. )
  1306. }
  1307. //麒麟二中
  1308. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1309. _studentDesktopIconInfo.push(
  1310. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1311. )
  1312. }
  1313. //萬科雙語
  1314. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1315. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1316. if (el.Name == '項目管理') {
  1317. el.Name = 'PBL項目'
  1318. }
  1319. return el
  1320. })
  1321. _studentDesktopIconInfo3.push(
  1322. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1323. )
  1324. }
  1325. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1326. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1327. return el.Name != '魔盒識字' && el.Name != '24點'
  1328. })
  1329. }
  1330. 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) {
  1331. _studentDesktopIconInfo.push(
  1332. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1333. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1334. )
  1335. }
  1336. //循環創建桌面圖標
  1337. if (type == 1) {
  1338. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1339. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1340. _content = $$("div", {
  1341. className: "U_MD_D_KO",
  1342. "onmousedown": U.UF.C.closure(function (obj) {
  1343. //防止拖動圖標即打開了桌面應用
  1344. U.MD.D.click(this, obj);
  1345. }, [_studentDesktopIconInfo[i]]),
  1346. "onclick": U.UF.C.closure(function (obj) {
  1347. //防止拖動圖標即打開了桌面應用
  1348. U.MD.D.click(this, obj);
  1349. }, [_studentDesktopIconInfo[i]])
  1350. }, _frag); //
  1351. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1352. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1353. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1354. }
  1355. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1356. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1357. _content = $$("div", {
  1358. className: "U_MD_D_KO",
  1359. "onmousedown": U.UF.C.closure(function (obj) {
  1360. //防止拖動圖標即打開了桌面應用
  1361. U.MD.D.click(this, obj);
  1362. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1363. "onclick": U.UF.C.closure(function (obj) {
  1364. //防止拖動圖標即打開了桌面應用
  1365. U.MD.D.click(this, obj);
  1366. }, [_hkZJLSStudentDeskIconInfo[i]])
  1367. }, _frag); //
  1368. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1369. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1370. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1371. } //
  1372. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1373. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1374. _content = $$("div", {
  1375. className: "U_MD_D_KO",
  1376. "onmousedown": U.UF.C.closure(function (obj) {
  1377. //防止拖動圖標即打開了桌面應用
  1378. U.MD.D.click(this, obj);
  1379. }, [_jccssylStudentDeskIconInfo[i]]),
  1380. "onclick": U.UF.C.closure(function (obj) {
  1381. //防止拖動圖標即打開了桌面應用
  1382. U.MD.D.click(this, obj);
  1383. }, [_jccssylStudentDeskIconInfo[i]])
  1384. }, _frag); //
  1385. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1386. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1387. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1388. }
  1389. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1390. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1391. _content = $$("div", {
  1392. className: "U_MD_D_KO",
  1393. "onmousedown": U.UF.C.closure(function (obj) {
  1394. //防止拖動圖標即打開了桌面應用
  1395. U.MD.D.click(this, obj);
  1396. }, [_thuioeStudentDeskIconInfo[i]]),
  1397. "onclick": U.UF.C.closure(function (obj) {
  1398. //防止拖動圖標即打開了桌面應用
  1399. U.MD.D.click(this, obj);
  1400. }, [_thuioeStudentDeskIconInfo[i]])
  1401. }, _frag); //
  1402. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1403. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1404. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1405. }
  1406. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1407. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1408. _content = $$("div", {
  1409. className: "U_MD_D_KO",
  1410. "onmousedown": U.UF.C.closure(function (obj) {
  1411. //防止拖動圖標即打開了桌面應用
  1412. U.MD.D.click(this, obj);
  1413. }, [_tpcStudentDeskIconInfo[i]]),
  1414. "onclick": U.UF.C.closure(function (obj) {
  1415. //防止拖動圖標即打開了桌面應用
  1416. U.MD.D.click(this, obj);
  1417. }, [_tpcStudentDeskIconInfo[i]])
  1418. }, _frag); //
  1419. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1420. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1421. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1422. } //
  1423. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1424. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1425. _content = $$("div", {
  1426. className: "U_MD_D_KO",
  1427. "onmousedown": U.UF.C.closure(function (obj) {
  1428. //防止拖動圖標即打開了桌面應用
  1429. U.MD.D.click(this, obj);
  1430. }, [_chjyjStudentDeskIconInfo[i]]),
  1431. "onclick": U.UF.C.closure(function (obj) {
  1432. //防止拖動圖標即打開了桌面應用
  1433. U.MD.D.click(this, obj);
  1434. }, [_chjyjStudentDeskIconInfo[i]])
  1435. }, _frag); //
  1436. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1437. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1438. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1439. }
  1440. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1441. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1442. _content = $$("div", {
  1443. className: "U_MD_D_KO",
  1444. "onmousedown": U.UF.C.closure(function (obj) {
  1445. //防止拖動圖標即打開了桌面應用
  1446. U.MD.D.click(this, obj);
  1447. }, [_szjkyStudentDeskIconInfo[i]]),
  1448. "onclick": U.UF.C.closure(function (obj) {
  1449. //防止拖動圖標即打開了桌面應用
  1450. U.MD.D.click(this, obj);
  1451. }, [_szjkyStudentDeskIconInfo[i]])
  1452. }, _frag); //
  1453. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1454. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1455. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1456. }
  1457. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1458. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1459. _content = $$("div", {
  1460. className: "U_MD_D_KO",
  1461. "onmousedown": U.UF.C.closure(function (obj) {
  1462. //防止拖動圖標即打開了桌面應用
  1463. U.MD.D.click(this, obj);
  1464. }, [_dseiStudentDeskIconInfo[i]]),
  1465. "onclick": U.UF.C.closure(function (obj) {
  1466. //防止拖動圖標即打開了桌面應用
  1467. U.MD.D.click(this, obj);
  1468. }, [_dseiStudentDeskIconInfo[i]])
  1469. }, _frag); //
  1470. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1471. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1472. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1473. }
  1474. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1475. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1476. _content = $$("div", {
  1477. className: "U_MD_D_KO",
  1478. "onmousedown": U.UF.C.closure(function (obj) {
  1479. //防止拖動圖標即打開了桌面應用
  1480. U.MD.D.click(this, obj);
  1481. }, [_siesStudentDeskIconInfo[i]]),
  1482. "onclick": U.UF.C.closure(function (obj) {
  1483. //防止拖動圖標即打開了桌面應用
  1484. U.MD.D.click(this, obj);
  1485. }, [_siesStudentDeskIconInfo[i]])
  1486. }, _frag); //
  1487. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1488. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1489. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1490. }
  1491. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1492. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1493. _content = $$("div", {
  1494. className: "U_MD_D_KO",
  1495. "onmousedown": U.UF.C.closure(function (obj) {
  1496. //防止拖動圖標即打開了桌面應用
  1497. U.MD.D.click(this, obj);
  1498. }, [_hkStudentDeskIconInfo[i]]),
  1499. "onclick": U.UF.C.closure(function (obj) {
  1500. //防止拖動圖標即打開了桌面應用
  1501. U.MD.D.click(this, obj);
  1502. }, [_hkStudentDeskIconInfo[i]])
  1503. }, _frag); //
  1504. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1505. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1506. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1507. }
  1508. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1509. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1510. _content = $$("div", {
  1511. className: "U_MD_D_KO",
  1512. "onmousedown": U.UF.C.closure(function (obj) {
  1513. //防止拖動圖標即打開了桌面應用
  1514. U.MD.D.click(this, obj);
  1515. }, [_hkaceStudentDeskIconInfo[i]]),
  1516. "onclick": U.UF.C.closure(function (obj) {
  1517. //防止拖動圖標即打開了桌面應用
  1518. U.MD.D.click(this, obj);
  1519. }, [_hkaceStudentDeskIconInfo[i]])
  1520. }, _frag); //
  1521. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1522. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1523. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1524. }
  1525. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1526. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1527. _content = $$("div", {
  1528. className: "U_MD_D_KO",
  1529. "onmousedown": U.UF.C.closure(function (obj) {
  1530. //防止拖動圖標即打開了桌面應用
  1531. U.MD.D.click(this, obj);
  1532. }, [_studentDesktopIconInfo[i]]),
  1533. "onclick": U.UF.C.closure(function (obj) {
  1534. //防止拖動圖標即打開了桌面應用
  1535. U.MD.D.click(this, obj);
  1536. }, [_studentDesktopIconInfo[i]])
  1537. }, _frag); //
  1538. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1539. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1540. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1541. }
  1542. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1543. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1544. _content = $$("div", {
  1545. className: "U_MD_D_KO",
  1546. "onmousedown": U.UF.C.closure(function (obj) {
  1547. //防止拖動圖標即打開了桌面應用
  1548. U.MD.D.click(this, obj);
  1549. }, [_tcStudentDeskIconInfo[i]]),
  1550. "onclick": U.UF.C.closure(function (obj) {
  1551. //防止拖動圖標即打開了桌面應用
  1552. U.MD.D.click(this, obj);
  1553. }, [_tcStudentDeskIconInfo[i]])
  1554. }, _frag); //
  1555. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1556. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1557. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1558. }
  1559. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1560. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1561. _content = $$("div", {
  1562. className: "U_MD_D_KO",
  1563. "onmousedown": U.UF.C.closure(function (obj) {
  1564. //防止拖動圖標即打開了桌面應用
  1565. U.MD.D.click(this, obj);
  1566. }, [_szscStudentDeskIconInfo[i]]),
  1567. "onclick": U.UF.C.closure(function (obj) {
  1568. //防止拖動圖標即打開了桌面應用
  1569. U.MD.D.click(this, obj);
  1570. }, [_szscStudentDeskIconInfo[i]])
  1571. }, _frag); //
  1572. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1573. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1574. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1575. }
  1576. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1577. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1578. _content = $$("div", {
  1579. className: "U_MD_D_KO",
  1580. "onmousedown": U.UF.C.closure(function (obj) {
  1581. //防止拖動圖標即打開了桌面應用
  1582. U.MD.D.click(this, obj);
  1583. }, [_studentDesktopIconInfo3[i]]),
  1584. "onclick": U.UF.C.closure(function (obj) {
  1585. //防止拖動圖標即打開了桌面應用
  1586. U.MD.D.click(this, obj);
  1587. }, [_studentDesktopIconInfo3[i]])
  1588. }, _frag); //
  1589. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1590. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1591. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1592. }
  1593. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1594. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1595. _content = $$("div", {
  1596. className: "U_MD_D_KO",
  1597. "onmousedown": U.UF.C.closure(function (obj) {
  1598. //防止拖動圖標即打開了桌面應用
  1599. U.MD.D.click(this, obj);
  1600. }, [_studentDesktopIconInfo2[i]]),
  1601. "onclick": U.UF.C.closure(function (obj) {
  1602. //防止拖動圖標即打開了桌面應用
  1603. U.MD.D.click(this, obj);
  1604. }, [_studentDesktopIconInfo2[i]])
  1605. }, _frag); //
  1606. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1607. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1608. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1609. }
  1610. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1611. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1612. _content = $$("div", {
  1613. className: "U_MD_D_KO",
  1614. "onmousedown": U.UF.C.closure(function (obj) {
  1615. //防止拖動圖標即打開了桌面應用
  1616. U.MD.D.click(this, obj);
  1617. }, [_wanketeacherDesktopIconInfo[i]]),
  1618. "onclick": U.UF.C.closure(function (obj) {
  1619. //防止拖動圖標即打開了桌面應用
  1620. U.MD.D.click(this, obj);
  1621. }, [_wanketeacherDesktopIconInfo[i]])
  1622. }, _frag); //
  1623. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1624. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1625. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1626. }
  1627. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1628. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1629. _content = $$("div", {
  1630. className: "U_MD_D_KO",
  1631. "onmousedown": U.UF.C.closure(function (obj) {
  1632. //防止拖動圖標即打開了桌面應用
  1633. U.MD.D.click(this, obj);
  1634. }, [_wankeAdminDesktopIconInfo[i]]),
  1635. "onclick": U.UF.C.closure(function (obj) {
  1636. //防止拖動圖標即打開了桌面應用
  1637. U.MD.D.click(this, obj);
  1638. }, [_wankeAdminDesktopIconInfo[i]])
  1639. }, _frag); //
  1640. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1641. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1642. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1643. }
  1644. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1645. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1646. _content = $$("div", {
  1647. className: "U_MD_D_KO",
  1648. "onmousedown": U.UF.C.closure(function (obj) {
  1649. //防止拖動圖標即打開了桌面應用
  1650. U.MD.D.click(this, obj);
  1651. }, [_jccssylTeacherDeskIconInfo[i]]),
  1652. "onclick": U.UF.C.closure(function (obj) {
  1653. //防止拖動圖標即打開了桌面應用
  1654. U.MD.D.click(this, obj);
  1655. }, [_jccssylTeacherDeskIconInfo[i]])
  1656. }, _frag); //
  1657. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1658. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1659. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1660. }
  1661. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1662. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1663. _content = $$("div", {
  1664. className: "U_MD_D_KO",
  1665. "onmousedown": U.UF.C.closure(function (obj) {
  1666. //防止拖動圖標即打開了桌面應用
  1667. U.MD.D.click(this, obj);
  1668. }, [_tpcOrganizerDeskIconInfo[i]]),
  1669. "onclick": U.UF.C.closure(function (obj) {
  1670. //防止拖動圖標即打開了桌面應用
  1671. U.MD.D.click(this, obj);
  1672. }, [_tpcOrganizerDeskIconInfo[i]])
  1673. }, _frag); //
  1674. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1675. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1676. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1677. }
  1678. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1679. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1680. _content = $$("div", {
  1681. className: "U_MD_D_KO",
  1682. "onmousedown": U.UF.C.closure(function (obj) {
  1683. //防止拖動圖標即打開了桌面應用
  1684. U.MD.D.click(this, obj);
  1685. }, [_tpcTeacherDeskIconInfo[i]]),
  1686. "onclick": U.UF.C.closure(function (obj) {
  1687. //防止拖動圖標即打開了桌面應用
  1688. U.MD.D.click(this, obj);
  1689. }, [_tpcTeacherDeskIconInfo[i]])
  1690. }, _frag); //
  1691. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1692. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1693. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1694. }
  1695. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1696. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1697. _content = $$("div", {
  1698. className: "U_MD_D_KO",
  1699. "onmousedown": U.UF.C.closure(function (obj) {
  1700. //防止拖動圖標即打開了桌面應用
  1701. U.MD.D.click(this, obj);
  1702. }, [_teacherDesktopIconInfo2[i]]),
  1703. "onclick": U.UF.C.closure(function (obj) {
  1704. //防止拖動圖標即打開了桌面應用
  1705. U.MD.D.click(this, obj);
  1706. }, [_teacherDesktopIconInfo2[i]])
  1707. }, _frag); //
  1708. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1709. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1710. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1711. }
  1712. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1713. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1714. _content = $$("div", {
  1715. className: "U_MD_D_KO",
  1716. "onmousedown": U.UF.C.closure(function (obj) {
  1717. //防止拖動圖標即打開了桌面應用
  1718. U.MD.D.click(this, obj);
  1719. }, [_thuioeTeacherDeskIconInfo[i]]),
  1720. "onclick": U.UF.C.closure(function (obj) {
  1721. //防止拖動圖標即打開了桌面應用
  1722. U.MD.D.click(this, obj);
  1723. }, [_thuioeTeacherDeskIconInfo[i]])
  1724. }, _frag); //
  1725. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1726. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1727. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1728. }
  1729. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1730. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1731. _content = $$("div", {
  1732. className: "U_MD_D_KO",
  1733. "onmousedown": U.UF.C.closure(function (obj) {
  1734. //防止拖動圖標即打開了桌面應用
  1735. U.MD.D.click(this, obj);
  1736. }, [_lotechTeacherDeskIconInfo[i]]),
  1737. "onclick": U.UF.C.closure(function (obj) {
  1738. //防止拖動圖標即打開了桌面應用
  1739. U.MD.D.click(this, obj);
  1740. }, [_lotechTeacherDeskIconInfo[i]])
  1741. }, _frag); //
  1742. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1743. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1744. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1745. }//
  1746. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1747. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1748. _content = $$("div", {
  1749. className: "U_MD_D_KO",
  1750. "onmousedown": U.UF.C.closure(function (obj) {
  1751. //防止拖動圖標即打開了桌面應用
  1752. U.MD.D.click(this, obj);
  1753. }, [_siesTeacherDeskIconInfo[i]]),
  1754. "onclick": U.UF.C.closure(function (obj) {
  1755. //防止拖動圖標即打開了桌面應用
  1756. U.MD.D.click(this, obj);
  1757. }, [_siesTeacherDeskIconInfo[i]])
  1758. }, _frag); //
  1759. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1760. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1761. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1762. }
  1763. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1764. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1765. _content = $$("div", {
  1766. className: "U_MD_D_KO",
  1767. "onmousedown": U.UF.C.closure(function (obj) {
  1768. //防止拖動圖標即打開了桌面應用
  1769. U.MD.D.click(this, obj);
  1770. }, [_longhuaTeacherDeskIconInfo[i]]),
  1771. "onclick": U.UF.C.closure(function (obj) {
  1772. //防止拖動圖標即打開了桌面應用
  1773. U.MD.D.click(this, obj);
  1774. }, [_longhuaTeacherDeskIconInfo[i]])
  1775. }, _frag); //
  1776. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1777. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1778. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1779. }
  1780. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1781. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1782. _content = $$("div", {
  1783. className: "U_MD_D_KO",
  1784. "onmousedown": U.UF.C.closure(function (obj) {
  1785. //防止拖動圖標即打開了桌面應用
  1786. U.MD.D.click(this, obj);
  1787. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1788. "onclick": U.UF.C.closure(function (obj) {
  1789. //防止拖動圖標即打開了桌面應用
  1790. U.MD.D.click(this, obj);
  1791. }, [_yunhaiTeacherDeskIconInfo[i]])
  1792. }, _frag); //
  1793. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1794. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1795. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1796. } //_hkStudentDeskIconInfo
  1797. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1798. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1799. _content = $$("div", {
  1800. className: "U_MD_D_KO",
  1801. "onmousedown": U.UF.C.closure(function (obj) {
  1802. //防止拖動圖標即打開了桌面應用
  1803. U.MD.D.click(this, obj);
  1804. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1805. "onclick": U.UF.C.closure(function (obj) {
  1806. //防止拖動圖標即打開了桌面應用
  1807. U.MD.D.click(this, obj);
  1808. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1809. }, _frag); //
  1810. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1811. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1812. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1813. }
  1814. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1815. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1816. _content = $$("div", {
  1817. className: "U_MD_D_KO",
  1818. "onmousedown": U.UF.C.closure(function (obj) {
  1819. //防止拖動圖標即打開了桌面應用
  1820. U.MD.D.click(this, obj);
  1821. }, [_hkTeacherDeskIconInfo[i]]),
  1822. "onclick": U.UF.C.closure(function (obj) {
  1823. //防止拖動圖標即打開了桌面應用
  1824. U.MD.D.click(this, obj);
  1825. }, [_hkTeacherDeskIconInfo[i]])
  1826. }, _frag); //
  1827. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1828. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1829. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1830. }
  1831. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1832. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  1833. _content = $$("div", {
  1834. className: "U_MD_D_KO",
  1835. "onmousedown": U.UF.C.closure(function (obj) {
  1836. //防止拖動圖標即打開了桌面應用
  1837. U.MD.D.click(this, obj);
  1838. }, [_hkaceTeacherDeskIconInfo[i]]),
  1839. "onclick": U.UF.C.closure(function (obj) {
  1840. //防止拖動圖標即打開了桌面應用
  1841. U.MD.D.click(this, obj);
  1842. }, [_hkaceTeacherDeskIconInfo[i]])
  1843. }, _frag); //
  1844. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1845. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  1846. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  1847. }
  1848. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1849. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1850. _content = $$("div", {
  1851. className: "U_MD_D_KO",
  1852. "onmousedown": U.UF.C.closure(function (obj) {
  1853. //防止拖動圖標即打開了桌面應用
  1854. U.MD.D.click(this, obj);
  1855. }, [_gdjgAdminDeskIconInfo[i]]),
  1856. "onclick": U.UF.C.closure(function (obj) {
  1857. //防止拖動圖標即打開了桌面應用
  1858. U.MD.D.click(this, obj);
  1859. }, [_gdjgAdminDeskIconInfo[i]])
  1860. }, _frag); //
  1861. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1862. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1863. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1864. }
  1865. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1866. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1867. _content = $$("div", {
  1868. className: "U_MD_D_KO",
  1869. "onmousedown": U.UF.C.closure(function (obj) {
  1870. //防止拖動圖標即打開了桌面應用
  1871. U.MD.D.click(this, obj);
  1872. }, [_gdjgTeacherDeskIconInfo[i]]),
  1873. "onclick": U.UF.C.closure(function (obj) {
  1874. //防止拖動圖標即打開了桌面應用
  1875. U.MD.D.click(this, obj);
  1876. }, [_gdjgTeacherDeskIconInfo[i]])
  1877. }, _frag); //
  1878. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1879. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1880. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1881. }
  1882. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1883. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1884. _content = $$("div", {
  1885. className: "U_MD_D_KO",
  1886. "onmousedown": U.UF.C.closure(function (obj) {
  1887. //防止拖動圖標即打開了桌面應用
  1888. U.MD.D.click(this, obj);
  1889. }, [_szherTeacherDeskIconInfo[i]]),
  1890. "onclick": U.UF.C.closure(function (obj) {
  1891. //防止拖動圖標即打開了桌面應用
  1892. U.MD.D.click(this, obj);
  1893. }, [_szherTeacherDeskIconInfo[i]])
  1894. }, _frag); //
  1895. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1896. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1897. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1898. }
  1899. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1900. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1901. _content = $$("div", {
  1902. className: "U_MD_D_KO",
  1903. "onmousedown": U.UF.C.closure(function (obj) {
  1904. //防止拖動圖標即打開了桌面應用
  1905. U.MD.D.click(this, obj);
  1906. }, [_heyuannAdminDeskIconInfo[i]]),
  1907. "onclick": U.UF.C.closure(function (obj) {
  1908. //防止拖動圖標即打開了桌面應用
  1909. U.MD.D.click(this, obj);
  1910. }, [_heyuannAdminDeskIconInfo[i]])
  1911. }, _frag); //
  1912. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1913. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1914. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1915. }
  1916. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1917. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1918. _content = $$("div", {
  1919. className: "U_MD_D_KO",
  1920. "onmousedown": U.UF.C.closure(function (obj) {
  1921. //防止拖動圖標即打開了桌面應用
  1922. U.MD.D.click(this, obj);
  1923. }, [_heyuanTeacherDeskIconInfo[i]]),
  1924. "onclick": U.UF.C.closure(function (obj) {
  1925. //防止拖動圖標即打開了桌面應用
  1926. U.MD.D.click(this, obj);
  1927. }, [_heyuanTeacherDeskIconInfo[i]])
  1928. }, _frag); //
  1929. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1930. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1931. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1932. } //
  1933. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1934. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1935. _content = $$("div", {
  1936. className: "U_MD_D_KO",
  1937. "onmousedown": U.UF.C.closure(function (obj) {
  1938. //防止拖動圖標即打開了桌面應用
  1939. U.MD.D.click(this, obj);
  1940. }, [_dseiAdminDeskIconInfo[i]]),
  1941. "onclick": U.UF.C.closure(function (obj) {
  1942. //防止拖動圖標即打開了桌面應用
  1943. U.MD.D.click(this, obj);
  1944. }, [_dseiAdminDeskIconInfo[i]])
  1945. }, _frag); //
  1946. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1947. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1948. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1949. }
  1950. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1951. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1952. _content = $$("div", {
  1953. className: "U_MD_D_KO",
  1954. "onmousedown": U.UF.C.closure(function (obj) {
  1955. //防止拖動圖標即打開了桌面應用
  1956. U.MD.D.click(this, obj);
  1957. }, [_dseiTeacherDeskIconInfo[i]]),
  1958. "onclick": U.UF.C.closure(function (obj) {
  1959. //防止拖動圖標即打開了桌面應用
  1960. U.MD.D.click(this, obj);
  1961. }, [_dseiTeacherDeskIconInfo[i]])
  1962. }, _frag); //
  1963. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1964. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1965. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1966. } //
  1967. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1968. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1969. _content = $$("div", {
  1970. className: "U_MD_D_KO",
  1971. "onmousedown": U.UF.C.closure(function (obj) {
  1972. //防止拖動圖標即打開了桌面應用
  1973. U.MD.D.click(this, obj);
  1974. }, [_chjyjAdminDeskIconInfo[i]]),
  1975. "onclick": U.UF.C.closure(function (obj) {
  1976. //防止拖動圖標即打開了桌面應用
  1977. U.MD.D.click(this, obj);
  1978. }, [_chjyjAdminDeskIconInfo[i]])
  1979. }, _frag); //
  1980. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1981. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1982. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1983. }//
  1984. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1985. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1986. _content = $$("div", {
  1987. className: "U_MD_D_KO",
  1988. "onmousedown": U.UF.C.closure(function (obj) {
  1989. //防止拖動圖標即打開了桌面應用
  1990. U.MD.D.click(this, obj);
  1991. }, [_chjyjTeacherDeskIconInfo[i]]),
  1992. "onclick": U.UF.C.closure(function (obj) {
  1993. //防止拖動圖標即打開了桌面應用
  1994. U.MD.D.click(this, obj);
  1995. }, [_chjyjTeacherDeskIconInfo[i]])
  1996. }, _frag); //
  1997. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1998. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1999. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2000. }
  2001. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2002. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2003. _content = $$("div", {
  2004. className: "U_MD_D_KO",
  2005. "onmousedown": U.UF.C.closure(function (obj) {
  2006. //防止拖動圖標即打開了桌面應用
  2007. U.MD.D.click(this, obj);
  2008. }, [_szjkyAdminDeskIconInfo[i]]),
  2009. "onclick": U.UF.C.closure(function (obj) {
  2010. //防止拖動圖標即打開了桌面應用
  2011. U.MD.D.click(this, obj);
  2012. }, [_szjkyAdminDeskIconInfo[i]])
  2013. }, _frag); //
  2014. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2015. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2016. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2017. }//
  2018. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2019. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2020. _content = $$("div", {
  2021. className: "U_MD_D_KO",
  2022. "onmousedown": U.UF.C.closure(function (obj) {
  2023. //防止拖動圖標即打開了桌面應用
  2024. U.MD.D.click(this, obj);
  2025. }, [_szjkyTeacherDeskIconInfo[i]]),
  2026. "onclick": U.UF.C.closure(function (obj) {
  2027. //防止拖動圖標即打開了桌面應用
  2028. U.MD.D.click(this, obj);
  2029. }, [_szjkyTeacherDeskIconInfo[i]])
  2030. }, _frag); //
  2031. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2032. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2033. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2034. }
  2035. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2036. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2037. _content = $$("div", {
  2038. className: "U_MD_D_KO",
  2039. "onmousedown": U.UF.C.closure(function (obj) {
  2040. //防止拖動圖標即打開了桌面應用
  2041. U.MD.D.click(this, obj);
  2042. }, [_futianAdminDeskIconInfo[i]]),
  2043. "onclick": U.UF.C.closure(function (obj) {
  2044. //防止拖動圖標即打開了桌面應用
  2045. U.MD.D.click(this, obj);
  2046. }, [_futianAdminDeskIconInfo[i]])
  2047. }, _frag); //
  2048. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2049. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2050. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2051. }
  2052. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2053. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2054. _content = $$("div", {
  2055. className: "U_MD_D_KO",
  2056. "onmousedown": U.UF.C.closure(function (obj) {
  2057. //防止拖動圖標即打開了桌面應用
  2058. U.MD.D.click(this, obj);
  2059. }, [_futianTeacherDeskIconInfo[i]]),
  2060. "onclick": U.UF.C.closure(function (obj) {
  2061. //防止拖動圖標即打開了桌面應用
  2062. U.MD.D.click(this, obj);
  2063. }, [_futianTeacherDeskIconInfo[i]])
  2064. }, _frag); //
  2065. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2066. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2067. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2068. }
  2069. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2070. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2071. _content = $$("div", {
  2072. className: "U_MD_D_KO",
  2073. "onmousedown": U.UF.C.closure(function (obj) {
  2074. //防止拖動圖標即打開了桌面應用
  2075. U.MD.D.click(this, obj);
  2076. }, [_MingdeTeacherDeskIcon[i]]),
  2077. "onclick": U.UF.C.closure(function (obj) {
  2078. //防止拖動圖標即打開了桌面應用
  2079. U.MD.D.click(this, obj);
  2080. }, [_MingdeTeacherDeskIcon[i]])
  2081. }, _frag); //
  2082. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2083. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2084. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2085. }
  2086. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2087. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2088. _content = $$("div", {
  2089. className: "U_MD_D_KO",
  2090. "onmousedown": U.UF.C.closure(function (obj) {
  2091. //防止拖動圖標即打開了桌面應用
  2092. U.MD.D.click(this, obj);
  2093. }, [_lhsAdminDesktopIconInfo[i]]),
  2094. "onclick": U.UF.C.closure(function (obj) {
  2095. //防止拖動圖標即打開了桌面應用
  2096. U.MD.D.click(this, obj);
  2097. }, [_lhsAdminDesktopIconInfo[i]])
  2098. }, _frag); //
  2099. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2100. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2101. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2102. }
  2103. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2104. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2105. _content = $$("div", {
  2106. className: "U_MD_D_KO",
  2107. "onmousedown": U.UF.C.closure(function (obj) {
  2108. //防止拖動圖標即打開了桌面應用
  2109. U.MD.D.click(this, obj);
  2110. }, [_lhsteacherDesktopIconInfo[i]]),
  2111. "onclick": U.UF.C.closure(function (obj) {
  2112. //防止拖動圖標即打開了桌面應用
  2113. U.MD.D.click(this, obj);
  2114. }, [_lhsteacherDesktopIconInfo[i]])
  2115. }, _frag); //
  2116. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2117. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2118. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2119. }
  2120. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2121. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2122. _content = $$("div", {
  2123. className: "U_MD_D_KO",
  2124. "onmousedown": U.UF.C.closure(function (obj) {
  2125. //防止拖動圖標即打開了桌面應用
  2126. U.MD.D.click(this, obj);
  2127. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2128. "onclick": U.UF.C.closure(function (obj) {
  2129. //防止拖動圖標即打開了桌面應用
  2130. U.MD.D.click(this, obj);
  2131. }, [_zhoujiateacherDesktopIconInfo[i]])
  2132. }, _frag); //
  2133. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2134. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2135. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2136. }
  2137. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2138. for (i = 0; i < _hanDeskIcon.length; i++) {
  2139. _content = $$("div", {
  2140. className: "U_MD_D_KO",
  2141. "onmousedown": U.UF.C.closure(function (obj) {
  2142. //防止拖動圖標即打開了桌面應用
  2143. U.MD.D.click(this, obj);
  2144. }, [_hanDeskIcon[i]]),
  2145. "onclick": U.UF.C.closure(function (obj) {
  2146. //防止拖動圖標即打開了桌面應用
  2147. U.MD.D.click(this, obj);
  2148. }, [_hanDeskIcon[i]])
  2149. }, _frag); //
  2150. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2151. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2152. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2153. }
  2154. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2155. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2156. _content = $$("div", {
  2157. className: "U_MD_D_KO",
  2158. "onmousedown": U.UF.C.closure(function (obj) {
  2159. //防止拖動圖標即打開了桌面應用
  2160. U.MD.D.click(this, obj);
  2161. }, [_orgStemDeskIcon[i]]),
  2162. "onclick": U.UF.C.closure(function (obj) {
  2163. //防止拖動圖標即打開了桌面應用
  2164. U.MD.D.click(this, obj);
  2165. }, [_orgStemDeskIcon[i]])
  2166. }, _frag); //
  2167. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2168. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2169. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2170. }
  2171. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2172. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2173. _content = $$("div", {
  2174. className: "U_MD_D_KO",
  2175. "onmousedown": U.UF.C.closure(function (obj) {
  2176. //防止拖動圖標即打開了桌面應用
  2177. U.MD.D.click(this, obj);
  2178. }, [_szulsDeskIcon[i]]),
  2179. "onclick": U.UF.C.closure(function (obj) {
  2180. //防止拖動圖標即打開了桌面應用
  2181. U.MD.D.click(this, obj);
  2182. }, [_szulsDeskIcon[i]])
  2183. }, _frag); //
  2184. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2185. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2186. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2187. }
  2188. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2189. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2190. _content = $$("div", {
  2191. className: "U_MD_D_KO",
  2192. "onmousedown": U.UF.C.closure(function (obj) {
  2193. //防止拖動圖標即打開了桌面應用
  2194. U.MD.D.click(this, obj);
  2195. }, [_orgDesktopIconInfo[i]]),
  2196. "onclick": U.UF.C.closure(function (obj) {
  2197. //防止拖動圖標即打開了桌面應用
  2198. U.MD.D.click(this, obj);
  2199. }, [_orgDesktopIconInfo[i]])
  2200. }, _frag); //
  2201. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2202. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2203. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2204. }
  2205. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2206. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2207. _content = $$("div", {
  2208. className: "U_MD_D_KO",
  2209. "onmousedown": U.UF.C.closure(function (obj) {
  2210. //防止拖動圖標即打開了桌面應用
  2211. U.MD.D.click(this, obj);
  2212. }, [_schoolDesktopIconInfo[i]]),
  2213. "onclick": U.UF.C.closure(function (obj) {
  2214. //防止拖動圖標即打開了桌面應用
  2215. U.MD.D.click(this, obj);
  2216. }, [_schoolDesktopIconInfo[i]])
  2217. }, _frag); //
  2218. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2219. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2220. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2221. }
  2222. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2223. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2224. _content = $$("div", {
  2225. className: "U_MD_D_KO",
  2226. "onmousedown": U.UF.C.closure(function (obj) {
  2227. //防止拖動圖標即打開了桌面應用
  2228. U.MD.D.click(this, obj);
  2229. }, [_GMteacherDesktopIconInfo[i]]),
  2230. "onclick": U.UF.C.closure(function (obj) {
  2231. //防止拖動圖標即打開了桌面應用
  2232. U.MD.D.click(this, obj);
  2233. }, [_GMteacherDesktopIconInfo[i]])
  2234. }, _frag); //
  2235. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2236. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2237. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2238. }
  2239. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2240. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2241. _content = $$("div", {
  2242. className: "U_MD_D_KO",
  2243. "onmousedown": U.UF.C.closure(function (obj) {
  2244. //防止拖動圖標即打開了桌面應用
  2245. U.MD.D.click(this, obj);
  2246. }, [_SONGteacherDesktopIconInfo[i]]),
  2247. "onclick": U.UF.C.closure(function (obj) {
  2248. //防止拖動圖標即打開了桌面應用
  2249. U.MD.D.click(this, obj);
  2250. }, [_SONGteacherDesktopIconInfo[i]])
  2251. }, _frag); //
  2252. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2253. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2254. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2255. }
  2256. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2257. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2258. _content = $$("div", {
  2259. className: "U_MD_D_KO",
  2260. "onmousedown": U.UF.C.closure(function (obj) {
  2261. //防止拖動圖標即打開了桌面應用
  2262. U.MD.D.click(this, obj);
  2263. }, [_GMstudentDesktopIconInfo[i]]),
  2264. "onclick": U.UF.C.closure(function (obj) {
  2265. //防止拖動圖標即打開了桌面應用
  2266. U.MD.D.click(this, obj);
  2267. }, [_GMstudentDesktopIconInfo[i]])
  2268. }, _frag); //
  2269. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2270. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2271. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2272. }
  2273. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2274. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2275. _content = $$("div", {
  2276. className: "U_MD_D_KO",
  2277. "onmousedown": U.UF.C.closure(function (obj) {
  2278. //防止拖動圖標即打開了桌面應用
  2279. U.MD.D.click(this, obj);
  2280. }, [_tcTeacherDeskIconInfo[i]]),
  2281. "onclick": U.UF.C.closure(function (obj) {
  2282. //防止拖動圖標即打開了桌面應用
  2283. U.MD.D.click(this, obj);
  2284. }, [_tcTeacherDeskIconInfo[i]])
  2285. }, _frag); //
  2286. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2287. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2288. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2289. }
  2290. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2291. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2292. _content = $$("div", {
  2293. className: "U_MD_D_KO",
  2294. "onmousedown": U.UF.C.closure(function (obj) {
  2295. //防止拖動圖標即打開了桌面應用
  2296. U.MD.D.click(this, obj);
  2297. }, [_tcOrganizerDeskIconInfo[i]]),
  2298. "onclick": U.UF.C.closure(function (obj) {
  2299. //防止拖動圖標即打開了桌面應用
  2300. U.MD.D.click(this, obj);
  2301. }, [_tcOrganizerDeskIconInfo[i]])
  2302. }, _frag); //
  2303. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2304. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2305. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2306. }
  2307. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2308. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2309. _content = $$("div", {
  2310. className: "U_MD_D_KO",
  2311. "onmousedown": U.UF.C.closure(function (obj) {
  2312. //防止拖動圖標即打開了桌面應用
  2313. U.MD.D.click(this, obj);
  2314. }, [_szscTeacherDeskIconInfo[i]]),
  2315. "onclick": U.UF.C.closure(function (obj) {
  2316. //防止拖動圖標即打開了桌面應用
  2317. U.MD.D.click(this, obj);
  2318. }, [_szscTeacherDeskIconInfo[i]])
  2319. }, _frag); //
  2320. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2321. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2322. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2323. }
  2324. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2325. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2326. _content = $$("div", {
  2327. className: "U_MD_D_KO",
  2328. "onmousedown": U.UF.C.closure(function (obj) {
  2329. //防止拖動圖標即打開了桌面應用
  2330. U.MD.D.click(this, obj);
  2331. }, [_szscOrganizerDeskIconInfo[i]]),
  2332. "onclick": U.UF.C.closure(function (obj) {
  2333. //防止拖動圖標即打開了桌面應用
  2334. U.MD.D.click(this, obj);
  2335. }, [_szscOrganizerDeskIconInfo[i]])
  2336. }, _frag); //
  2337. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2338. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2339. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2340. }
  2341. } else {
  2342. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2343. _content = $$("div", {
  2344. className: "U_MD_D_KO",
  2345. "onmousedown": U.UF.C.closure(function (obj) {
  2346. //防止拖動圖標即打開了桌面應用
  2347. U.MD.D.click(this, obj);
  2348. }, [_teacherDesktopIconInfo[i]]),
  2349. "onclick": U.UF.C.closure(function (obj) {
  2350. //防止拖動圖標即打開了桌面應用
  2351. U.MD.D.click(this, obj);
  2352. }, [_teacherDesktopIconInfo[i]])
  2353. }, _frag); //
  2354. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2355. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2356. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2357. }
  2358. }
  2359. } else {
  2360. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2361. _content = $$("div", {
  2362. className: "U_MD_D_KO",
  2363. style: { 'width': '124px', 'height': '145px' },
  2364. "onmousedown": U.UF.C.closure(function (obj) {
  2365. //防止拖動圖標即打開了桌面應用
  2366. U.MD.D.click(this, obj);
  2367. }, [_easyDesktopIconInfo[i]]),
  2368. "onclick": U.UF.C.closure(function (obj) {
  2369. //防止拖動圖標即打開了桌面應用
  2370. U.MD.D.click(this, obj);
  2371. }, [_easyDesktopIconInfo[i]])
  2372. }, _frag); //
  2373. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2374. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2375. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2376. }
  2377. }
  2378. if (type == 1) {
  2379. //加載好後給圖標定位
  2380. U.MD.D.iconPostion($(_frag).Child());
  2381. } else {
  2382. //加載好後給圖標定位
  2383. U.MD.D.iconPostion2($(_frag).Child());
  2384. }
  2385. //把圖標加載到頁面
  2386. el.appendChild(_frag);
  2387. }
  2388. /**
  2389. * 顯示任務欄
  2390. *
  2391. * @param {element} 桌面元素
  2392. */
  2393. U.MD.D.I.displayTaskbar = function (el) {
  2394. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  2395. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2396. //任務欄位置變化
  2397. U.selectEl(el).css({ "bottom": "0px" });
  2398. //桌面位置變話
  2399. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2400. }
  2401. }
  2402. //#region 桌面圖標拖動邏輯
  2403. /**
  2404. * 桌面排列圖標
  2405. *
  2406. * @param {element} 桌面元素
  2407. * @param {object} 上下相距的距離
  2408. * @param {object} 左右相距的距離
  2409. * @return {object} 命名空間
  2410. */
  2411. U.MD.D.iconPostion = function (childs, top, left) {
  2412. var i; //用於循環處理
  2413. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  2414. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2415. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2416. for (i = 0; i < childs.length; i++) {
  2417. //如果豎排top超過了範圍處理
  2418. if (top + 95 > US.height - 10) {
  2419. //left超過了頁面範圍處理,則向上重疊打印處理
  2420. if ((left + 180) > US.width) {
  2421. top -= 110;
  2422. left -= 90;
  2423. }
  2424. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2425. else {
  2426. left += 90;
  2427. top = 15;
  2428. };
  2429. }
  2430. //給圖標的位置賦值
  2431. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2432. if (i < childs.length - 1) {
  2433. //頁面圖標每次向下加95
  2434. top += 95;
  2435. }
  2436. }
  2437. //返回最後調用的圖標的位置
  2438. return [top, left];
  2439. }
  2440. /**
  2441. * 桌面排列圖標
  2442. *
  2443. * @param {element} 桌面元素
  2444. * @param {object} 上下相距的距離
  2445. * @param {object} 左右相距的距離
  2446. * @return {object} 命名空間
  2447. */
  2448. U.MD.D.iconPostion2 = function (childs, top, left) {
  2449. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  2450. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  2451. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2452. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2453. for (i = 0; i < childs.length; i++) {
  2454. //如果豎排top超過了範圍處理
  2455. if (left + 150 > US.width - 10) {
  2456. //left超過了頁面範圍處理,則向上重疊打印處理
  2457. if ((top + 180) > US.Height) {
  2458. top -= 150;
  2459. left -= 150;
  2460. }
  2461. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2462. else {
  2463. top += 150;
  2464. left = ol;
  2465. };
  2466. }
  2467. //給圖標的位置賦值
  2468. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2469. if (i < childs.length - 1) {
  2470. //頁面圖標每次向下加95
  2471. left += 150;
  2472. }
  2473. }
  2474. //返回最後調用的圖標的位置
  2475. return [top, left];
  2476. }
  2477. /**
  2478. * 桌面點擊事件邏輯
  2479. *
  2480. * @param {element} 桌面元素
  2481. * @param {object} 上下相距的距離
  2482. * @param {object} 左右相距的距離
  2483. * @return {object} 命名空間
  2484. */
  2485. U.MD.D.click = function (el, obj) {
  2486. var _buttonnumber = event.button; //點擊的按鈕的事件值
  2487. var _userinfo = US.userInfo;
  2488. U.UF.EV.stopBubble(); //阻止向上冒泡
  2489. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  2490. if (_buttonnumber < 2) {
  2491. //如果是click事件的處理
  2492. if (event.type == "click") {
  2493. //如果元素在mousemove事件中沒有移動則出發click事件
  2494. if (!U.MD.D.I.IsDrag) {
  2495. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2496. U.alert("請先登錄您的賬號!");
  2497. setTimeout(() => {
  2498. U.MD.U.L.login();
  2499. }, 2000);
  2500. } else {
  2501. //打開應用處理
  2502. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2503. }
  2504. }
  2505. }
  2506. //如果是mouse事件的處理
  2507. else {
  2508. if (US.Config.type == '1') {
  2509. //拖動處理,添加拖動和拖動結束事件
  2510. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2511. }
  2512. }
  2513. U.MD.D.I.IsDrag = false;
  2514. }
  2515. }
  2516. /**
  2517. * 拖動的處理
  2518. *
  2519. */
  2520. U.MD.D.iconMove = function () {
  2521. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  2522. U.MD.D.I.IsDrag = true;
  2523. }
  2524. /**
  2525. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  2526. *
  2527. * @param {element} 拖動的元素
  2528. * @return {object} 命名空間
  2529. */
  2530. U.MD.D.iconUp = function (el) {
  2531. var _top = 15,
  2532. _left = 20,
  2533. _margin,
  2534. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  2535. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  2536. if (_positioninfo["OT"] > 15) {
  2537. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  2538. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2539. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2540. }
  2541. if (_positioninfo["OL"] > 20) {
  2542. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  2543. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2544. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2545. }
  2546. //while循環判斷麼一個重疊的元素
  2547. do {
  2548. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  2549. _top = _positioninfo[0] + 95; //得到定位後的top
  2550. _left = _positioninfo[1]; //得到定位後的left
  2551. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2552. }
  2553. /**
  2554. * 判斷拖動後圖標是否重疊
  2555. *
  2556. * @param {element} 拖動的元素
  2557. * @param {element} 桌面所有的元素
  2558. * @param {array} 拖動元素的位置
  2559. ----------[0] 上 top
  2560. ----------[1] 左 left
  2561. * @return {object} 命名空間
  2562. */
  2563. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2564. //循環所有的圖標
  2565. for (var i = 0; i < childs.length; i++) {
  2566. //判斷有沒有和該圖標誒子重疊的元素
  2567. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2568. return childs[i]; //如果有返回
  2569. }
  2570. }
  2571. }
  2572. //#endregion
  2573. //#endregion
  2574. //#region 桌面應用
  2575. /**
  2576. * 打開應用
  2577. *
  2578. * @param {string} 類型
  2579. -----------------Disk 網盤系統
  2580. -----------------PDisk 學習系統網盤
  2581. -----------------Poto 圖片
  2582. -----------------Video 視頻
  2583. -----------------Music 音樂
  2584. -----------------Word word
  2585. -----------------Excel excel
  2586. -----------------Txt 記事本
  2587. -----------------PB 學習系統
  2588. -----------------Blog 朋友圈系統
  2589. -----------------FTP ftp系統
  2590. -----------------Group 好友群
  2591. -----------------SY 首頁系統
  2592. -----------------Set 個人設置
  2593. -----------------XSet 系統設置
  2594. -----------------App 我們所有的app
  2595. -----------------BC c.1473.cn 平臺
  2596. -----------------CWeb d.1473.cn 變成平臺
  2597. -----------------其他的外聯系統 我們統一用iframe打開
  2598. * @param {array} 類型
  2599. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  2600. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  2601. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  2602. 如果第一個參數為其他,則無第二個參數
  2603. * @returns {array}
  2604. */
  2605. window.addEventListener('message', function (e) { // 監聽 message 事件
  2606. // alert(e.data.type);
  2607. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  2608. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2609. //3是展示全部階段 2學生 1老師 4專家
  2610. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  2611. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2612. //3是展示全部階段 2學生 1老師 4專家
  2613. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  2614. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2615. //3是展示全部階段 2學生 1老師 4專家
  2616. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  2617. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2618. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  2619. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2620. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  2621. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2622. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  2623. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2624. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  2625. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2626. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  2627. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2628. //3是展示全部階段 2學生 1老師 4專家
  2629. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  2630. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2631. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  2632. U.MD.D.I.selectUser();
  2633. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2634. var _formel = document.getElementById("study");
  2635. U.UF.F.windowZooming(_formel);
  2636. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2637. var _formel = document.getElementById("studyDetail");
  2638. U.UF.F.windowZooming(_formel);
  2639. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2640. var _formel = document.getElementById("studyDetail");
  2641. U.UF.F.windowZooming(_formel);
  2642. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2643. var _formel = document.getElementById("studentStudy");
  2644. U.UF.F.windowZooming(_formel);
  2645. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2646. // var _formel = document.getElementById("study");
  2647. //如果最大化了,那麼就把他縮小
  2648. // if (_formel.ismaximize) {
  2649. // return;
  2650. // }
  2651. // U.UF.F.windowZooming(_formel);
  2652. // U.UF.F.topWindow(_formel);
  2653. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2654. // var _formel = document.getElementById("studyDetail");
  2655. //如果最大化了,那麼就把他縮小
  2656. // if (_formel.ismaximize) {
  2657. // return;
  2658. // }
  2659. // U.UF.F.windowZooming(_formel);
  2660. // U.UF.F.topWindow(_formel);
  2661. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2662. // var _formel = document.getElementById("studentStudy");
  2663. // if (_formel.ismaximize) {
  2664. // return;
  2665. // }
  2666. // U.UF.F.windowZooming(_formel);
  2667. // U.UF.F.topWindow(_formel);
  2668. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2669. var _formel = document.getElementById("study");
  2670. // if (_formel.ismaximize) {
  2671. // return;
  2672. // }
  2673. // U.UF.F.windowZooming(_formel);
  2674. U.UF.F.topWindow(_formel);
  2675. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2676. var _formel = document.getElementById("studentIndex");
  2677. U.UF.F.windowZooming(_formel);
  2678. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2679. var _formel = document.getElementById("studyDetailS");
  2680. U.UF.F.windowZooming(_formel);
  2681. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2682. var _formel = document.getElementById("studioIndex");
  2683. U.UF.F.windowZooming(_formel);
  2684. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2685. var _formel = document.getElementById("studyDetailStudio");
  2686. U.UF.F.windowZooming(_formel);
  2687. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2688. var _formel = document.getElementById("studyDetailStudio");
  2689. U.UF.F.windowZooming(_formel);
  2690. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2691. var _formel = document.getElementById("studyDetailNT");
  2692. U.UF.F.windowZooming(_formel);
  2693. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2694. var _formel = document.getElementById("studyDetailS");
  2695. U.UF.F.windowZooming(_formel);
  2696. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2697. var _formel = document.getElementById("studyDetailS");
  2698. U.UF.F.topWindow(_formel);
  2699. } else if (e.data.tools && e.data.tools == "1") {
  2700. // U.MD.D.I.openApplication("whiteboard")
  2701. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2702. } else if (e.data.tools && e.data.tools == "2") {
  2703. U.MD.D.I.openApplication("note")
  2704. } else if (e.data.tools && e.data.tools == "3") {
  2705. // U.MD.D.I.openApplication("mind")
  2706. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2707. } else if (e.data.tools && e.data.tools == "4") {
  2708. U.MD.D.I.openApplication("investigation")
  2709. } else if (e.data.tools && e.data.tools == "6") {
  2710. // U.MD.D.I.openApplication("doc")
  2711. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2712. } else if (e.data.tools && e.data.tools == "7") {
  2713. // U.MD.D.I.openApplication("mindNetwork")
  2714. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2715. } else if (e.data.tools && e.data.tools == "8") {
  2716. U.MD.D.I.openApplication("library")
  2717. } else if (e.data.tools && e.data.tools == "17") {
  2718. U.MD.D.I.openApplication("stuLibrary")
  2719. } else if (e.data.tools && e.data.tools == "18") {
  2720. U.MD.D.I.openApplication("train")
  2721. } else if (e.data.tools && e.data.tools == "21") {
  2722. U.MD.D.I.openApplication("program")
  2723. } else if (e.data.tools && e.data.tools == "22") {
  2724. U.MD.D.I.openApplication("AIprogram2")
  2725. } else if (e.data.tools && e.data.tools == "23") {
  2726. U.MD.D.I.openApplication("Pythonprogram")
  2727. } else if (e.data.tools && e.data.tools == "24") {
  2728. U.MD.D.I.openApplication("AIprogram")
  2729. } else if (e.data.tools && e.data.tools == "25") {
  2730. U.MD.D.I.openApplication("sys")
  2731. } else if (e.data.tools && e.data.tools == "26") {
  2732. // U.MD.D.I.openApplication("courseDesign")
  2733. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2734. } else if (e.data.tools && e.data.tools == "31") {
  2735. U.MD.D.I.openApplication("netWorkPanel")
  2736. } else if (e.data.tools && e.data.tools == "32") {
  2737. U.MD.D.I.openApplication("codeEdit")
  2738. } else if (e.data.tools && e.data.tools == "57") {
  2739. U.MD.D.I.openApplication("CocoPi")
  2740. } else if (e.data.tools && e.data.tools == "63") {
  2741. U.MD.D.I.openApplication("Wood")
  2742. } else if (e.data.tools && e.data.tools == "58") {
  2743. U.MD.D.I.openApplication("car")
  2744. } else if (e.data.tools && e.data.tools == "59") {
  2745. U.MD.D.I.openApplication("lineSearch")
  2746. } else if (e.data.tools && e.data.tools == "60") {
  2747. U.MD.D.I.openApplication("deepLearning")
  2748. } else if (e.data.tools && e.data.tools == "61") {
  2749. U.MD.D.I.openApplication("allHistory")
  2750. } else if (e.data.tools && e.data.tools == "28") {
  2751. U.MD.D.I.openApplication("translation")
  2752. } else if (e.data.tools && e.data.tools == "37") {
  2753. U.MD.D.I.openApplication("mohe")
  2754. } else if (e.data.tools && e.data.tools == "38") {
  2755. U.MD.D.I.openApplication("24game")
  2756. } else if (e.data.tools && e.data.tools == "39") {
  2757. U.MD.D.I.openApplication("GeoGebra")
  2758. } else if (e.data.tools && e.data.tools == "43") {
  2759. U.MD.D.I.openApplication("studentEvaluate")
  2760. } else if (e.data.tools && e.data.tools == "44") {
  2761. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2762. } else if (e.data.tools && e.data.tools == "46") {
  2763. U.MD.D.I.openApplication("project")
  2764. } else if (e.data.tools && e.data.tools == "1s") {
  2765. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2766. } else if (e.data.tools && e.data.tools == "3s") {
  2767. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2768. } else if (e.data.tools && e.data.tools == "6s") {
  2769. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2770. } else if (e.data.tools && e.data.tools == "1studio") {
  2771. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2772. } else if (e.data.tools && e.data.tools == "3studio") {
  2773. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2774. } else if (e.data.tools && e.data.tools == "6studio") {
  2775. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2776. } else if (e.data.tools && e.data.tools == "3y") {
  2777. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2778. } else if (e.data.tools && e.data.tools == "1y") {
  2779. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2780. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2781. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2782. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2783. U.MD.D.I.openApplication("AIAnalyse")
  2784. } else if (e.data.tools && e.data.tools == "1teacher") {
  2785. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2786. } else if (e.data.tools && e.data.tools == "3teacher") {
  2787. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2788. } else if (e.data.tools && e.data.tools == "7teacher") {
  2789. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2790. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2791. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2792. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2793. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2794. } else if (e.data.tools && e.data.tools == "1E") {
  2795. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2796. } else if (e.data.tools && e.data.tools == "3E") {
  2797. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2798. } else if (e.data.tools && e.data.tools == "57y") {
  2799. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2800. } else if (e.data.tools && e.data.tools == "57u") {
  2801. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2802. } else if (e.data.tools && e.data.tools == "57teacher") {
  2803. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2804. } else if (e.data.tools && e.data.tools == "64") {
  2805. U.MD.D.I.openApplication("AIChat")
  2806. } else if (e.data.tools && e.data.tools == "66") {
  2807. U.MD.D.I.openApplication("formulaEdi")
  2808. } else if (e.data.tools && e.data.tools == "67") {
  2809. U.MD.D.I.openApplication("molStr")
  2810. } else if (e.data.tools && e.data.tools == "68") {
  2811. U.MD.D.I.openApplication("timeAxis")
  2812. } else if (e.data.tools && e.data.tools == "openCourse") {
  2813. let _data = {
  2814. typea: e.data.typea || '',
  2815. typeb: e.data.typeb || '',
  2816. typed: e.data.typed || '',
  2817. }
  2818. U.MD.D.I.openInApplication("index", _data)
  2819. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2820. let _data = {
  2821. classid: e.data.classid || '',
  2822. }
  2823. U.MD.D.I.openInApplication("dataClass", _data)
  2824. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2825. let _data = {
  2826. cid: e.data.cid || '',
  2827. gid: e.data.gid || '',
  2828. }
  2829. U.MD.D.I.openInApplication("opencCscl", _data)
  2830. }
  2831. });
  2832. U.MD.D.I.selectUser = function () {
  2833. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2834. if (res.value[0].length > 0) {
  2835. US.userInfo = res.value[0][0];
  2836. $(".userName")[0].innerHTML = US.userInfo.username;
  2837. }
  2838. }, [], { "type": "GET", "withCredentials": true });
  2839. }
  2840. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2841. var _userinfo = US.userInfo, //登錄用戶信息
  2842. _userid = US.userInfo.userid, //登錄用戶id
  2843. _oid = _userinfo.organizeid,
  2844. _type = US.userInfo.type,
  2845. _org = US.userInfo.org,
  2846. _role = US.userInfo.role,
  2847. _classId = US.userInfo.classid;
  2848. if (_type == 4) {
  2849. tType = 4
  2850. }
  2851. switch (str) {
  2852. case "studyDetailNT": //無終端模式
  2853. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2854. setTimeout(() => {
  2855. U.MD.U.L.login();
  2856. }, 2000);
  2857. } else {
  2858. _formdiv = new U.UF.UI.form(
  2859. "課程詳情",
  2860. $$("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 }), {
  2861. "id": "studyDetailNT",
  2862. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2863. "onresize": function () { }
  2864. }, {
  2865. closecallback: function () { }
  2866. }, { "style": { "height": "36px" } }).form; //創建窗體
  2867. _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); } }
  2868. break;
  2869. }
  2870. case "studyDetail":
  2871. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2872. setTimeout(() => {
  2873. U.MD.U.L.login();
  2874. }, 2000);
  2875. } else {
  2876. _formdiv = new U.UF.UI.form(
  2877. "課程詳情",
  2878. $$("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 }), {
  2879. "id": "studyDetail",
  2880. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2881. "onresize": function () { }
  2882. }, {
  2883. closecallback: function () { }
  2884. }, { "style": { "height": "36px" } }).form; //創建窗體
  2885. _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); } }
  2886. break;
  2887. }
  2888. case "studyDetailS":
  2889. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2890. setTimeout(() => {
  2891. U.MD.U.L.login();
  2892. }, 2000);
  2893. } else {
  2894. _formdiv = new U.UF.UI.form(
  2895. "項目詳情",
  2896. $$("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 }), {
  2897. "id": "studyDetailS",
  2898. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2899. "onresize": function () { }
  2900. }, {
  2901. closecallback: function () { }
  2902. }, { "style": { "height": "36px" } }).form; //創建窗體
  2903. _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); } }
  2904. break;
  2905. }
  2906. case "studyDetailStudio":
  2907. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2908. setTimeout(() => {
  2909. U.MD.U.L.login();
  2910. }, 2000);
  2911. } else {
  2912. _formdiv = new U.UF.UI.form(
  2913. "工作詳情",
  2914. $$("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 }), {
  2915. "id": "studyDetailStudio",
  2916. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2917. "onresize": function () { }
  2918. }, {
  2919. closecallback: function () { }
  2920. }, { "style": { "height": "36px" } }).form; //創建窗體
  2921. _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); } }
  2922. break;
  2923. }
  2924. case "studyDetailS5":
  2925. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2926. setTimeout(() => {
  2927. U.MD.U.L.login();
  2928. }, 2000);
  2929. } else {
  2930. _formdiv = new U.UF.UI.form(
  2931. "項目詳情",
  2932. $$("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 }), {
  2933. "id": "studyDetailS",
  2934. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2935. "onresize": function () { }
  2936. }, {
  2937. closecallback: function () { }
  2938. }, { "style": { "height": "36px" } }).form; //創建窗體
  2939. _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); } }
  2940. break;
  2941. }
  2942. case "studyDetailGM":
  2943. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2944. setTimeout(() => {
  2945. U.MD.U.L.login();
  2946. }, 2000);
  2947. } else {
  2948. _formdiv = new U.UF.UI.form(
  2949. "課程詳情",
  2950. $$("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 }), {
  2951. "id": "studyDetail",
  2952. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2953. "onresize": function () { }
  2954. }, {
  2955. closecallback: function () { }
  2956. }, { "style": { "height": "36px" } }).form; //創建窗體
  2957. _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); } }
  2958. break;
  2959. }
  2960. case "hanUrl":
  2961. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2962. setTimeout(() => {
  2963. U.MD.U.L.login();
  2964. }, 2000);
  2965. } else {
  2966. _formdiv = new U.UF.UI.form(
  2967. "漢字宮",
  2968. $$("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" }), {
  2969. "id": "hanUrl",
  2970. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2971. "onresize": function () { }
  2972. }, {
  2973. closecallback: function () { }
  2974. }, { "style": { "height": "36px" } }).form; //創建窗體
  2975. _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); } }
  2976. break;
  2977. }
  2978. case "index":
  2979. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2980. setTimeout(() => {
  2981. U.MD.U.L.login();
  2982. }, 2000);
  2983. } else {
  2984. _formdiv = new U.UF.UI.form(
  2985. "課程中心",
  2986. $$("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 }), {
  2987. "id": "study",
  2988. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2989. "onresize": function () { }
  2990. }, {
  2991. closecallback: function () { }
  2992. }, { "style": { "height": "36px" } }).form; //創建窗體
  2993. _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); } }
  2994. break;
  2995. }
  2996. case "dataClass":
  2997. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2998. setTimeout(() => {
  2999. U.MD.U.L.login();
  3000. }, 2000);
  3001. } else {
  3002. _formdiv = new U.UF.UI.form(
  3003. "數據報告",
  3004. $$("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 }), {
  3005. "id": "dataClass",
  3006. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3007. "onresize": function () { }
  3008. }, {
  3009. closecallback: function () { }
  3010. }, { "style": { "height": "36px" } }).form; //創建窗體
  3011. _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); } }
  3012. break;
  3013. }
  3014. case "opencCscl":
  3015. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3016. setTimeout(() => {
  3017. U.MD.U.L.login();
  3018. }, 2000);
  3019. } else {
  3020. _formdiv = new U.UF.UI.form(
  3021. "協同建構",
  3022. $$("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 }), {
  3023. "id": "futureClass",
  3024. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3025. "onresize": function () { }
  3026. }, {
  3027. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3028. }, { "style": { "height": "36px" } }).form; //創建窗體
  3029. _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); } }
  3030. break;
  3031. }
  3032. }
  3033. }
  3034. U.MD.D.I.openApplication = function (str, obj, info) {
  3035. obj = obj || {};
  3036. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  3037. _formdiv, //創建任務欄時同時彈出的窗體元素。
  3038. _userinfo = US.userInfo, //登錄用戶信息
  3039. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  3040. _oid = obj.organizeid || _userinfo.organizeid,
  3041. _type = US.userInfo.type,
  3042. _org = US.userInfo.org,
  3043. _role = US.userInfo.role,
  3044. _classId = US.userInfo.classid,
  3045. _TscreenType = 1
  3046. _screenType = 2,
  3047. _SscreenType = 3;
  3048. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3049. return;
  3050. }
  3051. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3052. switch (str) {
  3053. case "studnetProject": //好友打開
  3054. _formdiv = new U.UF.UI.form(
  3055. "我的項目",
  3056. $$("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 }), {
  3057. "id": "studnetProject",
  3058. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3059. "onresize": function () { }
  3060. }, {
  3061. closecallback: function () { }
  3062. }, { "style": { "height": "36px" } }).form; //創建窗體
  3063. _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); } }
  3064. break;
  3065. case "studentEvaluate": //好友打開
  3066. _formdiv = new U.UF.UI.form(
  3067. "我的評價",
  3068. $$("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 }), {
  3069. "id": "studentEvaluate",
  3070. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3071. "onresize": function () { }
  3072. }, {
  3073. closecallback: function () { }
  3074. }, { "style": { "height": "36px" } }).form; //創建窗體
  3075. _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); } }
  3076. break;
  3077. case "my":
  3078. _formdiv = new U.UF.UI.form(
  3079. "我的資料",
  3080. $$("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 }), {
  3081. "id": "my",
  3082. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3083. "onresize": function () { }
  3084. }, {
  3085. closecallback: function () { }
  3086. }, { "style": { "height": "36px" } }).form; //創建窗體
  3087. _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); } }
  3088. break;
  3089. case "program":
  3090. _formdiv = new U.UF.UI.form(
  3091. "編程平臺",
  3092. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3093. "id": "program",
  3094. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3095. "onresize": function () { }
  3096. }, {
  3097. closecallback: function () { }
  3098. }, { "style": { "height": "36px" } }).form; //創建窗體
  3099. _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); } }
  3100. break;
  3101. case "library":
  3102. _formdiv = new U.UF.UI.form(
  3103. "素材庫",
  3104. $$("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 }), {
  3105. "id": "library",
  3106. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3107. "onresize": function () { }
  3108. }, {
  3109. closecallback: function () { }
  3110. }, { "style": { "height": "36px" } }).form; //創建窗體
  3111. _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); } }
  3112. break;
  3113. case "whiteboard":
  3114. _formdiv = new U.UF.UI.form(
  3115. "電子白板",
  3116. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3117. "id": "whiteboard",
  3118. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3119. "onresize": function () { }
  3120. }, {
  3121. closecallback: function () { }
  3122. }, { "style": { "height": "36px" } }).form; //創建窗體
  3123. _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); } }
  3124. break;
  3125. case "investigation":
  3126. _formdiv = new U.UF.UI.form(
  3127. "問卷調查",
  3128. $$("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 }), {
  3129. "id": "investigation",
  3130. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3131. "onresize": function () { }
  3132. }, {
  3133. closecallback: function () { }
  3134. }, { "style": { "height": "36px" } }).form; //創建窗體
  3135. _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); } }
  3136. break;
  3137. case "note":
  3138. _formdiv = new U.UF.UI.form(
  3139. "便簽分類",
  3140. $$("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 }), {
  3141. "id": "note",
  3142. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3143. "onresize": function () { }
  3144. }, {
  3145. closecallback: function () { }
  3146. }, { "style": { "height": "36px" } }).form; //創建窗體
  3147. _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); } }
  3148. break;
  3149. // case "score":
  3150. // _formdiv = new U.UF.UI.form(
  3151. // "量規評分",
  3152. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3153. // "id": "score",
  3154. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3155. // "onresize": function() {}
  3156. // }, {
  3157. // closecallback: function() {}
  3158. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3159. // _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); } }
  3160. // break;
  3161. case "mind":
  3162. _formdiv = new U.UF.UI.form(
  3163. "思維導圖",
  3164. $$("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"
  3165. "id": "mind",
  3166. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3167. "onresize": function () { }
  3168. }, {
  3169. closecallback: function () { }
  3170. }, { "style": { "height": "36px" } }).form; //創建窗體
  3171. _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); } }
  3172. break;
  3173. case "doc":
  3174. // U.MD.D.I.isRoom();
  3175. _formdiv = new U.UF.UI.form(
  3176. "協同文檔",
  3177. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3178. "id": "doc",
  3179. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3180. "onresize": function () { }
  3181. }, {
  3182. closecallback: function () { }
  3183. }, { "style": { "height": "36px" } }).form; //創建窗體
  3184. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3185. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3186. // })
  3187. _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); } }
  3188. break;
  3189. case "studentStudy":
  3190. _formdiv = new U.UF.UI.form(
  3191. "課程中心",
  3192. $$("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
  3193. "id": "studentStudy",
  3194. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3195. "onresize": function () { }
  3196. }, {
  3197. closecallback: function () { }
  3198. }, { "style": { "height": "36px" } }).form; //創建窗體
  3199. _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); } }
  3200. break;
  3201. case "train": //好友打開
  3202. _formdiv = new U.UF.UI.form(
  3203. "訓練平臺",
  3204. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3205. "id": "train",
  3206. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3207. "onresize": function () { }
  3208. }, {
  3209. closecallback: function () { }
  3210. }, { "style": { "height": "36px" } }).form; //創建窗體
  3211. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3212. break;
  3213. case "mindNetwork": //好友打開
  3214. _formdiv = new U.UF.UI.form(
  3215. "思維網格",
  3216. $$("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 }), {
  3217. "id": "mindNetwork",
  3218. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3219. "onresize": function () { }
  3220. }, {
  3221. closecallback: function () { }
  3222. }, { "style": { "height": "36px" } }).form; //創建窗體
  3223. _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); } }
  3224. break;
  3225. case "studentClassRoom": //好友打開
  3226. _formdiv = new U.UF.UI.form(
  3227. "實時課堂",
  3228. $$("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 }), {
  3229. "id": "studentClassRoom",
  3230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3231. "onresize": function () { }
  3232. }, {
  3233. closecallback: function () { }
  3234. }, { "style": { "height": "36px" } }).form; //創建窗體
  3235. _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); } }
  3236. setTimeout(() => {
  3237. U.UF.F.windowZooming(_formdiv)
  3238. }, 0);
  3239. break;
  3240. }
  3241. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3242. switch (str) {
  3243. case "studnetProject": //好友打開
  3244. _formdiv = new U.UF.UI.form(
  3245. "我的項目",
  3246. $$("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 }), {
  3247. "id": "studnetProject",
  3248. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3249. "onresize": function () { }
  3250. }, {
  3251. closecallback: function () { }
  3252. }, { "style": { "height": "36px" } }).form; //創建窗體
  3253. _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); } }
  3254. break;
  3255. case "studentEvaluate": //好友打開
  3256. _formdiv = new U.UF.UI.form(
  3257. "我的評價",
  3258. $$("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 }), {
  3259. "id": "studentEvaluate",
  3260. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3261. "onresize": function () { }
  3262. }, {
  3263. closecallback: function () { }
  3264. }, { "style": { "height": "36px" } }).form; //創建窗體
  3265. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3266. break;
  3267. case "my":
  3268. _formdiv = new U.UF.UI.form(
  3269. "我的資料",
  3270. $$("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 }), {
  3271. "id": "my",
  3272. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3273. "onresize": function () { }
  3274. }, {
  3275. closecallback: function () { }
  3276. }, { "style": { "height": "36px" } }).form; //創建窗體
  3277. _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); } }
  3278. break;
  3279. case "program":
  3280. _formdiv = new U.UF.UI.form(
  3281. "編程平臺",
  3282. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3283. "id": "program",
  3284. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3285. "onresize": function () { }
  3286. }, {
  3287. closecallback: function () { }
  3288. }, { "style": { "height": "36px" } }).form; //創建窗體
  3289. _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); } }
  3290. break;
  3291. case "library":
  3292. _formdiv = new U.UF.UI.form(
  3293. "素材庫",
  3294. $$("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 }), {
  3295. "id": "library",
  3296. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3297. "onresize": function () { }
  3298. }, {
  3299. closecallback: function () { }
  3300. }, { "style": { "height": "36px" } }).form; //創建窗體
  3301. _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); } }
  3302. break;
  3303. case "whiteboard":
  3304. _formdiv = new U.UF.UI.form(
  3305. "電子白板",
  3306. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3307. "id": "whiteboard",
  3308. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3309. "onresize": function () { }
  3310. }, {
  3311. closecallback: function () { }
  3312. }, { "style": { "height": "36px" } }).form; //創建窗體
  3313. _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); } }
  3314. break;
  3315. case "investigation":
  3316. _formdiv = new U.UF.UI.form(
  3317. "問卷調查",
  3318. $$("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 }), {
  3319. "id": "investigation",
  3320. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3321. "onresize": function () { }
  3322. }, {
  3323. closecallback: function () { }
  3324. }, { "style": { "height": "36px" } }).form; //創建窗體
  3325. _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); } }
  3326. break;
  3327. case "note":
  3328. _formdiv = new U.UF.UI.form(
  3329. "便簽分類",
  3330. $$("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 }), {
  3331. "id": "note",
  3332. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3333. "onresize": function () { }
  3334. }, {
  3335. closecallback: function () { }
  3336. }, { "style": { "height": "36px" } }).form; //創建窗體
  3337. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便簽分類", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3338. break;
  3339. // case "score":
  3340. // _formdiv = new U.UF.UI.form(
  3341. // "量規評分",
  3342. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3343. // "id": "score",
  3344. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3345. // "onresize": function() {}
  3346. // }, {
  3347. // closecallback: function() {}
  3348. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3349. // _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); } }
  3350. // break;
  3351. case "mind":
  3352. _formdiv = new U.UF.UI.form(
  3353. "思維導圖",
  3354. $$("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"
  3355. "id": "mind",
  3356. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3357. "onresize": function () { }
  3358. }, {
  3359. closecallback: function () { }
  3360. }, { "style": { "height": "36px" } }).form; //創建窗體
  3361. _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); } }
  3362. break;
  3363. case "doc":
  3364. // U.MD.D.I.isRoom();
  3365. _formdiv = new U.UF.UI.form(
  3366. "協同文檔",
  3367. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3368. "id": "doc",
  3369. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3370. "onresize": function () { }
  3371. }, {
  3372. closecallback: function () { }
  3373. }, { "style": { "height": "36px" } }).form; //創建窗體
  3374. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3375. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3376. })
  3377. _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); } }
  3378. break;
  3379. case "train": //好友打開
  3380. _formdiv = new U.UF.UI.form(
  3381. "訓練平臺",
  3382. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3383. "id": "train",
  3384. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3385. "onresize": function () { }
  3386. }, {
  3387. closecallback: function () { }
  3388. }, { "style": { "height": "36px" } }).form; //創建窗體
  3389. _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); } }
  3390. break;
  3391. case "studentStudy":
  3392. _formdiv = new U.UF.UI.form(
  3393. "課程中心",
  3394. $$("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
  3395. "id": "studentStudy",
  3396. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3397. "onresize": function () { }
  3398. }, {
  3399. closecallback: function () { }
  3400. }, { "style": { "height": "36px" } }).form; //創建窗體
  3401. _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); } }
  3402. break;
  3403. case "mindNetwork": //好友打開
  3404. _formdiv = new U.UF.UI.form(
  3405. "思維網格",
  3406. $$("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 }), {
  3407. "id": "mindNetwork",
  3408. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3409. "onresize": function () { }
  3410. }, {
  3411. closecallback: function () { }
  3412. }, { "style": { "height": "36px" } }).form; //創建窗體
  3413. _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); } }
  3414. break;
  3415. case "studentClassRoom": //好友打開
  3416. _formdiv = new U.UF.UI.form(
  3417. "實時課堂",
  3418. $$("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 }), {
  3419. "id": "studentClassRoom",
  3420. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3421. "onresize": function () { }
  3422. }, {
  3423. closecallback: function () { }
  3424. }, { "style": { "height": "36px" } }).form; //創建窗體
  3425. _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); } }
  3426. setTimeout(() => {
  3427. U.UF.F.windowZooming(_formdiv)
  3428. }, 0);
  3429. break;
  3430. }
  3431. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3432. //選擇應用處理
  3433. switch (str) {
  3434. case "project": //好友打開
  3435. _formdiv = new U.UF.UI.form(
  3436. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  3437. $$("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 }), {
  3438. "id": "project",
  3439. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3440. "onresize": function () { }
  3441. }, {
  3442. closecallback: function () { }
  3443. }, { "style": { "height": "36px" } }).form; //創建窗體
  3444. _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); } }
  3445. break;
  3446. case "student":
  3447. _formdiv = new U.UF.UI.form(
  3448. "學生管理",
  3449. $$("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 }), {
  3450. "id": "student",
  3451. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3452. "onresize": function () { }
  3453. }, {
  3454. closecallback: function () { }
  3455. }, { "style": { "height": "36px" } }).form; //創建窗體
  3456. _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); } }
  3457. break;
  3458. case "evaluate":
  3459. _formdiv = new U.UF.UI.form(
  3460. "學生評價",
  3461. $$("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 }), {
  3462. "id": "evaluate",
  3463. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3464. "onresize": function () { }
  3465. }, {
  3466. closecallback: function () { }
  3467. }, { "style": { "height": "36px" } }).form; //創建窗體
  3468. _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); } }
  3469. break;
  3470. case "sys":
  3471. _formdiv = new U.UF.UI.form(
  3472. "目標管理",
  3473. $$("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 }), {
  3474. "id": "sys",
  3475. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3476. "onresize": function () { }
  3477. }, {
  3478. closecallback: function () { }
  3479. }, { "style": { "height": "36px" } }).form; //創建窗體
  3480. _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); } }
  3481. break;
  3482. case "courseDesign":
  3483. _formdiv = new U.UF.UI.form(
  3484. "項目設計",
  3485. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3486. "id": "courseDesign",
  3487. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3488. "onresize": function () { }
  3489. }, {
  3490. closecallback: function () { }
  3491. }, { "style": { "height": "36px" } }).form; //創建窗體
  3492. _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); } }
  3493. break;
  3494. case "program":
  3495. _formdiv = new U.UF.UI.form(
  3496. "編程平臺",
  3497. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3498. "id": "program",
  3499. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3500. "onresize": function () { }
  3501. }, {
  3502. closecallback: function () { }
  3503. }, { "style": { "height": "36px" } }).form; //創建窗體
  3504. _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); } }
  3505. break;
  3506. case "class":
  3507. _formdiv = new U.UF.UI.form(
  3508. "班級管理",
  3509. $$("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 }), {
  3510. "id": "class",
  3511. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3512. "onresize": function () { }
  3513. }, {
  3514. closecallback: function () { }
  3515. }, { "style": { "height": "36px" } }).form; //創建窗體
  3516. _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); } }
  3517. break;
  3518. case "Grade":
  3519. _formdiv = new U.UF.UI.form(
  3520. "年級管理",
  3521. $$("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 }), {
  3522. "id": "Grade",
  3523. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3524. "onresize": function () { }
  3525. }, {
  3526. closecallback: function () { }
  3527. }, { "style": { "height": "36px" } }).form; //創建窗體
  3528. _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); } }
  3529. break;
  3530. case "teacherOffice":
  3531. _formdiv = new U.UF.UI.form(
  3532. "教研室",
  3533. $$("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 }), {
  3534. "id": "teacherOffice",
  3535. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3536. "onresize": function () { }
  3537. }, {
  3538. closecallback: function () { }
  3539. }, { "style": { "height": "36px" } }).form; //創建窗體
  3540. _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); } }
  3541. break;
  3542. case "my":
  3543. _formdiv = new U.UF.UI.form(
  3544. "我的資料",
  3545. $$("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 }), {
  3546. "id": "my",
  3547. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3548. "onresize": function () { }
  3549. }, {
  3550. closecallback: function () { }
  3551. }, { "style": { "height": "36px" } }).form; //創建窗體
  3552. _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); } }
  3553. break;
  3554. case "notice":
  3555. _formdiv = new U.UF.UI.form(
  3556. "通知公告",
  3557. $$("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 }), {
  3558. "id": "notice",
  3559. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3560. "onresize": function () { }
  3561. }, {
  3562. closecallback: function () { }
  3563. }, { "style": { "height": "36px" } }).form; //創建窗體
  3564. _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); } }
  3565. break;
  3566. case "library":
  3567. _formdiv = new U.UF.UI.form(
  3568. "素材庫",
  3569. $$("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 }), {
  3570. "id": "library",
  3571. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3572. "onresize": function () { }
  3573. }, {
  3574. closecallback: function () { }
  3575. }, { "style": { "height": "36px" } }).form; //創建窗體
  3576. _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); } }
  3577. break;
  3578. case "whiteboard":
  3579. _formdiv = new U.UF.UI.form(
  3580. "電子白板",
  3581. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3582. "id": "whiteboard",
  3583. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3584. "onresize": function () { }
  3585. }, {
  3586. closecallback: function () { }
  3587. }, { "style": { "height": "36px" } }).form; //創建窗體
  3588. _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); } }
  3589. break;
  3590. case "investigation":
  3591. _formdiv = new U.UF.UI.form(
  3592. "問卷調查",
  3593. $$("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 }), {
  3594. "id": "investigation",
  3595. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3596. "onresize": function () { }
  3597. }, {
  3598. closecallback: function () { }
  3599. }, { "style": { "height": "36px" } }).form; //創建窗體
  3600. _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); } }
  3601. break;
  3602. case "note":
  3603. _formdiv = new U.UF.UI.form(
  3604. "便簽分類",
  3605. $$("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 }), {
  3606. "id": "note",
  3607. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3608. "onresize": function () { }
  3609. }, {
  3610. closecallback: function () { }
  3611. }, { "style": { "height": "36px" } }).form; //創建窗體
  3612. _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); } }
  3613. break;
  3614. // case "score":
  3615. // _formdiv = new U.UF.UI.form(
  3616. // "量規評分",
  3617. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3618. // "id": "score",
  3619. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3620. // "onresize": function() {}
  3621. // }, {
  3622. // closecallback: function() {}
  3623. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3624. // _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); } }
  3625. // break;
  3626. case "mind":
  3627. _formdiv = new U.UF.UI.form(
  3628. "思維導圖",
  3629. $$("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"
  3630. "id": "mind",
  3631. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3632. "onresize": function () { }
  3633. }, {
  3634. closecallback: function () { }
  3635. }, { "style": { "height": "36px" } }).form; //創建窗體
  3636. _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); } }
  3637. break;
  3638. case "doc":
  3639. // U.MD.D.I.isRoom();
  3640. _formdiv = new U.UF.UI.form(
  3641. "協同文檔",
  3642. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3643. "id": "doc",
  3644. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3645. "onresize": function () { }
  3646. }, {
  3647. closecallback: function () { }
  3648. }, { "style": { "height": "36px" } }).form; //創建窗體
  3649. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3650. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3651. })
  3652. _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); } }
  3653. break;
  3654. case "study":
  3655. _formdiv = new U.UF.UI.form(
  3656. "課程中心",
  3657. $$("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
  3658. "id": "study",
  3659. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3660. "onresize": function () { }
  3661. }, {
  3662. closecallback: function () { }
  3663. }, { "style": { "height": "36px" } }).form; //創建窗體
  3664. _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); } }
  3665. break;
  3666. case "mindNetwork": //好友打開
  3667. _formdiv = new U.UF.UI.form(
  3668. "思維網格",
  3669. $$("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 }), {
  3670. "id": "mindNetwork",
  3671. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //創建窗體
  3676. _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); } }
  3677. break;
  3678. case "train": //好友打開
  3679. _formdiv = new U.UF.UI.form(
  3680. "訓練平臺",
  3681. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3682. "id": "mindNetwork",
  3683. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //創建窗體
  3688. _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); } }
  3689. break;
  3690. case "teacherClassRoom": //好友打開
  3691. _formdiv = new U.UF.UI.form(
  3692. "實時課堂",
  3693. $$("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 }), {
  3694. "id": "teacherClassRoom",
  3695. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function () { }
  3697. }, {
  3698. closecallback: function () { }
  3699. }, { "style": { "height": "36px" } }).form; //創建窗體
  3700. _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); } }
  3701. setTimeout(() => {
  3702. U.UF.F.windowZooming(_formdiv)
  3703. }, 0);
  3704. break;
  3705. }
  3706. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3707. switch (str) {
  3708. case "project": //好友打開
  3709. _formdiv = new U.UF.UI.form(
  3710. "課程管理",
  3711. $$("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 }), {
  3712. "id": "project",
  3713. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3714. "onresize": function () { }
  3715. }, {
  3716. closecallback: function () { }
  3717. }, { "style": { "height": "36px" } }).form; //創建窗體
  3718. _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); } }
  3719. break;
  3720. case "evaluate":
  3721. _formdiv = new U.UF.UI.form(
  3722. "學生評價",
  3723. $$("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 }), {
  3724. "id": "evaluate",
  3725. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3726. "onresize": function () { }
  3727. }, {
  3728. closecallback: function () { }
  3729. }, { "style": { "height": "36px" } }).form; //創建窗體
  3730. _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); } }
  3731. break;
  3732. case "notice":
  3733. _formdiv = new U.UF.UI.form(
  3734. "通知公告",
  3735. $$("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 }), {
  3736. "id": "notice",
  3737. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3738. "onresize": function () { }
  3739. }, {
  3740. closecallback: function () { }
  3741. }, { "style": { "height": "36px" } }).form; //創建窗體
  3742. _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); } }
  3743. break;
  3744. case "stuLibrary":
  3745. _formdiv = new U.UF.UI.form(
  3746. "學習資料",
  3747. $$("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 }), {
  3748. "id": "stuLibrary",
  3749. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3750. "onresize": function () { }
  3751. }, {
  3752. closecallback: function () { }
  3753. }, { "style": { "height": "36px" } }).form; //創建窗體
  3754. _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); } }
  3755. break;
  3756. case "program":
  3757. _formdiv = new U.UF.UI.form(
  3758. "編程平臺",
  3759. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3760. "id": "program",
  3761. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3762. "onresize": function () { }
  3763. }, {
  3764. closecallback: function () { }
  3765. }, { "style": { "height": "36px" } }).form; //創建窗體
  3766. _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); } }
  3767. break;
  3768. case "whiteboard":
  3769. _formdiv = new U.UF.UI.form(
  3770. "電子白板",
  3771. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3772. "id": "whiteboard",
  3773. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3774. "onresize": function () { }
  3775. }, {
  3776. closecallback: function () { }
  3777. }, { "style": { "height": "36px" } }).form; //創建窗體
  3778. _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); } }
  3779. break;
  3780. case "investigation":
  3781. _formdiv = new U.UF.UI.form(
  3782. "問卷調查",
  3783. $$("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 }), {
  3784. "id": "investigation",
  3785. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3786. "onresize": function () { }
  3787. }, {
  3788. closecallback: function () { }
  3789. }, { "style": { "height": "36px" } }).form; //創建窗體
  3790. _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); } }
  3791. break;
  3792. case "mind":
  3793. _formdiv = new U.UF.UI.form(
  3794. "思維導圖",
  3795. $$("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"
  3796. "id": "mind",
  3797. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3798. "onresize": function () { }
  3799. }, {
  3800. closecallback: function () { }
  3801. }, { "style": { "height": "36px" } }).form; //創建窗體
  3802. _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); } }
  3803. break;
  3804. case "doc":
  3805. // U.MD.D.I.isRoom();
  3806. _formdiv = new U.UF.UI.form(
  3807. "協同文檔",
  3808. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3809. "id": "doc",
  3810. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3811. "onresize": function () { }
  3812. }, {
  3813. closecallback: function () { }
  3814. }, { "style": { "height": "36px" } }).form; //創建窗體
  3815. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3816. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3817. })
  3818. _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); } }
  3819. break;
  3820. case "study":
  3821. _formdiv = new U.UF.UI.form(
  3822. "課程中心",
  3823. $$("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
  3824. "id": "study",
  3825. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3826. "onresize": function () { }
  3827. }, {
  3828. closecallback: function () { }
  3829. }, { "style": { "height": "36px" } }).form; //創建窗體
  3830. _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); } }
  3831. break;
  3832. case "mindNetwork": //好友打開
  3833. _formdiv = new U.UF.UI.form(
  3834. "思維網格",
  3835. $$("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 }), {
  3836. "id": "mindNetwork",
  3837. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3838. "onresize": function () { }
  3839. }, {
  3840. closecallback: function () { }
  3841. }, { "style": { "height": "36px" } }).form; //創建窗體
  3842. _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); } }
  3843. break;
  3844. case "train": //好友打開
  3845. _formdiv = new U.UF.UI.form(
  3846. "訓練平臺",
  3847. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3848. "id": "train",
  3849. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3850. "onresize": function () { }
  3851. }, {
  3852. closecallback: function () { }
  3853. }, { "style": { "height": "36px" } }).form; //創建窗體
  3854. _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); } }
  3855. break;
  3856. case "sys":
  3857. _formdiv = new U.UF.UI.form(
  3858. "目標管理",
  3859. $$("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 }), {
  3860. "id": "sys",
  3861. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3862. "onresize": function () { }
  3863. }, {
  3864. closecallback: function () { }
  3865. }, { "style": { "height": "36px" } }).form; //創建窗體
  3866. _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); } }
  3867. break;
  3868. case "courseDesign":
  3869. _formdiv = new U.UF.UI.form(
  3870. "項目設計",
  3871. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3872. "id": "courseDesign",
  3873. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3874. "onresize": function () { }
  3875. }, {
  3876. closecallback: function () { }
  3877. }, { "style": { "height": "36px" } }).form; //創建窗體
  3878. _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); } }
  3879. break;
  3880. }
  3881. } else if (!_type) {
  3882. switch (str) {
  3883. case "my":
  3884. _formdiv = new U.UF.UI.form(
  3885. "我的資料",
  3886. $$("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 }), {
  3887. "id": "my",
  3888. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3889. "onresize": function () { }
  3890. }, {
  3891. closecallback: function () { }
  3892. }, { "style": { "height": "36px" } }).form; //創建窗體
  3893. _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); } }
  3894. break;
  3895. }
  3896. }
  3897. switch (str) {
  3898. // AIprogram2 AI體驗 aihub.cocorobo.cn
  3899. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  3900. // AIprogram AI編程 ai-blockly.cocorobo.cn
  3901. case "formulaEdi": //公式編輯
  3902. _formdiv = new U.UF.UI.form(
  3903. "公式編輯",
  3904. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3905. "id": "formulaEdi",
  3906. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3907. "onresize": function () { }
  3908. }, {
  3909. closecallback: function () { }
  3910. }, { "style": { "height": "36px" } }).form; //創建窗體
  3911. _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); } }
  3912. break;
  3913. case "molStr": //分子結構
  3914. _formdiv = new U.UF.UI.form(
  3915. "分子結構",
  3916. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3917. "id": "molStr",
  3918. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3919. "onresize": function () { }
  3920. }, {
  3921. closecallback: function () { }
  3922. }, { "style": { "height": "36px" } }).form; //創建窗體
  3923. _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); } }
  3924. break;
  3925. case "timeAxis": //時間軸
  3926. _formdiv = new U.UF.UI.form(
  3927. "時間軸",
  3928. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3929. "id": "timeAxis",
  3930. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3931. "onresize": function () { }
  3932. }, {
  3933. closecallback: function () { }
  3934. }, { "style": { "height": "36px" } }).form; //創建窗體
  3935. _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); } }
  3936. break;
  3937. case "AIprogram2": //AI體驗
  3938. _formdiv = new U.UF.UI.form(
  3939. "AI體驗",
  3940. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3941. "id": "AIprogram2",
  3942. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3943. "onresize": function () { }
  3944. }, {
  3945. closecallback: function () { }
  3946. }, { "style": { "height": "36px" } }).form; //創建窗體
  3947. _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); } }
  3948. break;
  3949. case "Pythonprogram": //python編程
  3950. _formdiv = new U.UF.UI.form(
  3951. "Python編程",
  3952. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3953. "id": "Pythonprogram",
  3954. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3955. "onresize": function () { }
  3956. }, {
  3957. closecallback: function () { }
  3958. }, { "style": { "height": "36px" } }).form; //創建窗體
  3959. _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); } }
  3960. break;
  3961. case "AIprogram": //ai編程
  3962. _formdiv = new U.UF.UI.form(
  3963. "AI編程平臺",
  3964. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3965. "id": "AIprogram",
  3966. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3967. "onresize": function () { }
  3968. }, {
  3969. closecallback: function () { }
  3970. }, { "style": { "height": "36px" } }).form; //創建窗體
  3971. _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); } }
  3972. break;
  3973. case "CocoPi": //CocoPi
  3974. _formdiv = new U.UF.UI.form(
  3975. "CocoPi",
  3976. $$("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" }), {
  3977. "id": "CocoPi",
  3978. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3979. "onresize": function () { }
  3980. }, {
  3981. closecallback: function () { }
  3982. }, { "style": { "height": "36px" } }).form; //創建窗體
  3983. _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); } }
  3984. break;
  3985. case "Wood": //Wood
  3986. _formdiv = new U.UF.UI.form(
  3987. "海龜編程",
  3988. $$("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/" }), {
  3989. "id": "Wood",
  3990. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3991. "onresize": function () { }
  3992. }, {
  3993. closecallback: function () { }
  3994. }, { "style": { "height": "36px" } }).form; //創建窗體
  3995. _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); } }
  3996. break;
  3997. case "car": //模擬駕駛
  3998. _formdiv = new U.UF.UI.form(
  3999. "模擬駕駛",
  4000. $$("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/" }), {
  4001. "id": "car",
  4002. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4003. "onresize": function () { }
  4004. }, {
  4005. closecallback: function () { }
  4006. }, { "style": { "height": "36px" } }).form; //創建窗體
  4007. _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); } }
  4008. break;
  4009. case "lineSearch": //路徑搜索
  4010. _formdiv = new U.UF.UI.form(
  4011. "路徑搜索",
  4012. $$("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/" }), {
  4013. "id": "lineSearch",
  4014. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4015. "onresize": function () { }
  4016. }, {
  4017. closecallback: function () { }
  4018. }, { "style": { "height": "36px" } }).form; //創建窗體
  4019. _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); } }
  4020. break;
  4021. case "deepLearning": //深度學習
  4022. _formdiv = new U.UF.UI.form(
  4023. "深度學習",
  4024. $$("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/#" }), {
  4025. "id": "deepLearning",
  4026. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4027. "onresize": function () { }
  4028. }, {
  4029. closecallback: function () { }
  4030. }, { "style": { "height": "36px" } }).form; //創建窗體
  4031. _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); } }
  4032. break;
  4033. case "allHistory": //深度學習
  4034. _formdiv = new U.UF.UI.form(
  4035. "全歷史",
  4036. $$("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/" }), {
  4037. "id": "allHistory",
  4038. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4039. "onresize": function () { }
  4040. }, {
  4041. closecallback: function () { }
  4042. }, { "style": { "height": "36px" } }).form; //創建窗體
  4043. _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); } }
  4044. break;
  4045. case "chatPDF": //ai編程
  4046. _formdiv = new U.UF.UI.form(
  4047. "chatPDF",
  4048. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4049. "id": "chatPDF",
  4050. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4051. "onresize": function () { }
  4052. }, {
  4053. closecallback: function () { }
  4054. }, { "style": { "height": "36px" } }).form; //創建窗體
  4055. _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); } }
  4056. break;
  4057. case "resources": //國家教育
  4058. _formdiv = new U.UF.UI.form(
  4059. "國家教育",
  4060. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4061. "id": "resources",
  4062. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4063. "onresize": function () { }
  4064. }, {
  4065. closecallback: function () { }
  4066. }, { "style": { "height": "36px" } }).form; //創建窗體
  4067. _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); } }
  4068. break;
  4069. case "codeEdit": //源碼編輯
  4070. _formdiv = new U.UF.UI.form(
  4071. "源碼編輯",
  4072. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4073. "id": "codeEdit",
  4074. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4075. "onresize": function () { }
  4076. }, {
  4077. closecallback: function () { }
  4078. }, { "style": { "height": "36px" } }).form; //創建窗體
  4079. _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); } }
  4080. break; //
  4081. case "MindMap": //MindMap
  4082. _formdiv = new U.UF.UI.form(
  4083. "MindMap",
  4084. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4085. "id": "MindMap",
  4086. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4087. "onresize": function () { }
  4088. }, {
  4089. closecallback: function () { }
  4090. }, { "style": { "height": "36px" } }).form; //創建窗體
  4091. _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); } }
  4092. break;
  4093. case "netWorkPanel": //netWorkPanel
  4094. _formdiv = new U.UF.UI.form(
  4095. "netWorkPanel",
  4096. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4097. "id": "netWorkPanel",
  4098. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4099. "onresize": function () { }
  4100. }, {
  4101. closecallback: function () { }
  4102. }, { "style": { "height": "36px" } }).form; //創建窗體
  4103. _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); } }
  4104. break;
  4105. case "GeoGebra": //GeoGebra
  4106. _formdiv = new U.UF.UI.form(
  4107. "GeoGebra",
  4108. $$("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" }), {
  4109. "id": "GeoGebra",
  4110. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4111. "onresize": function () { }
  4112. }, {
  4113. closecallback: function () { }
  4114. }, { "style": { "height": "36px" } }).form; //創建窗體
  4115. _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); } }
  4116. break;
  4117. case "translation": //翻譯
  4118. _formdiv = new U.UF.UI.form(
  4119. "翻譯",
  4120. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4121. "id": "translation",
  4122. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4123. "onresize": function () { }
  4124. }, {
  4125. closecallback: function () { }
  4126. }, { "style": { "height": "36px" } }).form; //創建窗體
  4127. _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); } }
  4128. break;
  4129. case "mohe": //魔盒
  4130. _formdiv = new U.UF.UI.form(
  4131. "魔盒識字",
  4132. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4133. "id": "mohe",
  4134. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4135. "onresize": function () { }
  4136. }, {
  4137. closecallback: function () { }
  4138. }, { "style": { "height": "36px" } }).form; //創建窗體
  4139. _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); } }
  4140. break;
  4141. case "24game": //24點
  4142. _formdiv = new U.UF.UI.form(
  4143. "24點",
  4144. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4145. "id": "24game",
  4146. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4147. "onresize": function () { }
  4148. }, {
  4149. closecallback: function () { }
  4150. }, { "style": { "height": "36px" } }).form; //創建窗體
  4151. _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); } }
  4152. break;
  4153. case "case":
  4154. _formdiv = new U.UF.UI.form(
  4155. "課程進展",
  4156. $$("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 }), {
  4157. "id": "case",
  4158. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4159. "onresize": function () { }
  4160. }, {
  4161. closecallback: function () { }
  4162. }, { "style": { "height": "36px" } }).form; //創建窗體
  4163. _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); } }
  4164. break;
  4165. case "snf":
  4166. _formdiv = new U.UF.UI.form(
  4167. "賽諾梵",
  4168. $$("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" }), {
  4169. "id": "snf",
  4170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4171. "onresize": function () { }
  4172. }, {
  4173. closecallback: function () { }
  4174. }, { "style": { "height": "36px" } }).form; //創建窗體
  4175. _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); } }
  4176. break;
  4177. case "hanFamily":
  4178. _formdiv = new U.UF.UI.form(
  4179. "漢字家族",
  4180. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4181. "id": "hanFamily",
  4182. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4183. "onresize": function () { }
  4184. }, {
  4185. closecallback: function () { }
  4186. }, { "style": { "height": "36px" } }).form; //創建窗體
  4187. _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); } }
  4188. break;
  4189. case "hanClassics":
  4190. _formdiv = new U.UF.UI.form(
  4191. "國學經典",
  4192. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4193. "id": "hanClassics",
  4194. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4195. "onresize": function () { }
  4196. }, {
  4197. closecallback: function () { }
  4198. }, { "style": { "height": "36px" } }).form; //創建窗體
  4199. _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); } }
  4200. break;
  4201. case "hanTraining":
  4202. _formdiv = new U.UF.UI.form(
  4203. "筆畫訓練",
  4204. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4205. "id": "hanTraining",
  4206. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4207. "onresize": function () { }
  4208. }, {
  4209. closecallback: function () { }
  4210. }, { "style": { "height": "36px" } }).form; //創建窗體
  4211. _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); } }
  4212. break;
  4213. case "hanClass":
  4214. _formdiv = new U.UF.UI.form(
  4215. "書法課堂",
  4216. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4217. "id": "hanClass",
  4218. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4219. "onresize": function () { }
  4220. }, {
  4221. closecallback: function () { }
  4222. }, { "style": { "height": "36px" } }).form; //創建窗體
  4223. _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); } }
  4224. break;
  4225. case "han":
  4226. _formdiv = new U.UF.UI.form(
  4227. "漢字宮",
  4228. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4229. "id": "han",
  4230. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4231. "onresize": function () { }
  4232. }, {
  4233. closecallback: function () { }
  4234. }, { "style": { "height": "36px" } }).form; //創建窗體
  4235. _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); } }
  4236. break;
  4237. case "projectGM": //課程管理
  4238. _formdiv = new U.UF.UI.form(
  4239. "課程管理",
  4240. $$("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 }), {
  4241. "id": "projectGM",
  4242. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4243. "onresize": function () { }
  4244. }, {
  4245. closecallback: function () { }
  4246. }, { "style": { "height": "36px" } }).form; //創建窗體
  4247. _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); } }
  4248. break;
  4249. case "studyGM": //課程中心
  4250. _formdiv = new U.UF.UI.form(
  4251. "課程中心",
  4252. $$("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
  4253. "id": "study",
  4254. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4255. "onresize": function () { }
  4256. }, {
  4257. closecallback: function () { }
  4258. }, { "style": { "height": "36px" } }).form; //創建窗體
  4259. _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); } }
  4260. break;
  4261. // studentGM
  4262. case "studentGM": //學生管理
  4263. _formdiv = new U.UF.UI.form(
  4264. "學生管理",
  4265. $$("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 }), {
  4266. "id": "studentGM",
  4267. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4268. "onresize": function () { }
  4269. }, {
  4270. closecallback: function () { }
  4271. }, { "style": { "height": "36px" } }).form; //創建窗體
  4272. _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); } }
  4273. break;
  4274. case "evaluateGM": //學生評價
  4275. _formdiv = new U.UF.UI.form(
  4276. "學生評價",
  4277. $$("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 }), {
  4278. "id": "evaluateGM",
  4279. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4280. "onresize": function () { }
  4281. }, {
  4282. closecallback: function () { }
  4283. }, { "style": { "height": "36px" } }).form; //創建窗體
  4284. _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); } }
  4285. break;
  4286. // classGM
  4287. case "classGM": //班級管理
  4288. _formdiv = new U.UF.UI.form(
  4289. "班級管理",
  4290. $$("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 }), {
  4291. "id": "classGM",
  4292. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4293. "onresize": function () { }
  4294. }, {
  4295. closecallback: function () { }
  4296. }, { "style": { "height": "36px" } }).form; //創建窗體
  4297. _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); } }
  4298. break;
  4299. // dataGM
  4300. case "dataGM":
  4301. _formdiv = new U.UF.UI.form(
  4302. "我的資料",
  4303. $$("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 }), {
  4304. "id": "dataGM",
  4305. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4306. "onresize": function () { }
  4307. }, {
  4308. closecallback: function () { }
  4309. }, { "style": { "height": "36px" } }).form; //創建窗體
  4310. _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); } }
  4311. break;
  4312. // caseGM
  4313. case "caseGM": //課程進展
  4314. _formdiv = new U.UF.UI.form(
  4315. "課程進展",
  4316. $$("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 }), {
  4317. "id": "caseGM",
  4318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4319. "onresize": function () { }
  4320. }, {
  4321. closecallback: function () { }
  4322. }, { "style": { "height": "36px" } }).form; //創建窗體
  4323. _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); } }
  4324. break;
  4325. // meterialGM
  4326. case "meterialGM": //素材庫
  4327. _formdiv = new U.UF.UI.form(
  4328. "素材庫",
  4329. $$("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 }), {
  4330. "id": "meterialGM",
  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/gm/material.png)" }, "name": "素材庫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4337. break;
  4338. // evaluateSGM
  4339. case "evaluateSGM": //我的評價
  4340. _formdiv = new U.UF.UI.form(
  4341. "我的評價",
  4342. $$("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 }), {
  4343. "id": "evaluateSGM",
  4344. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4345. "onresize": function () { }
  4346. }, {
  4347. closecallback: function () { }
  4348. }, { "style": { "height": "36px" } }).form; //創建窗體
  4349. _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); } }
  4350. break;
  4351. case "jupyter": //jupyter
  4352. _formdiv = new U.UF.UI.form(
  4353. "jupyter",
  4354. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4355. "id": "jupyter",
  4356. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4357. "onresize": function () { }
  4358. }, {
  4359. closecallback: function () { }
  4360. }, { "style": { "height": "36px" } }).form; //創建窗體
  4361. _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); } }
  4362. break;
  4363. case "number": //數字實驗室
  4364. _formdiv = new U.UF.UI.form(
  4365. "數字實驗室",
  4366. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4367. "id": "number",
  4368. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4369. "onresize": function () { }
  4370. }, {
  4371. closecallback: function () { }
  4372. }, { "style": { "height": "36px" } }).form; //創建窗體
  4373. _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); } }
  4374. break;
  4375. case "studentCourse": //項目管理 學生
  4376. _formdiv = new U.UF.UI.form(
  4377. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4378. $$("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 }), {
  4379. "id": "studentCourse",
  4380. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4381. "onresize": function () { }
  4382. }, {
  4383. closecallback: function () { }
  4384. }, { "style": { "height": "36px" } }).form; //創建窗體
  4385. _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); } }
  4386. break;
  4387. case "studentCourseS": //項目管理 老師
  4388. _formdiv = new U.UF.UI.form(
  4389. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4390. $$("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 }), {
  4391. "id": "studentCourseS",
  4392. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4393. "onresize": function () { }
  4394. }, {
  4395. closecallback: function () { }
  4396. }, { "style": { "height": "36px" } }).form; //創建窗體
  4397. _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); } }
  4398. break;
  4399. case "studentIndex": //項目中心
  4400. _formdiv = new U.UF.UI.form(
  4401. "項目中心",
  4402. $$("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 }), {
  4403. "id": "studentIndex",
  4404. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4405. "onresize": function () { }
  4406. }, {
  4407. closecallback: function () { }
  4408. }, { "style": { "height": "36px" } }).form; //創建窗體
  4409. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentIndex.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4410. break;
  4411. case "CaseDesignS":
  4412. _formdiv = new U.UF.UI.form(
  4413. "項目進展",
  4414. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4415. "id": "case",
  4416. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4417. "onresize": function () { }
  4418. }, {
  4419. closecallback: function () { }
  4420. }, { "style": { "height": "36px" } }).form; //創建窗體
  4421. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "項目進展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4422. break;
  4423. case "tcStudent": //騰訊學生管理
  4424. _formdiv = new U.UF.UI.form(
  4425. "學生管理",
  4426. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4427. "id": "tcStudent",
  4428. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4429. "onresize": function () { }
  4430. }, {
  4431. closecallback: function () { }
  4432. }, { "style": { "height": "36px" } }).form; //創建窗體
  4433. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "學生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4434. break;
  4435. case "tcSchool": //騰訊學校管理
  4436. _formdiv = new U.UF.UI.form(
  4437. "學校管理",
  4438. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4439. "id": "tcSchool",
  4440. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4441. "onresize": function () { }
  4442. }, {
  4443. closecallback: function () { }
  4444. }, { "style": { "height": "36px" } }).form; //創建窗體
  4445. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "學校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4446. break;
  4447. case "tcTeacher": //騰訊學校管理
  4448. _formdiv = new U.UF.UI.form(
  4449. "教師管理",
  4450. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4451. "id": "tcTeacher",
  4452. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4453. "onresize": function () { }
  4454. }, {
  4455. closecallback: function () { }
  4456. }, { "style": { "height": "36px" } }).form; //創建窗體
  4457. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教師管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4458. break;
  4459. case "tcData": //騰訊我的資料
  4460. _formdiv = new U.UF.UI.form(
  4461. "我的資料",
  4462. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4463. "id": "tcData",
  4464. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4465. "onresize": function () { }
  4466. }, {
  4467. closecallback: function () { }
  4468. }, { "style": { "height": "36px" } }).form; //創建窗體
  4469. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4470. break;
  4471. case "tcNotice": //騰訊消息通知
  4472. _formdiv = new U.UF.UI.form(
  4473. "消息通知",
  4474. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4475. "id": "tcNotice",
  4476. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4477. "onresize": function () { }
  4478. }, {
  4479. closecallback: function () { }
  4480. }, { "style": { "height": "36px" } }).form; //創建窗體
  4481. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4482. break;
  4483. case "myReport": //好友打開
  4484. _formdiv = new U.UF.UI.form(
  4485. "我的評價",
  4486. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/myReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId }), {
  4487. "id": "myReport",
  4488. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4489. "onresize": function () { }
  4490. }, {
  4491. closecallback: function () { }
  4492. }, { "style": { "height": "36px" } }).form; //創建窗體
  4493. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4494. break;
  4495. case "learnAna": //好友打開
  4496. _formdiv = new U.UF.UI.form(
  4497. "學習分析",
  4498. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4499. "id": "learnAna",
  4500. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4501. "onresize": function () { }
  4502. }, {
  4503. closecallback: function () { }
  4504. }, { "style": { "height": "36px" } }).form; //創建窗體
  4505. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "學習分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4506. break;
  4507. case "AIChat": //AI共創
  4508. _formdiv = new U.UF.UI.form(
  4509. "AI共創",
  4510. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  4511. "id": "AIChat",
  4512. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4513. "onresize": function () { }
  4514. }, {
  4515. istop: true,
  4516. closecallback: function () { $("#aichat_icon").remove(); },
  4517. narrowcallback: function () {
  4518. if (!$("#aichat_icon")[0]) {
  4519. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4520. }
  4521. },
  4522. }, { "style": { "height": "36px" } }).form; //創建窗體
  4523. _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); } }
  4524. break;
  4525. case "ainew": //AI共創
  4526. _formdiv = new U.UF.UI.form(
  4527. "AI協同",
  4528. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  4529. "id": "ainew",
  4530. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4531. "onresize": function () { }
  4532. }, {
  4533. closecallback: function () { }
  4534. }, { "style": { "height": "36px" } }).form; //創建窗體
  4535. _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); } }
  4536. break;
  4537. case "futureClass": //AI共創
  4538. _formdiv = new U.UF.UI.form(
  4539. "協同建構",
  4540. $$("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
  4541. "id": "synergyCourse",
  4542. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4543. "onresize": function () { }
  4544. }, {
  4545. closecallback: function () {
  4546. $("iframe", _formdiv)[0].contentWindow.loginout();
  4547. }
  4548. }, { "style": { "height": "36px" } }).form; //創建窗體
  4549. _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); } }
  4550. break;
  4551. case "aiagent": //ai agent
  4552. _formdiv = new U.UF.UI.form(
  4553. "AI Agent",
  4554. $$("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" }), {
  4555. "id": "AIAgent",
  4556. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4557. "onresize": function () { }
  4558. }, {
  4559. closecallback: function () { }
  4560. }, { "style": { "height": "36px" } }).form; //創建窗體
  4561. _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); } }
  4562. break;
  4563. case "dataBoard": //數據看板
  4564. _formdiv = new U.UF.UI.form(
  4565. "數據看板",
  4566. $$("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 }), {
  4567. "id": "dataBoard",
  4568. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4569. "onresize": function () { }
  4570. }, {
  4571. closecallback: function () { }
  4572. }, { "style": { "height": "36px" } }).form; //創建窗體
  4573. _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); } }
  4574. break;
  4575. case "dataBoardSies": //數據融合
  4576. _formdiv = new U.UF.UI.form(
  4577. "數據融合",
  4578. $$("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 }), {
  4579. "id": "dataBoardSies",
  4580. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4581. "onresize": function () { }
  4582. }, {
  4583. closecallback: function () { }
  4584. }, { "style": { "height": "36px" } }).form; //創建窗體
  4585. _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); } }
  4586. break;
  4587. case "dataBoardNew": //數據看板
  4588. _formdiv = new U.UF.UI.form(
  4589. "綜合看板",
  4590. $$("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 }), {
  4591. "id": "dataBoardNew",
  4592. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4593. "onresize": function () { }
  4594. }, {
  4595. closecallback: function () { }
  4596. }, { "style": { "height": "36px" } }).form; //創建窗體
  4597. _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); } }
  4598. break;
  4599. case "AIAnalyse": //AI共創
  4600. _formdiv = new U.UF.UI.form(
  4601. "AI分析",
  4602. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  4603. "id": "AIAnalyse",
  4604. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4605. "onresize": function () { }
  4606. }, {
  4607. closecallback: function () { }
  4608. }, { "style": { "height": "36px" } }).form; //創建窗體
  4609. _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); } }
  4610. break;
  4611. case "studioCourse": //AI共創
  4612. _formdiv = new U.UF.UI.form(
  4613. "工作管理",
  4614. $$("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 }), {
  4615. "id": "studioCourse",
  4616. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4617. "onresize": function () { }
  4618. }, {
  4619. closecallback: function () { }
  4620. }, { "style": { "height": "36px" } }).form; //創建窗體
  4621. _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); } }
  4622. break;
  4623. case "studioIndex": //AI共創
  4624. _formdiv = new U.UF.UI.form(
  4625. "工作中心",
  4626. $$("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 }), {
  4627. "id": "studioIndex",
  4628. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4629. "onresize": function () { }
  4630. }, {
  4631. closecallback: function () { }
  4632. }, { "style": { "height": "36px" } }).form; //創建窗體
  4633. _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); } }
  4634. break;
  4635. case "source":
  4636. _formdiv = new U.UF.UI.form(
  4637. "教學資源",
  4638. $$("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 }), {
  4639. "id": "source",
  4640. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4641. "onresize": function () { }
  4642. }, {
  4643. closecallback: function () { }
  4644. }, { "style": { "height": "36px" } }).form; //創建窗體
  4645. _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); } }
  4646. break;
  4647. case "testTeacher":
  4648. _formdiv = new U.UF.UI.form(
  4649. "評測管理",
  4650. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4651. "id": "testTeacher",
  4652. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4653. "onresize": function () { }
  4654. }, {
  4655. closecallback: function () { }
  4656. }, { "style": { "height": "36px" } }).form; //創建窗體
  4657. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "評測管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4658. break;
  4659. case "testStudent":
  4660. _formdiv = new U.UF.UI.form(
  4661. "評測中心",
  4662. $$("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 }), {
  4663. "id": "testStudent",
  4664. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4665. "onresize": function () { }
  4666. }, {
  4667. closecallback: function () { }
  4668. }, { "style": { "height": "36px" } }).form; //創建窗體
  4669. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "評測管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4670. break;
  4671. }
  4672. //U.MD.D.I.openClick(str);
  4673. //如果有任務欄信息
  4674. if (_taskbar) {
  4675. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  4676. }
  4677. }
  4678. // U.MD.D.I.openClick = function(str){
  4679. // var click = '';
  4680. // switch(str){
  4681. // case 'friend':
  4682. // click = '我的好友';
  4683. // break;
  4684. // case 'domain':
  4685. // click = '域名管理';
  4686. // break;
  4687. // case 'disk':
  4688. // click = '我的雲盤';
  4689. // break;
  4690. // case 'word':
  4691. // click = 'Word';
  4692. // break;
  4693. // case 'excel':
  4694. // click = 'Execl';
  4695. // break;
  4696. // case 'txt':
  4697. // click = '文本文件';
  4698. // break;
  4699. // case 'lookupFriend':
  4700. // click = '查找好友';
  4701. // break;
  4702. // case 'ftp':
  4703. // click = 'FTP';
  4704. // break;
  4705. // case 'group':
  4706. // click = '群組';
  4707. // break;
  4708. // case 'set':
  4709. // click = '我的設置';
  4710. // break;
  4711. // case 'systemSet':
  4712. // click = '系統設置';
  4713. // break;
  4714. // case 'boomYun':
  4715. // click = '互聯辦公';
  4716. // break;
  4717. // case 'xz':
  4718. // click = '雲端下載';
  4719. // break;
  4720. // case 'client':
  4721. // click = '有思瀏覽器';
  4722. // break;
  4723. // case 'backEndProgramming':
  4724. // click = '在線後臺編程';
  4725. // break;
  4726. // case 'frontEndProgramming':
  4727. // click = '在線前端編程';
  4728. // break;
  4729. // default: break;
  4730. // }
  4731. // if(U.MD.D.I.Ip && click){
  4732. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4733. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4734. // })
  4735. // }
  4736. // }
  4737. /**
  4738. *函數作用:ajax簡易函數,使用post格式
  4739. *@param url {data} 後臺地址
  4740. *@param data {data} 參數json
  4741. *@param fn {data} 回調函數
  4742. *
  4743. */
  4744. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4745. // var xhr = new XMLHttpRequest();
  4746. // xhr.open("GET",url,true);
  4747. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4748. // xhr.onreadystatechange = function(){
  4749. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4750. // fn.call(this,xhr.responseText);
  4751. // }
  4752. // };
  4753. // xhr.send();
  4754. // }
  4755. /*判斷是否是內網IP*/
  4756. // U.MD.D.I.isInnerIPFn = function(str){
  4757. // var curPageUrl = str;
  4758. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  4759. // curPageUrl =curPageUrl.replace(reg1,'');
  4760. // // console.log('curPageUrl-1 '+curPageUrl);
  4761. // var reg2 = /\:+/g;//替換冒號為一點
  4762. // curPageUrl =curPageUrl.replace(reg2,'.');
  4763. // // console.log('curPageUrl-2 '+curPageUrl);
  4764. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  4765. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4766. // if(curPageUrl[2] != '16'){
  4767. // return ipAddress;
  4768. // }else{
  4769. // return false;
  4770. // }
  4771. // }
  4772. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4773. // //compatibility for firefox and chrome
  4774. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4775. // var pc = new myPeerConnection({
  4776. // iceServers: []
  4777. // }),
  4778. // noop = function() {},
  4779. // localIPs = {},
  4780. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4781. // key;
  4782. // function iterateIP(ip) {
  4783. // if (!localIPs[ip]) onNewIP(ip);
  4784. // localIPs[ip] = true;
  4785. // }
  4786. // //create a bogus data channel
  4787. // pc.createDataChannel("");
  4788. // // create offer and set local description
  4789. // pc.createOffer().then(function(sdp) {
  4790. // sdp.sdp.split('\n').forEach(function(line) {
  4791. // if (line.indexOf('candidate') < 0) return;
  4792. // line.match(ipRegex).forEach(iterateIP);
  4793. // });
  4794. // pc.setLocalDescription(sdp, noop, noop);
  4795. // }).catch(function(reason) {
  4796. // // An error occurred, so handle the failure to connect
  4797. // });
  4798. // //sten for candidate events
  4799. // pc.onicecandidate = function(ice) {
  4800. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4801. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4802. // };
  4803. // }
  4804. // U.MD.D.I.getUserIpBool = function(callback){
  4805. // U.MD.D.I.getUserIP(function(ip){
  4806. // alert("Got IP! :" + ip);
  4807. // });
  4808. //}
  4809. //#endregion
  4810. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4811. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  4812. _formdiv, //創建任務欄時同時彈出的窗體元素。
  4813. _userinfo = US.userInfo, //登錄用戶信息
  4814. _userid = US.userInfo.userid //登錄用戶id
  4815. let _iframe;
  4816. let _cid = cid,
  4817. _stage = stage,
  4818. _task = task,
  4819. _tool = tool;
  4820. var _jie = $$("div", {
  4821. "style": {
  4822. "position": "absolute",
  4823. "bottom": "50px",
  4824. "right": "50px",
  4825. "zIndex": "9999",
  4826. "backgroundColor": "#2268bc",
  4827. "color": "#fff",
  4828. "padding": "12px 20px",
  4829. "cursor": "pointer",
  4830. "borderRadius": "4px",
  4831. },
  4832. "innerHTML": "提交作業"
  4833. })
  4834. let aTool = ''
  4835. let _loading = document.createElement('div')
  4836. _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;"
  4837. // _loading.id = "";
  4838. let _lchild = document.createElement('div')
  4839. let _limg = document.createElement('img')
  4840. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4841. _limg.style = "width: 26px;margin-right: 10px;"
  4842. _lchild.appendChild(_limg)
  4843. let _lspan = document.createElement('span')
  4844. _lspan.innerHTML = "上傳中..."
  4845. _lchild.appendChild(_lspan)
  4846. _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%);"
  4847. _loading.appendChild(_lchild)
  4848. var _box = $$('div', {
  4849. "style": {
  4850. "position": "relative",
  4851. "width": "100%",
  4852. "height": "100%",
  4853. },
  4854. })
  4855. _box.appendChild(_loading)
  4856. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4857. switch (str) {
  4858. case "whiteboard":
  4859. aTool = 1;
  4860. _iframe = $$("iframe", {
  4861. "frameborder": "no",
  4862. "border": "0",
  4863. "scrolling ": "no",
  4864. "style": {
  4865. "cssText": "border:0;width:100%;height:100%"
  4866. },
  4867. "src": "https://iwb.cocorobo.hk/"
  4868. })
  4869. _box.appendChild(_iframe);
  4870. _box.appendChild(_jie);
  4871. _formdiv = new U.UF.UI.form(
  4872. "電子白板",
  4873. _box, {
  4874. "id": "whiteboard" + cid + stage + task + tool,
  4875. "style": {
  4876. "width": "90%",
  4877. "height": "90%",
  4878. "overflow": 'hidden'
  4879. },
  4880. "onresize": function () { }
  4881. }, {
  4882. closecallback: function () { }
  4883. }, {
  4884. "style": {
  4885. "height": "36px"
  4886. }
  4887. }).form; //創建窗體
  4888. _taskbar = {
  4889. "id": str + _formdiv.id,
  4890. "style": {
  4891. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4892. },
  4893. "name": "電子白板",
  4894. "forms": _formdiv,
  4895. "click": function () {
  4896. U.MD.D.I.openApplication(str, obj, info);
  4897. }
  4898. }
  4899. break;
  4900. case "mind":
  4901. aTool = 3;
  4902. _iframe = $$("iframe", {
  4903. "frameborder": "no",
  4904. "border": "0",
  4905. "scrolling ": "no",
  4906. "style": {
  4907. "cssText": "border:0;width:100%;height:100%"
  4908. },
  4909. "src": "/kityminder-editor/dist/index.html"
  4910. })
  4911. _box.appendChild(_iframe);
  4912. _box.appendChild(_jie);
  4913. _formdiv = new U.UF.UI.form(
  4914. "思維導圖",
  4915. _box, { //"/jsmind/example/demo.html"
  4916. "id": "mind" + cid + stage + task + tool,
  4917. "style": {
  4918. "width": "90%",
  4919. "height": "90%",
  4920. "overflow": 'hidden'
  4921. },
  4922. "onresize": function () { }
  4923. }, {
  4924. closecallback: function () { }
  4925. }, {
  4926. "style": {
  4927. "height": "36px"
  4928. }
  4929. }).form; //創建窗體
  4930. _taskbar = {
  4931. "id": str + _formdiv.id,
  4932. "style": {
  4933. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4934. },
  4935. "name": "思維導圖",
  4936. "forms": _formdiv,
  4937. "click": function () {
  4938. U.MD.D.I.openApplication(str, obj, info);
  4939. }
  4940. }
  4941. break;
  4942. case "MindMap":
  4943. aTool = 3;
  4944. _iframe = $$("iframe", {
  4945. "frameborder": "no",
  4946. "border": "0",
  4947. "scrolling ": "no",
  4948. "style": {
  4949. "cssText": "border:0;width:100%;height:100%"
  4950. },
  4951. "src": "//cloud.cocorobo.hk/mind/"
  4952. })
  4953. _box.appendChild(_iframe);
  4954. _box.appendChild(_jie);
  4955. _formdiv = new U.UF.UI.form(
  4956. "思維導圖",
  4957. _box, { //"/jsmind/example/demo.html"
  4958. "id": "mind" + cid + stage + task + tool,
  4959. "style": {
  4960. "width": "90%",
  4961. "height": "90%",
  4962. "overflow": 'hidden'
  4963. },
  4964. "onresize": function () { }
  4965. }, {
  4966. closecallback: function () { }
  4967. }, {
  4968. "style": {
  4969. "height": "36px"
  4970. }
  4971. }).form; //創建窗體
  4972. _taskbar = {
  4973. "id": str + _formdiv.id,
  4974. "style": {
  4975. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4976. },
  4977. "name": "思維導圖",
  4978. "forms": _formdiv,
  4979. "click": function () {
  4980. U.MD.D.I.openApplication(str, obj, info);
  4981. }
  4982. }
  4983. break;
  4984. case "doc":
  4985. aTool = 6;
  4986. _iframe = $$("iframe", {
  4987. "frameborder": "no",
  4988. "border": "0",
  4989. "scrolling ": "no",
  4990. "style": {
  4991. "cssText": "border:0;width:100%;height:100%"
  4992. },
  4993. "src": "/Office/Word/WordEditArea.htm"
  4994. })
  4995. _box.appendChild(_iframe);
  4996. _box.appendChild(_jie);
  4997. _formdiv = new U.UF.UI.form(
  4998. "協同文檔",
  4999. _box, {
  5000. "id": "doc" + cid + stage + task + tool,
  5001. "style": {
  5002. "width": "90%",
  5003. "height": "90%",
  5004. "overflow": 'hidden'
  5005. },
  5006. "onresize": function () { }
  5007. }, {
  5008. closecallback: function () { }
  5009. }, {
  5010. "style": {
  5011. "height": "36px"
  5012. }
  5013. }).form; //創建窗體
  5014. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5015. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5016. })
  5017. _taskbar = {
  5018. "id": str + _formdiv.id,
  5019. "style": {
  5020. "backgroundImage": "url(/img/icon/doc.png)"
  5021. },
  5022. "name": "協同文檔",
  5023. "forms": _formdiv,
  5024. "click": function () {
  5025. U.MD.D.I.openApplication(str, obj, info);
  5026. }
  5027. }
  5028. break;
  5029. case "mindNetwork": //好友打開
  5030. aTool = 7;
  5031. _iframe = $$("iframe", {
  5032. "webkitallowfullscreen": "",
  5033. "mozallowfullscreen": "",
  5034. "allowfullscreen": "",
  5035. "frameborder": "no",
  5036. "border": "0",
  5037. "scrolling ": "no",
  5038. "style": {
  5039. "cssText": "border:0; width:100%; height:100%;"
  5040. },
  5041. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5042. })
  5043. _box.appendChild(_iframe);
  5044. _box.appendChild(_jie);
  5045. _formdiv = new U.UF.UI.form(
  5046. "思維網格",
  5047. _box, {
  5048. "id": "mindNetwork" + cid + stage + task + tool,
  5049. "style": {
  5050. "width": "90%",
  5051. "height": "90%",
  5052. "overflow": 'hidden'
  5053. },
  5054. "onresize": function () { }
  5055. }, {
  5056. closecallback: function () { }
  5057. }, {
  5058. "style": {
  5059. "height": "36px"
  5060. }
  5061. }).form; //創建窗體
  5062. _taskbar = {
  5063. "id": str + _formdiv.id,
  5064. "style": {
  5065. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5066. },
  5067. "name": "思維網格",
  5068. "forms": _formdiv,
  5069. "click": function () {
  5070. U.MD.D.I.openApplication(str, obj, info);
  5071. }
  5072. }
  5073. break;
  5074. case "courseDesign":
  5075. _iframe = $$("iframe", {
  5076. "webkitallowfullscreen": "",
  5077. "mozallowfullscreen": "",
  5078. "allowfullscreen": "",
  5079. "frameborder": "no",
  5080. "border": "0",
  5081. "scrolling ": "no",
  5082. "style": {
  5083. "cssText": "border:0; width:100%; height:100%;"
  5084. },
  5085. "src": "/course-design-vue"
  5086. })
  5087. _box.appendChild(_iframe);
  5088. _box.appendChild(_jie);
  5089. _formdiv = new U.UF.UI.form(
  5090. "項目設計",
  5091. _box, {
  5092. "id": "courseDesign" + cid + stage + task + tool,
  5093. "style": {
  5094. "width": "90%",
  5095. "height": "90%",
  5096. "overflow": 'hidden'
  5097. },
  5098. "onresize": function () { }
  5099. }, {
  5100. closecallback: function () { }
  5101. }, {
  5102. "style": {
  5103. "height": "36px"
  5104. }
  5105. }).form; //創建窗體
  5106. _taskbar = {
  5107. "id": str + _formdiv.id,
  5108. "style": {
  5109. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5110. },
  5111. "name": "項目設計",
  5112. "forms": _formdiv,
  5113. "click": function () {
  5114. U.MD.D.I.openApplication(str, obj, info);
  5115. }
  5116. }
  5117. break;
  5118. }
  5119. const script1 = document.createElement("script");
  5120. script1.type = "text/javascript";
  5121. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5122. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5123. const script2 = document.createElement("script");
  5124. script2.type = "text/javascript";
  5125. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5126. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5127. const script3 = document.createElement("script");
  5128. script3.type = "text/javascript";
  5129. script3.charset = "UTF-8";
  5130. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5131. const script4 = document.createElement("script");
  5132. script4.type = "text/javascript";
  5133. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5134. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  5135. if (_iframe) {
  5136. if (str == 'doc') {
  5137. _iframe = _formdiv.querySelector('iframe')
  5138. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5139. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5140. _iframe.contentWindow.document.body.appendChild(script1);
  5141. _iframe.contentWindow.document.body.appendChild(script2);
  5142. // _iframe.contentWindow.document.body.appendChild(script3);
  5143. _iframe.contentWindow.document.body.appendChild(script4);
  5144. })
  5145. if (onloadListener) {
  5146. _iframe.contentDocument.location.reload()
  5147. } else {
  5148. _iframe.contentDocument.location.reload()
  5149. }
  5150. } else if (str == 'courseDesign') {
  5151. U.UF.DL.iframeLoad(_iframe, function () {
  5152. // _iframe.contentWindow.U.MD.O.W.load();
  5153. // _iframe.contentWindow.document.body.appendChild(script1);
  5154. _iframe.contentWindow.document.body.appendChild(script2);
  5155. _iframe.contentWindow.document.body.appendChild(script4);
  5156. })
  5157. } else if (str == 'mind') {
  5158. _iframe = _formdiv.querySelector('iframe')
  5159. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5160. //
  5161. _iframe.contentWindow.document.body.appendChild(script1);
  5162. _iframe.contentWindow.document.body.appendChild(script2);
  5163. _iframe.contentWindow.document.body.appendChild(script4);
  5164. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5165. })
  5166. if (onloadListener) {
  5167. _iframe.contentDocument.location.reload()
  5168. } else {
  5169. _iframe.contentDocument.location.reload()
  5170. }
  5171. } else if (str == 'whiteboard') {
  5172. _iframe = _formdiv.querySelector('iframe')
  5173. let onloadListener = _iframe.onload = () => {
  5174. _iframe.contentWindow.document.body.appendChild(script1);
  5175. _iframe.contentWindow.document.body.appendChild(script2);
  5176. _iframe.contentWindow.document.body.appendChild(script4);
  5177. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5178. };
  5179. if (onloadListener) {
  5180. _iframe.contentDocument.location.reload()
  5181. } else {
  5182. _iframe.contentDocument.location.reload()
  5183. }
  5184. } else {
  5185. _iframe.onload = () => {
  5186. _iframe.contentWindow.document.body.appendChild(script1);
  5187. _iframe.contentWindow.document.body.appendChild(script2);
  5188. // _iframe.contentWindow.document.body.appendChild(script3);
  5189. _iframe.contentWindow.document.body.appendChild(script4);
  5190. };
  5191. }
  5192. _jie.onclick = async () => {
  5193. let text = ''
  5194. if (aTool == 1) {
  5195. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5196. } else if (aTool == 6) {
  5197. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5198. } else if (aTool == 3) {
  5199. text = await U.MD.D.I.getEditorContent(_iframe);
  5200. }
  5201. _loading.style.display = 'flex'
  5202. console.log(_loading);
  5203. var _ajs = _iframe.contentWindow.document.createElement("script");
  5204. _ajs.type = "text/javascript";
  5205. _ajs.innerHTML =
  5206. // 'console.log(' + _loading + ');\n' +
  5207. 'var _js = document.createElement("script");\n' +
  5208. '_js.type="text/javascript";\n' +
  5209. '_js.charset="UTF-8";\n' +
  5210. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5211. "_js.onload = function(){\n" +
  5212. ' var a = document.getElementsByTagName("img")\n' +
  5213. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5214. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5215. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5216. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5217. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5218. "beforeUpload_shishi(file," +
  5219. "'" +
  5220. _userid +
  5221. "'" +
  5222. ", " +
  5223. "'" +
  5224. _cid +
  5225. "'" +
  5226. ", " +
  5227. "'" +
  5228. _stage +
  5229. "'" +
  5230. ", " +
  5231. "'" +
  5232. _task +
  5233. "'" +
  5234. ", " +
  5235. "'" +
  5236. _tool +
  5237. "'" +
  5238. ", " +
  5239. "'" +
  5240. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5241. "'" +
  5242. ", " +
  5243. "'" +
  5244. aTool +
  5245. "'" +
  5246. ", " +
  5247. "`" +
  5248. text +
  5249. "`" +
  5250. ")\n" +
  5251. " });\n" +
  5252. "}\n" +
  5253. "document.head.appendChild(_js);\n";
  5254. _iframe.contentWindow.document.head.appendChild(_ajs);
  5255. }
  5256. }
  5257. //U.MD.D.I.openClick(str);
  5258. //如果有任務欄信息
  5259. // if (_taskbar) {
  5260. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5261. // }
  5262. }
  5263. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5264. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5265. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5266. _userinfo = US.userInfo, //登錄用戶信息
  5267. _userid = US.userInfo.userid //登錄用戶id
  5268. let _iframe;
  5269. let _cid = cid,
  5270. _stage = stage,
  5271. _task = task,
  5272. _tool = tool;
  5273. var _jie = $$("div", {
  5274. "style": {
  5275. "position": "absolute",
  5276. "bottom": "50px",
  5277. "right": "50px",
  5278. "zIndex": "9999",
  5279. "backgroundColor": "#2268bc",
  5280. "color": "#fff",
  5281. "padding": "12px 20px",
  5282. "cursor": "pointer",
  5283. "borderRadius": "4px",
  5284. },
  5285. "innerHTML": "提交作業"
  5286. })
  5287. let aTool = ''
  5288. let _loading = document.createElement('div')
  5289. _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;"
  5290. // _loading.id = "";
  5291. let _lchild = document.createElement('div')
  5292. let _limg = document.createElement('img')
  5293. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5294. _limg.style = "width: 26px;margin-right: 10px;"
  5295. _lchild.appendChild(_limg)
  5296. let _lspan = document.createElement('span')
  5297. _lspan.innerHTML = "上傳中..."
  5298. _lchild.appendChild(_lspan)
  5299. _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%);"
  5300. _loading.appendChild(_lchild)
  5301. var _box = $$('div', {
  5302. "style": {
  5303. "position": "relative",
  5304. "width": "100%",
  5305. "height": "100%",
  5306. },
  5307. })
  5308. _box.appendChild(_loading)
  5309. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5310. switch (str) {
  5311. case "whiteboard":
  5312. aTool = 1;
  5313. _iframe = $$("iframe", {
  5314. "frameborder": "no",
  5315. "border": "0",
  5316. "scrolling ": "no",
  5317. "style": {
  5318. "cssText": "border:0;width:100%;height:100%"
  5319. },
  5320. "src": "https://iwb.cocorobo.hk/"
  5321. })
  5322. _box.appendChild(_iframe);
  5323. _box.appendChild(_jie);
  5324. _formdiv = new U.UF.UI.form(
  5325. "電子白板",
  5326. _box, {
  5327. "id": "whiteboard" + cid + stage + task + tool,
  5328. "style": {
  5329. "width": "90%",
  5330. "height": "90%",
  5331. "overflow": 'hidden'
  5332. },
  5333. "onresize": function () { }
  5334. }, {
  5335. closecallback: function () { }
  5336. }, {
  5337. "style": {
  5338. "height": "36px"
  5339. }
  5340. }).form; //創建窗體
  5341. _taskbar = {
  5342. "id": str + _formdiv.id,
  5343. "style": {
  5344. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5345. },
  5346. "name": "電子白板",
  5347. "forms": _formdiv,
  5348. "click": function () {
  5349. U.MD.D.I.openApplication(str, obj, info);
  5350. }
  5351. }
  5352. break;
  5353. case "mind":
  5354. aTool = 3;
  5355. _iframe = $$("iframe", {
  5356. "frameborder": "no",
  5357. "border": "0",
  5358. "scrolling ": "no",
  5359. "style": {
  5360. "cssText": "border:0;width:100%;height:100%"
  5361. },
  5362. "src": "/kityminder-editor/dist/index.html"
  5363. })
  5364. _box.appendChild(_iframe);
  5365. _box.appendChild(_jie);
  5366. _formdiv = new U.UF.UI.form(
  5367. "思維導圖",
  5368. _box, { //"/jsmind/example/demo.html"
  5369. "id": "mind" + cid + stage + task + tool,
  5370. "style": {
  5371. "width": "90%",
  5372. "height": "90%",
  5373. "overflow": 'hidden'
  5374. },
  5375. "onresize": function () { }
  5376. }, {
  5377. closecallback: function () { }
  5378. }, {
  5379. "style": {
  5380. "height": "36px"
  5381. }
  5382. }).form; //創建窗體
  5383. _taskbar = {
  5384. "id": str + _formdiv.id,
  5385. "style": {
  5386. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5387. },
  5388. "name": "思維導圖",
  5389. "forms": _formdiv,
  5390. "click": function () {
  5391. U.MD.D.I.openApplication(str, obj, info);
  5392. }
  5393. }
  5394. break;
  5395. case "MindMap":
  5396. aTool = 3;
  5397. _iframe = $$("iframe", {
  5398. "frameborder": "no",
  5399. "border": "0",
  5400. "scrolling ": "no",
  5401. "style": {
  5402. "cssText": "border:0;width:100%;height:100%"
  5403. },
  5404. "src": "//cloud.cocorobo.hk/mind/"
  5405. })
  5406. _box.appendChild(_iframe);
  5407. _box.appendChild(_jie);
  5408. _formdiv = new U.UF.UI.form(
  5409. "思維導圖",
  5410. _box, { //"/jsmind/example/demo.html"
  5411. "id": "mind" + cid + stage + task + tool,
  5412. "style": {
  5413. "width": "90%",
  5414. "height": "90%",
  5415. "overflow": 'hidden'
  5416. },
  5417. "onresize": function () { }
  5418. }, {
  5419. closecallback: function () { }
  5420. }, {
  5421. "style": {
  5422. "height": "36px"
  5423. }
  5424. }).form; //創建窗體
  5425. _taskbar = {
  5426. "id": str + _formdiv.id,
  5427. "style": {
  5428. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5429. },
  5430. "name": "思維導圖",
  5431. "forms": _formdiv,
  5432. "click": function () {
  5433. U.MD.D.I.openApplication(str, obj, info);
  5434. }
  5435. }
  5436. break;
  5437. case "doc":
  5438. aTool = 6;
  5439. _iframe = $$("iframe", {
  5440. "frameborder": "no",
  5441. "border": "0",
  5442. "scrolling ": "no",
  5443. "style": {
  5444. "cssText": "border:0;width:100%;height:100%"
  5445. },
  5446. "src": "/Office/Word/WordEditArea.htm"
  5447. })
  5448. _box.appendChild(_iframe);
  5449. _box.appendChild(_jie);
  5450. _formdiv = new U.UF.UI.form(
  5451. "協同文檔",
  5452. _box, {
  5453. "id": "doc" + cid + stage + task + tool,
  5454. "style": {
  5455. "width": "90%",
  5456. "height": "90%",
  5457. "overflow": 'hidden'
  5458. },
  5459. "onresize": function () { }
  5460. }, {
  5461. closecallback: function () { }
  5462. }, {
  5463. "style": {
  5464. "height": "36px"
  5465. }
  5466. }).form; //創建窗體
  5467. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5468. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5469. })
  5470. _taskbar = {
  5471. "id": str + _formdiv.id,
  5472. "style": {
  5473. "backgroundImage": "url(/img/icon/doc.png)"
  5474. },
  5475. "name": "協同文檔",
  5476. "forms": _formdiv,
  5477. "click": function () {
  5478. U.MD.D.I.openApplication(str, obj, info);
  5479. }
  5480. }
  5481. break;
  5482. case "mindNetwork": //好友打開
  5483. aTool = 7;
  5484. _iframe = $$("iframe", {
  5485. "webkitallowfullscreen": "",
  5486. "mozallowfullscreen": "",
  5487. "allowfullscreen": "",
  5488. "frameborder": "no",
  5489. "border": "0",
  5490. "scrolling ": "no",
  5491. "style": {
  5492. "cssText": "border:0; width:100%; height:100%;"
  5493. },
  5494. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5495. })
  5496. _box.appendChild(_iframe);
  5497. _box.appendChild(_jie);
  5498. _formdiv = new U.UF.UI.form(
  5499. "思維網格",
  5500. _box, {
  5501. "id": "mindNetwork" + cid + stage + task + tool,
  5502. "style": {
  5503. "width": "90%",
  5504. "height": "90%",
  5505. "overflow": 'hidden'
  5506. },
  5507. "onresize": function () { }
  5508. }, {
  5509. closecallback: function () { }
  5510. }, {
  5511. "style": {
  5512. "height": "36px"
  5513. }
  5514. }).form; //創建窗體
  5515. _taskbar = {
  5516. "id": str + _formdiv.id,
  5517. "style": {
  5518. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5519. },
  5520. "name": "思維網格",
  5521. "forms": _formdiv,
  5522. "click": function () {
  5523. U.MD.D.I.openApplication(str, obj, info);
  5524. }
  5525. }
  5526. break;
  5527. case "courseDesign":
  5528. _iframe = $$("iframe", {
  5529. "webkitallowfullscreen": "",
  5530. "mozallowfullscreen": "",
  5531. "allowfullscreen": "",
  5532. "frameborder": "no",
  5533. "border": "0",
  5534. "scrolling ": "no",
  5535. "style": {
  5536. "cssText": "border:0; width:100%; height:100%;"
  5537. },
  5538. "src": "/course-design-vue"
  5539. })
  5540. _box.appendChild(_iframe);
  5541. _box.appendChild(_jie);
  5542. _formdiv = new U.UF.UI.form(
  5543. "項目設計",
  5544. _box, {
  5545. "id": "courseDesign" + cid + stage + task + tool,
  5546. "style": {
  5547. "width": "90%",
  5548. "height": "90%",
  5549. "overflow": 'hidden'
  5550. },
  5551. "onresize": function () { }
  5552. }, {
  5553. closecallback: function () { }
  5554. }, {
  5555. "style": {
  5556. "height": "36px"
  5557. }
  5558. }).form; //創建窗體
  5559. _taskbar = {
  5560. "id": str + _formdiv.id,
  5561. "style": {
  5562. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5563. },
  5564. "name": "項目設計",
  5565. "forms": _formdiv,
  5566. "click": function () {
  5567. U.MD.D.I.openApplication(str, obj, info);
  5568. }
  5569. }
  5570. break;
  5571. }
  5572. const script1 = document.createElement("script");
  5573. script1.type = "text/javascript";
  5574. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5575. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5576. const script2 = document.createElement("script");
  5577. script2.type = "text/javascript";
  5578. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5579. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5580. const script3 = document.createElement("script");
  5581. script3.type = "text/javascript";
  5582. script3.charset = "UTF-8";
  5583. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5584. const script4 = document.createElement("script");
  5585. script4.type = "text/javascript";
  5586. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5587. script4.src = window.origin + "/js/Common/jietu2E.js";
  5588. if (_iframe) {
  5589. if (str == 'doc') {
  5590. _iframe = _formdiv.querySelector('iframe')
  5591. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5592. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5593. _iframe.contentWindow.document.body.appendChild(script1);
  5594. _iframe.contentWindow.document.body.appendChild(script2);
  5595. // _iframe.contentWindow.document.body.appendChild(script3);
  5596. _iframe.contentWindow.document.body.appendChild(script4);
  5597. })
  5598. if (onloadListener) {
  5599. _iframe.contentDocument.location.reload()
  5600. } else {
  5601. _iframe.contentDocument.location.reload()
  5602. }
  5603. } else if (str == 'courseDesign') {
  5604. U.UF.DL.iframeLoad(_iframe, function () {
  5605. // _iframe.contentWindow.U.MD.O.W.load();
  5606. // _iframe.contentWindow.document.body.appendChild(script1);
  5607. _iframe.contentWindow.document.body.appendChild(script2);
  5608. _iframe.contentWindow.document.body.appendChild(script4);
  5609. })
  5610. } else if (str == 'mind') {
  5611. _iframe = _formdiv.querySelector('iframe')
  5612. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5613. //
  5614. _iframe.contentWindow.document.body.appendChild(script1);
  5615. _iframe.contentWindow.document.body.appendChild(script2);
  5616. _iframe.contentWindow.document.body.appendChild(script4);
  5617. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5618. })
  5619. if (onloadListener) {
  5620. _iframe.contentDocument.location.reload()
  5621. } else {
  5622. _iframe.contentDocument.location.reload()
  5623. }
  5624. } else if (str == 'whiteboard') {
  5625. _iframe = _formdiv.querySelector('iframe')
  5626. let onloadListener = _iframe.onload = () => {
  5627. _iframe.contentWindow.document.body.appendChild(script1);
  5628. _iframe.contentWindow.document.body.appendChild(script2);
  5629. _iframe.contentWindow.document.body.appendChild(script4);
  5630. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5631. };
  5632. if (onloadListener) {
  5633. _iframe.contentDocument.location.reload()
  5634. } else {
  5635. _iframe.contentDocument.location.reload()
  5636. }
  5637. } else {
  5638. _iframe.onload = () => {
  5639. _iframe.contentWindow.document.body.appendChild(script1);
  5640. _iframe.contentWindow.document.body.appendChild(script2);
  5641. // _iframe.contentWindow.document.body.appendChild(script3);
  5642. _iframe.contentWindow.document.body.appendChild(script4);
  5643. };
  5644. }
  5645. _jie.onclick = async () => {
  5646. let text = ''
  5647. if (aTool == 1) {
  5648. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5649. } else if (aTool == 6) {
  5650. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5651. } else if (aTool == 3) {
  5652. text = await U.MD.D.I.getEditorContent(_iframe);
  5653. }
  5654. _loading.style.display = 'flex'
  5655. console.log(_loading);
  5656. var _ajs = _iframe.contentWindow.document.createElement("script");
  5657. _ajs.type = "text/javascript";
  5658. _ajs.innerHTML =
  5659. // 'console.log(' + _loading + ');\n' +
  5660. 'var _js = document.createElement("script");\n' +
  5661. '_js.type="text/javascript";\n' +
  5662. '_js.charset="UTF-8";\n' +
  5663. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5664. "_js.onload = function(){\n" +
  5665. ' var a = document.getElementsByTagName("img")\n' +
  5666. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5667. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5668. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5669. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5670. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5671. "beforeUpload_shishi(file," +
  5672. "'" +
  5673. _userid +
  5674. "'" +
  5675. ", " +
  5676. "'" +
  5677. _cid +
  5678. "'" +
  5679. ", " +
  5680. "'" +
  5681. _stage +
  5682. "'" +
  5683. ", " +
  5684. "'" +
  5685. _task +
  5686. "'" +
  5687. ", " +
  5688. "'" +
  5689. _tool +
  5690. "'" +
  5691. ", " +
  5692. "'" +
  5693. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5694. "'" +
  5695. ", " +
  5696. "'" +
  5697. aTool +
  5698. "'" +
  5699. ", " +
  5700. "`" +
  5701. text +
  5702. "`" +
  5703. ")\n" +
  5704. " });\n" +
  5705. "}\n" +
  5706. "document.head.appendChild(_js);\n";
  5707. _iframe.contentWindow.document.head.appendChild(_ajs);
  5708. }
  5709. }
  5710. //U.MD.D.I.openClick(str);
  5711. //如果有任務欄信息
  5712. // if (_taskbar) {
  5713. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5714. // }
  5715. }
  5716. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5717. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5718. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5719. _userid = student.userid, //登錄用戶id
  5720. _username = student.student //用戶名字
  5721. let _iframe;
  5722. let _cid = cid,
  5723. _stage = stage,
  5724. _task = task,
  5725. _tool = tool;
  5726. var _jie = $$("div", {
  5727. "style": {
  5728. "position": "absolute",
  5729. "bottom": "50px",
  5730. "right": "50px",
  5731. "zIndex": "9999",
  5732. "backgroundColor": "#2268bc",
  5733. "color": "#fff",
  5734. "padding": "12px 20px",
  5735. "cursor": "pointer",
  5736. "borderRadius": "4px",
  5737. },
  5738. "innerHTML": "提交作業"
  5739. })
  5740. let aTool = ''
  5741. let _loading = document.createElement('div')
  5742. _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;"
  5743. // _loading.id = "";
  5744. let _lchild = document.createElement('div')
  5745. let _limg = document.createElement('img')
  5746. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5747. _limg.style = "width: 26px;margin-right: 10px;"
  5748. _lchild.appendChild(_limg)
  5749. let _lspan = document.createElement('span')
  5750. _lspan.innerHTML = "上傳中..."
  5751. _lchild.appendChild(_lspan)
  5752. _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%);"
  5753. _loading.appendChild(_lchild)
  5754. var _box = $$('div', {
  5755. "style": {
  5756. "position": "relative",
  5757. "width": "100%",
  5758. "height": "100%",
  5759. },
  5760. })
  5761. _box.appendChild(_loading)
  5762. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5763. switch (str) {
  5764. case "whiteboard":
  5765. aTool = 1;
  5766. _iframe = $$("iframe", {
  5767. "frameborder": "no",
  5768. "border": "0",
  5769. "scrolling ": "no",
  5770. "style": {
  5771. "cssText": "border:0;width:100%;height:100%"
  5772. },
  5773. "src": "https://iwb.cocorobo.hk/"
  5774. })
  5775. _box.appendChild(_iframe);
  5776. _box.appendChild(_jie);
  5777. _formdiv = new U.UF.UI.form(
  5778. "電子白板-" + _username,
  5779. _box, {
  5780. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5781. "style": {
  5782. "width": "90%",
  5783. "height": "90%",
  5784. "overflow": 'hidden'
  5785. },
  5786. "onresize": function () { }
  5787. }, {
  5788. closecallback: function () { }
  5789. }, {
  5790. "style": {
  5791. "height": "36px"
  5792. }
  5793. }).form; //創建窗體
  5794. _taskbar = {
  5795. "id": str + _formdiv.id,
  5796. "style": {
  5797. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5798. },
  5799. "name": "電子白板",
  5800. "forms": _formdiv,
  5801. "click": function () {
  5802. U.MD.D.I.openApplication(str, obj, info);
  5803. }
  5804. }
  5805. break;
  5806. case "mind":
  5807. aTool = 3;
  5808. _iframe = $$("iframe", {
  5809. "frameborder": "no",
  5810. "border": "0",
  5811. "scrolling ": "no",
  5812. "style": {
  5813. "cssText": "border:0;width:100%;height:100%"
  5814. },
  5815. "src": "/kityminder-editor/dist/index.html"
  5816. })
  5817. _box.appendChild(_iframe);
  5818. _box.appendChild(_jie);
  5819. _formdiv = new U.UF.UI.form(
  5820. "思維導圖-" + _username,
  5821. _box, { //"/jsmind/example/demo.html"
  5822. "id": "mind" + cid + stage + task + tool + _userid,
  5823. "style": {
  5824. "width": "90%",
  5825. "height": "90%",
  5826. "overflow": 'hidden'
  5827. },
  5828. "onresize": function () { }
  5829. }, {
  5830. closecallback: function () { }
  5831. }, {
  5832. "style": {
  5833. "height": "36px"
  5834. }
  5835. }).form; //創建窗體
  5836. _taskbar = {
  5837. "id": str + _formdiv.id,
  5838. "style": {
  5839. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5840. },
  5841. "name": "思維導圖",
  5842. "forms": _formdiv,
  5843. "click": function () {
  5844. U.MD.D.I.openApplication(str, obj, info);
  5845. }
  5846. }
  5847. break;
  5848. case "MindMap":
  5849. aTool = 3;
  5850. _iframe = $$("iframe", {
  5851. "frameborder": "no",
  5852. "border": "0",
  5853. "scrolling ": "no",
  5854. "style": {
  5855. "cssText": "border:0;width:100%;height:100%"
  5856. },
  5857. "src": "//cloud.cocorobo.hk/mind/"
  5858. })
  5859. _box.appendChild(_iframe);
  5860. _box.appendChild(_jie);
  5861. _formdiv = new U.UF.UI.form(
  5862. "思維導圖-" + _username,
  5863. _box, { //"/jsmind/example/demo.html"
  5864. "id": "mind" + cid + stage + task + tool + _userid,
  5865. "style": {
  5866. "width": "90%",
  5867. "height": "90%",
  5868. "overflow": 'hidden'
  5869. },
  5870. "onresize": function () { }
  5871. }, {
  5872. closecallback: function () { }
  5873. }, {
  5874. "style": {
  5875. "height": "36px"
  5876. }
  5877. }).form; //創建窗體
  5878. _taskbar = {
  5879. "id": str + _formdiv.id,
  5880. "style": {
  5881. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5882. },
  5883. "name": "思維導圖",
  5884. "forms": _formdiv,
  5885. "click": function () {
  5886. U.MD.D.I.openApplication(str, obj, info);
  5887. }
  5888. }
  5889. break;
  5890. case "doc":
  5891. aTool = 6;
  5892. _iframe = $$("iframe", {
  5893. "frameborder": "no",
  5894. "border": "0",
  5895. "scrolling ": "no",
  5896. "style": {
  5897. "cssText": "border:0;width:100%;height:100%"
  5898. },
  5899. "src": "/Office/Word/WordEditArea.htm"
  5900. })
  5901. _box.appendChild(_iframe);
  5902. _box.appendChild(_jie);
  5903. _formdiv = new U.UF.UI.form(
  5904. "協同文檔-" + _username,
  5905. _box, {
  5906. "id": "doc" + cid + stage + task + tool + _userid,
  5907. "style": {
  5908. "width": "90%",
  5909. "height": "90%",
  5910. "overflow": 'hidden'
  5911. },
  5912. "onresize": function () { }
  5913. }, {
  5914. closecallback: function () { }
  5915. }, {
  5916. "style": {
  5917. "height": "36px"
  5918. }
  5919. }).form; //創建窗體
  5920. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5921. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5922. })
  5923. _taskbar = {
  5924. "id": str + _formdiv.id,
  5925. "style": {
  5926. "backgroundImage": "url(/img/icon/doc.png)"
  5927. },
  5928. "name": "協同文檔",
  5929. "forms": _formdiv,
  5930. "click": function () {
  5931. U.MD.D.I.openApplication(str, obj, info);
  5932. }
  5933. }
  5934. break;
  5935. case "mindNetwork": //好友打開
  5936. aTool = 7;
  5937. _iframe = $$("iframe", {
  5938. "webkitallowfullscreen": "",
  5939. "mozallowfullscreen": "",
  5940. "allowfullscreen": "",
  5941. "frameborder": "no",
  5942. "border": "0",
  5943. "scrolling ": "no",
  5944. "style": {
  5945. "cssText": "border:0; width:100%; height:100%;"
  5946. },
  5947. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5948. })
  5949. _box.appendChild(_iframe);
  5950. _box.appendChild(_jie);
  5951. _formdiv = new U.UF.UI.form(
  5952. "思維網格-" + _username,
  5953. _box, {
  5954. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5955. "style": {
  5956. "width": "90%",
  5957. "height": "90%",
  5958. "overflow": 'hidden'
  5959. },
  5960. "onresize": function () { }
  5961. }, {
  5962. closecallback: function () { }
  5963. }, {
  5964. "style": {
  5965. "height": "36px"
  5966. }
  5967. }).form; //創建窗體
  5968. _taskbar = {
  5969. "id": str + _formdiv.id,
  5970. "style": {
  5971. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5972. },
  5973. "name": "思維網格",
  5974. "forms": _formdiv,
  5975. "click": function () {
  5976. U.MD.D.I.openApplication(str, obj, info);
  5977. }
  5978. }
  5979. break;
  5980. case "courseDesign":
  5981. _iframe = $$("iframe", {
  5982. "webkitallowfullscreen": "",
  5983. "mozallowfullscreen": "",
  5984. "allowfullscreen": "",
  5985. "frameborder": "no",
  5986. "border": "0",
  5987. "scrolling ": "no",
  5988. "style": {
  5989. "cssText": "border:0; width:100%; height:100%;"
  5990. },
  5991. "src": "/course-design-vue"
  5992. })
  5993. _box.appendChild(_iframe);
  5994. _box.appendChild(_jie);
  5995. _formdiv = new U.UF.UI.form(
  5996. "項目設計-" + _username,
  5997. _box, {
  5998. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5999. "style": {
  6000. "width": "90%",
  6001. "height": "90%",
  6002. "overflow": 'hidden'
  6003. },
  6004. "onresize": function () { }
  6005. }, {
  6006. closecallback: function () { }
  6007. }, {
  6008. "style": {
  6009. "height": "36px"
  6010. }
  6011. }).form; //創建窗體
  6012. _taskbar = {
  6013. "id": str + _formdiv.id,
  6014. "style": {
  6015. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6016. },
  6017. "name": "項目設計",
  6018. "forms": _formdiv,
  6019. "click": function () {
  6020. U.MD.D.I.openApplication(str, obj, info);
  6021. }
  6022. }
  6023. break;
  6024. }
  6025. const script1 = document.createElement("script");
  6026. script1.type = "text/javascript";
  6027. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6028. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6029. const script2 = document.createElement("script");
  6030. script2.type = "text/javascript";
  6031. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6032. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6033. const script3 = document.createElement("script");
  6034. script3.type = "text/javascript";
  6035. script3.charset = "UTF-8";
  6036. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6037. const script4 = document.createElement("script");
  6038. script4.type = "text/javascript";
  6039. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6040. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6041. if (_iframe) {
  6042. if (str == 'doc') {
  6043. _iframe = _formdiv.querySelector('iframe')
  6044. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6045. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6046. _iframe.contentWindow.document.body.appendChild(script1);
  6047. _iframe.contentWindow.document.body.appendChild(script2);
  6048. // _iframe.contentWindow.document.body.appendChild(script3);
  6049. _iframe.contentWindow.document.body.appendChild(script4);
  6050. })
  6051. if (onloadListener) {
  6052. _iframe.contentDocument.location.reload()
  6053. } else {
  6054. _iframe.contentDocument.location.reload()
  6055. }
  6056. } else if (str == 'courseDesign') {
  6057. U.UF.DL.iframeLoad(_iframe, function () {
  6058. // _iframe.contentWindow.U.MD.O.W.load();
  6059. // _iframe.contentWindow.document.body.appendChild(script1);
  6060. _iframe.contentWindow.document.body.appendChild(script2);
  6061. _iframe.contentWindow.document.body.appendChild(script4);
  6062. })
  6063. } else if (str == 'mind') {
  6064. _iframe = _formdiv.querySelector('iframe')
  6065. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6066. //
  6067. _iframe.contentWindow.document.body.appendChild(script1);
  6068. _iframe.contentWindow.document.body.appendChild(script2);
  6069. _iframe.contentWindow.document.body.appendChild(script4);
  6070. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6071. })
  6072. if (onloadListener) {
  6073. _iframe.contentDocument.location.reload()
  6074. } else {
  6075. _iframe.contentDocument.location.reload()
  6076. }
  6077. } else if (str == 'whiteboard') {
  6078. _iframe = _formdiv.querySelector('iframe')
  6079. let onloadListener = _iframe.onload = () => {
  6080. _iframe.contentWindow.document.body.appendChild(script1);
  6081. _iframe.contentWindow.document.body.appendChild(script2);
  6082. _iframe.contentWindow.document.body.appendChild(script4);
  6083. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6084. };
  6085. if (onloadListener) {
  6086. _iframe.contentDocument.location.reload()
  6087. } else {
  6088. _iframe.contentDocument.location.reload()
  6089. }
  6090. } else {
  6091. _iframe.onload = () => {
  6092. _iframe.contentWindow.document.body.appendChild(script1);
  6093. _iframe.contentWindow.document.body.appendChild(script2);
  6094. // _iframe.contentWindow.document.body.appendChild(script3);
  6095. _iframe.contentWindow.document.body.appendChild(script4);
  6096. };
  6097. }
  6098. _jie.onclick = async () => {
  6099. let text = ''
  6100. if (aTool == 1) {
  6101. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6102. } else if (aTool == 6) {
  6103. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6104. } else if (aTool == 3) {
  6105. text = await U.MD.D.I.getEditorContent(_iframe);
  6106. }
  6107. _loading.style.display = 'flex'
  6108. console.log(_loading);
  6109. var _ajs = _iframe.contentWindow.document.createElement("script");
  6110. _ajs.type = "text/javascript";
  6111. _ajs.innerHTML =
  6112. // 'console.log(' + _loading + ');\n' +
  6113. 'var _js = document.createElement("script");\n' +
  6114. '_js.type="text/javascript";\n' +
  6115. '_js.charset="UTF-8";\n' +
  6116. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6117. "_js.onload = function(){\n" +
  6118. ' var a = document.getElementsByTagName("img")\n' +
  6119. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6120. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6121. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6122. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6123. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6124. "beforeUpload_shishi(file," +
  6125. "'" +
  6126. _userid +
  6127. "'" +
  6128. ", " +
  6129. "'" +
  6130. _cid +
  6131. "'" +
  6132. ", " +
  6133. "'" +
  6134. _stage +
  6135. "'" +
  6136. ", " +
  6137. "'" +
  6138. _task +
  6139. "'" +
  6140. ", " +
  6141. "'" +
  6142. _tool +
  6143. "'" +
  6144. ", " +
  6145. "'" +
  6146. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6147. "'" +
  6148. ", " +
  6149. "'" +
  6150. aTool +
  6151. "'" +
  6152. ", " +
  6153. "`" +
  6154. text +
  6155. "`" +
  6156. ")\n" +
  6157. " });\n" +
  6158. "}\n" +
  6159. "document.head.appendChild(_js);\n";
  6160. _iframe.contentWindow.document.head.appendChild(_ajs);
  6161. }
  6162. }
  6163. }
  6164. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6165. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6166. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6167. _userid = student.userid, //登錄用戶id
  6168. _username = student.student //用戶名字
  6169. let _iframe;
  6170. let _cid = cid,
  6171. _stage = stage,
  6172. _task = task,
  6173. _tool = tool;
  6174. var _jie = $$("div", {
  6175. "style": {
  6176. "position": "absolute",
  6177. "bottom": "50px",
  6178. "right": "50px",
  6179. "zIndex": "9999",
  6180. "backgroundColor": "#2268bc",
  6181. "color": "#fff",
  6182. "padding": "12px 20px",
  6183. "cursor": "pointer",
  6184. "borderRadius": "4px",
  6185. },
  6186. "innerHTML": "提交作業"
  6187. })
  6188. let aTool = ''
  6189. let _loading = document.createElement('div')
  6190. _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;"
  6191. // _loading.id = "";
  6192. let _lchild = document.createElement('div')
  6193. let _limg = document.createElement('img')
  6194. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6195. _limg.style = "width: 26px;margin-right: 10px;"
  6196. _lchild.appendChild(_limg)
  6197. let _lspan = document.createElement('span')
  6198. _lspan.innerHTML = "上傳中..."
  6199. _lchild.appendChild(_lspan)
  6200. _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%);"
  6201. _loading.appendChild(_lchild)
  6202. var _box = $$('div', {
  6203. "style": {
  6204. "position": "relative",
  6205. "width": "100%",
  6206. "height": "100%",
  6207. },
  6208. })
  6209. _box.appendChild(_loading)
  6210. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6211. switch (str) {
  6212. case "whiteboard":
  6213. aTool = 1;
  6214. _iframe = $$("iframe", {
  6215. "frameborder": "no",
  6216. "border": "0",
  6217. "scrolling ": "no",
  6218. "style": {
  6219. "cssText": "border:0;width:100%;height:100%"
  6220. },
  6221. "src": "https://iwb.cocorobo.hk/"
  6222. })
  6223. _box.appendChild(_iframe);
  6224. _box.appendChild(_jie);
  6225. _formdiv = new U.UF.UI.form(
  6226. "電子白板-" + _username,
  6227. _box, {
  6228. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6229. "style": {
  6230. "width": "90%",
  6231. "height": "90%",
  6232. "overflow": 'hidden'
  6233. },
  6234. "onresize": function () { }
  6235. }, {
  6236. closecallback: function () { }
  6237. }, {
  6238. "style": {
  6239. "height": "36px"
  6240. }
  6241. }).form; //創建窗體
  6242. _taskbar = {
  6243. "id": str + _formdiv.id,
  6244. "style": {
  6245. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6246. },
  6247. "name": "電子白板",
  6248. "forms": _formdiv,
  6249. "click": function () {
  6250. U.MD.D.I.openApplication(str, obj, info);
  6251. }
  6252. }
  6253. break;
  6254. case "mind":
  6255. aTool = 3;
  6256. _iframe = $$("iframe", {
  6257. "frameborder": "no",
  6258. "border": "0",
  6259. "scrolling ": "no",
  6260. "style": {
  6261. "cssText": "border:0;width:100%;height:100%"
  6262. },
  6263. "src": "/kityminder-editor/dist/index.html"
  6264. })
  6265. _box.appendChild(_iframe);
  6266. _box.appendChild(_jie);
  6267. _formdiv = new U.UF.UI.form(
  6268. "思維導圖-" + _username,
  6269. _box, { //"/jsmind/example/demo.html"
  6270. "id": "mind" + cid + stage + task + tool + _userid,
  6271. "style": {
  6272. "width": "90%",
  6273. "height": "90%",
  6274. "overflow": 'hidden'
  6275. },
  6276. "onresize": function () { }
  6277. }, {
  6278. closecallback: function () { }
  6279. }, {
  6280. "style": {
  6281. "height": "36px"
  6282. }
  6283. }).form; //創建窗體
  6284. _taskbar = {
  6285. "id": str + _formdiv.id,
  6286. "style": {
  6287. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6288. },
  6289. "name": "思維導圖",
  6290. "forms": _formdiv,
  6291. "click": function () {
  6292. U.MD.D.I.openApplication(str, obj, info);
  6293. }
  6294. }
  6295. break;
  6296. case "MindMap":
  6297. aTool = 3;
  6298. _iframe = $$("iframe", {
  6299. "frameborder": "no",
  6300. "border": "0",
  6301. "scrolling ": "no",
  6302. "style": {
  6303. "cssText": "border:0;width:100%;height:100%"
  6304. },
  6305. "src": "//cloud.cocorobo.hk/mind/"
  6306. })
  6307. _box.appendChild(_iframe);
  6308. _box.appendChild(_jie);
  6309. _formdiv = new U.UF.UI.form(
  6310. "思維導圖-" + _username,
  6311. _box, { //"/jsmind/example/demo.html"
  6312. "id": "mind" + cid + stage + task + tool + _userid,
  6313. "style": {
  6314. "width": "90%",
  6315. "height": "90%",
  6316. "overflow": 'hidden'
  6317. },
  6318. "onresize": function () { }
  6319. }, {
  6320. closecallback: function () { }
  6321. }, {
  6322. "style": {
  6323. "height": "36px"
  6324. }
  6325. }).form; //創建窗體
  6326. _taskbar = {
  6327. "id": str + _formdiv.id,
  6328. "style": {
  6329. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6330. },
  6331. "name": "思維導圖",
  6332. "forms": _formdiv,
  6333. "click": function () {
  6334. U.MD.D.I.openApplication(str, obj, info);
  6335. }
  6336. }
  6337. break;
  6338. case "doc":
  6339. aTool = 6;
  6340. _iframe = $$("iframe", {
  6341. "frameborder": "no",
  6342. "border": "0",
  6343. "scrolling ": "no",
  6344. "style": {
  6345. "cssText": "border:0;width:100%;height:100%"
  6346. },
  6347. "src": "/Office/Word/WordEditArea.htm"
  6348. })
  6349. _box.appendChild(_iframe);
  6350. _box.appendChild(_jie);
  6351. _formdiv = new U.UF.UI.form(
  6352. "協同文檔-" + _username,
  6353. _box, {
  6354. "id": "doc" + cid + stage + task + tool + _userid,
  6355. "style": {
  6356. "width": "90%",
  6357. "height": "90%",
  6358. "overflow": 'hidden'
  6359. },
  6360. "onresize": function () { }
  6361. }, {
  6362. closecallback: function () { }
  6363. }, {
  6364. "style": {
  6365. "height": "36px"
  6366. }
  6367. }).form; //創建窗體
  6368. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6369. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6370. })
  6371. _taskbar = {
  6372. "id": str + _formdiv.id,
  6373. "style": {
  6374. "backgroundImage": "url(/img/icon/doc.png)"
  6375. },
  6376. "name": "協同文檔",
  6377. "forms": _formdiv,
  6378. "click": function () {
  6379. U.MD.D.I.openApplication(str, obj, info);
  6380. }
  6381. }
  6382. break;
  6383. case "mindNetwork": //好友打開
  6384. aTool = 7;
  6385. _iframe = $$("iframe", {
  6386. "webkitallowfullscreen": "",
  6387. "mozallowfullscreen": "",
  6388. "allowfullscreen": "",
  6389. "frameborder": "no",
  6390. "border": "0",
  6391. "scrolling ": "no",
  6392. "style": {
  6393. "cssText": "border:0; width:100%; height:100%;"
  6394. },
  6395. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6396. })
  6397. _box.appendChild(_iframe);
  6398. _box.appendChild(_jie);
  6399. _formdiv = new U.UF.UI.form(
  6400. "思維網格-" + _username,
  6401. _box, {
  6402. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6403. "style": {
  6404. "width": "90%",
  6405. "height": "90%",
  6406. "overflow": 'hidden'
  6407. },
  6408. "onresize": function () { }
  6409. }, {
  6410. closecallback: function () { }
  6411. }, {
  6412. "style": {
  6413. "height": "36px"
  6414. }
  6415. }).form; //創建窗體
  6416. _taskbar = {
  6417. "id": str + _formdiv.id,
  6418. "style": {
  6419. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6420. },
  6421. "name": "思維網格",
  6422. "forms": _formdiv,
  6423. "click": function () {
  6424. U.MD.D.I.openApplication(str, obj, info);
  6425. }
  6426. }
  6427. break;
  6428. case "courseDesign":
  6429. _iframe = $$("iframe", {
  6430. "webkitallowfullscreen": "",
  6431. "mozallowfullscreen": "",
  6432. "allowfullscreen": "",
  6433. "frameborder": "no",
  6434. "border": "0",
  6435. "scrolling ": "no",
  6436. "style": {
  6437. "cssText": "border:0; width:100%; height:100%;"
  6438. },
  6439. "src": "/course-design-vue"
  6440. })
  6441. _box.appendChild(_iframe);
  6442. _box.appendChild(_jie);
  6443. _formdiv = new U.UF.UI.form(
  6444. "項目設計-" + _username,
  6445. _box, {
  6446. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6447. "style": {
  6448. "width": "90%",
  6449. "height": "90%",
  6450. "overflow": 'hidden'
  6451. },
  6452. "onresize": function () { }
  6453. }, {
  6454. closecallback: function () { }
  6455. }, {
  6456. "style": {
  6457. "height": "36px"
  6458. }
  6459. }).form; //創建窗體
  6460. _taskbar = {
  6461. "id": str + _formdiv.id,
  6462. "style": {
  6463. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6464. },
  6465. "name": "項目設計",
  6466. "forms": _formdiv,
  6467. "click": function () {
  6468. U.MD.D.I.openApplication(str, obj, info);
  6469. }
  6470. }
  6471. break;
  6472. }
  6473. const script1 = document.createElement("script");
  6474. script1.type = "text/javascript";
  6475. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6476. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6477. const script2 = document.createElement("script");
  6478. script2.type = "text/javascript";
  6479. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6480. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6481. const script3 = document.createElement("script");
  6482. script3.type = "text/javascript";
  6483. script3.charset = "UTF-8";
  6484. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6485. const script4 = document.createElement("script");
  6486. script4.type = "text/javascript";
  6487. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6488. script4.src = window.origin + "/js/Common/jietu2E.js";
  6489. if (_iframe) {
  6490. if (str == 'doc') {
  6491. _iframe = _formdiv.querySelector('iframe')
  6492. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6493. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6494. _iframe.contentWindow.document.body.appendChild(script1);
  6495. _iframe.contentWindow.document.body.appendChild(script2);
  6496. // _iframe.contentWindow.document.body.appendChild(script3);
  6497. _iframe.contentWindow.document.body.appendChild(script4);
  6498. })
  6499. if (onloadListener) {
  6500. _iframe.contentDocument.location.reload()
  6501. } else {
  6502. _iframe.contentDocument.location.reload()
  6503. }
  6504. } else if (str == 'courseDesign') {
  6505. U.UF.DL.iframeLoad(_iframe, function () {
  6506. // _iframe.contentWindow.U.MD.O.W.load();
  6507. // _iframe.contentWindow.document.body.appendChild(script1);
  6508. _iframe.contentWindow.document.body.appendChild(script2);
  6509. _iframe.contentWindow.document.body.appendChild(script4);
  6510. })
  6511. } else if (str == 'mind') {
  6512. _iframe = _formdiv.querySelector('iframe')
  6513. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6514. //
  6515. _iframe.contentWindow.document.body.appendChild(script1);
  6516. _iframe.contentWindow.document.body.appendChild(script2);
  6517. _iframe.contentWindow.document.body.appendChild(script4);
  6518. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6519. })
  6520. if (onloadListener) {
  6521. _iframe.contentDocument.location.reload()
  6522. } else {
  6523. _iframe.contentDocument.location.reload()
  6524. }
  6525. } else if (str == 'whiteboard') {
  6526. _iframe = _formdiv.querySelector('iframe')
  6527. let onloadListener = _iframe.onload = () => {
  6528. _iframe.contentWindow.document.body.appendChild(script1);
  6529. _iframe.contentWindow.document.body.appendChild(script2);
  6530. _iframe.contentWindow.document.body.appendChild(script4);
  6531. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6532. };
  6533. if (onloadListener) {
  6534. _iframe.contentDocument.location.reload()
  6535. } else {
  6536. _iframe.contentDocument.location.reload()
  6537. }
  6538. } else {
  6539. _iframe.onload = () => {
  6540. _iframe.contentWindow.document.body.appendChild(script1);
  6541. _iframe.contentWindow.document.body.appendChild(script2);
  6542. // _iframe.contentWindow.document.body.appendChild(script3);
  6543. _iframe.contentWindow.document.body.appendChild(script4);
  6544. };
  6545. }
  6546. _jie.onclick = async () => {
  6547. let text = ''
  6548. if (aTool == 1) {
  6549. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6550. } else if (aTool == 6) {
  6551. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6552. } else if (aTool == 3) {
  6553. text = await U.MD.D.I.getEditorContent(_iframe);
  6554. }
  6555. _loading.style.display = 'flex'
  6556. console.log(_loading);
  6557. var _ajs = _iframe.contentWindow.document.createElement("script");
  6558. _ajs.type = "text/javascript";
  6559. _ajs.innerHTML =
  6560. // 'console.log(' + _loading + ');\n' +
  6561. 'var _js = document.createElement("script");\n' +
  6562. '_js.type="text/javascript";\n' +
  6563. '_js.charset="UTF-8";\n' +
  6564. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6565. "_js.onload = function(){\n" +
  6566. ' var a = document.getElementsByTagName("img")\n' +
  6567. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6568. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6569. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6570. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6571. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6572. "beforeUpload_shishi(file," +
  6573. "'" +
  6574. _userid +
  6575. "'" +
  6576. ", " +
  6577. "'" +
  6578. _cid +
  6579. "'" +
  6580. ", " +
  6581. "'" +
  6582. _stage +
  6583. "'" +
  6584. ", " +
  6585. "'" +
  6586. _task +
  6587. "'" +
  6588. ", " +
  6589. "'" +
  6590. _tool +
  6591. "'" +
  6592. ", " +
  6593. "'" +
  6594. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6595. "'" +
  6596. ", " +
  6597. "'" +
  6598. aTool +
  6599. "'" +
  6600. ", " +
  6601. "`" +
  6602. text +
  6603. "`" +
  6604. ")\n" +
  6605. " });\n" +
  6606. "}\n" +
  6607. "document.head.appendChild(_js);\n";
  6608. _iframe.contentWindow.document.head.appendChild(_ajs);
  6609. }
  6610. }
  6611. }
  6612. U.MD.D.I.getEditorContent = function (iframe) {
  6613. return new Promise((resolve, reject) => {
  6614. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6615. console.log(content);
  6616. resolve(content)
  6617. });
  6618. });
  6619. }
  6620. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6621. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6622. // if (res.value[0].length > 0) {
  6623. // // resolve(res.value[0][0].text);
  6624. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6625. // $(fileInput).val('');
  6626. // });
  6627. // }
  6628. // }, [], { "type": "GET", "withCredentials": true });
  6629. var xmlhttp;
  6630. var Mac, Sn, DeviceId
  6631. if (window.XMLHttpRequest) {
  6632. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  6633. xmlhttp = new XMLHttpRequest();
  6634. }
  6635. else {
  6636. // IE6, IE5 瀏覽器執行代碼
  6637. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6638. }
  6639. xmlhttp.onreadystatechange = function () {
  6640. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6641. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6642. // resolve(res.value[0][0].text);
  6643. if (type == '2') {
  6644. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6645. } else if (type == '3') {
  6646. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6647. }
  6648. } else {
  6649. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6650. }
  6651. }
  6652. }
  6653. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6654. xmlhttp.send();
  6655. }
  6656. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6657. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6658. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6659. _userinfo = US.userInfo, //登錄用戶信息
  6660. _userid = US.userInfo.userid //登錄用戶id
  6661. let _iframe;
  6662. let _cid = cid,
  6663. _stage = stage,
  6664. _task = task,
  6665. _tool = tool;
  6666. var _jie = $$("div", {
  6667. "style": {
  6668. "position": "absolute",
  6669. "bottom": "50px",
  6670. "right": "50px",
  6671. "zIndex": "9999",
  6672. "backgroundColor": "#2268bc",
  6673. "color": "#fff",
  6674. "padding": "12px 20px",
  6675. "cursor": "pointer",
  6676. "borderRadius": "4px",
  6677. },
  6678. "innerHTML": "確認並提交"
  6679. })
  6680. let aTool = ''
  6681. let _loading = document.createElement('div')
  6682. _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;"
  6683. // _loading.id = "";
  6684. let _lchild = document.createElement('div')
  6685. let _limg = document.createElement('img')
  6686. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6687. _limg.style = "width: 26px;margin-right: 10px;"
  6688. _lchild.appendChild(_limg)
  6689. let _lspan = document.createElement('span')
  6690. _lspan.innerHTML = "上傳中..."
  6691. _lchild.appendChild(_lspan)
  6692. _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%);"
  6693. _loading.appendChild(_lchild)
  6694. var _box = $$('div', {
  6695. "style": {
  6696. "position": "relative",
  6697. "width": "100%",
  6698. "height": "100%",
  6699. },
  6700. })
  6701. _box.appendChild(_loading)
  6702. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6703. switch (str) {
  6704. case "whiteboard":
  6705. aTool = 1;
  6706. _iframe = $$("iframe", {
  6707. "frameborder": "no",
  6708. "border": "0",
  6709. "scrolling ": "no",
  6710. "style": {
  6711. "cssText": "border:0;width:100%;height:100%"
  6712. },
  6713. "src": "https://iwb.cocorobo.hk/"
  6714. })
  6715. _box.appendChild(_iframe);
  6716. _box.appendChild(_jie);
  6717. _formdiv = new U.UF.UI.form(
  6718. "電子白板",
  6719. _box, {
  6720. "id": "whiteboards" + cid + stage + task + tool,
  6721. "style": {
  6722. "width": "90%",
  6723. "height": "90%",
  6724. "overflow": 'hidden'
  6725. },
  6726. "onresize": function () { }
  6727. }, {
  6728. closecallback: function () { }
  6729. }, {
  6730. "style": {
  6731. "height": "36px"
  6732. }
  6733. }).form; //創建窗體
  6734. _taskbar = {
  6735. "id": str + _formdiv.id,
  6736. "style": {
  6737. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6738. },
  6739. "name": "電子白板",
  6740. "forms": _formdiv,
  6741. "click": function () {
  6742. U.MD.D.I.openApplication(str, obj, info);
  6743. }
  6744. }
  6745. break;
  6746. case "mind":
  6747. aTool = 3;
  6748. _iframe = $$("iframe", {
  6749. "frameborder": "no",
  6750. "border": "0",
  6751. "scrolling ": "no",
  6752. "style": {
  6753. "cssText": "border:0;width:100%;height:100%"
  6754. },
  6755. "src": "/kityminder-editor/dist/index.html"
  6756. });
  6757. _box.appendChild(_iframe);
  6758. _box.appendChild(_jie);
  6759. _formdiv = new U.UF.UI.form(
  6760. "思維導圖",
  6761. _box, { //"/jsmind/example/demo.html"
  6762. "id": "minds" + cid + stage + task + tool,
  6763. "style": {
  6764. "width": "90%",
  6765. "height": "90%",
  6766. "overflow": 'hidden'
  6767. },
  6768. "onresize": function () { }
  6769. }, {
  6770. closecallback: function () { }
  6771. }, {
  6772. "style": {
  6773. "height": "36px"
  6774. }
  6775. }).form; //創建窗體
  6776. _taskbar = {
  6777. "id": str + _formdiv.id,
  6778. "style": {
  6779. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6780. },
  6781. "name": "思維導圖",
  6782. "forms": _formdiv,
  6783. "click": function () {
  6784. U.MD.D.I.openApplication(str, obj, info);
  6785. }
  6786. }
  6787. break;
  6788. case "doc":
  6789. aTool = 6;
  6790. _iframe = $$("iframe", {
  6791. "frameborder": "no",
  6792. "border": "0",
  6793. "scrolling ": "no",
  6794. "style": {
  6795. "cssText": "border:0;width:100%;height:100%"
  6796. },
  6797. "src": "/Office/Word/WordEditArea.htm"
  6798. })
  6799. _box.appendChild(_iframe);
  6800. _box.appendChild(_jie);
  6801. _formdiv = new U.UF.UI.form(
  6802. "協同文檔",
  6803. _box, {
  6804. "id": "docs" + cid + stage + task + tool,
  6805. "style": {
  6806. "width": "90%",
  6807. "height": "90%",
  6808. "overflow": 'hidden'
  6809. },
  6810. "onresize": function () { }
  6811. }, {
  6812. closecallback: function () { }
  6813. }, {
  6814. "style": {
  6815. "height": "36px"
  6816. }
  6817. }).form; //創建窗體
  6818. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6819. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6820. })
  6821. _taskbar = {
  6822. "id": str + _formdiv.id,
  6823. "style": {
  6824. "backgroundImage": "url(/img/icon/doc.png)"
  6825. },
  6826. "name": "協同文檔",
  6827. "forms": _formdiv,
  6828. "click": function () {
  6829. U.MD.D.I.openApplication(str, obj, info);
  6830. }
  6831. }
  6832. break;
  6833. }
  6834. const script1 = document.createElement("script");
  6835. script1.type = "text/javascript";
  6836. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6837. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6838. const script2 = document.createElement("script");
  6839. script2.type = "text/javascript";
  6840. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6841. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6842. const script3 = document.createElement("script");
  6843. script3.type = "text/javascript";
  6844. script3.charset = "UTF-8";
  6845. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6846. const script4 = document.createElement("script");
  6847. script4.type = "text/javascript";
  6848. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6849. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  6850. if (_iframe) {
  6851. if (str == 'doc') {
  6852. _iframe = _formdiv.querySelector('iframe')
  6853. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6854. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6855. _iframe.contentWindow.document.body.appendChild(script1);
  6856. _iframe.contentWindow.document.body.appendChild(script2);
  6857. // _iframe.contentWindow.document.body.appendChild(script3);
  6858. _iframe.contentWindow.document.body.appendChild(script4);
  6859. })
  6860. if (onloadListener) {
  6861. _iframe.contentDocument.location.reload()
  6862. } else {
  6863. _iframe.contentDocument.location.reload()
  6864. }
  6865. } else if (str == 'mind') {
  6866. _iframe = _formdiv.querySelector('iframe')
  6867. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6868. _iframe.contentWindow.document.body.appendChild(script1);
  6869. _iframe.contentWindow.document.body.appendChild(script2);
  6870. _iframe.contentWindow.document.body.appendChild(script4);
  6871. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6872. })
  6873. if (onloadListener) {
  6874. _iframe.contentDocument.location.reload()
  6875. } else {
  6876. _iframe.contentDocument.location.reload()
  6877. }
  6878. } else {
  6879. _iframe.onload = () => {
  6880. _iframe.contentWindow.document.body.appendChild(script1);
  6881. _iframe.contentWindow.document.body.appendChild(script2);
  6882. // _iframe.contentWindow.document.body.appendChild(script3);
  6883. _iframe.contentWindow.document.body.appendChild(script4);
  6884. };
  6885. }
  6886. _jie.onclick = async () => {
  6887. let text = ''
  6888. if (aTool == 6) {
  6889. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6890. } else if (aTool == 3) {
  6891. text = await U.MD.D.I.getEditorContent(_iframe);
  6892. }
  6893. _loading.style.display = 'flex'
  6894. console.log(_loading);
  6895. var _ajs = _iframe.contentWindow.document.createElement("script");
  6896. _ajs.type = "text/javascript";
  6897. _ajs.innerHTML =
  6898. // 'console.log(' + _loading + ');\n' +
  6899. 'var _js = document.createElement("script");\n' +
  6900. '_js.type="text/javascript";\n' +
  6901. '_js.charset="UTF-8";\n' +
  6902. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6903. "_js.onload = function(){\n" +
  6904. ' var a = document.getElementsByTagName("img")\n' +
  6905. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6906. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6907. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6908. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6909. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6910. "beforeUpload_shishi(file," +
  6911. "'" +
  6912. _userid +
  6913. "'" +
  6914. ", " +
  6915. "'" +
  6916. _cid +
  6917. "'" +
  6918. ", " +
  6919. "'" +
  6920. _stage +
  6921. "'" +
  6922. ", " +
  6923. "'" +
  6924. _task +
  6925. "'" +
  6926. ", " +
  6927. "'" +
  6928. _tool +
  6929. "'" +
  6930. ", " +
  6931. "'" +
  6932. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6933. "'" +
  6934. ", " +
  6935. "'" +
  6936. aTool +
  6937. "'" +
  6938. ", " +
  6939. "`" +
  6940. text +
  6941. "`" +
  6942. ")\n" +
  6943. " });\n" +
  6944. "}\n" +
  6945. "document.head.appendChild(_js);\n";
  6946. _iframe.contentWindow.document.head.appendChild(_ajs);
  6947. }
  6948. }
  6949. //U.MD.D.I.openClick(str);
  6950. //如果有任務欄信息
  6951. // if (_taskbar) {
  6952. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6953. // }
  6954. }
  6955. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6956. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6957. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6958. _userinfo = US.userInfo, //登錄用戶信息
  6959. _userid = US.userInfo.userid //登錄用戶id
  6960. let _iframe;
  6961. let _cid = cid,
  6962. _stage = stage,
  6963. _task = task,
  6964. _tool = tool;
  6965. var _jie = $$("div", {
  6966. "style": {
  6967. "position": "absolute",
  6968. "bottom": "50px",
  6969. "right": "50px",
  6970. "zIndex": "9999",
  6971. "backgroundColor": "#2268bc",
  6972. "color": "#fff",
  6973. "padding": "12px 20px",
  6974. "cursor": "pointer",
  6975. "borderRadius": "4px",
  6976. },
  6977. "innerHTML": "確認並提交"
  6978. })
  6979. let aTool = ''
  6980. let _loading = document.createElement('div')
  6981. _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;"
  6982. // _loading.id = "";
  6983. let _lchild = document.createElement('div')
  6984. let _limg = document.createElement('img')
  6985. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6986. _limg.style = "width: 26px;margin-right: 10px;"
  6987. _lchild.appendChild(_limg)
  6988. let _lspan = document.createElement('span')
  6989. _lspan.innerHTML = "上傳中..."
  6990. _lchild.appendChild(_lspan)
  6991. _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%);"
  6992. _loading.appendChild(_lchild)
  6993. var _box = $$('div', {
  6994. "style": {
  6995. "position": "relative",
  6996. "width": "100%",
  6997. "height": "100%",
  6998. },
  6999. })
  7000. _box.appendChild(_loading)
  7001. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7002. switch (str) {
  7003. case "whiteboard":
  7004. aTool = 1;
  7005. _iframe = $$("iframe", {
  7006. "frameborder": "no",
  7007. "border": "0",
  7008. "scrolling ": "no",
  7009. "style": {
  7010. "cssText": "border:0;width:100%;height:100%"
  7011. },
  7012. "src": "https://iwb.cocorobo.hk/"
  7013. })
  7014. _box.appendChild(_iframe);
  7015. _box.appendChild(_jie);
  7016. _formdiv = new U.UF.UI.form(
  7017. "電子白板",
  7018. _box, {
  7019. "id": "whiteboards" + cid + stage + task + tool,
  7020. "style": {
  7021. "width": "90%",
  7022. "height": "90%",
  7023. "overflow": 'hidden'
  7024. },
  7025. "onresize": function () { }
  7026. }, {
  7027. closecallback: function () { }
  7028. }, {
  7029. "style": {
  7030. "height": "36px"
  7031. }
  7032. }).form; //創建窗體
  7033. _taskbar = {
  7034. "id": str + _formdiv.id,
  7035. "style": {
  7036. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7037. },
  7038. "name": "電子白板",
  7039. "forms": _formdiv,
  7040. "click": function () {
  7041. U.MD.D.I.openApplication(str, obj, info);
  7042. }
  7043. }
  7044. break;
  7045. case "mind":
  7046. aTool = 3;
  7047. _iframe = $$("iframe", {
  7048. "frameborder": "no",
  7049. "border": "0",
  7050. "scrolling ": "no",
  7051. "style": {
  7052. "cssText": "border:0;width:100%;height:100%"
  7053. },
  7054. "src": "/kityminder-editor/dist/index.html"
  7055. });
  7056. _box.appendChild(_iframe);
  7057. _box.appendChild(_jie);
  7058. _formdiv = new U.UF.UI.form(
  7059. "思維導圖",
  7060. _box, { //"/jsmind/example/demo.html"
  7061. "id": "minds" + cid + stage + task + tool,
  7062. "style": {
  7063. "width": "90%",
  7064. "height": "90%",
  7065. "overflow": 'hidden'
  7066. },
  7067. "onresize": function () { }
  7068. }, {
  7069. closecallback: function () { }
  7070. }, {
  7071. "style": {
  7072. "height": "36px"
  7073. }
  7074. }).form; //創建窗體
  7075. _taskbar = {
  7076. "id": str + _formdiv.id,
  7077. "style": {
  7078. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7079. },
  7080. "name": "思維導圖",
  7081. "forms": _formdiv,
  7082. "click": function () {
  7083. U.MD.D.I.openApplication(str, obj, info);
  7084. }
  7085. }
  7086. break;
  7087. case "doc":
  7088. aTool = 6;
  7089. _iframe = $$("iframe", {
  7090. "frameborder": "no",
  7091. "border": "0",
  7092. "scrolling ": "no",
  7093. "style": {
  7094. "cssText": "border:0;width:100%;height:100%"
  7095. },
  7096. "src": "/Office/Word/WordEditArea.htm"
  7097. })
  7098. _box.appendChild(_iframe);
  7099. _box.appendChild(_jie);
  7100. _formdiv = new U.UF.UI.form(
  7101. "協同文檔",
  7102. _box, {
  7103. "id": "docs" + cid + stage + task + tool,
  7104. "style": {
  7105. "width": "90%",
  7106. "height": "90%",
  7107. "overflow": 'hidden'
  7108. },
  7109. "onresize": function () { }
  7110. }, {
  7111. closecallback: function () { }
  7112. }, {
  7113. "style": {
  7114. "height": "36px"
  7115. }
  7116. }).form; //創建窗體
  7117. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7118. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7119. })
  7120. _taskbar = {
  7121. "id": str + _formdiv.id,
  7122. "style": {
  7123. "backgroundImage": "url(/img/icon/doc.png)"
  7124. },
  7125. "name": "協同文檔",
  7126. "forms": _formdiv,
  7127. "click": function () {
  7128. U.MD.D.I.openApplication(str, obj, info);
  7129. }
  7130. }
  7131. break;
  7132. }
  7133. const script1 = document.createElement("script");
  7134. script1.type = "text/javascript";
  7135. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7136. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7137. const script2 = document.createElement("script");
  7138. script2.type = "text/javascript";
  7139. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7140. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7141. const script3 = document.createElement("script");
  7142. script3.type = "text/javascript";
  7143. script3.charset = "UTF-8";
  7144. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7145. const script4 = document.createElement("script");
  7146. script4.type = "text/javascript";
  7147. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7148. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  7149. if (_iframe) {
  7150. if (str == 'doc') {
  7151. _iframe = _formdiv.querySelector('iframe')
  7152. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7153. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7154. _iframe.contentWindow.document.body.appendChild(script1);
  7155. _iframe.contentWindow.document.body.appendChild(script2);
  7156. // _iframe.contentWindow.document.body.appendChild(script3);
  7157. _iframe.contentWindow.document.body.appendChild(script4);
  7158. })
  7159. if (onloadListener) {
  7160. _iframe.contentDocument.location.reload()
  7161. } else {
  7162. _iframe.contentDocument.location.reload()
  7163. }
  7164. } else if (str == 'mind') {
  7165. _iframe = _formdiv.querySelector('iframe')
  7166. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7167. _iframe.contentWindow.document.body.appendChild(script1);
  7168. _iframe.contentWindow.document.body.appendChild(script2);
  7169. _iframe.contentWindow.document.body.appendChild(script4);
  7170. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7171. })
  7172. if (onloadListener) {
  7173. _iframe.contentDocument.location.reload()
  7174. } else {
  7175. _iframe.contentDocument.location.reload()
  7176. }
  7177. } else {
  7178. _iframe.onload = () => {
  7179. _iframe.contentWindow.document.body.appendChild(script1);
  7180. _iframe.contentWindow.document.body.appendChild(script2);
  7181. // _iframe.contentWindow.document.body.appendChild(script3);
  7182. _iframe.contentWindow.document.body.appendChild(script4);
  7183. };
  7184. }
  7185. _jie.onclick = async () => {
  7186. let text = ''
  7187. if (aTool == 6) {
  7188. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7189. } else if (aTool == 3) {
  7190. text = await U.MD.D.I.getEditorContent(_iframe);
  7191. }
  7192. _loading.style.display = 'flex'
  7193. console.log(_loading);
  7194. var _ajs = _iframe.contentWindow.document.createElement("script");
  7195. _ajs.type = "text/javascript";
  7196. _ajs.innerHTML =
  7197. // 'console.log(' + _loading + ');\n' +
  7198. 'var _js = document.createElement("script");\n' +
  7199. '_js.type="text/javascript";\n' +
  7200. '_js.charset="UTF-8";\n' +
  7201. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7202. "_js.onload = function(){\n" +
  7203. ' var a = document.getElementsByTagName("img")\n' +
  7204. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7205. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7206. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7207. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7208. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7209. "beforeUpload_shishi(file," +
  7210. "'" +
  7211. _userid +
  7212. "'" +
  7213. ", " +
  7214. "'" +
  7215. _cid +
  7216. "'" +
  7217. ", " +
  7218. "'" +
  7219. _stage +
  7220. "'" +
  7221. ", " +
  7222. "'" +
  7223. _task +
  7224. "'" +
  7225. ", " +
  7226. "'" +
  7227. _tool +
  7228. "'" +
  7229. ", " +
  7230. "'" +
  7231. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7232. "'" +
  7233. ", " +
  7234. "'" +
  7235. aTool +
  7236. "'" +
  7237. ", " +
  7238. "`" +
  7239. text +
  7240. "`" +
  7241. ")\n" +
  7242. " });\n" +
  7243. "}\n" +
  7244. "document.head.appendChild(_js);\n";
  7245. _iframe.contentWindow.document.head.appendChild(_ajs);
  7246. }
  7247. }
  7248. //U.MD.D.I.openClick(str);
  7249. //如果有任務欄信息
  7250. // if (_taskbar) {
  7251. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7252. // }
  7253. }
  7254. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7255. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7256. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7257. _userinfo = US.userInfo, //登錄用戶信息
  7258. _userid = US.userInfo.userid //登錄用戶id
  7259. let _iframe;
  7260. let _cid = cid,
  7261. _stage = stage,
  7262. _task = task,
  7263. _tool = tool;
  7264. var _jie = $$("div", {
  7265. "style": {
  7266. "position": "absolute",
  7267. "bottom": "50px",
  7268. "right": "50px",
  7269. "zIndex": "9999",
  7270. "backgroundColor": "#2268bc",
  7271. "color": "#fff",
  7272. "padding": "12px 20px",
  7273. "cursor": "pointer",
  7274. "borderRadius": "4px",
  7275. },
  7276. "innerHTML": "上傳模板"
  7277. })
  7278. let aTool = ''
  7279. let _loading = document.createElement('div')
  7280. _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;"
  7281. // _loading.id = "";
  7282. let _lchild = document.createElement('div')
  7283. let _limg = document.createElement('img')
  7284. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7285. _limg.style = "width: 26px;margin-right: 10px;"
  7286. _lchild.appendChild(_limg)
  7287. let _lspan = document.createElement('span')
  7288. _lspan.innerHTML = "上傳中..."
  7289. _lchild.appendChild(_lspan)
  7290. _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%);"
  7291. _loading.appendChild(_lchild)
  7292. var _box = $$('div', {
  7293. "style": {
  7294. "position": "relative",
  7295. "width": "100%",
  7296. "height": "100%",
  7297. },
  7298. })
  7299. _box.appendChild(_loading)
  7300. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7301. switch (str) {
  7302. case "whiteboard":
  7303. aTool = 1;
  7304. _iframe = $$("iframe", {
  7305. "frameborder": "no",
  7306. "border": "0",
  7307. "scrolling ": "no",
  7308. "style": {
  7309. "cssText": "border:0;width:100%;height:100%"
  7310. },
  7311. "src": "https://iwb.cocorobo.hk/"
  7312. })
  7313. _box.appendChild(_iframe);
  7314. _box.appendChild(_jie);
  7315. _formdiv = new U.UF.UI.form(
  7316. "電子白板",
  7317. _box, {
  7318. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7319. "style": {
  7320. "width": "90%",
  7321. "height": "90%",
  7322. "overflow": 'hidden'
  7323. },
  7324. "onresize": function () { }
  7325. }, {
  7326. closecallback: function () { }
  7327. }, {
  7328. "style": {
  7329. "height": "36px"
  7330. }
  7331. }).form; //創建窗體
  7332. _taskbar = {
  7333. "id": str + _formdiv.id,
  7334. "style": {
  7335. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7336. },
  7337. "name": "電子白板",
  7338. "forms": _formdiv,
  7339. "click": function () {
  7340. U.MD.D.I.openApplication(str, obj, info);
  7341. }
  7342. }
  7343. break;
  7344. case "mind":
  7345. aTool = 3;
  7346. _iframe = $$("iframe", {
  7347. "frameborder": "no",
  7348. "border": "0",
  7349. "scrolling ": "no",
  7350. "style": {
  7351. "cssText": "border:0;width:100%;height:100%"
  7352. },
  7353. "src": "/kityminder-editor/dist/index.html"
  7354. });
  7355. _box.appendChild(_iframe);
  7356. _box.appendChild(_jie);
  7357. _formdiv = new U.UF.UI.form(
  7358. "思維導圖",
  7359. _box, { //"/jsmind/example/demo.html"
  7360. "id": "minds_Yu" + cid + stage + task + tool,
  7361. "style": {
  7362. "width": "90%",
  7363. "height": "90%",
  7364. "overflow": 'hidden'
  7365. },
  7366. "onresize": function () { }
  7367. }, {
  7368. closecallback: function () { }
  7369. }, {
  7370. "style": {
  7371. "height": "36px"
  7372. }
  7373. }).form; //創建窗體
  7374. _taskbar = {
  7375. "id": str + _formdiv.id,
  7376. "style": {
  7377. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7378. },
  7379. "name": "思維導圖",
  7380. "forms": _formdiv,
  7381. "click": function () {
  7382. U.MD.D.I.openApplication(str, obj, info);
  7383. }
  7384. }
  7385. break;
  7386. case "doc":
  7387. aTool = 6;
  7388. _iframe = $$("iframe", {
  7389. "frameborder": "no",
  7390. "border": "0",
  7391. "scrolling ": "no",
  7392. "style": {
  7393. "cssText": "border:0;width:100%;height:100%"
  7394. },
  7395. "src": "/Office/Word/WordEditArea.htm"
  7396. })
  7397. _box.appendChild(_iframe);
  7398. _box.appendChild(_jie);
  7399. _formdiv = new U.UF.UI.form(
  7400. "協同文檔",
  7401. _box, {
  7402. "id": "docs_Yu" + cid + stage + task + tool,
  7403. "style": {
  7404. "width": "90%",
  7405. "height": "90%",
  7406. "overflow": 'hidden'
  7407. },
  7408. "onresize": function () { }
  7409. }, {
  7410. closecallback: function () { }
  7411. }, {
  7412. "style": {
  7413. "height": "36px"
  7414. }
  7415. }).form; //創建窗體
  7416. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7417. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7418. })
  7419. _taskbar = {
  7420. "id": str + _formdiv.id,
  7421. "style": {
  7422. "backgroundImage": "url(/img/icon/doc.png)"
  7423. },
  7424. "name": "協同文檔",
  7425. "forms": _formdiv,
  7426. "click": function () {
  7427. U.MD.D.I.openApplication(str, obj, info);
  7428. }
  7429. }
  7430. break;
  7431. case "CocoPi":
  7432. aTool = 57;
  7433. _iframe = $$("iframe", {
  7434. "allowpaymentrequest": "allowpaymentrequest",
  7435. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7436. "webkitallowfullscreen": "",
  7437. "mozallowfullscreen": "",
  7438. "frameborder": "no",
  7439. "border": "0",
  7440. "scrolling ": "no",
  7441. "style": {
  7442. "cssText": "border:0;width:100%;height:100%"
  7443. },
  7444. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7445. })
  7446. _box.appendChild(_iframe);
  7447. _box.appendChild(_jie);
  7448. _formdiv = new U.UF.UI.form(
  7449. "CocoPi",
  7450. _box, {
  7451. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7452. "style": {
  7453. "width": "90%",
  7454. "height": "90%",
  7455. "overflow": 'hidden'
  7456. },
  7457. "onresize": function () { }
  7458. }, {
  7459. closecallback: function () { }
  7460. }, {
  7461. "style": {
  7462. "height": "36px"
  7463. }
  7464. }).form; //創建窗體
  7465. _taskbar = {
  7466. "id": str + _formdiv.id,
  7467. "style": {
  7468. "backgroundImage": "url(/img/icon/cocopi.png)"
  7469. },
  7470. "name": "CocoPi",
  7471. "forms": _formdiv,
  7472. "click": function () {
  7473. U.MD.D.I.openApplication(str, obj, info);
  7474. }
  7475. }
  7476. break;
  7477. }
  7478. if (_iframe) {
  7479. if (str == 'doc') {
  7480. _iframe = _formdiv.querySelector('iframe')
  7481. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7482. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7483. })
  7484. if (onloadListener) {
  7485. _iframe.contentDocument.location.reload()
  7486. } else {
  7487. _iframe.contentDocument.location.reload()
  7488. }
  7489. } else if (str == 'mind') {
  7490. _iframe = _formdiv.querySelector('iframe')
  7491. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7492. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7493. })
  7494. if (onloadListener) {
  7495. _iframe.contentDocument.location.reload()
  7496. } else {
  7497. _iframe.contentDocument.location.reload()
  7498. }
  7499. } else if (str == 'whiteboard') {
  7500. _iframe = _formdiv.querySelector('iframe')
  7501. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7502. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7503. })
  7504. if (onloadListener) {
  7505. _iframe.contentDocument.location.reload()
  7506. } else {
  7507. _iframe.contentDocument.location.reload()
  7508. }
  7509. } else if (str == 'CocoPi') {
  7510. _iframe = _formdiv.querySelector('iframe')
  7511. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7512. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7513. })
  7514. if (onloadListener) {
  7515. _iframe.contentDocument.location.reload()
  7516. } else {
  7517. _iframe.contentDocument.location.reload()
  7518. }
  7519. } else {
  7520. _iframe.onload = () => { };
  7521. }
  7522. _jie.onclick = async () => {
  7523. let text = ''
  7524. let type = '2'
  7525. if (aTool == 1) {
  7526. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7527. type = '3'
  7528. } else if (aTool == 6) {
  7529. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7530. type = '1'
  7531. } else if (aTool == 3) {
  7532. text = await U.MD.D.I.getEditorContent(_iframe);
  7533. type = '2'
  7534. } else if (aTool == 57) {
  7535. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7536. type = '4'
  7537. }
  7538. _loading.style.display = 'flex'
  7539. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7540. }
  7541. }
  7542. //U.MD.D.I.openClick(str);
  7543. //如果有任務欄信息
  7544. // if (_taskbar) {
  7545. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7546. // }
  7547. }
  7548. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7549. var xmlhttp;
  7550. var Mac, Sn, DeviceId
  7551. if (window.XMLHttpRequest) {
  7552. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7553. xmlhttp = new XMLHttpRequest();
  7554. }
  7555. else {
  7556. // IE6, IE5 瀏覽器執行代碼
  7557. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7558. }
  7559. xmlhttp.onreadystatechange = function () {
  7560. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7561. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7562. // resolve(res.value[0][0].text);
  7563. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7564. }
  7565. }
  7566. }
  7567. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7568. xmlhttp.send();
  7569. }
  7570. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7571. var xmlhttp;
  7572. var Mac, Sn, DeviceId
  7573. if (window.XMLHttpRequest) {
  7574. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7575. xmlhttp = new XMLHttpRequest();
  7576. }
  7577. else {
  7578. // IE6, IE5 瀏覽器執行代碼
  7579. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7580. }
  7581. xmlhttp.onreadystatechange = function () {
  7582. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7583. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7584. // resolve(res.value[0][0].text);
  7585. if (type == '2') {
  7586. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7587. } else if (type == '3') {
  7588. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7589. } else if (type == '4') {
  7590. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7591. }
  7592. } else {
  7593. if (type == '2') {
  7594. iframe.contentWindow.editor.minder.importData('json', '')
  7595. } else if (type == '3') {
  7596. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7597. } else if (type == '4') {
  7598. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7599. }
  7600. }
  7601. }
  7602. }
  7603. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7604. xmlhttp.send();
  7605. }
  7606. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7607. var xmlhttp;
  7608. var Mac, Sn, DeviceId
  7609. if (window.XMLHttpRequest) {
  7610. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7611. xmlhttp = new XMLHttpRequest();
  7612. }
  7613. else {
  7614. // IE6, IE5 瀏覽器執行代碼
  7615. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7616. }
  7617. xmlhttp.onreadystatechange = function () {
  7618. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7619. if (xmlhttp.response) {
  7620. // resolve(res.value[0][0].text);
  7621. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7622. // $(fileInput).val('');
  7623. // });
  7624. span.innerHTML = '上傳成功'
  7625. setTimeout(() => {
  7626. loading.style.display = 'none'
  7627. }, 1000);
  7628. }
  7629. }
  7630. }
  7631. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7632. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7633. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7634. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7635. // 設置請求頭,表示請求體的編碼格式
  7636. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7637. // 設置請求體,使用url-encoded格式的數據
  7638. }
  7639. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7640. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7641. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7642. _userinfo = US.userInfo, //登錄用戶信息
  7643. _userid = US.userInfo.userid //登錄用戶id
  7644. let _iframe;
  7645. let _cid = cid,
  7646. _stage = stage,
  7647. _task = task,
  7648. _tool = tool;
  7649. var _jie = $$("div", {
  7650. "style": {
  7651. "position": "absolute",
  7652. "bottom": "50px",
  7653. "right": "50px",
  7654. "zIndex": "9999",
  7655. "backgroundColor": "#2268bc",
  7656. "color": "#fff",
  7657. "padding": "12px 20px",
  7658. "cursor": "pointer",
  7659. "borderRadius": "4px",
  7660. },
  7661. "innerHTML": "提交作業"
  7662. })
  7663. let aTool = ''
  7664. let _loading = document.createElement('div')
  7665. _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;"
  7666. // _loading.id = "";
  7667. let _lchild = document.createElement('div')
  7668. let _limg = document.createElement('img')
  7669. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7670. _limg.style = "width: 26px;margin-right: 10px;"
  7671. _lchild.appendChild(_limg)
  7672. let _lspan = document.createElement('span')
  7673. _lspan.innerHTML = "上傳中..."
  7674. _lchild.appendChild(_lspan)
  7675. _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%);"
  7676. _loading.appendChild(_lchild)
  7677. var _box = $$('div', {
  7678. "style": {
  7679. "position": "relative",
  7680. "width": "100%",
  7681. "height": "100%",
  7682. },
  7683. })
  7684. _box.appendChild(_loading)
  7685. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7686. switch (str) {
  7687. case "CocoPi":
  7688. aTool = 57;
  7689. _iframe = $$("iframe", {
  7690. "allowpaymentrequest": "allowpaymentrequest",
  7691. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7692. "webkitallowfullscreen": "",
  7693. "mozallowfullscreen": "",
  7694. "frameborder": "no",
  7695. "border": "0",
  7696. "scrolling ": "no",
  7697. "style": {
  7698. "cssText": "border:0;width:100%;height:100%"
  7699. },
  7700. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7701. })
  7702. _box.appendChild(_iframe);
  7703. _box.appendChild(_jie);
  7704. _formdiv = new U.UF.UI.form(
  7705. "CocoPi",
  7706. _box, {
  7707. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7708. "style": {
  7709. "width": "90%",
  7710. "height": "90%",
  7711. "overflow": 'hidden'
  7712. },
  7713. "onresize": function () { }
  7714. }, {
  7715. closecallback: function () { }
  7716. }, {
  7717. "style": {
  7718. "height": "36px"
  7719. }
  7720. }).form; //創建窗體
  7721. _taskbar = {
  7722. "id": str + _formdiv.id,
  7723. "style": {
  7724. "backgroundImage": "url(/img/icon/cocopi.png)"
  7725. },
  7726. "name": "CocoPi",
  7727. "forms": _formdiv,
  7728. "click": function () {
  7729. U.MD.D.I.openApplication(str, obj, info);
  7730. }
  7731. }
  7732. break;
  7733. }
  7734. if (_iframe) {
  7735. if (str == 'CocoPi') {
  7736. _iframe = _formdiv.querySelector('iframe')
  7737. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7738. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7739. })
  7740. if (onloadListener) {
  7741. _iframe.contentDocument.location.reload()
  7742. } else {
  7743. _iframe.contentDocument.location.reload()
  7744. }
  7745. }
  7746. _jie.onclick = async () => {
  7747. let text = ''
  7748. if (aTool == 57) {
  7749. text = _iframe.contentWindow.getLoadXmlStr()
  7750. }
  7751. _loading.style.display = 'flex'
  7752. console.log(_loading);
  7753. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7754. _loading.style.display = 'none'
  7755. let _div = document.createElement('div')
  7756. _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;"
  7757. let _inner = document.createElement('div')
  7758. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7759. _inner.innerHTML = "上傳成功"
  7760. _div.appendChild(_inner)
  7761. _iframe.contentWindow.window.document.body.appendChild(_div)
  7762. _div.onclick = () => {
  7763. _iframe.contentWindow.window.document.body.removeChild(_div)
  7764. }
  7765. setTimeout(() => {
  7766. _iframe.contentWindow.window.document.body.removeChild(_div)
  7767. }, 1000);
  7768. }, [], { "type": "POST", "withCredentials": true });
  7769. }
  7770. }
  7771. }
  7772. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7773. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7774. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7775. _userid = student.userid, //登錄用戶id
  7776. _username = student.student //用戶名字
  7777. let _iframe;
  7778. let _cid = cid,
  7779. _stage = stage,
  7780. _task = task,
  7781. _tool = tool;
  7782. var _jie = $$("div", {
  7783. "style": {
  7784. "position": "absolute",
  7785. "bottom": "50px",
  7786. "right": "50px",
  7787. "zIndex": "9999",
  7788. "backgroundColor": "#2268bc",
  7789. "color": "#fff",
  7790. "padding": "12px 20px",
  7791. "cursor": "pointer",
  7792. "borderRadius": "4px",
  7793. },
  7794. "innerHTML": "提交作業"
  7795. })
  7796. let aTool = ''
  7797. let _loading = document.createElement('div')
  7798. _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;"
  7799. // _loading.id = "";
  7800. let _lchild = document.createElement('div')
  7801. let _limg = document.createElement('img')
  7802. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7803. _limg.style = "width: 26px;margin-right: 10px;"
  7804. _lchild.appendChild(_limg)
  7805. let _lspan = document.createElement('span')
  7806. _lspan.innerHTML = "上傳中..."
  7807. _lchild.appendChild(_lspan)
  7808. _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%);"
  7809. _loading.appendChild(_lchild)
  7810. var _box = $$('div', {
  7811. "style": {
  7812. "position": "relative",
  7813. "width": "100%",
  7814. "height": "100%",
  7815. },
  7816. })
  7817. _box.appendChild(_loading)
  7818. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7819. switch (str) {
  7820. case "CocoPi":
  7821. aTool = 57;
  7822. _iframe = $$("iframe", {
  7823. "allowpaymentrequest": "allowpaymentrequest",
  7824. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7825. "webkitallowfullscreen": "",
  7826. "mozallowfullscreen": "",
  7827. "frameborder": "no",
  7828. "border": "0",
  7829. "scrolling ": "no",
  7830. "style": {
  7831. "cssText": "border:0;width:100%;height:100%"
  7832. },
  7833. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7834. })
  7835. _box.appendChild(_iframe);
  7836. _box.appendChild(_jie);
  7837. _formdiv = new U.UF.UI.form(
  7838. "CocoPi-" + _username,
  7839. _box, {
  7840. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7841. "style": {
  7842. "width": "90%",
  7843. "height": "90%",
  7844. "overflow": 'hidden'
  7845. },
  7846. "onresize": function () { }
  7847. }, {
  7848. closecallback: function () { }
  7849. }, {
  7850. "style": {
  7851. "height": "36px"
  7852. }
  7853. }).form; //創建窗體
  7854. _taskbar = {
  7855. "id": str + _formdiv.id,
  7856. "style": {
  7857. "backgroundImage": "url(/img/icon/cocopi.png)"
  7858. },
  7859. "name": "CocoPi",
  7860. "forms": _formdiv,
  7861. "click": function () {
  7862. U.MD.D.I.openApplication(str, obj, info);
  7863. }
  7864. }
  7865. break;
  7866. }
  7867. if (_iframe) {
  7868. if (str == 'CocoPi') {
  7869. _iframe = _formdiv.querySelector('iframe')
  7870. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7871. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7872. })
  7873. if (onloadListener) {
  7874. _iframe.contentDocument.location.reload()
  7875. } else {
  7876. _iframe.contentDocument.location.reload()
  7877. }
  7878. }
  7879. _jie.onclick = async () => {
  7880. let text = ''
  7881. if (aTool == 57) {
  7882. text = _iframe.contentWindow.getLoadXmlStr()
  7883. }
  7884. _loading.style.display = 'flex'
  7885. console.log(_loading);
  7886. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7887. _loading.style.display = 'none'
  7888. let _div = document.createElement('div')
  7889. _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;"
  7890. let _inner = document.createElement('div')
  7891. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7892. _inner.innerHTML = "上傳成功"
  7893. _div.appendChild(_inner)
  7894. _iframe.contentWindow.window.document.body.appendChild(_div)
  7895. _div.onclick = () => {
  7896. _iframe.contentWindow.window.document.body.removeChild(_div)
  7897. }
  7898. setTimeout(() => {
  7899. _iframe.contentWindow.window.document.body.removeChild(_div)
  7900. }, 1000);
  7901. }, [], { "type": "POST", "withCredentials": true });
  7902. }
  7903. }
  7904. }
  7905. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7906. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7907. if (res.value[0].length > 0) {
  7908. if (atool == 57) {
  7909. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7910. }
  7911. } else {
  7912. if (atool == 57) {
  7913. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7914. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7915. }
  7916. }
  7917. }, [], { "type": "POST", "withCredentials": true });
  7918. }