DeskTop.js 512 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494
  1. /*
  2. 此處為桌面系統啟動應用區域
  3. */
  4. Namespace.register("U.MD.D.I"); //桌面應用處理
  5. //判斷圖片是否在拖拽,如果是拖拽圖標的過程是不會打開圖片的
  6. U.MD.D.I.IsDrag;
  7. U.MD.D.I.Ip;
  8. //教師桌面圖標的全局變量
  9. U.MD.D.I.teacherDeskIcon = [
  10. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  11. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  12. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  13. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  14. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  15. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  16. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  17. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  18. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  19. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  20. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  21. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  22. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  23. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  24. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  25. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  26. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  27. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  28. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  29. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  30. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  31. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  32. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  33. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  34. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  35. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  36. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  37. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  38. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  39. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  40. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  41. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  42. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  43. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  44. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  45. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  46. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  47. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  48. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  49. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  50. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  51. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  52. ];
  53. //極簡模式
  54. U.MD.D.I.easyDeskIcon = [
  55. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  57. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  58. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  59. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  60. ];
  61. //教師桌面圖標的全局變量
  62. U.MD.D.I.teacherDeskIcon2 = [
  63. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  64. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  65. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  66. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  67. // { "Name": "項目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  68. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  69. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  70. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  71. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  72. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  73. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  74. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  75. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  76. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  77. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  78. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  79. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  80. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  81. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  82. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  83. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  84. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  85. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  86. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  87. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  88. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  89. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  90. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  91. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  92. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  93. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  94. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  95. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  96. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  97. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  98. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  99. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  100. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  101. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  102. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  103. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  104. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  105. ];
  106. U.MD.D.I.studentDeskIcon = [
  107. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  108. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  109. // { "Name": "我的項目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  110. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  111. // { "Name": "我的評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  112. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  113. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  114. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  115. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  116. // { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  117. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  118. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  119. // { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  120. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  121. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  122. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  123. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  124. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  125. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  126. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  127. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  128. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  129. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  130. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  131. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  132. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  133. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  134. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  135. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  136. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  137. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  138. ];
  139. U.MD.D.I.studentDeskIcon2 = [
  140. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  141. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  142. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  143. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  144. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  145. ]
  146. U.MD.D.I.studentDeskIcon3 = [
  147. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  148. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  149. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  150. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  151. ]
  152. U.MD.D.I.schoolDeskIcon = [
  153. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  154. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  155. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  156. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  157. { "Name": "學習資料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  158. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  159. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  160. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  161. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  162. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  163. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  164. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  165. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  166. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  167. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  168. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  169. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  170. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  171. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  172. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  173. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  174. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  175. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  176. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  177. ];
  178. U.MD.D.I.orgDeskIcon = [
  179. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  180. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  181. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  182. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  183. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  184. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  185. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  186. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  187. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  188. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  189. { "Name": "案例征集", "Url": "ytpbl", "style": { "cssText": "background-image:url(/img/icon/gpbl2.png)" } },
  190. ];
  191. U.MD.D.I.orgStemDeskIcon = [
  192. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  193. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  194. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  195. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  196. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  197. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  198. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  199. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  200. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  201. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  202. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  203. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  204. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  205. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  206. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  207. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  208. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  209. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  210. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  211. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  212. ];
  213. U.MD.D.I.szulsDeskIcon = [
  214. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  215. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  216. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  217. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  218. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  219. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  220. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  221. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  222. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  223. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  224. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  225. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  226. ];
  227. U.MD.D.I.hanDeskIcon = [
  228. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  229. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  230. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  231. { "Name": "漢字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  232. { "Name": "國學經典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  233. { "Name": "筆畫訓練", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  234. { "Name": "書法課堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  235. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  236. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  237. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  238. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  239. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  240. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  241. ];
  242. U.MD.D.I.GMteacherDeskIcon = [
  243. { "Name": "課程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  244. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  245. { "Name": "學生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  246. { "Name": "學生評價", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  247. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  248. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  249. { "Name": "班級管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  250. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  251. { "Name": "課程進展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  252. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  253. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  254. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  255. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  256. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  257. ];
  258. U.MD.D.I.GMstudentDeskIcon = [
  259. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  260. { "Name": "我的評價", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  261. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  262. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  263. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  264. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  265. ];
  266. //北師大
  267. U.MD.D.I.BSDNSteacherDeskIcon = [
  268. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  269. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  270. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  271. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  272. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  273. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  274. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  275. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  276. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  277. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  278. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  279. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  280. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  281. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  282. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  283. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  284. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  285. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  286. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  287. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  288. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  289. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  290. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  291. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  292. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  293. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  294. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  295. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  296. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  297. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  298. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  299. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  300. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  301. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  302. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  303. { "Name": "數字實驗室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  304. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  305. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  306. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  307. ];
  308. //松山湖
  309. U.MD.D.I.SONGteacherDeskIcon = [
  310. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  311. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  312. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  313. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  314. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  315. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  316. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  317. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  318. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  319. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  320. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  321. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  322. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  323. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  324. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  325. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  326. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  327. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  328. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  329. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  330. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  331. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  332. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  333. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  334. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  335. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  336. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  337. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  338. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  339. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  340. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  341. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  342. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  343. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  344. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  345. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  346. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  347. ];
  348. U.MD.D.I.tcStudentDeskIcon = [
  349. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  350. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  351. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  352. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  353. ];
  354. U.MD.D.I.tcTeacherDeskIcon = [
  355. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  356. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  357. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  358. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  359. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  360. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  361. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  362. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  363. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  364. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  365. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  366. ];
  367. U.MD.D.I.tcOrganizerDeskIcon = [
  368. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  369. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  370. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  371. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  372. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  373. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  374. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  375. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  376. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  377. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  378. // { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  379. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  380. ];
  381. U.MD.D.I.szscStudentDeskIcon = [
  382. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  383. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  384. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  385. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  386. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  387. ];
  388. U.MD.D.I.szscTeacherDeskIcon = [
  389. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  390. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  391. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  392. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  393. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  394. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  395. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  396. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  397. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  398. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  399. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  400. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  401. ];
  402. U.MD.D.I.szscOrganizerDeskIcon = [
  403. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  404. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  405. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  406. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  407. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  408. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  409. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  410. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  411. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  412. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  413. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  414. ];
  415. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  416. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  417. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  418. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  419. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  420. { "Name": "PBL项目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  421. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  422. { "Name": "项目进展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  423. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  424. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  425. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  426. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  427. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  428. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  429. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  430. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  431. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  432. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  433. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  434. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  435. ];
  436. U.MD.D.I.wankeAdminDeskIcon = [
  437. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  438. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  439. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  440. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  441. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  442. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  443. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  444. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  445. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  446. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  447. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  448. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  449. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  450. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  451. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  452. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  453. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  454. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  455. ];
  456. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  457. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  458. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  459. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  460. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  461. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  462. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  463. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  464. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  465. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  466. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  467. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  468. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  469. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  470. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  471. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  472. ];
  473. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  474. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  475. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  476. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  477. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  478. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  479. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  480. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  481. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  482. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  483. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  484. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  485. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  486. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  487. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  488. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  489. ];
  490. //明德教師桌面圖標的全局變量
  491. U.MD.D.I.MingdeTeacherDeskIcon = [
  492. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  493. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  494. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  495. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  496. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  497. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  498. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  499. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  500. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  501. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  502. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  503. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  504. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  505. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  506. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  507. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  508. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  509. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  510. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  511. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  512. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  513. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  514. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  515. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  516. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  517. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  518. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  519. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  520. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  521. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  522. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  523. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  524. ];
  525. //97c4ee8b-d010-4042-986d-e9d3c217264f
  526. //教師桌面圖標的全局變量
  527. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  528. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  529. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  530. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  531. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  532. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  533. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  534. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  535. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  536. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  537. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  538. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  539. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  540. ];
  541. //福田
  542. U.MD.D.I.futianTeacherDeskIcon = [
  543. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  544. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  545. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  546. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  547. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  548. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  549. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  550. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  551. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  552. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  553. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  554. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  555. ];
  556. //福田
  557. U.MD.D.I.futianAdminDeskIcon = [
  558. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  559. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  560. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  561. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  562. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  563. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  564. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  565. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  566. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  567. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  568. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  569. ];
  570. //lotech
  571. U.MD.D.I.lotechTeacherDeskIcon = [
  572. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  573. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  574. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  575. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  576. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  577. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  578. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  579. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  580. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  581. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  582. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  583. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  584. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  585. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  587. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  588. ];
  589. //龍華中心小學教師桌面圖標的全局變量
  590. U.MD.D.I.longhuateacherDeskIcon = [
  591. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  592. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  593. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  594. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  595. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  596. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  597. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  598. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  599. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  600. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  601. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  602. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  603. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  604. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  605. ];
  606. //教科院實小教師桌面圖標的全局變量
  607. U.MD.D.I.siesteacherDeskIcon = [
  608. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  609. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  610. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  611. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  612. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  613. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  614. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  615. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  616. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  617. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  618. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  619. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  620. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  621. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  622. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  623. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  624. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  625. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  626. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  627. { "Name": "數據融合", "Url": "dataBoardSies", "style": { "cssText": "background-image:url(/img/icon/dataBoardSies.png)" } },
  628. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  629. { "Name": "評測看板", "Url": "dataBoardTest", "style": { "cssText": "background-image:url(/img/icon/databoardTest.png)" } },
  630. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  631. { "Name": "教師管理", "Url": "testTeacherSies", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  632. { "Name": "教師中心", "Url": "testStudentSies", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  633. ];
  634. //教科院實小教師桌面圖標的全局變量
  635. U.MD.D.I.siesStudentDeskIcon = [
  636. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  637. { "Name": "項目管理", "Url": "studentCourse", "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": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  640. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  641. ];
  642. //福田
  643. U.MD.D.I.gdjgTeacherDeskIcon = [
  644. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  645. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  646. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  647. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  648. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  649. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  650. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  651. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  652. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  653. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  654. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  655. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  656. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  657. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  658. ];
  659. //gdjg
  660. U.MD.D.I.gdjgAdminDeskIcon = [
  661. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  662. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  663. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  664. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  665. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  666. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  667. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  668. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  669. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  670. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  671. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  672. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  673. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  674. ];
  675. //hk
  676. U.MD.D.I.hkteacherDeskIcon = [
  677. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  678. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  679. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  680. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  681. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  682. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  683. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  684. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  685. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  686. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  687. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  688. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  689. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  690. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  691. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  693. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  694. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  695. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  696. ];
  697. //hk
  698. U.MD.D.I.hkStudentDeskIcon = [
  699. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  700. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  701. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  702. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  703. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  704. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  705. ];
  706. //hk
  707. U.MD.D.I.hkaceteacherDeskIcon = [
  708. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  709. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  710. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  711. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  712. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  713. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  714. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  715. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  716. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  717. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  718. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  719. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  720. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  721. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  722. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  723. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  724. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  725. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  726. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  727. ];
  728. //hk
  729. U.MD.D.I.hkaceStudentDeskIcon = [
  730. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  731. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  732. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  733. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  734. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  735. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  736. ];
  737. //香海正覺蓮社佛教正覺中學
  738. U.MD.D.I.hkZJLSteacherDeskIcon = [
  739. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  740. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  741. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  742. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  743. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  744. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  745. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  746. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  747. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  748. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  749. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  750. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  751. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  752. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  753. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  754. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  755. ];
  756. //香海正覺蓮社佛教正覺中學
  757. U.MD.D.I.hkZJLSStudentDeskIcon = [
  758. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  759. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  760. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  761. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  762. ];
  763. //雲海
  764. U.MD.D.I.yunhaiTeacherDeskIcon = [
  765. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  766. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  767. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  768. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  769. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  770. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  771. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  772. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  773. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  774. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  775. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  776. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  777. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  778. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  779. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  780. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.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.heyuanTeacherDeskIcon = [
  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": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  794. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  795. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  796. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  797. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  798. ];
  799. //福田
  800. U.MD.D.I.heyuanAdminDeskIcon = [
  801. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  802. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  803. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  804. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  805. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  806. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  807. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  808. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  809. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  810. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  811. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  812. ];
  813. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  814. U.MD.D.I.szherTeacherDeskIcon = [
  815. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  816. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  817. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  818. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  819. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  820. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  821. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  822. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  823. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  824. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  825. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  826. ];
  827. //dsei
  828. U.MD.D.I.dseiTeacherDeskIcon = [
  829. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  830. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  831. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  832. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  833. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  834. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  835. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  836. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  837. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  838. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  839. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  840. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  841. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  842. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  843. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  844. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  845. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  846. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  847. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  848. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  849. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  850. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  851. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  852. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  853. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  854. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  855. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  856. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  857. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  858. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  859. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  860. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  861. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  862. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  863. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  864. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  865. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  866. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  867. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  868. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  869. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  870. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  871. ];
  872. //dsei
  873. U.MD.D.I.dseiAdminDeskIcon = [
  874. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  875. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  876. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  877. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  878. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  879. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  880. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  881. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  882. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  883. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  884. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  885. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  886. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  887. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  888. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  889. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  890. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  891. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  892. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  893. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  894. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  895. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  896. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  897. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  898. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  899. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  900. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  901. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  902. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  903. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  904. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  905. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  906. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  907. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  908. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  909. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  910. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  911. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  912. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  913. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  914. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  915. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  916. ];
  917. //dsei
  918. U.MD.D.I.dseiStudentDeskIcon = [
  919. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  920. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  921. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  922. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  923. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  924. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  925. ];
  926. //未來教育基地
  927. U.MD.D.I.szjkyTeacherDeskIcon = [
  928. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  929. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  930. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  931. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  932. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  933. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  934. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  935. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  936. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  937. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  938. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  939. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  940. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  941. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  942. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  943. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  944. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  945. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  946. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  947. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  948. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  949. ];
  950. //未來教育基地
  951. U.MD.D.I.szjkyAdminDeskIcon = [
  952. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  953. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  954. { "Name": "項目管理", "Url": "studentCourseS", "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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  957. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  958. { "Name": "教师管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  959. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  960. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  961. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  962. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  963. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  964. { "Name": "AI共创", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  965. { "Name": "AI协同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  966. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  967. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  968. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  969. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  970. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  971. // { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  972. // { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  973. ];
  974. //未來教育基地
  975. U.MD.D.I.szjkyStudentDeskIcon = [
  976. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  977. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  978. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  979. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  980. ];
  981. //成華教育局
  982. U.MD.D.I.chjyjTeacherDeskIcon = [
  983. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  984. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  985. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  986. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  987. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  988. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  989. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  990. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  991. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  992. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  993. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  994. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  995. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  996. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  997. ];
  998. //成華教育局chjyj
  999. U.MD.D.I.chjyjAdminDeskIcon = [
  1000. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1001. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1002. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1003. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1004. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1005. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1006. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1007. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1008. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1009. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1010. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1011. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1012. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1013. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1014. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1015. ];
  1016. //成華教育局chjyj
  1017. U.MD.D.I.chjyjStudentDeskIcon = [
  1018. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1019. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1020. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1021. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1022. ];
  1023. //tpc
  1024. U.MD.D.I.tpcStudentDeskIcon = [
  1025. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1026. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1027. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1028. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1029. ];
  1030. //tpc
  1031. U.MD.D.I.tpcTeacherDeskIcon = [
  1032. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1033. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1034. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1035. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1036. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1037. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1038. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1039. ];
  1040. //tpc
  1041. U.MD.D.I.tpcAdminDeskIcon = [
  1042. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1043. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1044. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1045. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1046. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1047. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1048. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1049. ];
  1050. //THU-IOE
  1051. U.MD.D.I.thuioeTeacherDeskIcon = [
  1052. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1053. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1054. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1055. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1056. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1057. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1058. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1059. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1060. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1061. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1062. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1063. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1064. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1065. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1066. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1067. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1068. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1069. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1070. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1071. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1072. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1073. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1074. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1075. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1076. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1077. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1078. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1079. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1080. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1081. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1082. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1083. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1084. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1085. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1086. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1087. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1088. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1089. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1090. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1091. ];
  1092. //THU-IOE
  1093. U.MD.D.I.thuioeStudentDeskIcon = [
  1094. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1095. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1096. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1097. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1098. ];
  1099. //jccssyl
  1100. U.MD.D.I.jccssylTeacherDeskIcon = [
  1101. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1102. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1103. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1104. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1105. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1106. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1107. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1108. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1109. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1110. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1111. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1112. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1113. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1114. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1115. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1116. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1117. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1118. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1119. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1120. ];
  1121. //jccssyl
  1122. U.MD.D.I.jccssylStudentDeskIcon = [
  1123. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1124. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1125. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1126. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1127. ];
  1128. //cale
  1129. U.MD.D.I.caleTeacherDeskIcon = [
  1130. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1131. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1132. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1133. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1134. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1135. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1136. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1137. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1138. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1139. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1140. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1141. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1142. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1143. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1144. // { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1145. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1146. // { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1147. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1148. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1149. ];
  1150. //cale
  1151. U.MD.D.I.caleStudentDeskIcon = [
  1152. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1153. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1154. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1155. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1156. ];
  1157. //lqwmsgzs
  1158. U.MD.D.I.lqwmsgzsTeacherDeskIcon = [
  1159. { "Name": "课程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  1160. { "Name": "课程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1161. { "Name": "学生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  1162. { "Name": "学生评价", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1163. { "Name": "项目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1164. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1165. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  1166. { "Name": "年级管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  1167. { "Name": "班级管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  1168. { "Name": "我的资料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  1169. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  1170. { "Name": "素材库", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  1171. { "Name": "电子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  1172. { "Name": "问卷调查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  1173. { "Name": "便签分类", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  1174. { "Name": "思维导图", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  1175. { "Name": "协同文档", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  1176. { "Name": "思维网格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  1177. { "Name": "目标管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  1178. { "Name": "项目设计", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  1179. { "Name": "训练平台", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  1180. { "Name": "编程平台", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  1181. { "Name": "AI体验", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1182. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  1183. { "Name": "AI编程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  1184. { "Name": "源码编辑", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  1185. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  1186. { "Name": "翻译", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  1187. { "Name": "魔盒识字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  1188. { "Name": "24点", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  1189. { "Name": "数学画板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  1190. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  1191. { "Name": "课程进展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  1192. { "Name": "教学资源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  1193. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1194. { "Name": "综合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1195. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1196. ];
  1197. //lqwmsgzs
  1198. U.MD.D.I.lqwmsgzsStudentDeskIcon = [
  1199. { "Name": "项目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  1200. { "Name": "项目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  1201. { "Name": "课程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  1202. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1203. ];
  1204. //#region 桌面初始化a
  1205. /**
  1206. * 初始化桌面的起始函數
  1207. *
  1208. */
  1209. U.MD.D.I.init = function () {
  1210. if ($("#U_MD_D_K")[0]) {
  1211. //初始化桌面圖標
  1212. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  1213. // var clickUrl = ':12588/requestIp.php';
  1214. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  1215. // U.MD.D.I.Ip = data;
  1216. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  1217. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  1218. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  1219. // })
  1220. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  1221. // })
  1222. }
  1223. }
  1224. /**
  1225. * 模式切換
  1226. *
  1227. */
  1228. U.MD.D.I.ModeCheck = function (type) {
  1229. if (US.Config.type == type) {
  1230. return
  1231. }
  1232. US.Config.type = type
  1233. $('.U_PBL_Check .active')[0].className = ''
  1234. if (type == 1) {
  1235. $('.U_PBL_Check div')[0].className = 'active'
  1236. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  1237. } else {
  1238. $('.U_PBL_Check div')[1].className = 'active'
  1239. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  1240. }
  1241. //初始化桌面圖標
  1242. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  1243. if (type == 2) {
  1244. U.MD.D.I.openApplication("project")
  1245. }
  1246. }
  1247. /**
  1248. * 隱藏任務欄
  1249. *
  1250. * @param {element} 桌面元素
  1251. */
  1252. U.MD.D.I.hiddenTaskbar = function (el) {
  1253. //任務欄位置變小
  1254. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  1255. //桌面的位置變大
  1256. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1257. }
  1258. /**
  1259. * 隱藏任務欄
  1260. *
  1261. * @param {element} 桌面元素
  1262. */
  1263. U.MD.D.I.hiddenTaskbarout = function (el) {
  1264. //任務欄位置變小
  1265. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  1266. //任務欄位置變化
  1267. U.selectEl(el).css({ "bottom": "-60px" });
  1268. //桌面的位置變大
  1269. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  1270. }
  1271. }
  1272. /**
  1273. * 初始化打印桌面圖標
  1274. *
  1275. * @param {element} 桌面元素
  1276. */
  1277. U.MD.D.I.initDesktopIcons = function (el, type) {
  1278. var i, //用於循環
  1279. _content, //桌面圖標元素
  1280. _iconcontent, //桌面圖標元素
  1281. _frag = $$("frag"), //定義一個碎片元素
  1282. _type = US.userInfo.type,
  1283. _org = US.userInfo.org,
  1284. _oid = US.userInfo.organizeid,
  1285. _role = US.userInfo.role,
  1286. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  1287. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  1288. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  1289. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  1290. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  1291. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  1292. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  1293. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  1294. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  1295. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  1296. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  1297. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大
  1298. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  1299. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1300. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1301. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1302. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1303. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1304. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1305. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1306. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1307. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1308. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1309. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1310. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1311. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1312. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1313. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1314. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1315. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1316. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1317. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1318. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1319. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1320. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1321. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1322. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1323. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1324. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1325. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1326. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1327. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1328. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1329. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1330. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1331. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1332. _hkaceTeacherDeskIconInfo = U.MD.D.I.hkaceteacherDeskIcon, //hk
  1333. _hkaceStudentDeskIconInfo = U.MD.D.I.hkaceStudentDeskIcon, //hk
  1334. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1335. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1336. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1337. _tpcStudentDeskIconInfo = U.MD.D.I.tpcStudentDeskIcon,
  1338. _tpcTeacherDeskIconInfo = U.MD.D.I.tpcTeacherDeskIcon,
  1339. _tpcOrganizerDeskIconInfo = U.MD.D.I.tpcAdminDeskIcon,
  1340. _thuioeStudentDeskIconInfo = U.MD.D.I.thuioeStudentDeskIcon, // thu-ioe
  1341. _thuioeTeacherDeskIconInfo = U.MD.D.I.thuioeTeacherDeskIcon, // thu-ioe
  1342. _jccssylStudentDeskIconInfo = U.MD.D.I.jccssylStudentDeskIcon, // jccssyl
  1343. _jccssylTeacherDeskIconInfo = U.MD.D.I.jccssylTeacherDeskIcon, // jccssyl
  1344. _caleStudentDeskIconInfo = U.MD.D.I.caleStudentDeskIcon, // jccssyl
  1345. _caleTeacherDeskIconInfo = U.MD.D.I.caleTeacherDeskIcon, // jccssyl
  1346. _lqwmsgzsStudentDeskIconInfo = U.MD.D.I.lqwmsgzsStudentDeskIcon, // lqwmsgzs
  1347. _lqwmsgzsTeacherDeskIconInfo = U.MD.D.I.lqwmsgzsTeacherDeskIcon, // lqwmsgzs
  1348. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //网络夏令营
  1349. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //网络夏令营
  1350. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //网络夏令营
  1351. var _oidA = ['69893dca-1d47-11ed-8c78-005056b86db5', "91305d49-01ba-11ed-8c78-005056b86db5", "d9db3320-503a-11ed-8c78-005056b86db5", "05b62310-8cda-11ed-b13d-005056b86db5", '1c3b9def-8fbe-11ed-b13d-005056b86db5', '91305d49-01ba-11ed-8c78-005056b86db4', 'ea2a8c65-f38c-11ed-91d8-005056b86db5', '4c686762-1d0a-11ed-8c78-005056b86db5', 'b1095a3c-1d06-4ac8-854f-7c0d97f4ab41', '206c38d2-0cbe-11ee-91d8-005056b86db5','2f30fe58-a94f-11ee-b534-005056b86db5'];
  1352. var _orgA = ["7ada499f-4ec7-11ed-8c78-005056b86db5", "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d", "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b", "150e3120-9195-11ed-b13d-005056b86db5", "ee40e8e3-e36c-4872-8105-cf395481012s", '97c4ee8b-d010-4042-986d-e9d3c217264f', 'ec0af97a-7c10-4259-a7eb-db9cc8174cdc', '4df1b570-f6ac-48fc-8d50-d0b157dae776', 'e632b86c-f89d-11ed-91d8-005056b86db5', 'b50cf65a-001c-11ee-91d8-005056b86db5', '578de748-05d2-11ee-91d8-005056b86db5', '54f09f1e-09f0-11ee-91d8-005056b86db5', '7b016f69-0f4f-11ee-91d8-005056b86db5', '1973f6c7-1561-11ee-91d8-005056b86db5', '2fa75e51-189a-11ee-91d8-005056b86db5', 'a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956','fbb00cc1-380b-4173-add4-59b3cf7682b5','63060b4a-89dc-4f0c-bf04-a1de22d479ff','777559d2-7239-11ee-b98c-005056b86db5','03d24cf9-4fbc-4aeb-bb02-6f84f66e6344'];
  1353. //清楚桌面圖標
  1354. el.innerHTML = "";
  1355. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1356. _teacherDesktopIconInfo.push(
  1357. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1358. { "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)" } },
  1359. )
  1360. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1361. }
  1362. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1363. _teacherDesktopIconInfo.push(
  1364. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1365. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1366. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1367. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1368. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  1369. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1370. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1371. // { "Name": "数据看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1372. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1373. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1374. { "Name": "AI助手", "Url": "gpt4", "style": { "cssText": "background-image:url(/img/icon/gpt4.png)" } },
  1375. { "Name": "AI助手+", "Url": "aigpt", "style": { "cssText": "background-image:url(/img/icon/aigpt.png)" } },
  1376. )
  1377. }
  1378. // if (_oid == 'c7df0bd4-6e75-401a-a137-4e163aa62263') {
  1379. // _teacherDesktopIconInfo.push(
  1380. // )
  1381. // }
  1382. if (_oid == 'c69c43a6-515a-11ee-91d8-005056b86db5') {
  1383. _teacherDesktopIconInfo.push(
  1384. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1385. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1386. )
  1387. }
  1388. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1389. _teacherDesktopIconInfo.push(
  1390. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1391. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1392. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1393. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1394. )
  1395. _studentDesktopIconInfo.push(
  1396. )
  1397. }
  1398. //麒麟二中 和 民新小學
  1399. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1400. _teacherDesktopIconInfo.push(
  1401. )
  1402. }
  1403. if (_oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1404. _teacherDesktopIconInfo.push(
  1405. { "Name": "教师管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1406. { "Name": "教师中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1407. )
  1408. }
  1409. // 马峦小学 和 龙华区教育科学研究院附属学校 和 侨香学校
  1410. if (_oid == "602a1e3d-d031-11ed-9546-005056b86db5" || _oid == "f30a6615-5379-11ed-8c78-005056b86db5" || _oid == "82fcb5c7-c13b-11ed-8d51-005056b86db5") {
  1411. _teacherDesktopIconInfo.push(
  1412. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1413. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1414. )
  1415. }
  1416. //麒麟二中
  1417. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1418. _studentDesktopIconInfo.push(
  1419. // { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1420. { "Name": "綜合看板", "Url": "dataBoardNew", "style": { "cssText": "background-image:url(/img/icon/dataBoardNew.png)" } },
  1421. )
  1422. }
  1423. //萬科雙語
  1424. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1425. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1426. if (el.Name == '項目管理') {
  1427. el.Name = 'PBL項目'
  1428. }
  1429. return el
  1430. })
  1431. _studentDesktopIconInfo3.push(
  1432. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1433. )
  1434. }
  1435. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1436. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1437. return el.Name != '魔盒識字' && el.Name != '24點'
  1438. })
  1439. }
  1440. 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) {
  1441. _studentDesktopIconInfo.push(
  1442. { "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1443. { "Name": "學生評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  1444. )
  1445. }
  1446. //循環創建桌面圖標
  1447. if (type == 1) {
  1448. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1449. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1450. _content = $$("div", {
  1451. className: "U_MD_D_KO",
  1452. "onmousedown": U.UF.C.closure(function (obj) {
  1453. //防止拖動圖標即打開了桌面應用
  1454. U.MD.D.click(this, obj);
  1455. }, [_studentDesktopIconInfo[i]]),
  1456. "onclick": U.UF.C.closure(function (obj) {
  1457. //防止拖動圖標即打開了桌面應用
  1458. U.MD.D.click(this, obj);
  1459. }, [_studentDesktopIconInfo[i]])
  1460. }, _frag); //
  1461. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1462. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1463. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1464. }
  1465. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1466. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1467. _content = $$("div", {
  1468. className: "U_MD_D_KO",
  1469. "onmousedown": U.UF.C.closure(function (obj) {
  1470. //防止拖動圖標即打開了桌面應用
  1471. U.MD.D.click(this, obj);
  1472. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1473. "onclick": U.UF.C.closure(function (obj) {
  1474. //防止拖動圖標即打開了桌面應用
  1475. U.MD.D.click(this, obj);
  1476. }, [_hkZJLSStudentDeskIconInfo[i]])
  1477. }, _frag); //
  1478. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1479. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1480. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1481. } //
  1482. } else if (_type == 2 && (_org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff")) {
  1483. for (i = 0; i < _jccssylStudentDeskIconInfo.length; i++) {
  1484. _content = $$("div", {
  1485. className: "U_MD_D_KO",
  1486. "onmousedown": U.UF.C.closure(function (obj) {
  1487. //防止拖動圖標即打開了桌面應用
  1488. U.MD.D.click(this, obj);
  1489. }, [_jccssylStudentDeskIconInfo[i]]),
  1490. "onclick": U.UF.C.closure(function (obj) {
  1491. //防止拖動圖標即打開了桌面應用
  1492. U.MD.D.click(this, obj);
  1493. }, [_jccssylStudentDeskIconInfo[i]])
  1494. }, _frag); //
  1495. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1496. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylStudentDeskIconInfo[i].style }, _iconcontent);
  1497. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylStudentDeskIconInfo[i].Name }, _iconcontent);
  1498. }
  1499. } else if (_type == 2 && (_org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344")) {
  1500. for (i = 0; i < _caleStudentDeskIconInfo.length; i++) {
  1501. _content = $$("div", {
  1502. className: "U_MD_D_KO",
  1503. "onmousedown": U.UF.C.closure(function (obj) {
  1504. //防止拖動圖標即打開了桌面應用
  1505. U.MD.D.click(this, obj);
  1506. }, [_caleStudentDeskIconInfo[i]]),
  1507. "onclick": U.UF.C.closure(function (obj) {
  1508. //防止拖動圖標即打開了桌面應用
  1509. U.MD.D.click(this, obj);
  1510. }, [_caleStudentDeskIconInfo[i]])
  1511. }, _frag); //
  1512. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1513. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleStudentDeskIconInfo[i].style }, _iconcontent);
  1514. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleStudentDeskIconInfo[i].Name }, _iconcontent);
  1515. }
  1516. } else if (_type == 2 && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1517. for (i = 0; i < _thuioeStudentDeskIconInfo.length; i++) {
  1518. _content = $$("div", {
  1519. className: "U_MD_D_KO",
  1520. "onmousedown": U.UF.C.closure(function (obj) {
  1521. //防止拖動圖標即打開了桌面應用
  1522. U.MD.D.click(this, obj);
  1523. }, [_thuioeStudentDeskIconInfo[i]]),
  1524. "onclick": U.UF.C.closure(function (obj) {
  1525. //防止拖動圖標即打開了桌面應用
  1526. U.MD.D.click(this, obj);
  1527. }, [_thuioeStudentDeskIconInfo[i]])
  1528. }, _frag); //
  1529. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1530. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeStudentDeskIconInfo[i].style }, _iconcontent);
  1531. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeStudentDeskIconInfo[i].Name }, _iconcontent);
  1532. }
  1533. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1534. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1535. _content = $$("div", {
  1536. className: "U_MD_D_KO",
  1537. "onmousedown": U.UF.C.closure(function (obj) {
  1538. //防止拖動圖標即打開了桌面應用
  1539. U.MD.D.click(this, obj);
  1540. }, [_tpcStudentDeskIconInfo[i]]),
  1541. "onclick": U.UF.C.closure(function (obj) {
  1542. //防止拖動圖標即打開了桌面應用
  1543. U.MD.D.click(this, obj);
  1544. }, [_tpcStudentDeskIconInfo[i]])
  1545. }, _frag); //
  1546. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1547. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1548. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1549. } //
  1550. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1551. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1552. _content = $$("div", {
  1553. className: "U_MD_D_KO",
  1554. "onmousedown": U.UF.C.closure(function (obj) {
  1555. //防止拖動圖標即打開了桌面應用
  1556. U.MD.D.click(this, obj);
  1557. }, [_chjyjStudentDeskIconInfo[i]]),
  1558. "onclick": U.UF.C.closure(function (obj) {
  1559. //防止拖動圖標即打開了桌面應用
  1560. U.MD.D.click(this, obj);
  1561. }, [_chjyjStudentDeskIconInfo[i]])
  1562. }, _frag); //
  1563. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1564. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1565. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1566. }
  1567. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1568. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1569. _content = $$("div", {
  1570. className: "U_MD_D_KO",
  1571. "onmousedown": U.UF.C.closure(function (obj) {
  1572. //防止拖動圖標即打開了桌面應用
  1573. U.MD.D.click(this, obj);
  1574. }, [_szjkyStudentDeskIconInfo[i]]),
  1575. "onclick": U.UF.C.closure(function (obj) {
  1576. //防止拖動圖標即打開了桌面應用
  1577. U.MD.D.click(this, obj);
  1578. }, [_szjkyStudentDeskIconInfo[i]])
  1579. }, _frag); //
  1580. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1581. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1582. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1583. }
  1584. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1585. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1586. _content = $$("div", {
  1587. className: "U_MD_D_KO",
  1588. "onmousedown": U.UF.C.closure(function (obj) {
  1589. //防止拖動圖標即打開了桌面應用
  1590. U.MD.D.click(this, obj);
  1591. }, [_dseiStudentDeskIconInfo[i]]),
  1592. "onclick": U.UF.C.closure(function (obj) {
  1593. //防止拖動圖標即打開了桌面應用
  1594. U.MD.D.click(this, obj);
  1595. }, [_dseiStudentDeskIconInfo[i]])
  1596. }, _frag); //
  1597. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1598. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1599. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1600. }
  1601. } else if (_type == 2 && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1602. for (i = 0; i < _lqwmsgzsStudentDeskIconInfo.length; i++) {
  1603. _content = $$("div", {
  1604. className: "U_MD_D_KO",
  1605. "onmousedown": U.UF.C.closure(function (obj) {
  1606. //防止拖动图标即打开了桌面应用
  1607. U.MD.D.click(this, obj);
  1608. }, [_lqwmsgzsStudentDeskIconInfo[i]]),
  1609. "onclick": U.UF.C.closure(function (obj) {
  1610. //防止拖动图标即打开了桌面应用
  1611. U.MD.D.click(this, obj);
  1612. }, [_lqwmsgzsStudentDeskIconInfo[i]])
  1613. }, _frag); //
  1614. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1615. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsStudentDeskIconInfo[i].style }, _iconcontent);
  1616. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsStudentDeskIconInfo[i].Name }, _iconcontent);
  1617. }
  1618. }else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1619. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1620. _content = $$("div", {
  1621. className: "U_MD_D_KO",
  1622. "onmousedown": U.UF.C.closure(function (obj) {
  1623. //防止拖動圖標即打開了桌面應用
  1624. U.MD.D.click(this, obj);
  1625. }, [_siesStudentDeskIconInfo[i]]),
  1626. "onclick": U.UF.C.closure(function (obj) {
  1627. //防止拖動圖標即打開了桌面應用
  1628. U.MD.D.click(this, obj);
  1629. }, [_siesStudentDeskIconInfo[i]])
  1630. }, _frag); //
  1631. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1632. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1633. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1634. }
  1635. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1636. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1637. _content = $$("div", {
  1638. className: "U_MD_D_KO",
  1639. "onmousedown": U.UF.C.closure(function (obj) {
  1640. //防止拖動圖標即打開了桌面應用
  1641. U.MD.D.click(this, obj);
  1642. }, [_hkStudentDeskIconInfo[i]]),
  1643. "onclick": U.UF.C.closure(function (obj) {
  1644. //防止拖動圖標即打開了桌面應用
  1645. U.MD.D.click(this, obj);
  1646. }, [_hkStudentDeskIconInfo[i]])
  1647. }, _frag); //
  1648. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1649. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1650. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1651. }
  1652. } else if (_type == 2 && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  1653. for (i = 0; i < _hkaceStudentDeskIconInfo.length; i++) {
  1654. _content = $$("div", {
  1655. className: "U_MD_D_KO",
  1656. "onmousedown": U.UF.C.closure(function (obj) {
  1657. //防止拖動圖標即打開了桌面應用
  1658. U.MD.D.click(this, obj);
  1659. }, [_hkaceStudentDeskIconInfo[i]]),
  1660. "onclick": U.UF.C.closure(function (obj) {
  1661. //防止拖動圖標即打開了桌面應用
  1662. U.MD.D.click(this, obj);
  1663. }, [_hkaceStudentDeskIconInfo[i]])
  1664. }, _frag); //
  1665. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1666. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceStudentDeskIconInfo[i].style }, _iconcontent);
  1667. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceStudentDeskIconInfo[i].Name }, _iconcontent);
  1668. }
  1669. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1670. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1671. _content = $$("div", {
  1672. className: "U_MD_D_KO",
  1673. "onmousedown": U.UF.C.closure(function (obj) {
  1674. //防止拖動圖標即打開了桌面應用
  1675. U.MD.D.click(this, obj);
  1676. }, [_studentDesktopIconInfo[i]]),
  1677. "onclick": U.UF.C.closure(function (obj) {
  1678. //防止拖動圖標即打開了桌面應用
  1679. U.MD.D.click(this, obj);
  1680. }, [_studentDesktopIconInfo[i]])
  1681. }, _frag); //
  1682. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1683. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1684. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1685. }
  1686. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1687. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1688. _content = $$("div", {
  1689. className: "U_MD_D_KO",
  1690. "onmousedown": U.UF.C.closure(function (obj) {
  1691. //防止拖動圖標即打開了桌面應用
  1692. U.MD.D.click(this, obj);
  1693. }, [_tcStudentDeskIconInfo[i]]),
  1694. "onclick": U.UF.C.closure(function (obj) {
  1695. //防止拖動圖標即打開了桌面應用
  1696. U.MD.D.click(this, obj);
  1697. }, [_tcStudentDeskIconInfo[i]])
  1698. }, _frag); //
  1699. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1700. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1701. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1702. }
  1703. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1704. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1705. _content = $$("div", {
  1706. className: "U_MD_D_KO",
  1707. "onmousedown": U.UF.C.closure(function (obj) {
  1708. //防止拖動圖標即打開了桌面應用
  1709. U.MD.D.click(this, obj);
  1710. }, [_szscStudentDeskIconInfo[i]]),
  1711. "onclick": U.UF.C.closure(function (obj) {
  1712. //防止拖動圖標即打開了桌面應用
  1713. U.MD.D.click(this, obj);
  1714. }, [_szscStudentDeskIconInfo[i]])
  1715. }, _frag); //
  1716. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1717. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1718. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1719. }
  1720. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1721. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1722. _content = $$("div", {
  1723. className: "U_MD_D_KO",
  1724. "onmousedown": U.UF.C.closure(function (obj) {
  1725. //防止拖動圖標即打開了桌面應用
  1726. U.MD.D.click(this, obj);
  1727. }, [_studentDesktopIconInfo3[i]]),
  1728. "onclick": U.UF.C.closure(function (obj) {
  1729. //防止拖動圖標即打開了桌面應用
  1730. U.MD.D.click(this, obj);
  1731. }, [_studentDesktopIconInfo3[i]])
  1732. }, _frag); //
  1733. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1734. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1735. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1736. }
  1737. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1738. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1739. _content = $$("div", {
  1740. className: "U_MD_D_KO",
  1741. "onmousedown": U.UF.C.closure(function (obj) {
  1742. //防止拖動圖標即打開了桌面應用
  1743. U.MD.D.click(this, obj);
  1744. }, [_studentDesktopIconInfo2[i]]),
  1745. "onclick": U.UF.C.closure(function (obj) {
  1746. //防止拖動圖標即打開了桌面應用
  1747. U.MD.D.click(this, obj);
  1748. }, [_studentDesktopIconInfo2[i]])
  1749. }, _frag); //
  1750. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1751. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1752. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1753. }
  1754. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1755. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1756. _content = $$("div", {
  1757. className: "U_MD_D_KO",
  1758. "onmousedown": U.UF.C.closure(function (obj) {
  1759. //防止拖動圖標即打開了桌面應用
  1760. U.MD.D.click(this, obj);
  1761. }, [_wanketeacherDesktopIconInfo[i]]),
  1762. "onclick": U.UF.C.closure(function (obj) {
  1763. //防止拖動圖標即打開了桌面應用
  1764. U.MD.D.click(this, obj);
  1765. }, [_wanketeacherDesktopIconInfo[i]])
  1766. }, _frag); //
  1767. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1768. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1769. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1770. }
  1771. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1772. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1773. _content = $$("div", {
  1774. className: "U_MD_D_KO",
  1775. "onmousedown": U.UF.C.closure(function (obj) {
  1776. //防止拖動圖標即打開了桌面應用
  1777. U.MD.D.click(this, obj);
  1778. }, [_wankeAdminDesktopIconInfo[i]]),
  1779. "onclick": U.UF.C.closure(function (obj) {
  1780. //防止拖動圖標即打開了桌面應用
  1781. U.MD.D.click(this, obj);
  1782. }, [_wankeAdminDesktopIconInfo[i]])
  1783. }, _frag); //
  1784. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1785. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1786. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1787. }
  1788. } else if ((_type == 1 || _type == 4) && _org == "63060b4a-89dc-4f0c-bf04-a1de22d479ff") {
  1789. for (i = 0; i < _jccssylTeacherDeskIconInfo.length; i++) {
  1790. _content = $$("div", {
  1791. className: "U_MD_D_KO",
  1792. "onmousedown": U.UF.C.closure(function (obj) {
  1793. //防止拖動圖標即打開了桌面應用
  1794. U.MD.D.click(this, obj);
  1795. }, [_jccssylTeacherDeskIconInfo[i]]),
  1796. "onclick": U.UF.C.closure(function (obj) {
  1797. //防止拖動圖標即打開了桌面應用
  1798. U.MD.D.click(this, obj);
  1799. }, [_jccssylTeacherDeskIconInfo[i]])
  1800. }, _frag); //
  1801. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1802. $$("div", { className: "U_MD_D_KOS U_Img", "style": _jccssylTeacherDeskIconInfo[i].style }, _iconcontent);
  1803. $$("div", { className: "U_MD_D_KOX", "innerHTML": _jccssylTeacherDeskIconInfo[i].Name }, _iconcontent);
  1804. }
  1805. } else if ((_type == 1 || _type == 4) && _org == "03d24cf9-4fbc-4aeb-bb02-6f84f66e6344") {
  1806. for (i = 0; i < _caleTeacherDeskIconInfo.length; i++) {
  1807. _content = $$("div", {
  1808. className: "U_MD_D_KO",
  1809. "onmousedown": U.UF.C.closure(function (obj) {
  1810. //防止拖動圖標即打開了桌面應用
  1811. U.MD.D.click(this, obj);
  1812. }, [_caleTeacherDeskIconInfo[i]]),
  1813. "onclick": U.UF.C.closure(function (obj) {
  1814. //防止拖動圖標即打開了桌面應用
  1815. U.MD.D.click(this, obj);
  1816. }, [_caleTeacherDeskIconInfo[i]])
  1817. }, _frag); //
  1818. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1819. $$("div", { className: "U_MD_D_KOS U_Img", "style": _caleTeacherDeskIconInfo[i].style }, _iconcontent);
  1820. $$("div", { className: "U_MD_D_KOX", "innerHTML": _caleTeacherDeskIconInfo[i].Name }, _iconcontent);
  1821. }
  1822. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1823. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1824. _content = $$("div", {
  1825. className: "U_MD_D_KO",
  1826. "onmousedown": U.UF.C.closure(function (obj) {
  1827. //防止拖動圖標即打開了桌面應用
  1828. U.MD.D.click(this, obj);
  1829. }, [_tpcOrganizerDeskIconInfo[i]]),
  1830. "onclick": U.UF.C.closure(function (obj) {
  1831. //防止拖動圖標即打開了桌面應用
  1832. U.MD.D.click(this, obj);
  1833. }, [_tpcOrganizerDeskIconInfo[i]])
  1834. }, _frag); //
  1835. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1836. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1837. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1838. }
  1839. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1840. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1841. _content = $$("div", {
  1842. className: "U_MD_D_KO",
  1843. "onmousedown": U.UF.C.closure(function (obj) {
  1844. //防止拖動圖標即打開了桌面應用
  1845. U.MD.D.click(this, obj);
  1846. }, [_tpcTeacherDeskIconInfo[i]]),
  1847. "onclick": U.UF.C.closure(function (obj) {
  1848. //防止拖動圖標即打開了桌面應用
  1849. U.MD.D.click(this, obj);
  1850. }, [_tpcTeacherDeskIconInfo[i]])
  1851. }, _frag); //
  1852. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1853. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1854. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1855. }
  1856. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1857. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1858. _content = $$("div", {
  1859. className: "U_MD_D_KO",
  1860. "onmousedown": U.UF.C.closure(function (obj) {
  1861. //防止拖動圖標即打開了桌面應用
  1862. U.MD.D.click(this, obj);
  1863. }, [_teacherDesktopIconInfo2[i]]),
  1864. "onclick": U.UF.C.closure(function (obj) {
  1865. //防止拖動圖標即打開了桌面應用
  1866. U.MD.D.click(this, obj);
  1867. }, [_teacherDesktopIconInfo2[i]])
  1868. }, _frag); //
  1869. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1870. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1871. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1872. }
  1873. } else if ((_type == 1 || _type == 4) && (_org == "fbb00cc1-380b-4173-add4-59b3cf7682b5")) {
  1874. for (i = 0; i < _thuioeTeacherDeskIconInfo.length; i++) {
  1875. _content = $$("div", {
  1876. className: "U_MD_D_KO",
  1877. "onmousedown": U.UF.C.closure(function (obj) {
  1878. //防止拖動圖標即打開了桌面應用
  1879. U.MD.D.click(this, obj);
  1880. }, [_thuioeTeacherDeskIconInfo[i]]),
  1881. "onclick": U.UF.C.closure(function (obj) {
  1882. //防止拖動圖標即打開了桌面應用
  1883. U.MD.D.click(this, obj);
  1884. }, [_thuioeTeacherDeskIconInfo[i]])
  1885. }, _frag); //
  1886. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1887. $$("div", { className: "U_MD_D_KOS U_Img", "style": _thuioeTeacherDeskIconInfo[i].style }, _iconcontent);
  1888. $$("div", { className: "U_MD_D_KOX", "innerHTML": _thuioeTeacherDeskIconInfo[i].Name }, _iconcontent);
  1889. }
  1890. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1891. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1892. _content = $$("div", {
  1893. className: "U_MD_D_KO",
  1894. "onmousedown": U.UF.C.closure(function (obj) {
  1895. //防止拖動圖標即打開了桌面應用
  1896. U.MD.D.click(this, obj);
  1897. }, [_lotechTeacherDeskIconInfo[i]]),
  1898. "onclick": U.UF.C.closure(function (obj) {
  1899. //防止拖動圖標即打開了桌面應用
  1900. U.MD.D.click(this, obj);
  1901. }, [_lotechTeacherDeskIconInfo[i]])
  1902. }, _frag); //
  1903. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1904. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1905. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1906. }//
  1907. } else if ((_type == 1 || _type == 4) && (_oid == "2f30fe58-a94f-11ee-b534-005056b86db5")) {
  1908. for (i = 0; i < _lqwmsgzsTeacherDeskIconInfo.length; i++) {
  1909. _content = $$("div", {
  1910. className: "U_MD_D_KO",
  1911. "onmousedown": U.UF.C.closure(function (obj) {
  1912. //防止拖动图标即打开了桌面应用
  1913. U.MD.D.click(this, obj);
  1914. }, [_lqwmsgzsTeacherDeskIconInfo[i]]),
  1915. "onclick": U.UF.C.closure(function (obj) {
  1916. //防止拖动图标即打开了桌面应用
  1917. U.MD.D.click(this, obj);
  1918. }, [_lqwmsgzsTeacherDeskIconInfo[i]])
  1919. }, _frag); //
  1920. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1921. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lqwmsgzsTeacherDeskIconInfo[i].style }, _iconcontent);
  1922. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lqwmsgzsTeacherDeskIconInfo[i].Name }, _iconcontent);
  1923. }
  1924. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1925. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1926. _content = $$("div", {
  1927. className: "U_MD_D_KO",
  1928. "onmousedown": U.UF.C.closure(function (obj) {
  1929. //防止拖動圖標即打開了桌面應用
  1930. U.MD.D.click(this, obj);
  1931. }, [_siesTeacherDeskIconInfo[i]]),
  1932. "onclick": U.UF.C.closure(function (obj) {
  1933. //防止拖動圖標即打開了桌面應用
  1934. U.MD.D.click(this, obj);
  1935. }, [_siesTeacherDeskIconInfo[i]])
  1936. }, _frag); //
  1937. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1938. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1939. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1940. }
  1941. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1942. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1943. _content = $$("div", {
  1944. className: "U_MD_D_KO",
  1945. "onmousedown": U.UF.C.closure(function (obj) {
  1946. //防止拖動圖標即打開了桌面應用
  1947. U.MD.D.click(this, obj);
  1948. }, [_longhuaTeacherDeskIconInfo[i]]),
  1949. "onclick": U.UF.C.closure(function (obj) {
  1950. //防止拖動圖標即打開了桌面應用
  1951. U.MD.D.click(this, obj);
  1952. }, [_longhuaTeacherDeskIconInfo[i]])
  1953. }, _frag); //
  1954. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1955. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1956. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1957. }
  1958. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1959. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1960. _content = $$("div", {
  1961. className: "U_MD_D_KO",
  1962. "onmousedown": U.UF.C.closure(function (obj) {
  1963. //防止拖動圖標即打開了桌面應用
  1964. U.MD.D.click(this, obj);
  1965. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1966. "onclick": U.UF.C.closure(function (obj) {
  1967. //防止拖動圖標即打開了桌面應用
  1968. U.MD.D.click(this, obj);
  1969. }, [_yunhaiTeacherDeskIconInfo[i]])
  1970. }, _frag); //
  1971. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1972. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1973. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1974. } //_hkStudentDeskIconInfo
  1975. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1976. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1977. _content = $$("div", {
  1978. className: "U_MD_D_KO",
  1979. "onmousedown": U.UF.C.closure(function (obj) {
  1980. //防止拖動圖標即打開了桌面應用
  1981. U.MD.D.click(this, obj);
  1982. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1983. "onclick": U.UF.C.closure(function (obj) {
  1984. //防止拖動圖標即打開了桌面應用
  1985. U.MD.D.click(this, obj);
  1986. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1987. }, _frag); //
  1988. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1989. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1990. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1991. }
  1992. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1993. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1994. _content = $$("div", {
  1995. className: "U_MD_D_KO",
  1996. "onmousedown": U.UF.C.closure(function (obj) {
  1997. //防止拖動圖標即打開了桌面應用
  1998. U.MD.D.click(this, obj);
  1999. }, [_hkTeacherDeskIconInfo[i]]),
  2000. "onclick": U.UF.C.closure(function (obj) {
  2001. //防止拖動圖標即打開了桌面應用
  2002. U.MD.D.click(this, obj);
  2003. }, [_hkTeacherDeskIconInfo[i]])
  2004. }, _frag); //
  2005. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2006. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  2007. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  2008. }
  2009. } else if ((_type == 1 || _type == 4) && (_org == "777559d2-7239-11ee-b98c-005056b86db5")) {
  2010. for (i = 0; i < _hkaceTeacherDeskIconInfo.length; i++) {
  2011. _content = $$("div", {
  2012. className: "U_MD_D_KO",
  2013. "onmousedown": U.UF.C.closure(function (obj) {
  2014. //防止拖動圖標即打開了桌面應用
  2015. U.MD.D.click(this, obj);
  2016. }, [_hkaceTeacherDeskIconInfo[i]]),
  2017. "onclick": U.UF.C.closure(function (obj) {
  2018. //防止拖動圖標即打開了桌面應用
  2019. U.MD.D.click(this, obj);
  2020. }, [_hkaceTeacherDeskIconInfo[i]])
  2021. }, _frag); //
  2022. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2023. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkaceTeacherDeskIconInfo[i].style }, _iconcontent);
  2024. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkaceTeacherDeskIconInfo[i].Name }, _iconcontent);
  2025. }
  2026. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  2027. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  2028. _content = $$("div", {
  2029. className: "U_MD_D_KO",
  2030. "onmousedown": U.UF.C.closure(function (obj) {
  2031. //防止拖動圖標即打開了桌面應用
  2032. U.MD.D.click(this, obj);
  2033. }, [_gdjgAdminDeskIconInfo[i]]),
  2034. "onclick": U.UF.C.closure(function (obj) {
  2035. //防止拖動圖標即打開了桌面應用
  2036. U.MD.D.click(this, obj);
  2037. }, [_gdjgAdminDeskIconInfo[i]])
  2038. }, _frag); //
  2039. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2040. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  2041. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  2042. }
  2043. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  2044. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  2045. _content = $$("div", {
  2046. className: "U_MD_D_KO",
  2047. "onmousedown": U.UF.C.closure(function (obj) {
  2048. //防止拖動圖標即打開了桌面應用
  2049. U.MD.D.click(this, obj);
  2050. }, [_gdjgTeacherDeskIconInfo[i]]),
  2051. "onclick": U.UF.C.closure(function (obj) {
  2052. //防止拖動圖標即打開了桌面應用
  2053. U.MD.D.click(this, obj);
  2054. }, [_gdjgTeacherDeskIconInfo[i]])
  2055. }, _frag); //
  2056. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2057. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  2058. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  2059. }
  2060. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  2061. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  2062. _content = $$("div", {
  2063. className: "U_MD_D_KO",
  2064. "onmousedown": U.UF.C.closure(function (obj) {
  2065. //防止拖動圖標即打開了桌面應用
  2066. U.MD.D.click(this, obj);
  2067. }, [_szherTeacherDeskIconInfo[i]]),
  2068. "onclick": U.UF.C.closure(function (obj) {
  2069. //防止拖動圖標即打開了桌面應用
  2070. U.MD.D.click(this, obj);
  2071. }, [_szherTeacherDeskIconInfo[i]])
  2072. }, _frag); //
  2073. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2074. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  2075. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  2076. }
  2077. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  2078. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  2079. _content = $$("div", {
  2080. className: "U_MD_D_KO",
  2081. "onmousedown": U.UF.C.closure(function (obj) {
  2082. //防止拖動圖標即打開了桌面應用
  2083. U.MD.D.click(this, obj);
  2084. }, [_heyuannAdminDeskIconInfo[i]]),
  2085. "onclick": U.UF.C.closure(function (obj) {
  2086. //防止拖動圖標即打開了桌面應用
  2087. U.MD.D.click(this, obj);
  2088. }, [_heyuannAdminDeskIconInfo[i]])
  2089. }, _frag); //
  2090. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2091. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  2092. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  2093. }
  2094. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  2095. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  2096. _content = $$("div", {
  2097. className: "U_MD_D_KO",
  2098. "onmousedown": U.UF.C.closure(function (obj) {
  2099. //防止拖動圖標即打開了桌面應用
  2100. U.MD.D.click(this, obj);
  2101. }, [_heyuanTeacherDeskIconInfo[i]]),
  2102. "onclick": U.UF.C.closure(function (obj) {
  2103. //防止拖動圖標即打開了桌面應用
  2104. U.MD.D.click(this, obj);
  2105. }, [_heyuanTeacherDeskIconInfo[i]])
  2106. }, _frag); //
  2107. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2108. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  2109. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  2110. } //
  2111. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  2112. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  2113. _content = $$("div", {
  2114. className: "U_MD_D_KO",
  2115. "onmousedown": U.UF.C.closure(function (obj) {
  2116. //防止拖動圖標即打開了桌面應用
  2117. U.MD.D.click(this, obj);
  2118. }, [_dseiAdminDeskIconInfo[i]]),
  2119. "onclick": U.UF.C.closure(function (obj) {
  2120. //防止拖動圖標即打開了桌面應用
  2121. U.MD.D.click(this, obj);
  2122. }, [_dseiAdminDeskIconInfo[i]])
  2123. }, _frag); //
  2124. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2125. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  2126. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  2127. }
  2128. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  2129. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  2130. _content = $$("div", {
  2131. className: "U_MD_D_KO",
  2132. "onmousedown": U.UF.C.closure(function (obj) {
  2133. //防止拖動圖標即打開了桌面應用
  2134. U.MD.D.click(this, obj);
  2135. }, [_dseiTeacherDeskIconInfo[i]]),
  2136. "onclick": U.UF.C.closure(function (obj) {
  2137. //防止拖動圖標即打開了桌面應用
  2138. U.MD.D.click(this, obj);
  2139. }, [_dseiTeacherDeskIconInfo[i]])
  2140. }, _frag); //
  2141. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2142. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  2143. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  2144. } //
  2145. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  2146. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  2147. _content = $$("div", {
  2148. className: "U_MD_D_KO",
  2149. "onmousedown": U.UF.C.closure(function (obj) {
  2150. //防止拖動圖標即打開了桌面應用
  2151. U.MD.D.click(this, obj);
  2152. }, [_chjyjAdminDeskIconInfo[i]]),
  2153. "onclick": U.UF.C.closure(function (obj) {
  2154. //防止拖動圖標即打開了桌面應用
  2155. U.MD.D.click(this, obj);
  2156. }, [_chjyjAdminDeskIconInfo[i]])
  2157. }, _frag); //
  2158. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2159. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  2160. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  2161. }//
  2162. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  2163. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  2164. _content = $$("div", {
  2165. className: "U_MD_D_KO",
  2166. "onmousedown": U.UF.C.closure(function (obj) {
  2167. //防止拖動圖標即打開了桌面應用
  2168. U.MD.D.click(this, obj);
  2169. }, [_chjyjTeacherDeskIconInfo[i]]),
  2170. "onclick": U.UF.C.closure(function (obj) {
  2171. //防止拖動圖標即打開了桌面應用
  2172. U.MD.D.click(this, obj);
  2173. }, [_chjyjTeacherDeskIconInfo[i]])
  2174. }, _frag); //
  2175. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2176. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  2177. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  2178. }
  2179. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  2180. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  2181. _content = $$("div", {
  2182. className: "U_MD_D_KO",
  2183. "onmousedown": U.UF.C.closure(function (obj) {
  2184. //防止拖動圖標即打開了桌面應用
  2185. U.MD.D.click(this, obj);
  2186. }, [_szjkyAdminDeskIconInfo[i]]),
  2187. "onclick": U.UF.C.closure(function (obj) {
  2188. //防止拖動圖標即打開了桌面應用
  2189. U.MD.D.click(this, obj);
  2190. }, [_szjkyAdminDeskIconInfo[i]])
  2191. }, _frag); //
  2192. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2193. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  2194. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  2195. }//
  2196. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  2197. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  2198. _content = $$("div", {
  2199. className: "U_MD_D_KO",
  2200. "onmousedown": U.UF.C.closure(function (obj) {
  2201. //防止拖動圖標即打開了桌面應用
  2202. U.MD.D.click(this, obj);
  2203. }, [_szjkyTeacherDeskIconInfo[i]]),
  2204. "onclick": U.UF.C.closure(function (obj) {
  2205. //防止拖動圖標即打開了桌面應用
  2206. U.MD.D.click(this, obj);
  2207. }, [_szjkyTeacherDeskIconInfo[i]])
  2208. }, _frag); //
  2209. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2210. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  2211. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  2212. }
  2213. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  2214. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  2215. _content = $$("div", {
  2216. className: "U_MD_D_KO",
  2217. "onmousedown": U.UF.C.closure(function (obj) {
  2218. //防止拖動圖標即打開了桌面應用
  2219. U.MD.D.click(this, obj);
  2220. }, [_futianAdminDeskIconInfo[i]]),
  2221. "onclick": U.UF.C.closure(function (obj) {
  2222. //防止拖動圖標即打開了桌面應用
  2223. U.MD.D.click(this, obj);
  2224. }, [_futianAdminDeskIconInfo[i]])
  2225. }, _frag); //
  2226. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2227. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  2228. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  2229. }
  2230. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  2231. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  2232. _content = $$("div", {
  2233. className: "U_MD_D_KO",
  2234. "onmousedown": U.UF.C.closure(function (obj) {
  2235. //防止拖動圖標即打開了桌面應用
  2236. U.MD.D.click(this, obj);
  2237. }, [_futianTeacherDeskIconInfo[i]]),
  2238. "onclick": U.UF.C.closure(function (obj) {
  2239. //防止拖動圖標即打開了桌面應用
  2240. U.MD.D.click(this, obj);
  2241. }, [_futianTeacherDeskIconInfo[i]])
  2242. }, _frag); //
  2243. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2244. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  2245. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  2246. }
  2247. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  2248. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  2249. _content = $$("div", {
  2250. className: "U_MD_D_KO",
  2251. "onmousedown": U.UF.C.closure(function (obj) {
  2252. //防止拖動圖標即打開了桌面應用
  2253. U.MD.D.click(this, obj);
  2254. }, [_MingdeTeacherDeskIcon[i]]),
  2255. "onclick": U.UF.C.closure(function (obj) {
  2256. //防止拖動圖標即打開了桌面應用
  2257. U.MD.D.click(this, obj);
  2258. }, [_MingdeTeacherDeskIcon[i]])
  2259. }, _frag); //
  2260. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2261. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  2262. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  2263. }
  2264. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  2265. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  2266. _content = $$("div", {
  2267. className: "U_MD_D_KO",
  2268. "onmousedown": U.UF.C.closure(function (obj) {
  2269. //防止拖動圖標即打開了桌面應用
  2270. U.MD.D.click(this, obj);
  2271. }, [_lhsAdminDesktopIconInfo[i]]),
  2272. "onclick": U.UF.C.closure(function (obj) {
  2273. //防止拖動圖標即打開了桌面應用
  2274. U.MD.D.click(this, obj);
  2275. }, [_lhsAdminDesktopIconInfo[i]])
  2276. }, _frag); //
  2277. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2278. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  2279. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  2280. }
  2281. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  2282. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  2283. _content = $$("div", {
  2284. className: "U_MD_D_KO",
  2285. "onmousedown": U.UF.C.closure(function (obj) {
  2286. //防止拖動圖標即打開了桌面應用
  2287. U.MD.D.click(this, obj);
  2288. }, [_lhsteacherDesktopIconInfo[i]]),
  2289. "onclick": U.UF.C.closure(function (obj) {
  2290. //防止拖動圖標即打開了桌面應用
  2291. U.MD.D.click(this, obj);
  2292. }, [_lhsteacherDesktopIconInfo[i]])
  2293. }, _frag); //
  2294. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2295. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  2296. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  2297. }
  2298. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  2299. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  2300. _content = $$("div", {
  2301. className: "U_MD_D_KO",
  2302. "onmousedown": U.UF.C.closure(function (obj) {
  2303. //防止拖動圖標即打開了桌面應用
  2304. U.MD.D.click(this, obj);
  2305. }, [_zhoujiateacherDesktopIconInfo[i]]),
  2306. "onclick": U.UF.C.closure(function (obj) {
  2307. //防止拖動圖標即打開了桌面應用
  2308. U.MD.D.click(this, obj);
  2309. }, [_zhoujiateacherDesktopIconInfo[i]])
  2310. }, _frag); //
  2311. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2312. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  2313. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  2314. }
  2315. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  2316. for (i = 0; i < _hanDeskIcon.length; i++) {
  2317. _content = $$("div", {
  2318. className: "U_MD_D_KO",
  2319. "onmousedown": U.UF.C.closure(function (obj) {
  2320. //防止拖動圖標即打開了桌面應用
  2321. U.MD.D.click(this, obj);
  2322. }, [_hanDeskIcon[i]]),
  2323. "onclick": U.UF.C.closure(function (obj) {
  2324. //防止拖動圖標即打開了桌面應用
  2325. U.MD.D.click(this, obj);
  2326. }, [_hanDeskIcon[i]])
  2327. }, _frag); //
  2328. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2329. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  2330. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  2331. }
  2332. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  2333. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  2334. _content = $$("div", {
  2335. className: "U_MD_D_KO",
  2336. "onmousedown": U.UF.C.closure(function (obj) {
  2337. //防止拖動圖標即打開了桌面應用
  2338. U.MD.D.click(this, obj);
  2339. }, [_orgStemDeskIcon[i]]),
  2340. "onclick": U.UF.C.closure(function (obj) {
  2341. //防止拖動圖標即打開了桌面應用
  2342. U.MD.D.click(this, obj);
  2343. }, [_orgStemDeskIcon[i]])
  2344. }, _frag); //
  2345. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2346. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  2347. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  2348. }
  2349. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  2350. for (i = 0; i < _szulsDeskIcon.length; i++) {
  2351. _content = $$("div", {
  2352. className: "U_MD_D_KO",
  2353. "onmousedown": U.UF.C.closure(function (obj) {
  2354. //防止拖動圖標即打開了桌面應用
  2355. U.MD.D.click(this, obj);
  2356. }, [_szulsDeskIcon[i]]),
  2357. "onclick": U.UF.C.closure(function (obj) {
  2358. //防止拖動圖標即打開了桌面應用
  2359. U.MD.D.click(this, obj);
  2360. }, [_szulsDeskIcon[i]])
  2361. }, _frag); //
  2362. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2363. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  2364. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  2365. }
  2366. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  2367. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  2368. _content = $$("div", {
  2369. className: "U_MD_D_KO",
  2370. "onmousedown": U.UF.C.closure(function (obj) {
  2371. //防止拖動圖標即打開了桌面應用
  2372. U.MD.D.click(this, obj);
  2373. }, [_orgDesktopIconInfo[i]]),
  2374. "onclick": U.UF.C.closure(function (obj) {
  2375. //防止拖動圖標即打開了桌面應用
  2376. U.MD.D.click(this, obj);
  2377. }, [_orgDesktopIconInfo[i]])
  2378. }, _frag); //
  2379. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2380. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  2381. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  2382. }
  2383. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2384. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  2385. _content = $$("div", {
  2386. className: "U_MD_D_KO",
  2387. "onmousedown": U.UF.C.closure(function (obj) {
  2388. //防止拖動圖標即打開了桌面應用
  2389. U.MD.D.click(this, obj);
  2390. }, [_schoolDesktopIconInfo[i]]),
  2391. "onclick": U.UF.C.closure(function (obj) {
  2392. //防止拖動圖標即打開了桌面應用
  2393. U.MD.D.click(this, obj);
  2394. }, [_schoolDesktopIconInfo[i]])
  2395. }, _frag); //
  2396. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2397. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  2398. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  2399. }
  2400. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2401. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  2402. _content = $$("div", {
  2403. className: "U_MD_D_KO",
  2404. "onmousedown": U.UF.C.closure(function (obj) {
  2405. //防止拖動圖標即打開了桌面應用
  2406. U.MD.D.click(this, obj);
  2407. }, [_GMteacherDesktopIconInfo[i]]),
  2408. "onclick": U.UF.C.closure(function (obj) {
  2409. //防止拖動圖標即打開了桌面應用
  2410. U.MD.D.click(this, obj);
  2411. }, [_GMteacherDesktopIconInfo[i]])
  2412. }, _frag); //
  2413. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2414. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  2415. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  2416. }
  2417. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  2418. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  2419. _content = $$("div", {
  2420. className: "U_MD_D_KO",
  2421. "onmousedown": U.UF.C.closure(function (obj) {
  2422. //防止拖動圖標即打開了桌面應用
  2423. U.MD.D.click(this, obj);
  2424. }, [_SONGteacherDesktopIconInfo[i]]),
  2425. "onclick": U.UF.C.closure(function (obj) {
  2426. //防止拖動圖標即打開了桌面應用
  2427. U.MD.D.click(this, obj);
  2428. }, [_SONGteacherDesktopIconInfo[i]])
  2429. }, _frag); //
  2430. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2431. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  2432. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  2433. }
  2434. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  2435. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  2436. _content = $$("div", {
  2437. className: "U_MD_D_KO",
  2438. "onmousedown": U.UF.C.closure(function (obj) {
  2439. //防止拖動圖標即打開了桌面應用
  2440. U.MD.D.click(this, obj);
  2441. }, [_GMstudentDesktopIconInfo[i]]),
  2442. "onclick": U.UF.C.closure(function (obj) {
  2443. //防止拖動圖標即打開了桌面應用
  2444. U.MD.D.click(this, obj);
  2445. }, [_GMstudentDesktopIconInfo[i]])
  2446. }, _frag); //
  2447. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2448. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  2449. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  2450. }
  2451. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  2452. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  2453. _content = $$("div", {
  2454. className: "U_MD_D_KO",
  2455. "onmousedown": U.UF.C.closure(function (obj) {
  2456. //防止拖動圖標即打開了桌面應用
  2457. U.MD.D.click(this, obj);
  2458. }, [_tcTeacherDeskIconInfo[i]]),
  2459. "onclick": U.UF.C.closure(function (obj) {
  2460. //防止拖動圖標即打開了桌面應用
  2461. U.MD.D.click(this, obj);
  2462. }, [_tcTeacherDeskIconInfo[i]])
  2463. }, _frag); //
  2464. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2465. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  2466. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  2467. }
  2468. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  2469. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  2470. _content = $$("div", {
  2471. className: "U_MD_D_KO",
  2472. "onmousedown": U.UF.C.closure(function (obj) {
  2473. //防止拖動圖標即打開了桌面應用
  2474. U.MD.D.click(this, obj);
  2475. }, [_tcOrganizerDeskIconInfo[i]]),
  2476. "onclick": U.UF.C.closure(function (obj) {
  2477. //防止拖動圖標即打開了桌面應用
  2478. U.MD.D.click(this, obj);
  2479. }, [_tcOrganizerDeskIconInfo[i]])
  2480. }, _frag); //
  2481. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2482. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  2483. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2484. }
  2485. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  2486. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  2487. _content = $$("div", {
  2488. className: "U_MD_D_KO",
  2489. "onmousedown": U.UF.C.closure(function (obj) {
  2490. //防止拖動圖標即打開了桌面應用
  2491. U.MD.D.click(this, obj);
  2492. }, [_szscTeacherDeskIconInfo[i]]),
  2493. "onclick": U.UF.C.closure(function (obj) {
  2494. //防止拖動圖標即打開了桌面應用
  2495. U.MD.D.click(this, obj);
  2496. }, [_szscTeacherDeskIconInfo[i]])
  2497. }, _frag); //
  2498. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2499. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  2500. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  2501. }
  2502. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  2503. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  2504. _content = $$("div", {
  2505. className: "U_MD_D_KO",
  2506. "onmousedown": U.UF.C.closure(function (obj) {
  2507. //防止拖動圖標即打開了桌面應用
  2508. U.MD.D.click(this, obj);
  2509. }, [_szscOrganizerDeskIconInfo[i]]),
  2510. "onclick": U.UF.C.closure(function (obj) {
  2511. //防止拖動圖標即打開了桌面應用
  2512. U.MD.D.click(this, obj);
  2513. }, [_szscOrganizerDeskIconInfo[i]])
  2514. }, _frag); //
  2515. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2516. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2517. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2518. }
  2519. } else {
  2520. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2521. _content = $$("div", {
  2522. className: "U_MD_D_KO",
  2523. "onmousedown": U.UF.C.closure(function (obj) {
  2524. //防止拖動圖標即打開了桌面應用
  2525. U.MD.D.click(this, obj);
  2526. }, [_teacherDesktopIconInfo[i]]),
  2527. "onclick": U.UF.C.closure(function (obj) {
  2528. //防止拖動圖標即打開了桌面應用
  2529. U.MD.D.click(this, obj);
  2530. }, [_teacherDesktopIconInfo[i]])
  2531. }, _frag); //
  2532. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2533. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2534. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2535. }
  2536. }
  2537. } else {
  2538. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2539. _content = $$("div", {
  2540. className: "U_MD_D_KO",
  2541. style: { 'width': '124px', 'height': '145px' },
  2542. "onmousedown": U.UF.C.closure(function (obj) {
  2543. //防止拖動圖標即打開了桌面應用
  2544. U.MD.D.click(this, obj);
  2545. }, [_easyDesktopIconInfo[i]]),
  2546. "onclick": U.UF.C.closure(function (obj) {
  2547. //防止拖動圖標即打開了桌面應用
  2548. U.MD.D.click(this, obj);
  2549. }, [_easyDesktopIconInfo[i]])
  2550. }, _frag); //
  2551. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2552. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2553. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2554. }
  2555. }
  2556. if (type == 1) {
  2557. //加載好後給圖標定位
  2558. U.MD.D.iconPostion($(_frag).Child());
  2559. } else {
  2560. //加載好後給圖標定位
  2561. U.MD.D.iconPostion2($(_frag).Child());
  2562. }
  2563. //把圖標加載到頁面
  2564. el.appendChild(_frag);
  2565. }
  2566. /**
  2567. * 顯示任務欄
  2568. *
  2569. * @param {element} 桌面元素
  2570. */
  2571. U.MD.D.I.displayTaskbar = function (el) {
  2572. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  2573. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2574. //任務欄位置變化
  2575. U.selectEl(el).css({ "bottom": "0px" });
  2576. //桌面位置變話
  2577. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2578. }
  2579. }
  2580. //#region 桌面圖標拖動邏輯
  2581. /**
  2582. * 桌面排列圖標
  2583. *
  2584. * @param {element} 桌面元素
  2585. * @param {object} 上下相距的距離
  2586. * @param {object} 左右相距的距離
  2587. * @return {object} 命名空間
  2588. */
  2589. U.MD.D.iconPostion = function (childs, top, left) {
  2590. var i; //用於循環處理
  2591. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  2592. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2593. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2594. for (i = 0; i < childs.length; i++) {
  2595. //如果豎排top超過了範圍處理
  2596. if (top + 95 > US.height - 10) {
  2597. //left超過了頁面範圍處理,則向上重疊打印處理
  2598. if ((left + 180) > US.width) {
  2599. top -= 110;
  2600. left -= 90;
  2601. }
  2602. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2603. else {
  2604. left += 90;
  2605. top = 15;
  2606. };
  2607. }
  2608. //給圖標的位置賦值
  2609. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2610. if (i < childs.length - 1) {
  2611. //頁面圖標每次向下加95
  2612. top += 95;
  2613. }
  2614. }
  2615. //返回最後調用的圖標的位置
  2616. return [top, left];
  2617. }
  2618. /**
  2619. * 桌面排列圖標
  2620. *
  2621. * @param {element} 桌面元素
  2622. * @param {object} 上下相距的距離
  2623. * @param {object} 左右相距的距離
  2624. * @return {object} 命名空間
  2625. */
  2626. U.MD.D.iconPostion2 = function (childs, top, left) {
  2627. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  2628. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  2629. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2630. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2631. for (i = 0; i < childs.length; i++) {
  2632. //如果豎排top超過了範圍處理
  2633. if (left + 150 > US.width - 10) {
  2634. //left超過了頁面範圍處理,則向上重疊打印處理
  2635. if ((top + 180) > US.Height) {
  2636. top -= 150;
  2637. left -= 150;
  2638. }
  2639. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2640. else {
  2641. top += 150;
  2642. left = ol;
  2643. };
  2644. }
  2645. //給圖標的位置賦值
  2646. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2647. if (i < childs.length - 1) {
  2648. //頁面圖標每次向下加95
  2649. left += 150;
  2650. }
  2651. }
  2652. //返回最後調用的圖標的位置
  2653. return [top, left];
  2654. }
  2655. /**
  2656. * 桌面點擊事件邏輯
  2657. *
  2658. * @param {element} 桌面元素
  2659. * @param {object} 上下相距的距離
  2660. * @param {object} 左右相距的距離
  2661. * @return {object} 命名空間
  2662. */
  2663. U.MD.D.click = function (el, obj) {
  2664. var _buttonnumber = event.button; //點擊的按鈕的事件值
  2665. var _userinfo = US.userInfo;
  2666. U.UF.EV.stopBubble(); //阻止向上冒泡
  2667. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  2668. if (_buttonnumber < 2) {
  2669. //如果是click事件的處理
  2670. if (event.type == "click") {
  2671. //如果元素在mousemove事件中沒有移動則出發click事件
  2672. if (!U.MD.D.I.IsDrag) {
  2673. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2674. U.alert("請先登錄您的賬號!");
  2675. setTimeout(() => {
  2676. U.MD.U.L.login();
  2677. }, 2000);
  2678. } else {
  2679. //打開應用處理
  2680. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2681. }
  2682. }
  2683. }
  2684. //如果是mouse事件的處理
  2685. else {
  2686. if (US.Config.type == '1') {
  2687. //拖動處理,添加拖動和拖動結束事件
  2688. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2689. }
  2690. }
  2691. U.MD.D.I.IsDrag = false;
  2692. }
  2693. }
  2694. /**
  2695. * 拖動的處理
  2696. *
  2697. */
  2698. U.MD.D.iconMove = function () {
  2699. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  2700. U.MD.D.I.IsDrag = true;
  2701. }
  2702. /**
  2703. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  2704. *
  2705. * @param {element} 拖動的元素
  2706. * @return {object} 命名空間
  2707. */
  2708. U.MD.D.iconUp = function (el) {
  2709. var _top = 15,
  2710. _left = 20,
  2711. _margin,
  2712. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  2713. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  2714. if (_positioninfo["OT"] > 15) {
  2715. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  2716. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2717. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2718. }
  2719. if (_positioninfo["OL"] > 20) {
  2720. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  2721. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2722. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2723. }
  2724. //while循環判斷麼一個重疊的元素
  2725. do {
  2726. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  2727. _top = _positioninfo[0] + 95; //得到定位後的top
  2728. _left = _positioninfo[1]; //得到定位後的left
  2729. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2730. }
  2731. /**
  2732. * 判斷拖動後圖標是否重疊
  2733. *
  2734. * @param {element} 拖動的元素
  2735. * @param {element} 桌面所有的元素
  2736. * @param {array} 拖動元素的位置
  2737. ----------[0] 上 top
  2738. ----------[1] 左 left
  2739. * @return {object} 命名空間
  2740. */
  2741. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2742. //循環所有的圖標
  2743. for (var i = 0; i < childs.length; i++) {
  2744. //判斷有沒有和該圖標誒子重疊的元素
  2745. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2746. return childs[i]; //如果有返回
  2747. }
  2748. }
  2749. }
  2750. //#endregion
  2751. //#endregion
  2752. //#region 桌面應用
  2753. /**
  2754. * 打開應用
  2755. *
  2756. * @param {string} 類型
  2757. -----------------Disk 網盤系統
  2758. -----------------PDisk 學習系統網盤
  2759. -----------------Poto 圖片
  2760. -----------------Video 視頻
  2761. -----------------Music 音樂
  2762. -----------------Word word
  2763. -----------------Excel excel
  2764. -----------------Txt 記事本
  2765. -----------------PB 學習系統
  2766. -----------------Blog 朋友圈系統
  2767. -----------------FTP ftp系統
  2768. -----------------Group 好友群
  2769. -----------------SY 首頁系統
  2770. -----------------Set 個人設置
  2771. -----------------XSet 系統設置
  2772. -----------------App 我們所有的app
  2773. -----------------BC c.1473.cn 平臺
  2774. -----------------CWeb d.1473.cn 變成平臺
  2775. -----------------其他的外聯系統 我們統一用iframe打開
  2776. * @param {array} 類型
  2777. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  2778. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  2779. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  2780. 如果第一個參數為其他,則無第二個參數
  2781. * @returns {array}
  2782. */
  2783. window.addEventListener('message', function (e) { // 監聽 message 事件
  2784. // alert(e.data.type);
  2785. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  2786. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2787. //3是展示全部階段 2學生 1老師 4專家
  2788. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  2789. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2790. //3是展示全部階段 2學生 1老師 4專家
  2791. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  2792. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2793. //3是展示全部階段 2學生 1老師 4專家
  2794. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  2795. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2796. } else if (e.data.screenType && e.data.screenType == "3train") { //培訓管理傳入
  2797. U.MD.D.I.openInApplication("studyDetailTrain", e.data.cid, 2, 1)
  2798. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  2799. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2800. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  2801. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2802. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  2803. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2804. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  2805. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2806. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  2807. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2808. //3是展示全部階段 2學生 1老師 4專家
  2809. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  2810. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2811. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  2812. U.MD.D.I.selectUser();
  2813. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2814. var _formel = document.getElementById("study");
  2815. U.UF.F.windowZooming(_formel);
  2816. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2817. var _formel = document.getElementById("studyDetail");
  2818. U.UF.F.windowZooming(_formel);
  2819. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2820. var _formel = document.getElementById("studyDetail");
  2821. U.UF.F.windowZooming(_formel);
  2822. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2823. var _formel = document.getElementById("studentStudy");
  2824. U.UF.F.windowZooming(_formel);
  2825. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2826. // var _formel = document.getElementById("study");
  2827. //如果最大化了,那麼就把他縮小
  2828. // if (_formel.ismaximize) {
  2829. // return;
  2830. // }
  2831. // U.UF.F.windowZooming(_formel);
  2832. // U.UF.F.topWindow(_formel);
  2833. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2834. // var _formel = document.getElementById("studyDetail");
  2835. //如果最大化了,那麼就把他縮小
  2836. // if (_formel.ismaximize) {
  2837. // return;
  2838. // }
  2839. // U.UF.F.windowZooming(_formel);
  2840. // U.UF.F.topWindow(_formel);
  2841. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2842. // var _formel = document.getElementById("studentStudy");
  2843. // if (_formel.ismaximize) {
  2844. // return;
  2845. // }
  2846. // U.UF.F.windowZooming(_formel);
  2847. // U.UF.F.topWindow(_formel);
  2848. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2849. var _formel = document.getElementById("study");
  2850. // if (_formel.ismaximize) {
  2851. // return;
  2852. // }
  2853. // U.UF.F.windowZooming(_formel);
  2854. U.UF.F.topWindow(_formel);
  2855. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2856. var _formel = document.getElementById("studentIndex");
  2857. U.UF.F.windowZooming(_formel);
  2858. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2859. var _formel = document.getElementById("studyDetailS");
  2860. U.UF.F.windowZooming(_formel);
  2861. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2862. var _formel = document.getElementById("studioIndex");
  2863. U.UF.F.windowZooming(_formel);
  2864. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2865. var _formel = document.getElementById("studyDetailStudio");
  2866. U.UF.F.windowZooming(_formel);
  2867. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2868. var _formel = document.getElementById("studyDetailStudio");
  2869. U.UF.F.windowZooming(_formel);
  2870. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2871. var _formel = document.getElementById("studyDetailNT");
  2872. U.UF.F.windowZooming(_formel);
  2873. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2874. var _formel = document.getElementById("studyDetailS");
  2875. U.UF.F.windowZooming(_formel);
  2876. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2877. var _formel = document.getElementById("studyDetailS");
  2878. U.UF.F.topWindow(_formel);
  2879. } else if (e.data.tools && e.data.tools == "1") {
  2880. // U.MD.D.I.openApplication("whiteboard")
  2881. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2882. } else if (e.data.tools && e.data.tools == "2") {
  2883. U.MD.D.I.openApplication("note")
  2884. } else if (e.data.tools && e.data.tools == "3") {
  2885. // U.MD.D.I.openApplication("mind")
  2886. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2887. } else if (e.data.tools && e.data.tools == "4") {
  2888. U.MD.D.I.openApplication("investigation")
  2889. } else if (e.data.tools && e.data.tools == "6") {
  2890. // U.MD.D.I.openApplication("doc")
  2891. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2892. } else if (e.data.tools && e.data.tools == "7") {
  2893. // U.MD.D.I.openApplication("mindNetwork")
  2894. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2895. } else if (e.data.tools && e.data.tools == "8") {
  2896. U.MD.D.I.openApplication("library")
  2897. } else if (e.data.tools && e.data.tools == "17") {
  2898. U.MD.D.I.openApplication("stuLibrary")
  2899. } else if (e.data.tools && e.data.tools == "18") {
  2900. U.MD.D.I.openApplication("train")
  2901. } else if (e.data.tools && e.data.tools == "21") {
  2902. U.MD.D.I.openApplication("program")
  2903. } else if (e.data.tools && e.data.tools == "22") {
  2904. U.MD.D.I.openApplication("AIprogram2")
  2905. } else if (e.data.tools && e.data.tools == "23") {
  2906. U.MD.D.I.openApplication("Pythonprogram")
  2907. } else if (e.data.tools && e.data.tools == "24") {
  2908. U.MD.D.I.openApplication("AIprogram")
  2909. } else if (e.data.tools && e.data.tools == "25") {
  2910. U.MD.D.I.openApplication("sys")
  2911. } else if (e.data.tools && e.data.tools == "26") {
  2912. // U.MD.D.I.openApplication("courseDesign")
  2913. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2914. } else if (e.data.tools && e.data.tools == "31") {
  2915. U.MD.D.I.openApplication("netWorkPanel")
  2916. } else if (e.data.tools && e.data.tools == "32") {
  2917. U.MD.D.I.openApplication("codeEdit")
  2918. } else if (e.data.tools && e.data.tools == "57") {
  2919. U.MD.D.I.openApplication("CocoPi")
  2920. } else if (e.data.tools && e.data.tools == "63") {
  2921. U.MD.D.I.openApplication("Wood")
  2922. } else if (e.data.tools && e.data.tools == "58") {
  2923. U.MD.D.I.openApplication("car")
  2924. } else if (e.data.tools && e.data.tools == "59") {
  2925. U.MD.D.I.openApplication("lineSearch")
  2926. } else if (e.data.tools && e.data.tools == "60") {
  2927. U.MD.D.I.openApplication("deepLearning")
  2928. } else if (e.data.tools && e.data.tools == "61") {
  2929. U.MD.D.I.openApplication("allHistory")
  2930. } else if (e.data.tools && e.data.tools == "28") {
  2931. U.MD.D.I.openApplication("translation")
  2932. } else if (e.data.tools && e.data.tools == "37") {
  2933. U.MD.D.I.openApplication("mohe")
  2934. } else if (e.data.tools && e.data.tools == "38") {
  2935. U.MD.D.I.openApplication("24game")
  2936. } else if (e.data.tools && e.data.tools == "39") {
  2937. U.MD.D.I.openApplication("GeoGebra")
  2938. } else if (e.data.tools && e.data.tools == "43") {
  2939. U.MD.D.I.openApplication("studentEvaluate")
  2940. } else if (e.data.tools && e.data.tools == "44") {
  2941. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2942. } else if (e.data.tools && e.data.tools == "46") {
  2943. U.MD.D.I.openApplication("project")
  2944. } else if (e.data.tools && e.data.tools == "1s") {
  2945. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2946. } else if (e.data.tools && e.data.tools == "3s") {
  2947. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2948. } else if (e.data.tools && e.data.tools == "6s") {
  2949. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2950. } else if (e.data.tools && e.data.tools == "1studio") {
  2951. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2952. } else if (e.data.tools && e.data.tools == "3studio") {
  2953. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2954. } else if (e.data.tools && e.data.tools == "6studio") {
  2955. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2956. } else if (e.data.tools && e.data.tools == "3y") {
  2957. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2958. } else if (e.data.tools && e.data.tools == "1y") {
  2959. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2960. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2961. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2962. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2963. U.MD.D.I.openApplication("AIAnalyse")
  2964. } else if (e.data.tools && e.data.tools == "1teacher") {
  2965. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2966. } else if (e.data.tools && e.data.tools == "3teacher") {
  2967. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2968. } else if (e.data.tools && e.data.tools == "7teacher") {
  2969. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2970. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2971. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2972. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2973. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2974. } else if (e.data.tools && e.data.tools == "1E") {
  2975. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2976. } else if (e.data.tools && e.data.tools == "3E") {
  2977. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2978. } else if (e.data.tools && e.data.tools == "57y") {
  2979. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2980. } else if (e.data.tools && e.data.tools == "57u") {
  2981. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2982. } else if (e.data.tools && e.data.tools == "57teacher") {
  2983. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2984. } else if (e.data.tools && e.data.tools == "64") {
  2985. U.MD.D.I.openApplication("AIChat")
  2986. } else if (e.data.tools && e.data.tools == "66") {
  2987. U.MD.D.I.openApplication("formulaEdi")
  2988. } else if (e.data.tools && e.data.tools == "67") {
  2989. U.MD.D.I.openApplication("molStr")
  2990. } else if (e.data.tools && e.data.tools == "68") {
  2991. U.MD.D.I.openApplication("timeAxis")
  2992. } else if (e.data.tools && e.data.tools == "openCourse") {
  2993. let _data = {
  2994. typea: e.data.typea || '',
  2995. typeb: e.data.typeb || '',
  2996. typed: e.data.typed || '',
  2997. }
  2998. U.MD.D.I.openInApplication("index", _data)
  2999. } else if (e.data.tools && e.data.tools == "openDataClass") {
  3000. let _data = {
  3001. classid: e.data.classid || '',
  3002. }
  3003. U.MD.D.I.openInApplication("dataClass", _data)
  3004. } else if (e.data.tools && e.data.tools == "opencCscl") {
  3005. let _data = {
  3006. cid: e.data.cid || '',
  3007. gid: e.data.gid || '',
  3008. }
  3009. U.MD.D.I.openInApplication("opencCscl", _data)
  3010. } else if (e.data.tools && e.data.tools == "dataBoardTest") {
  3011. U.MD.D.I.openApplication("dataBoardTest")
  3012. }
  3013. });
  3014. U.MD.D.I.selectUser = function () {
  3015. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  3016. if (res.value[0].length > 0) {
  3017. US.userInfo = res.value[0][0];
  3018. $(".userName")[0].innerHTML = US.userInfo.username;
  3019. }
  3020. }, [], { "type": "GET", "withCredentials": true });
  3021. }
  3022. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  3023. var _userinfo = US.userInfo, //登錄用戶信息
  3024. _userid = US.userInfo.userid, //登錄用戶id
  3025. _oid = _userinfo.organizeid,
  3026. _type = US.userInfo.type,
  3027. _org = US.userInfo.org,
  3028. _role = US.userInfo.role,
  3029. _classId = US.userInfo.classid;
  3030. if (_type == 4) {
  3031. tType = 4
  3032. }
  3033. switch (str) {
  3034. case "studyDetailNT": //無終端模式
  3035. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3036. setTimeout(() => {
  3037. U.MD.U.L.login();
  3038. }, 2000);
  3039. } else {
  3040. _formdiv = new U.UF.UI.form(
  3041. "課程詳情",
  3042. $$("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 }), {
  3043. "id": "studyDetailNT",
  3044. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3045. "onresize": function () { }
  3046. }, {
  3047. closecallback: function () { }
  3048. }, { "style": { "height": "36px" } }).form; //創建窗體
  3049. _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); } }
  3050. break;
  3051. }
  3052. case "studyDetail":
  3053. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3054. setTimeout(() => {
  3055. U.MD.U.L.login();
  3056. }, 2000);
  3057. } else {
  3058. _formdiv = new U.UF.UI.form(
  3059. "課程詳情",
  3060. $$("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 }), {
  3061. "id": "studyDetail",
  3062. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3063. "onresize": function () { }
  3064. }, {
  3065. closecallback: function () { }
  3066. }, { "style": { "height": "36px" } }).form; //創建窗體
  3067. _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); } }
  3068. break;
  3069. }
  3070. case "studyDetailTrain":
  3071. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3072. setTimeout(() => {
  3073. U.MD.U.L.login();
  3074. }, 2000);
  3075. } else {
  3076. _formdiv = new U.UF.UI.form(
  3077. "培訓詳情",
  3078. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailTrain?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3079. "id": "studyDetailTrain",
  3080. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3081. "onresize": function () { }
  3082. }, {
  3083. closecallback: function () { }
  3084. }, { "style": { "height": "36px" } }).form; //創建窗體
  3085. _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); } }
  3086. break;
  3087. }
  3088. case "studyDetailS":
  3089. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3090. setTimeout(() => {
  3091. U.MD.U.L.login();
  3092. }, 2000);
  3093. } else {
  3094. _formdiv = new U.UF.UI.form(
  3095. "項目詳情",
  3096. $$("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 }), {
  3097. "id": "studyDetailS",
  3098. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3099. "onresize": function () { }
  3100. }, {
  3101. closecallback: function () { }
  3102. }, { "style": { "height": "36px" } }).form; //創建窗體
  3103. _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); } }
  3104. break;
  3105. }
  3106. case "studyDetailStudio":
  3107. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3108. setTimeout(() => {
  3109. U.MD.U.L.login();
  3110. }, 2000);
  3111. } else {
  3112. _formdiv = new U.UF.UI.form(
  3113. "工作詳情",
  3114. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailStudio?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3115. "id": "studyDetailStudio",
  3116. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3117. "onresize": function () { }
  3118. }, {
  3119. closecallback: function () { }
  3120. }, { "style": { "height": "36px" } }).form; //創建窗體
  3121. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作詳情", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3122. break;
  3123. }
  3124. case "studyDetailS5":
  3125. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3126. setTimeout(() => {
  3127. U.MD.U.L.login();
  3128. }, 2000);
  3129. } else {
  3130. _formdiv = new U.UF.UI.form(
  3131. "項目詳情",
  3132. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/studyStudentS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3133. "id": "studyDetailS",
  3134. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  3135. "onresize": function () { }
  3136. }, {
  3137. closecallback: function () { }
  3138. }, { "style": { "height": "36px" } }).form; //創建窗體
  3139. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3140. break;
  3141. }
  3142. case "studyDetailGM":
  3143. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3144. setTimeout(() => {
  3145. U.MD.U.L.login();
  3146. }, 2000);
  3147. } else {
  3148. _formdiv = new U.UF.UI.form(
  3149. "課程詳情",
  3150. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/courseDetailGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&courseId=" + data + "&tType=" + tType + "&cid=" + _classId + "&screenType=" + screenType }), {
  3151. "id": "studyDetail",
  3152. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3153. "onresize": function () { }
  3154. }, {
  3155. closecallback: function () { }
  3156. }, { "style": { "height": "36px" } }).form; //創建窗體
  3157. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3158. break;
  3159. }
  3160. case "hanUrl":
  3161. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3162. setTimeout(() => {
  3163. U.MD.U.L.login();
  3164. }, 2000);
  3165. } else {
  3166. _formdiv = new U.UF.UI.form(
  3167. "漢字宮",
  3168. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//school.hanzigon.cn/?appid=734714090237947#/material/video?grade_id=62&lesson_code=621&id=2432" }), {
  3169. "id": "hanUrl",
  3170. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3171. "onresize": function () { }
  3172. }, {
  3173. closecallback: function () { }
  3174. }, { "style": { "height": "36px" } }).form; //創建窗體
  3175. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "漢字宮", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3176. break;
  3177. }
  3178. case "index":
  3179. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3180. setTimeout(() => {
  3181. U.MD.U.L.login();
  3182. }, 2000);
  3183. } else {
  3184. _formdiv = new U.UF.UI.form(
  3185. "課程中心",
  3186. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-student-table/dist/#/index?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&tType=" + _type + "&cid=" + _classId + "&screenType=2" + "&typea=" + data.typea + "&typeb=" + data.typeb + "&typed=" + data.typed }), {
  3187. "id": "study",
  3188. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3189. "onresize": function () { }
  3190. }, {
  3191. closecallback: function () { }
  3192. }, { "style": { "height": "36px" } }).form; //創建窗體
  3193. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3194. break;
  3195. }
  3196. case "dataClass":
  3197. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3198. setTimeout(() => {
  3199. U.MD.U.L.login();
  3200. }, 2000);
  3201. } else {
  3202. _formdiv = new U.UF.UI.form(
  3203. "數據報告",
  3204. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/worksReport?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&cid=" + _classId + "&checkid=" + data.classid }), {
  3205. "id": "dataClass",
  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/evaluation.png)" }, "name": "數據報告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3212. break;
  3213. }
  3214. case "opencCscl":
  3215. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  3216. setTimeout(() => {
  3217. U.MD.U.L.login();
  3218. }, 2000);
  3219. } else {
  3220. _formdiv = new U.UF.UI.form(
  3221. "協同建構",
  3222. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cscl.cocorobo.hk?cid=" + data.cid + "&gid=" + data.gid }), {
  3223. "id": "futureClass",
  3224. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3225. "onresize": function () { }
  3226. }, {
  3227. closecallback: function () { $("iframe", _formdiv)[0].contentWindow.loginout(); }
  3228. }, { "style": { "height": "36px" } }).form; //創建窗體
  3229. _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); } }
  3230. break;
  3231. }
  3232. }
  3233. }
  3234. U.MD.D.I.openApplication = function (str, obj, info) {
  3235. obj = obj || {};
  3236. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  3237. _formdiv, //創建任務欄時同時彈出的窗體元素。
  3238. _userinfo = US.userInfo, //登錄用戶信息
  3239. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  3240. _oid = obj.organizeid || _userinfo.organizeid,
  3241. _type = US.userInfo.type,
  3242. _org = US.userInfo.org,
  3243. _role = US.userInfo.role,
  3244. _classId = US.userInfo.classid,
  3245. _TscreenType = 1
  3246. _screenType = 2,
  3247. _SscreenType = 3;
  3248. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  3249. return;
  3250. }
  3251. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3252. switch (str) {
  3253. case "studnetProject": //好友打開
  3254. _formdiv = new U.UF.UI.form(
  3255. "我的項目",
  3256. $$("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 }), {
  3257. "id": "studnetProject",
  3258. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3259. "onresize": function () { }
  3260. }, {
  3261. closecallback: function () { }
  3262. }, { "style": { "height": "36px" } }).form; //創建窗體
  3263. _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); } }
  3264. break;
  3265. case "studentEvaluate": //好友打開
  3266. _formdiv = new U.UF.UI.form(
  3267. "我的評價",
  3268. $$("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 }), {
  3269. "id": "studentEvaluate",
  3270. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3271. "onresize": function () { }
  3272. }, {
  3273. closecallback: function () { }
  3274. }, { "style": { "height": "36px" } }).form; //創建窗體
  3275. _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); } }
  3276. break;
  3277. case "my":
  3278. _formdiv = new U.UF.UI.form(
  3279. "我的資料",
  3280. $$("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 }), {
  3281. "id": "my",
  3282. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3283. "onresize": function () { }
  3284. }, {
  3285. closecallback: function () { }
  3286. }, { "style": { "height": "36px" } }).form; //創建窗體
  3287. _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); } }
  3288. break;
  3289. case "program":
  3290. _formdiv = new U.UF.UI.form(
  3291. "編程平臺",
  3292. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3293. "id": "program",
  3294. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3295. "onresize": function () { }
  3296. }, {
  3297. closecallback: function () { }
  3298. }, { "style": { "height": "36px" } }).form; //創建窗體
  3299. _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); } }
  3300. break;
  3301. case "library":
  3302. _formdiv = new U.UF.UI.form(
  3303. "素材庫",
  3304. $$("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 }), {
  3305. "id": "library",
  3306. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3307. "onresize": function () { }
  3308. }, {
  3309. closecallback: function () { }
  3310. }, { "style": { "height": "36px" } }).form; //創建窗體
  3311. _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); } }
  3312. break;
  3313. case "whiteboard":
  3314. _formdiv = new U.UF.UI.form(
  3315. "電子白板",
  3316. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3317. "id": "whiteboard",
  3318. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3319. "onresize": function () { }
  3320. }, {
  3321. closecallback: function () { }
  3322. }, { "style": { "height": "36px" } }).form; //創建窗體
  3323. _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); } }
  3324. break;
  3325. case "investigation":
  3326. _formdiv = new U.UF.UI.form(
  3327. "問卷調查",
  3328. $$("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 }), {
  3329. "id": "investigation",
  3330. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3331. "onresize": function () { }
  3332. }, {
  3333. closecallback: function () { }
  3334. }, { "style": { "height": "36px" } }).form; //創建窗體
  3335. _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); } }
  3336. break;
  3337. case "note":
  3338. _formdiv = new U.UF.UI.form(
  3339. "便簽分類",
  3340. $$("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 }), {
  3341. "id": "note",
  3342. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3343. "onresize": function () { }
  3344. }, {
  3345. closecallback: function () { }
  3346. }, { "style": { "height": "36px" } }).form; //創建窗體
  3347. _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); } }
  3348. break;
  3349. // case "score":
  3350. // _formdiv = new U.UF.UI.form(
  3351. // "量規評分",
  3352. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3353. // "id": "score",
  3354. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3355. // "onresize": function() {}
  3356. // }, {
  3357. // closecallback: function() {}
  3358. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3359. // _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); } }
  3360. // break;
  3361. case "mind":
  3362. _formdiv = new U.UF.UI.form(
  3363. "思維導圖",
  3364. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3365. "id": "mind",
  3366. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3367. "onresize": function () { }
  3368. }, {
  3369. closecallback: function () { }
  3370. }, { "style": { "height": "36px" } }).form; //創建窗體
  3371. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3372. break;
  3373. case "doc":
  3374. // U.MD.D.I.isRoom();
  3375. _formdiv = new U.UF.UI.form(
  3376. "協同文檔",
  3377. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  3378. "id": "doc",
  3379. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3380. "onresize": function () { }
  3381. }, {
  3382. closecallback: function () { }
  3383. }, { "style": { "height": "36px" } }).form; //創建窗體
  3384. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3385. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3386. // })
  3387. _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); } }
  3388. break;
  3389. case "studentStudy":
  3390. _formdiv = new U.UF.UI.form(
  3391. "課程中心",
  3392. $$("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
  3393. "id": "studentStudy",
  3394. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3395. "onresize": function () { }
  3396. }, {
  3397. closecallback: function () { }
  3398. }, { "style": { "height": "36px" } }).form; //創建窗體
  3399. _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); } }
  3400. break;
  3401. case "train": //好友打開
  3402. _formdiv = new U.UF.UI.form(
  3403. "訓練平臺",
  3404. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3405. "id": "train",
  3406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3407. "onresize": function () { }
  3408. }, {
  3409. closecallback: function () { }
  3410. }, { "style": { "height": "36px" } }).form; //創建窗體
  3411. _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); } }
  3412. break;
  3413. case "mindNetwork": //好友打開
  3414. _formdiv = new U.UF.UI.form(
  3415. "思維網格",
  3416. $$("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 }), {
  3417. "id": "mindNetwork",
  3418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3419. "onresize": function () { }
  3420. }, {
  3421. closecallback: function () { }
  3422. }, { "style": { "height": "36px" } }).form; //創建窗體
  3423. _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); } }
  3424. break;
  3425. case "studentClassRoom": //好友打開
  3426. _formdiv = new U.UF.UI.form(
  3427. "實時課堂",
  3428. $$("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 }), {
  3429. "id": "studentClassRoom",
  3430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3431. "onresize": function () { }
  3432. }, {
  3433. closecallback: function () { }
  3434. }, { "style": { "height": "36px" } }).form; //創建窗體
  3435. _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); } }
  3436. setTimeout(() => {
  3437. U.UF.F.windowZooming(_formdiv)
  3438. }, 0);
  3439. break;
  3440. }
  3441. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3442. switch (str) {
  3443. case "studnetProject": //好友打開
  3444. _formdiv = new U.UF.UI.form(
  3445. "我的項目",
  3446. $$("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 }), {
  3447. "id": "studnetProject",
  3448. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3449. "onresize": function () { }
  3450. }, {
  3451. closecallback: function () { }
  3452. }, { "style": { "height": "36px" } }).form; //創建窗體
  3453. _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); } }
  3454. break;
  3455. case "studentEvaluate": //好友打開
  3456. _formdiv = new U.UF.UI.form(
  3457. "我的評價",
  3458. $$("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 }), {
  3459. "id": "studentEvaluate",
  3460. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3461. "onresize": function () { }
  3462. }, {
  3463. closecallback: function () { }
  3464. }, { "style": { "height": "36px" } }).form; //創建窗體
  3465. _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); } }
  3466. break;
  3467. case "my":
  3468. _formdiv = new U.UF.UI.form(
  3469. "我的資料",
  3470. $$("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 }), {
  3471. "id": "my",
  3472. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3473. "onresize": function () { }
  3474. }, {
  3475. closecallback: function () { }
  3476. }, { "style": { "height": "36px" } }).form; //創建窗體
  3477. _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); } }
  3478. break;
  3479. case "program":
  3480. _formdiv = new U.UF.UI.form(
  3481. "編程平臺",
  3482. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3483. "id": "program",
  3484. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3485. "onresize": function () { }
  3486. }, {
  3487. closecallback: function () { }
  3488. }, { "style": { "height": "36px" } }).form; //創建窗體
  3489. _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); } }
  3490. break;
  3491. case "library":
  3492. _formdiv = new U.UF.UI.form(
  3493. "素材庫",
  3494. $$("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 }), {
  3495. "id": "library",
  3496. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3497. "onresize": function () { }
  3498. }, {
  3499. closecallback: function () { }
  3500. }, { "style": { "height": "36px" } }).form; //創建窗體
  3501. _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); } }
  3502. break;
  3503. case "whiteboard":
  3504. _formdiv = new U.UF.UI.form(
  3505. "電子白板",
  3506. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3507. "id": "whiteboard",
  3508. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3509. "onresize": function () { }
  3510. }, {
  3511. closecallback: function () { }
  3512. }, { "style": { "height": "36px" } }).form; //創建窗體
  3513. _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); } }
  3514. break;
  3515. case "investigation":
  3516. _formdiv = new U.UF.UI.form(
  3517. "問卷調查",
  3518. $$("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 }), {
  3519. "id": "investigation",
  3520. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3521. "onresize": function () { }
  3522. }, {
  3523. closecallback: function () { }
  3524. }, { "style": { "height": "36px" } }).form; //創建窗體
  3525. _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); } }
  3526. break;
  3527. case "note":
  3528. _formdiv = new U.UF.UI.form(
  3529. "便簽分類",
  3530. $$("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 }), {
  3531. "id": "note",
  3532. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3533. "onresize": function () { }
  3534. }, {
  3535. closecallback: function () { }
  3536. }, { "style": { "height": "36px" } }).form; //創建窗體
  3537. _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); } }
  3538. break;
  3539. // case "score":
  3540. // _formdiv = new U.UF.UI.form(
  3541. // "量規評分",
  3542. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3543. // "id": "score",
  3544. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3545. // "onresize": function() {}
  3546. // }, {
  3547. // closecallback: function() {}
  3548. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3549. // _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); } }
  3550. // break;
  3551. case "mind":
  3552. _formdiv = new U.UF.UI.form(
  3553. "思維導圖",
  3554. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3555. "id": "mind",
  3556. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3557. "onresize": function () { }
  3558. }, {
  3559. closecallback: function () { }
  3560. }, { "style": { "height": "36px" } }).form; //創建窗體
  3561. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3562. break;
  3563. case "doc":
  3564. // U.MD.D.I.isRoom();
  3565. _formdiv = new U.UF.UI.form(
  3566. "協同文檔",
  3567. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3568. "id": "doc",
  3569. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3570. "onresize": function () { }
  3571. }, {
  3572. closecallback: function () { }
  3573. }, { "style": { "height": "36px" } }).form; //創建窗體
  3574. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3575. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3576. })
  3577. _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); } }
  3578. break;
  3579. case "train": //好友打開
  3580. _formdiv = new U.UF.UI.form(
  3581. "訓練平臺",
  3582. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3583. "id": "train",
  3584. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3585. "onresize": function () { }
  3586. }, {
  3587. closecallback: function () { }
  3588. }, { "style": { "height": "36px" } }).form; //創建窗體
  3589. _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); } }
  3590. break;
  3591. case "studentStudy":
  3592. _formdiv = new U.UF.UI.form(
  3593. "課程中心",
  3594. $$("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
  3595. "id": "studentStudy",
  3596. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3597. "onresize": function () { }
  3598. }, {
  3599. closecallback: function () { }
  3600. }, { "style": { "height": "36px" } }).form; //創建窗體
  3601. _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); } }
  3602. break;
  3603. case "mindNetwork": //好友打開
  3604. _formdiv = new U.UF.UI.form(
  3605. "思維網格",
  3606. $$("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 }), {
  3607. "id": "mindNetwork",
  3608. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3609. "onresize": function () { }
  3610. }, {
  3611. closecallback: function () { }
  3612. }, { "style": { "height": "36px" } }).form; //創建窗體
  3613. _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); } }
  3614. break;
  3615. case "studentClassRoom": //好友打開
  3616. _formdiv = new U.UF.UI.form(
  3617. "實時課堂",
  3618. $$("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 }), {
  3619. "id": "studentClassRoom",
  3620. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3621. "onresize": function () { }
  3622. }, {
  3623. closecallback: function () { }
  3624. }, { "style": { "height": "36px" } }).form; //創建窗體
  3625. _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); } }
  3626. setTimeout(() => {
  3627. U.UF.F.windowZooming(_formdiv)
  3628. }, 0);
  3629. break;
  3630. }
  3631. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3632. //選擇應用處理
  3633. switch (str) {
  3634. case "project": //好友打開
  3635. _formdiv = new U.UF.UI.form(
  3636. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  3637. $$("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 }), {
  3638. "id": "project",
  3639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3640. "onresize": function () { }
  3641. }, {
  3642. closecallback: function () { }
  3643. }, { "style": { "height": "36px" } }).form; //創建窗體
  3644. _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); } }
  3645. break;
  3646. case "student":
  3647. _formdiv = new U.UF.UI.form(
  3648. "學生管理",
  3649. $$("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 }), {
  3650. "id": "student",
  3651. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3652. "onresize": function () { }
  3653. }, {
  3654. closecallback: function () { }
  3655. }, { "style": { "height": "36px" } }).form; //創建窗體
  3656. _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); } }
  3657. break;
  3658. case "evaluate":
  3659. _formdiv = new U.UF.UI.form(
  3660. "學生評價",
  3661. $$("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 }), {
  3662. "id": "evaluate",
  3663. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3664. "onresize": function () { }
  3665. }, {
  3666. closecallback: function () { }
  3667. }, { "style": { "height": "36px" } }).form; //創建窗體
  3668. _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); } }
  3669. break;
  3670. case "sys":
  3671. _formdiv = new U.UF.UI.form(
  3672. "目標管理",
  3673. $$("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 }), {
  3674. "id": "sys",
  3675. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3676. "onresize": function () { }
  3677. }, {
  3678. closecallback: function () { }
  3679. }, { "style": { "height": "36px" } }).form; //創建窗體
  3680. _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); } }
  3681. break;
  3682. case "courseDesign":
  3683. _formdiv = new U.UF.UI.form(
  3684. "項目設計",
  3685. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3686. "id": "courseDesign",
  3687. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3688. "onresize": function () { }
  3689. }, {
  3690. closecallback: function () { }
  3691. }, { "style": { "height": "36px" } }).form; //創建窗體
  3692. _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); } }
  3693. break;
  3694. case "program":
  3695. _formdiv = new U.UF.UI.form(
  3696. "編程平臺",
  3697. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3698. "id": "program",
  3699. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3700. "onresize": function () { }
  3701. }, {
  3702. closecallback: function () { }
  3703. }, { "style": { "height": "36px" } }).form; //創建窗體
  3704. _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); } }
  3705. break;
  3706. case "class":
  3707. _formdiv = new U.UF.UI.form(
  3708. "班級管理",
  3709. $$("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 }), {
  3710. "id": "class",
  3711. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3712. "onresize": function () { }
  3713. }, {
  3714. closecallback: function () { }
  3715. }, { "style": { "height": "36px" } }).form; //創建窗體
  3716. _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); } }
  3717. break;
  3718. case "Grade":
  3719. _formdiv = new U.UF.UI.form(
  3720. "年級管理",
  3721. $$("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 }), {
  3722. "id": "Grade",
  3723. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3724. "onresize": function () { }
  3725. }, {
  3726. closecallback: function () { }
  3727. }, { "style": { "height": "36px" } }).form; //創建窗體
  3728. _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); } }
  3729. break;
  3730. case "teacherOffice":
  3731. _formdiv = new U.UF.UI.form(
  3732. "教研室",
  3733. $$("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 }), {
  3734. "id": "teacherOffice",
  3735. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3736. "onresize": function () { }
  3737. }, {
  3738. closecallback: function () { }
  3739. }, { "style": { "height": "36px" } }).form; //創建窗體
  3740. _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); } }
  3741. break;
  3742. case "my":
  3743. _formdiv = new U.UF.UI.form(
  3744. "我的資料",
  3745. $$("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 }), {
  3746. "id": "my",
  3747. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3748. "onresize": function () { }
  3749. }, {
  3750. closecallback: function () { }
  3751. }, { "style": { "height": "36px" } }).form; //創建窗體
  3752. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3753. break;
  3754. case "notice":
  3755. _formdiv = new U.UF.UI.form(
  3756. "通知公告",
  3757. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/notice?userid=" + _userid + "&org=" + _org }), {
  3758. "id": "notice",
  3759. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3760. "onresize": function () { }
  3761. }, {
  3762. closecallback: function () { }
  3763. }, { "style": { "height": "36px" } }).form; //創建窗體
  3764. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3765. break;
  3766. case "library":
  3767. _formdiv = new U.UF.UI.form(
  3768. "素材庫",
  3769. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/library?userid=" + _userid + "&org=" + _org }), {
  3770. "id": "library",
  3771. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3772. "onresize": function () { }
  3773. }, {
  3774. closecallback: function () { }
  3775. }, { "style": { "height": "36px" } }).form; //創建窗體
  3776. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/library.png)" }, "name": "素材庫", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3777. break;
  3778. case "whiteboard":
  3779. _formdiv = new U.UF.UI.form(
  3780. "電子白板",
  3781. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3782. "id": "whiteboard",
  3783. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3784. "onresize": function () { }
  3785. }, {
  3786. closecallback: function () { }
  3787. }, { "style": { "height": "36px" } }).form; //創建窗體
  3788. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/whiteBoard.png)" }, "name": "電子白板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3789. break;
  3790. case "investigation":
  3791. _formdiv = new U.UF.UI.form(
  3792. "問卷調查",
  3793. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/ask?userid=" + _userid + "&org=" + _org }), {
  3794. "id": "investigation",
  3795. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3796. "onresize": function () { }
  3797. }, {
  3798. closecallback: function () { }
  3799. }, { "style": { "height": "36px" } }).form; //創建窗體
  3800. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/ask.png)" }, "name": "問卷調查", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3801. break;
  3802. case "note":
  3803. _formdiv = new U.UF.UI.form(
  3804. "便簽分類",
  3805. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/note?userid=" + _userid + "&org=" + _org }), {
  3806. "id": "note",
  3807. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3808. "onresize": function () { }
  3809. }, {
  3810. closecallback: function () { }
  3811. }, { "style": { "height": "36px" } }).form; //創建窗體
  3812. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/note.png)" }, "name": "便簽分類", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3813. break;
  3814. // case "score":
  3815. // _formdiv = new U.UF.UI.form(
  3816. // "量規評分",
  3817. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3818. // "id": "score",
  3819. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3820. // "onresize": function() {}
  3821. // }, {
  3822. // closecallback: function() {}
  3823. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3824. // _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/score.png)" }, "name": "量規評分", "forms": _formdiv, "click": function() { U.MD.D.I.openApplication(str, obj, info); } }
  3825. // break;
  3826. case "mind":
  3827. _formdiv = new U.UF.UI.form(
  3828. "思維導圖",
  3829. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/kityminder-editor/dist/index.html" }), { //"/jsmind/example/demo.html"
  3830. "id": "mind",
  3831. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3832. "onresize": function () { }
  3833. }, {
  3834. closecallback: function () { }
  3835. }, { "style": { "height": "36px" } }).form; //創建窗體
  3836. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindMapping.png)" }, "name": "思維導圖", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3837. break;
  3838. case "doc":
  3839. // U.MD.D.I.isRoom();
  3840. _formdiv = new U.UF.UI.form(
  3841. "協同文檔",
  3842. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3843. "id": "doc",
  3844. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3845. "onresize": function () { }
  3846. }, {
  3847. closecallback: function () { }
  3848. }, { "style": { "height": "36px" } }).form; //創建窗體
  3849. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3850. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3851. })
  3852. _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); } }
  3853. break;
  3854. case "study":
  3855. _formdiv = new U.UF.UI.form(
  3856. "課程中心",
  3857. $$("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
  3858. "id": "study",
  3859. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3860. "onresize": function () { }
  3861. }, {
  3862. closecallback: function () { }
  3863. }, { "style": { "height": "36px" } }).form; //創建窗體
  3864. _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); } }
  3865. break;
  3866. case "mindNetwork": //好友打開
  3867. _formdiv = new U.UF.UI.form(
  3868. "思維網格",
  3869. $$("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 }), {
  3870. "id": "mindNetwork",
  3871. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3872. "onresize": function () { }
  3873. }, {
  3874. closecallback: function () { }
  3875. }, { "style": { "height": "36px" } }).form; //創建窗體
  3876. _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); } }
  3877. break;
  3878. case "train": //好友打開
  3879. _formdiv = new U.UF.UI.form(
  3880. "訓練平臺",
  3881. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3882. "id": "mindNetwork",
  3883. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3884. "onresize": function () { }
  3885. }, {
  3886. closecallback: function () { }
  3887. }, { "style": { "height": "36px" } }).form; //創建窗體
  3888. _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); } }
  3889. break;
  3890. case "teacherClassRoom": //好友打開
  3891. _formdiv = new U.UF.UI.form(
  3892. "實時課堂",
  3893. $$("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 }), {
  3894. "id": "teacherClassRoom",
  3895. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3896. "onresize": function () { }
  3897. }, {
  3898. closecallback: function () { }
  3899. }, { "style": { "height": "36px" } }).form; //創建窗體
  3900. _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); } }
  3901. setTimeout(() => {
  3902. U.UF.F.windowZooming(_formdiv)
  3903. }, 0);
  3904. break;
  3905. }
  3906. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3907. switch (str) {
  3908. case "project": //好友打開
  3909. _formdiv = new U.UF.UI.form(
  3910. "課程管理",
  3911. $$("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 }), {
  3912. "id": "project",
  3913. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3914. "onresize": function () { }
  3915. }, {
  3916. closecallback: function () { }
  3917. }, { "style": { "height": "36px" } }).form; //創建窗體
  3918. _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); } }
  3919. break;
  3920. case "evaluate":
  3921. _formdiv = new U.UF.UI.form(
  3922. "學生評價",
  3923. $$("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 }), {
  3924. "id": "evaluate",
  3925. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3926. "onresize": function () { }
  3927. }, {
  3928. closecallback: function () { }
  3929. }, { "style": { "height": "36px" } }).form; //創建窗體
  3930. _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); } }
  3931. break;
  3932. case "notice":
  3933. _formdiv = new U.UF.UI.form(
  3934. "通知公告",
  3935. $$("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 }), {
  3936. "id": "notice",
  3937. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3938. "onresize": function () { }
  3939. }, {
  3940. closecallback: function () { }
  3941. }, { "style": { "height": "36px" } }).form; //創建窗體
  3942. _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); } }
  3943. break;
  3944. case "stuLibrary":
  3945. _formdiv = new U.UF.UI.form(
  3946. "學習資料",
  3947. $$("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 }), {
  3948. "id": "stuLibrary",
  3949. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3950. "onresize": function () { }
  3951. }, {
  3952. closecallback: function () { }
  3953. }, { "style": { "height": "36px" } }).form; //創建窗體
  3954. _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); } }
  3955. break;
  3956. case "program":
  3957. _formdiv = new U.UF.UI.form(
  3958. "編程平臺",
  3959. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3960. "id": "program",
  3961. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3962. "onresize": function () { }
  3963. }, {
  3964. closecallback: function () { }
  3965. }, { "style": { "height": "36px" } }).form; //創建窗體
  3966. _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); } }
  3967. break;
  3968. case "whiteboard":
  3969. _formdiv = new U.UF.UI.form(
  3970. "電子白板",
  3971. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3972. "id": "whiteboard",
  3973. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3974. "onresize": function () { }
  3975. }, {
  3976. closecallback: function () { }
  3977. }, { "style": { "height": "36px" } }).form; //創建窗體
  3978. _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); } }
  3979. break;
  3980. case "investigation":
  3981. _formdiv = new U.UF.UI.form(
  3982. "問卷調查",
  3983. $$("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 }), {
  3984. "id": "investigation",
  3985. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3986. "onresize": function () { }
  3987. }, {
  3988. closecallback: function () { }
  3989. }, { "style": { "height": "36px" } }).form; //創建窗體
  3990. _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); } }
  3991. break;
  3992. case "mind":
  3993. _formdiv = new U.UF.UI.form(
  3994. "思維導圖",
  3995. $$("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"
  3996. "id": "mind",
  3997. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3998. "onresize": function () { }
  3999. }, {
  4000. closecallback: function () { }
  4001. }, { "style": { "height": "36px" } }).form; //創建窗體
  4002. _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); } }
  4003. break;
  4004. case "doc":
  4005. // U.MD.D.I.isRoom();
  4006. _formdiv = new U.UF.UI.form(
  4007. "協同文檔",
  4008. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  4009. "id": "doc",
  4010. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4011. "onresize": function () { }
  4012. }, {
  4013. closecallback: function () { }
  4014. }, { "style": { "height": "36px" } }).form; //創建窗體
  4015. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4016. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  4017. })
  4018. _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); } }
  4019. break;
  4020. case "study":
  4021. _formdiv = new U.UF.UI.form(
  4022. "課程中心",
  4023. $$("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
  4024. "id": "study",
  4025. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4026. "onresize": function () { }
  4027. }, {
  4028. closecallback: function () { }
  4029. }, { "style": { "height": "36px" } }).form; //創建窗體
  4030. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/study.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4031. break;
  4032. case "mindNetwork": //好友打開
  4033. _formdiv = new U.UF.UI.form(
  4034. "思維網格",
  4035. $$("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 }), {
  4036. "id": "mindNetwork",
  4037. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4038. "onresize": function () { }
  4039. }, {
  4040. closecallback: function () { }
  4041. }, { "style": { "height": "36px" } }).form; //創建窗體
  4042. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mindNetwork.png)" }, "name": "思維網格", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4043. break;
  4044. case "train": //好友打開
  4045. _formdiv = new U.UF.UI.form(
  4046. "訓練平臺",
  4047. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  4048. "id": "train",
  4049. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4050. "onresize": function () { }
  4051. }, {
  4052. closecallback: function () { }
  4053. }, { "style": { "height": "36px" } }).form; //創建窗體
  4054. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4055. break;
  4056. case "sys":
  4057. _formdiv = new U.UF.UI.form(
  4058. "目標管理",
  4059. $$("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 }), {
  4060. "id": "sys",
  4061. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4062. "onresize": function () { }
  4063. }, {
  4064. closecallback: function () { }
  4065. }, { "style": { "height": "36px" } }).form; //創建窗體
  4066. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evalua.png)" }, "name": "目標管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4067. break;
  4068. case "courseDesign":
  4069. _formdiv = new U.UF.UI.form(
  4070. "項目設計",
  4071. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  4072. "id": "courseDesign",
  4073. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4074. "onresize": function () { }
  4075. }, {
  4076. closecallback: function () { }
  4077. }, { "style": { "height": "36px" } }).form; //創建窗體
  4078. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/courseDesign.png)" }, "name": "項目設計", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4079. break;
  4080. }
  4081. } else if (!_type) {
  4082. switch (str) {
  4083. case "my":
  4084. _formdiv = new U.UF.UI.form(
  4085. "我的資料",
  4086. $$("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 }), {
  4087. "id": "my",
  4088. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4089. "onresize": function () { }
  4090. }, {
  4091. closecallback: function () { }
  4092. }, { "style": { "height": "36px" } }).form; //創建窗體
  4093. _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); } }
  4094. break;
  4095. }
  4096. }
  4097. switch (str) {
  4098. // AIprogram2 AI體驗 aihub.cocorobo.cn
  4099. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  4100. // AIprogram AI編程 ai-blockly.cocorobo.cn
  4101. case "formulaEdi": //公式編輯
  4102. _formdiv = new U.UF.UI.form(
  4103. "公式編輯",
  4104. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  4105. "id": "formulaEdi",
  4106. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4107. "onresize": function () { }
  4108. }, {
  4109. closecallback: function () { }
  4110. }, { "style": { "height": "36px" } }).form; //創建窗體
  4111. _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); } }
  4112. break;
  4113. case "molStr": //分子結構
  4114. _formdiv = new U.UF.UI.form(
  4115. "分子結構",
  4116. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  4117. "id": "molStr",
  4118. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4119. "onresize": function () { }
  4120. }, {
  4121. closecallback: function () { }
  4122. }, { "style": { "height": "36px" } }).form; //創建窗體
  4123. _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); } }
  4124. break;
  4125. case "timeAxis": //時間軸
  4126. _formdiv = new U.UF.UI.form(
  4127. "時間軸",
  4128. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  4129. "id": "timeAxis",
  4130. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4131. "onresize": function () { }
  4132. }, {
  4133. closecallback: function () { }
  4134. }, { "style": { "height": "36px" } }).form; //創建窗體
  4135. _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); } }
  4136. break;
  4137. case "AIprogram2": //AI體驗
  4138. _formdiv = new U.UF.UI.form(
  4139. "AI體驗",
  4140. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  4141. "id": "AIprogram2",
  4142. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4143. "onresize": function () { }
  4144. }, {
  4145. closecallback: function () { }
  4146. }, { "style": { "height": "36px" } }).form; //創建窗體
  4147. _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); } }
  4148. break;
  4149. case "Pythonprogram": //python編程
  4150. _formdiv = new U.UF.UI.form(
  4151. "Python編程",
  4152. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  4153. "id": "Pythonprogram",
  4154. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4155. "onresize": function () { }
  4156. }, {
  4157. closecallback: function () { }
  4158. }, { "style": { "height": "36px" } }).form; //創建窗體
  4159. _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); } }
  4160. break;
  4161. case "AIprogram": //ai編程
  4162. _formdiv = new U.UF.UI.form(
  4163. "AI編程平臺",
  4164. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  4165. "id": "AIprogram",
  4166. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4167. "onresize": function () { }
  4168. }, {
  4169. closecallback: function () { }
  4170. }, { "style": { "height": "36px" } }).form; //創建窗體
  4171. _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); } }
  4172. break;
  4173. case "CocoPi": //CocoPi
  4174. _formdiv = new U.UF.UI.form(
  4175. "CocoPi",
  4176. $$("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" }), {
  4177. "id": "CocoPi",
  4178. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4179. "onresize": function () { }
  4180. }, {
  4181. closecallback: function () { }
  4182. }, { "style": { "height": "36px" } }).form; //創建窗體
  4183. _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); } }
  4184. break;
  4185. case "Wood": //Wood
  4186. _formdiv = new U.UF.UI.form(
  4187. "海龜編程",
  4188. $$("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/" }), {
  4189. "id": "Wood",
  4190. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4191. "onresize": function () { }
  4192. }, {
  4193. closecallback: function () { }
  4194. }, { "style": { "height": "36px" } }).form; //創建窗體
  4195. _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); } }
  4196. break;
  4197. case "car": //模擬駕駛
  4198. _formdiv = new U.UF.UI.form(
  4199. "模擬駕駛",
  4200. $$("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/" }), {
  4201. "id": "car",
  4202. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4203. "onresize": function () { }
  4204. }, {
  4205. closecallback: function () { }
  4206. }, { "style": { "height": "36px" } }).form; //創建窗體
  4207. _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); } }
  4208. break;
  4209. case "lineSearch": //路徑搜索
  4210. _formdiv = new U.UF.UI.form(
  4211. "路徑搜索",
  4212. $$("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/" }), {
  4213. "id": "lineSearch",
  4214. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4215. "onresize": function () { }
  4216. }, {
  4217. closecallback: function () { }
  4218. }, { "style": { "height": "36px" } }).form; //創建窗體
  4219. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路徑搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4220. break;
  4221. case "deepLearning": //深度學習
  4222. _formdiv = new U.UF.UI.form(
  4223. "深度學習",
  4224. $$("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/#" }), {
  4225. "id": "deepLearning",
  4226. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4227. "onresize": function () { }
  4228. }, {
  4229. closecallback: function () { }
  4230. }, { "style": { "height": "36px" } }).form; //創建窗體
  4231. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度學習", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4232. break;
  4233. case "allHistory": //深度學習
  4234. _formdiv = new U.UF.UI.form(
  4235. "全歷史",
  4236. $$("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/" }), {
  4237. "id": "allHistory",
  4238. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4239. "onresize": function () { }
  4240. }, {
  4241. closecallback: function () { }
  4242. }, { "style": { "height": "36px" } }).form; //創建窗體
  4243. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/allHistory.png)" }, "name": "全歷史", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4244. break;
  4245. case "chatPDF": //ai編程
  4246. _formdiv = new U.UF.UI.form(
  4247. "chatPDF",
  4248. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  4249. "id": "chatPDF",
  4250. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4251. "onresize": function () { }
  4252. }, {
  4253. closecallback: function () { }
  4254. }, { "style": { "height": "36px" } }).form; //創建窗體
  4255. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/chatPDF.png)" }, "name": "chatPDF", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4256. break;
  4257. case "resources": //國家教育
  4258. _formdiv = new U.UF.UI.form(
  4259. "國家教育",
  4260. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  4261. "id": "resources",
  4262. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4263. "onresize": function () { }
  4264. }, {
  4265. closecallback: function () { }
  4266. }, { "style": { "height": "36px" } }).form; //創建窗體
  4267. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/resources.png)" }, "name": "國家教育", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4268. break;
  4269. case "codeEdit": //源碼編輯
  4270. _formdiv = new U.UF.UI.form(
  4271. "源碼編輯",
  4272. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  4273. "id": "codeEdit",
  4274. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4275. "onresize": function () { }
  4276. }, {
  4277. closecallback: function () { }
  4278. }, { "style": { "height": "36px" } }).form; //創建窗體
  4279. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/code.png)" }, "name": "源碼編輯", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4280. break; //
  4281. case "MindMap": //MindMap
  4282. _formdiv = new U.UF.UI.form(
  4283. "MindMap",
  4284. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  4285. "id": "MindMap",
  4286. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4287. "onresize": function () { }
  4288. }, {
  4289. closecallback: function () { }
  4290. }, { "style": { "height": "36px" } }).form; //創建窗體
  4291. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/MIndMap.png)" }, "name": "MindMap", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4292. break;
  4293. case "netWorkPanel": //netWorkPanel
  4294. _formdiv = new U.UF.UI.form(
  4295. "netWorkPanel",
  4296. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  4297. "id": "netWorkPanel",
  4298. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4299. "onresize": function () { }
  4300. }, {
  4301. closecallback: function () { }
  4302. }, { "style": { "height": "36px" } }).form; //創建窗體
  4303. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/netWorkPanel.png)" }, "name": "netWorkPanel", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4304. break;
  4305. case "GeoGebra": //GeoGebra
  4306. _formdiv = new U.UF.UI.form(
  4307. "GeoGebra",
  4308. $$("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" }), {
  4309. "id": "GeoGebra",
  4310. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4311. "onresize": function () { }
  4312. }, {
  4313. closecallback: function () { }
  4314. }, { "style": { "height": "36px" } }).form; //創建窗體
  4315. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/GeoGebra.png)" }, "name": "GeoGebra", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4316. break;
  4317. case "translation": //翻譯
  4318. _formdiv = new U.UF.UI.form(
  4319. "翻譯",
  4320. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  4321. "id": "translation",
  4322. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  4323. "onresize": function () { }
  4324. }, {
  4325. closecallback: function () { }
  4326. }, { "style": { "height": "36px" } }).form; //創建窗體
  4327. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/translation.png)" }, "name": "翻譯", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4328. break;
  4329. case "mohe": //魔盒
  4330. _formdiv = new U.UF.UI.form(
  4331. "魔盒識字",
  4332. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  4333. "id": "mohe",
  4334. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4335. "onresize": function () { }
  4336. }, {
  4337. closecallback: function () { }
  4338. }, { "style": { "height": "36px" } }).form; //創建窗體
  4339. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/mohe.png)" }, "name": "魔盒識字", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4340. break;
  4341. case "24game": //24點
  4342. _formdiv = new U.UF.UI.form(
  4343. "24點",
  4344. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  4345. "id": "24game",
  4346. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  4347. "onresize": function () { }
  4348. }, {
  4349. closecallback: function () { }
  4350. }, { "style": { "height": "36px" } }).form; //創建窗體
  4351. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/24game.png)" }, "name": "24點", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4352. break;
  4353. case "case":
  4354. _formdiv = new U.UF.UI.form(
  4355. "課程進展",
  4356. $$("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 }), {
  4357. "id": "case",
  4358. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4359. "onresize": function () { }
  4360. }, {
  4361. closecallback: function () { }
  4362. }, { "style": { "height": "36px" } }).form; //創建窗體
  4363. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/case.png)" }, "name": "課程進展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4364. break;
  4365. case "snf":
  4366. _formdiv = new U.UF.UI.form(
  4367. "賽諾梵",
  4368. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//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" }), {
  4369. "id": "snf",
  4370. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4371. "onresize": function () { }
  4372. }, {
  4373. closecallback: function () { }
  4374. }, { "style": { "height": "36px" } }).form; //創建窗體
  4375. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/snf.png)" }, "name": "賽諾梵", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4376. break;
  4377. case "hanFamily":
  4378. _formdiv = new U.UF.UI.form(
  4379. "漢字家族",
  4380. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  4381. "id": "hanFamily",
  4382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4383. "onresize": function () { }
  4384. }, {
  4385. closecallback: function () { }
  4386. }, { "style": { "height": "36px" } }).form; //創建窗體
  4387. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanFamily.png)" }, "name": "漢字家族", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4388. break;
  4389. case "hanClassics":
  4390. _formdiv = new U.UF.UI.form(
  4391. "國學經典",
  4392. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  4393. "id": "hanClassics",
  4394. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4395. "onresize": function () { }
  4396. }, {
  4397. closecallback: function () { }
  4398. }, { "style": { "height": "36px" } }).form; //創建窗體
  4399. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClassics.png)" }, "name": "國學經典", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4400. break;
  4401. case "hanTraining":
  4402. _formdiv = new U.UF.UI.form(
  4403. "筆畫訓練",
  4404. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  4405. "id": "hanTraining",
  4406. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4407. "onresize": function () { }
  4408. }, {
  4409. closecallback: function () { }
  4410. }, { "style": { "height": "36px" } }).form; //創建窗體
  4411. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanTraining.png)" }, "name": "筆畫訓練", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4412. break;
  4413. case "hanClass":
  4414. _formdiv = new U.UF.UI.form(
  4415. "書法課堂",
  4416. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  4417. "id": "hanClass",
  4418. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4419. "onresize": function () { }
  4420. }, {
  4421. closecallback: function () { }
  4422. }, { "style": { "height": "36px" } }).form; //創建窗體
  4423. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/hanClass.png)" }, "name": "書法課堂", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4424. break;
  4425. case "han":
  4426. _formdiv = new U.UF.UI.form(
  4427. "漢字宮",
  4428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  4429. "id": "han",
  4430. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4431. "onresize": function () { }
  4432. }, {
  4433. closecallback: function () { }
  4434. }, { "style": { "height": "36px" } }).form; //創建窗體
  4435. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/han.png)" }, "name": "漢字宮", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4436. break;
  4437. case "projectGM": //課程管理
  4438. _formdiv = new U.UF.UI.form(
  4439. "課程管理",
  4440. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/courseGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4441. "id": "projectGM",
  4442. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4443. "onresize": function () { }
  4444. }, {
  4445. closecallback: function () { }
  4446. }, { "style": { "height": "36px" } }).form; //創建窗體
  4447. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/courseMange.png)" }, "name": "課程管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4448. break;
  4449. case "studyGM": //課程中心
  4450. _formdiv = new U.UF.UI.form(
  4451. "課程中心",
  4452. $$("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
  4453. "id": "study",
  4454. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4455. "onresize": function () { }
  4456. }, {
  4457. closecallback: function () { }
  4458. }, { "style": { "height": "36px" } }).form; //創建窗體
  4459. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/learning.png)" }, "name": "課程中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4460. break;
  4461. // studentGM
  4462. case "studentGM": //學生管理
  4463. _formdiv = new U.UF.UI.form(
  4464. "學生管理",
  4465. $$("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 }), {
  4466. "id": "studentGM",
  4467. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4468. "onresize": function () { }
  4469. }, {
  4470. closecallback: function () { }
  4471. }, { "style": { "height": "36px" } }).form; //創建窗體
  4472. _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); } }
  4473. break;
  4474. case "evaluateGM": //學生評價
  4475. _formdiv = new U.UF.UI.form(
  4476. "學生評價",
  4477. $$("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 }), {
  4478. "id": "evaluateGM",
  4479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4480. "onresize": function () { }
  4481. }, {
  4482. closecallback: function () { }
  4483. }, { "style": { "height": "36px" } }).form; //創建窗體
  4484. _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); } }
  4485. break;
  4486. // classGM
  4487. case "classGM": //班級管理
  4488. _formdiv = new U.UF.UI.form(
  4489. "班級管理",
  4490. $$("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 }), {
  4491. "id": "classGM",
  4492. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4493. "onresize": function () { }
  4494. }, {
  4495. closecallback: function () { }
  4496. }, { "style": { "height": "36px" } }).form; //創建窗體
  4497. _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); } }
  4498. break;
  4499. // dataGM
  4500. case "dataGM":
  4501. _formdiv = new U.UF.UI.form(
  4502. "我的資料",
  4503. $$("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 }), {
  4504. "id": "dataGM",
  4505. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4506. "onresize": function () { }
  4507. }, {
  4508. closecallback: function () { }
  4509. }, { "style": { "height": "36px" } }).form; //創建窗體
  4510. _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); } }
  4511. break;
  4512. // caseGM
  4513. case "caseGM": //課程進展
  4514. _formdiv = new U.UF.UI.form(
  4515. "課程進展",
  4516. $$("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 }), {
  4517. "id": "caseGM",
  4518. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4519. "onresize": function () { }
  4520. }, {
  4521. closecallback: function () { }
  4522. }, { "style": { "height": "36px" } }).form; //創建窗體
  4523. _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); } }
  4524. break;
  4525. // meterialGM
  4526. case "meterialGM": //素材庫
  4527. _formdiv = new U.UF.UI.form(
  4528. "素材庫",
  4529. $$("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 }), {
  4530. "id": "meterialGM",
  4531. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4532. "onresize": function () { }
  4533. }, {
  4534. closecallback: function () { }
  4535. }, { "style": { "height": "36px" } }).form; //創建窗體
  4536. _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); } }
  4537. break;
  4538. // evaluateSGM
  4539. case "evaluateSGM": //我的評價
  4540. _formdiv = new U.UF.UI.form(
  4541. "我的評價",
  4542. $$("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 }), {
  4543. "id": "evaluateSGM",
  4544. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4545. "onresize": function () { }
  4546. }, {
  4547. closecallback: function () { }
  4548. }, { "style": { "height": "36px" } }).form; //創建窗體
  4549. _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); } }
  4550. break;
  4551. case "jupyter": //jupyter
  4552. _formdiv = new U.UF.UI.form(
  4553. "jupyter",
  4554. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4555. "id": "jupyter",
  4556. "style": { "width": "90%", "height": "90%", "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/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4562. break;
  4563. case "number": //數字實驗室
  4564. _formdiv = new U.UF.UI.form(
  4565. "數字實驗室",
  4566. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4567. "id": "number",
  4568. "style": { "width": "90%", "height": "90%", "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/number.png)" }, "name": "數字實驗室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4574. break;
  4575. case "studentCourse": //項目管理 學生
  4576. _formdiv = new U.UF.UI.form(
  4577. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4578. $$("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 }), {
  4579. "id": "studentCourse",
  4580. "style": { "width": "90%", "height": "90%", "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/studentCourse.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4586. break;
  4587. case "studentCourseS": //項目管理 老師
  4588. _formdiv = new U.UF.UI.form(
  4589. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4590. $$("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 }), {
  4591. "id": "studentCourseS",
  4592. "style": { "width": "90%", "height": "90%", "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/studentCourse.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4598. break;
  4599. case "studentIndex": //項目中心
  4600. _formdiv = new U.UF.UI.form(
  4601. "項目中心",
  4602. $$("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 }), {
  4603. "id": "studentIndex",
  4604. "style": { "width": "90%", "height": "90%", "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/studentIndex.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4610. break;
  4611. case "CaseDesignS":
  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/#/CaseDesignS?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4615. "id": "case",
  4616. "style": { "width": "90%", "height": "90%", "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/CaseDesignS.png)" }, "name": "項目進展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4622. break;
  4623. case "tcStudent": //騰訊學生管理
  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-teacher-table/dist/#/tcStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4627. "id": "tcStudent",
  4628. "style": { "width": "90%", "height": "90%", "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/student.png)" }, "name": "學生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4634. break;
  4635. case "tcSchool": //騰訊學校管理
  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/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4639. "id": "tcSchool",
  4640. "style": { "width": "90%", "height": "90%", "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/school.png)" }, "name": "學校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4646. break;
  4647. case "tcTeacher": //騰訊學校管理
  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/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4651. "id": "tcTeacher",
  4652. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4653. "onresize": function () { }
  4654. }, {
  4655. closecallback: function () { }
  4656. }, { "style": { "height": "36px" } }).form; //創建窗體
  4657. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教師管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4658. break;
  4659. case "tcData": //騰訊我的資料
  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/#/tcData?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4663. "id": "tcData",
  4664. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4665. "onresize": function () { }
  4666. }, {
  4667. closecallback: function () { }
  4668. }, { "style": { "height": "36px" } }).form; //創建窗體
  4669. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4670. break;
  4671. case "tcNotice": //騰訊消息通知
  4672. _formdiv = new U.UF.UI.form(
  4673. "消息通知",
  4674. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcNotice?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4675. "id": "tcNotice",
  4676. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4677. "onresize": function () { }
  4678. }, {
  4679. closecallback: function () { }
  4680. }, { "style": { "height": "36px" } }).form; //創建窗體
  4681. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4682. break;
  4683. case "myReport": //好友打開
  4684. _formdiv = new U.UF.UI.form(
  4685. "我的評價",
  4686. $$("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 }), {
  4687. "id": "myReport",
  4688. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4689. "onresize": function () { }
  4690. }, {
  4691. closecallback: function () { }
  4692. }, { "style": { "height": "36px" } }).form; //創建窗體
  4693. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4694. break;
  4695. case "learnAna": //好友打開
  4696. _formdiv = new U.UF.UI.form(
  4697. "學習分析",
  4698. $$("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 }), {
  4699. "id": "learnAna",
  4700. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4701. "onresize": function () { }
  4702. }, {
  4703. closecallback: function () { }
  4704. }, { "style": { "height": "36px" } }).form; //創建窗體
  4705. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "學習分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4706. break;
  4707. case "AIChat": //AI共創
  4708. _formdiv = new U.UF.UI.form(
  4709. "AI共創",
  4710. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  4711. "id": "AIChat",
  4712. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4713. "onresize": function () { }
  4714. }, {
  4715. istop: true,
  4716. closecallback: function () { $("#aichat_icon").remove(); },
  4717. narrowcallback: function () {
  4718. if (!$("#aichat_icon")[0]) {
  4719. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4720. }
  4721. },
  4722. }, { "style": { "height": "36px" } }).form; //創建窗體
  4723. _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); } }
  4724. break;
  4725. case "ainew": //AI共創
  4726. _formdiv = new U.UF.UI.form(
  4727. "AI協同",
  4728. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  4729. "id": "ainew",
  4730. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4731. "onresize": function () { }
  4732. }, {
  4733. closecallback: function () { }
  4734. }, { "style": { "height": "36px" } }).form; //創建窗體
  4735. _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); } }
  4736. break;
  4737. case "gpt4": //gpt4
  4738. _formdiv = new U.UF.UI.form(
  4739. "AI助手",
  4740. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.cn/gpt4/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4741. "id": "gpt4",
  4742. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4743. "onresize": function () { }
  4744. }, {
  4745. closecallback: function () { }
  4746. }, { "style": { "height": "36px" } }).form; //創建窗體
  4747. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpt4.png)" }, "name": "AI助手", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4748. break;
  4749. case "aigpt": //gpt4
  4750. _formdiv = new U.UF.UI.form(
  4751. "AI助手+",
  4752. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aigpt/?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4753. "id": "aigpt",
  4754. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4755. "onresize": function () { }
  4756. }, {
  4757. closecallback: function () { }
  4758. }, { "style": { "height": "36px" } }).form; //創建窗體
  4759. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/aigpt.png)" }, "name": "AI助手+", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4760. break;
  4761. case "futureClass": //AI共創
  4762. _formdiv = new U.UF.UI.form(
  4763. "協同建構",
  4764. $$("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
  4765. "id": "synergyCourse",
  4766. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4767. "onresize": function () { }
  4768. }, {
  4769. closecallback: function () {
  4770. $("iframe", _formdiv)[0].contentWindow.loginout();
  4771. }
  4772. }, { "style": { "height": "36px" } }).form; //創建窗體
  4773. _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); } }
  4774. break;
  4775. case "aiagent": //ai agent
  4776. _formdiv = new U.UF.UI.form(
  4777. "AI Agent",
  4778. $$("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" }), {
  4779. "id": "AIAgent",
  4780. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4781. "onresize": function () { }
  4782. }, {
  4783. closecallback: function () { }
  4784. }, { "style": { "height": "36px" } }).form; //創建窗體
  4785. _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); } }
  4786. break;
  4787. case "dataBoard": //數據看板
  4788. _formdiv = new U.UF.UI.form(
  4789. "數據看板",
  4790. $$("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 }), {
  4791. "id": "dataBoard",
  4792. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4793. "onresize": function () { }
  4794. }, {
  4795. closecallback: function () { }
  4796. }, { "style": { "height": "36px" } }).form; //創建窗體
  4797. _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); } }
  4798. break;
  4799. case "dataBoardSies": //數據融合
  4800. _formdiv = new U.UF.UI.form(
  4801. "數據融合",
  4802. $$("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 }), {
  4803. "id": "dataBoardSies",
  4804. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4805. "onresize": function () { }
  4806. }, {
  4807. closecallback: function () { }
  4808. }, { "style": { "height": "36px" } }).form; //創建窗體
  4809. _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); } }
  4810. break;
  4811. case "dataBoardNew": //數據看板
  4812. _formdiv = new U.UF.UI.form(
  4813. "綜合看板",
  4814. $$("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 }), {
  4815. "id": "dataBoardNew",
  4816. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4817. "onresize": function () { }
  4818. }, {
  4819. closecallback: function () { }
  4820. }, { "style": { "height": "36px" } }).form; //創建窗體
  4821. _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); } }
  4822. break;
  4823. case "dataBoardTest": //數據看板
  4824. _formdiv = new U.UF.UI.form(
  4825. "評測看板",
  4826. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/dataBoardTest?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4827. "id": "dataBoardTest",
  4828. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4829. "onresize": function () { }
  4830. }, {
  4831. closecallback: function () { }
  4832. }, { "style": { "height": "36px" } }).form; //創建窗體
  4833. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/dataBoardTest.png)" }, "name": "評測看板", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4834. break;
  4835. case "AIAnalyse": //AI共創
  4836. _formdiv = new U.UF.UI.form(
  4837. "AI分析",
  4838. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  4839. "id": "AIAnalyse",
  4840. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4841. "onresize": function () { }
  4842. }, {
  4843. closecallback: function () { }
  4844. }, { "style": { "height": "36px" } }).form; //創建窗體
  4845. _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); } }
  4846. break;
  4847. case "studioCourse": //AI共創
  4848. _formdiv = new U.UF.UI.form(
  4849. "工作管理",
  4850. $$("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 }), {
  4851. "id": "studioCourse",
  4852. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4853. "onresize": function () { }
  4854. }, {
  4855. closecallback: function () { }
  4856. }, { "style": { "height": "36px" } }).form; //創建窗體
  4857. _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); } }
  4858. break;
  4859. case "studioIndex": //AI共創
  4860. _formdiv = new U.UF.UI.form(
  4861. "工作中心",
  4862. $$("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 }), {
  4863. "id": "studioIndex",
  4864. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4865. "onresize": function () { }
  4866. }, {
  4867. closecallback: function () { }
  4868. }, { "style": { "height": "36px" } }).form; //創建窗體
  4869. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioIndex.png)" }, "name": "工作中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4870. break;
  4871. case "source":
  4872. _formdiv = new U.UF.UI.form(
  4873. "教學資源",
  4874. $$("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 }), {
  4875. "id": "source",
  4876. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4877. "onresize": function () { }
  4878. }, {
  4879. closecallback: function () { }
  4880. }, { "style": { "height": "36px" } }).form; //創建窗體
  4881. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/source.png)" }, "name": "教學資源", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4882. break;
  4883. case "testTeacher":
  4884. _formdiv = new U.UF.UI.form(
  4885. "教师管理",
  4886. $$("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 }), {
  4887. "id": "testTeacher",
  4888. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4889. "onresize": function () { }
  4890. }, {
  4891. closecallback: function () { }
  4892. }, { "style": { "height": "36px" } }).form; //创建窗体
  4893. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4894. break;
  4895. case "testStudent":
  4896. _formdiv = new U.UF.UI.form(
  4897. "教师中心",
  4898. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testStudent?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4899. "id": "testStudent",
  4900. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4901. "onresize": function () { }
  4902. }, {
  4903. closecallback: function () { }
  4904. }, { "style": { "height": "36px" } }).form; //创建窗体
  4905. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "教师管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4906. break;
  4907. case "testTeacherSies":
  4908. _formdiv = new U.UF.UI.form(
  4909. "教師管理",
  4910. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/test?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4911. "id": "testTeacherSies",
  4912. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4913. "onresize": function () { }
  4914. }, {
  4915. closecallback: function () { }
  4916. }, { "style": { "height": "36px" } }).form; //創建窗體
  4917. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "教師管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4918. break;
  4919. case "testStudentSies":
  4920. _formdiv = new U.UF.UI.form(
  4921. "教師中心",
  4922. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/testPerson?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&classid=" + _classId + "&role=" + _role }), {
  4923. "id": "testStudentSies",
  4924. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4925. "onresize": function () { }
  4926. }, {
  4927. closecallback: function () { }
  4928. }, { "style": { "height": "36px" } }).form; //創建窗體
  4929. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testStudent.png)" }, "name": "教師中心", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4930. break;
  4931. case "ytpbl": //消息通知
  4932. _formdiv = new U.UF.UI.form(
  4933. "案例征集",
  4934. $$("iframe", { "allow": "camera *; microphone *;display-capture;midi;encrypted-media;", "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "","frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://pblyt.cocorobo.cn/#/login?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4935. "id": "ytpbl",
  4936. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4937. "onresize": function () { }
  4938. }, {
  4939. closecallback: function () { }
  4940. }, { "style": { "height": "36px" } }).form; //創建窗體
  4941. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gpbl2.png)" }, "name": "案例征集", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4942. // window.open("https://gdpbl.cocorobo.cn/#/login", "案例征集", "height=" + US.height + ", width=" + US.width + ", top=100, left=100, toolbar=no, menubar=0, resizable=0, location=0, status=no");
  4943. break;
  4944. }
  4945. //U.MD.D.I.openClick(str);
  4946. //如果有任務欄信息
  4947. if (_taskbar) {
  4948. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  4949. }
  4950. }
  4951. // U.MD.D.I.openClick = function(str){
  4952. // var click = '';
  4953. // switch(str){
  4954. // case 'friend':
  4955. // click = '我的好友';
  4956. // break;
  4957. // case 'domain':
  4958. // click = '域名管理';
  4959. // break;
  4960. // case 'disk':
  4961. // click = '我的雲盤';
  4962. // break;
  4963. // case 'word':
  4964. // click = 'Word';
  4965. // break;
  4966. // case 'excel':
  4967. // click = 'Execl';
  4968. // break;
  4969. // case 'txt':
  4970. // click = '文本文件';
  4971. // break;
  4972. // case 'lookupFriend':
  4973. // click = '查找好友';
  4974. // break;
  4975. // case 'ftp':
  4976. // click = 'FTP';
  4977. // break;
  4978. // case 'group':
  4979. // click = '群組';
  4980. // break;
  4981. // case 'set':
  4982. // click = '我的設置';
  4983. // break;
  4984. // case 'systemSet':
  4985. // click = '系統設置';
  4986. // break;
  4987. // case 'boomYun':
  4988. // click = '互聯辦公';
  4989. // break;
  4990. // case 'xz':
  4991. // click = '雲端下載';
  4992. // break;
  4993. // case 'client':
  4994. // click = '有思瀏覽器';
  4995. // break;
  4996. // case 'backEndProgramming':
  4997. // click = '在線後臺編程';
  4998. // break;
  4999. // case 'frontEndProgramming':
  5000. // click = '在線前端編程';
  5001. // break;
  5002. // default: break;
  5003. // }
  5004. // if(U.MD.D.I.Ip && click){
  5005. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  5006. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  5007. // })
  5008. // }
  5009. // }
  5010. /**
  5011. *函數作用:ajax簡易函數,使用post格式
  5012. *@param url {data} 後臺地址
  5013. *@param data {data} 參數json
  5014. *@param fn {data} 回調函數
  5015. *
  5016. */
  5017. // U.MD.D.I.Mysqlrequest = function(url,fn){
  5018. // var xhr = new XMLHttpRequest();
  5019. // xhr.open("GET",url,true);
  5020. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  5021. // xhr.onreadystatechange = function(){
  5022. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  5023. // fn.call(this,xhr.responseText);
  5024. // }
  5025. // };
  5026. // xhr.send();
  5027. // }
  5028. /*判斷是否是內網IP*/
  5029. // U.MD.D.I.isInnerIPFn = function(str){
  5030. // var curPageUrl = str;
  5031. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  5032. // curPageUrl =curPageUrl.replace(reg1,'');
  5033. // // console.log('curPageUrl-1 '+curPageUrl);
  5034. // var reg2 = /\:+/g;//替換冒號為一點
  5035. // curPageUrl =curPageUrl.replace(reg2,'.');
  5036. // // console.log('curPageUrl-2 '+curPageUrl);
  5037. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  5038. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  5039. // if(curPageUrl[2] != '16'){
  5040. // return ipAddress;
  5041. // }else{
  5042. // return false;
  5043. // }
  5044. // }
  5045. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  5046. // //compatibility for firefox and chrome
  5047. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  5048. // var pc = new myPeerConnection({
  5049. // iceServers: []
  5050. // }),
  5051. // noop = function() {},
  5052. // localIPs = {},
  5053. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  5054. // key;
  5055. // function iterateIP(ip) {
  5056. // if (!localIPs[ip]) onNewIP(ip);
  5057. // localIPs[ip] = true;
  5058. // }
  5059. // //create a bogus data channel
  5060. // pc.createDataChannel("");
  5061. // // create offer and set local description
  5062. // pc.createOffer().then(function(sdp) {
  5063. // sdp.sdp.split('\n').forEach(function(line) {
  5064. // if (line.indexOf('candidate') < 0) return;
  5065. // line.match(ipRegex).forEach(iterateIP);
  5066. // });
  5067. // pc.setLocalDescription(sdp, noop, noop);
  5068. // }).catch(function(reason) {
  5069. // // An error occurred, so handle the failure to connect
  5070. // });
  5071. // //sten for candidate events
  5072. // pc.onicecandidate = function(ice) {
  5073. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  5074. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  5075. // };
  5076. // }
  5077. // U.MD.D.I.getUserIpBool = function(callback){
  5078. // U.MD.D.I.getUserIP(function(ip){
  5079. // alert("Got IP! :" + ip);
  5080. // });
  5081. //}
  5082. //#endregion
  5083. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  5084. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5085. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5086. _userinfo = US.userInfo, //登錄用戶信息
  5087. _userid = US.userInfo.userid //登錄用戶id
  5088. let _iframe;
  5089. let _cid = cid,
  5090. _stage = stage,
  5091. _task = task,
  5092. _tool = tool;
  5093. var _jie = $$("div", {
  5094. "style": {
  5095. "position": "absolute",
  5096. "bottom": "50px",
  5097. "right": "50px",
  5098. "zIndex": "9999",
  5099. "backgroundColor": "#2268bc",
  5100. "color": "#fff",
  5101. "padding": "12px 20px",
  5102. "cursor": "pointer",
  5103. "borderRadius": "4px",
  5104. },
  5105. "innerHTML": "提交作業"
  5106. })
  5107. let aTool = ''
  5108. let _loading = document.createElement('div')
  5109. _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;"
  5110. // _loading.id = "";
  5111. let _lchild = document.createElement('div')
  5112. let _limg = document.createElement('img')
  5113. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5114. _limg.style = "width: 26px;margin-right: 10px;"
  5115. _lchild.appendChild(_limg)
  5116. let _lspan = document.createElement('span')
  5117. _lspan.innerHTML = "上傳中..."
  5118. _lchild.appendChild(_lspan)
  5119. _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%);"
  5120. _loading.appendChild(_lchild)
  5121. var _box = $$('div', {
  5122. "style": {
  5123. "position": "relative",
  5124. "width": "100%",
  5125. "height": "100%",
  5126. },
  5127. })
  5128. _box.appendChild(_loading)
  5129. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  5130. switch (str) {
  5131. case "whiteboard":
  5132. aTool = 1;
  5133. _iframe = $$("iframe", {
  5134. "frameborder": "no",
  5135. "border": "0",
  5136. "scrolling ": "no",
  5137. "style": {
  5138. "cssText": "border:0;width:100%;height:100%"
  5139. },
  5140. "src": "https://iwb.cocorobo.hk/"
  5141. })
  5142. _box.appendChild(_iframe);
  5143. _box.appendChild(_jie);
  5144. _formdiv = new U.UF.UI.form(
  5145. "電子白板",
  5146. _box, {
  5147. "id": "whiteboard" + cid + stage + task + tool,
  5148. "style": {
  5149. "width": "90%",
  5150. "height": "90%",
  5151. "overflow": 'hidden'
  5152. },
  5153. "onresize": function () { }
  5154. }, {
  5155. closecallback: function () { }
  5156. }, {
  5157. "style": {
  5158. "height": "36px"
  5159. }
  5160. }).form; //創建窗體
  5161. _taskbar = {
  5162. "id": str + _formdiv.id,
  5163. "style": {
  5164. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5165. },
  5166. "name": "電子白板",
  5167. "forms": _formdiv,
  5168. "click": function () {
  5169. U.MD.D.I.openApplication(str, obj, info);
  5170. }
  5171. }
  5172. break;
  5173. case "mind":
  5174. aTool = 3;
  5175. _iframe = $$("iframe", {
  5176. "frameborder": "no",
  5177. "border": "0",
  5178. "scrolling ": "no",
  5179. "style": {
  5180. "cssText": "border:0;width:100%;height:100%"
  5181. },
  5182. "src": "/kityminder-editor/dist/index.html"
  5183. })
  5184. _box.appendChild(_iframe);
  5185. _box.appendChild(_jie);
  5186. _formdiv = new U.UF.UI.form(
  5187. "思維導圖",
  5188. _box, { //"/jsmind/example/demo.html"
  5189. "id": "mind" + cid + stage + task + tool,
  5190. "style": {
  5191. "width": "90%",
  5192. "height": "90%",
  5193. "overflow": 'hidden'
  5194. },
  5195. "onresize": function () { }
  5196. }, {
  5197. closecallback: function () { }
  5198. }, {
  5199. "style": {
  5200. "height": "36px"
  5201. }
  5202. }).form; //創建窗體
  5203. _taskbar = {
  5204. "id": str + _formdiv.id,
  5205. "style": {
  5206. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5207. },
  5208. "name": "思維導圖",
  5209. "forms": _formdiv,
  5210. "click": function () {
  5211. U.MD.D.I.openApplication(str, obj, info);
  5212. }
  5213. }
  5214. break;
  5215. case "MindMap":
  5216. aTool = 3;
  5217. _iframe = $$("iframe", {
  5218. "frameborder": "no",
  5219. "border": "0",
  5220. "scrolling ": "no",
  5221. "style": {
  5222. "cssText": "border:0;width:100%;height:100%"
  5223. },
  5224. "src": "//cloud.cocorobo.hk/mind/"
  5225. })
  5226. _box.appendChild(_iframe);
  5227. _box.appendChild(_jie);
  5228. _formdiv = new U.UF.UI.form(
  5229. "思維導圖",
  5230. _box, { //"/jsmind/example/demo.html"
  5231. "id": "mind" + cid + stage + task + tool,
  5232. "style": {
  5233. "width": "90%",
  5234. "height": "90%",
  5235. "overflow": 'hidden'
  5236. },
  5237. "onresize": function () { }
  5238. }, {
  5239. closecallback: function () { }
  5240. }, {
  5241. "style": {
  5242. "height": "36px"
  5243. }
  5244. }).form; //創建窗體
  5245. _taskbar = {
  5246. "id": str + _formdiv.id,
  5247. "style": {
  5248. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5249. },
  5250. "name": "思維導圖",
  5251. "forms": _formdiv,
  5252. "click": function () {
  5253. U.MD.D.I.openApplication(str, obj, info);
  5254. }
  5255. }
  5256. break;
  5257. case "doc":
  5258. aTool = 6;
  5259. _iframe = $$("iframe", {
  5260. "frameborder": "no",
  5261. "border": "0",
  5262. "scrolling ": "no",
  5263. "style": {
  5264. "cssText": "border:0;width:100%;height:100%"
  5265. },
  5266. "src": "/Office/Word/WordEditArea.htm"
  5267. })
  5268. _box.appendChild(_iframe);
  5269. _box.appendChild(_jie);
  5270. _formdiv = new U.UF.UI.form(
  5271. "協同文檔",
  5272. _box, {
  5273. "id": "doc" + cid + stage + task + tool,
  5274. "style": {
  5275. "width": "90%",
  5276. "height": "90%",
  5277. "overflow": 'hidden'
  5278. },
  5279. "onresize": function () { }
  5280. }, {
  5281. closecallback: function () { }
  5282. }, {
  5283. "style": {
  5284. "height": "36px"
  5285. }
  5286. }).form; //創建窗體
  5287. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5288. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5289. })
  5290. _taskbar = {
  5291. "id": str + _formdiv.id,
  5292. "style": {
  5293. "backgroundImage": "url(/img/icon/doc.png)"
  5294. },
  5295. "name": "協同文檔",
  5296. "forms": _formdiv,
  5297. "click": function () {
  5298. U.MD.D.I.openApplication(str, obj, info);
  5299. }
  5300. }
  5301. break;
  5302. case "mindNetwork": //好友打開
  5303. aTool = 7;
  5304. _iframe = $$("iframe", {
  5305. "webkitallowfullscreen": "",
  5306. "mozallowfullscreen": "",
  5307. "allowfullscreen": "",
  5308. "frameborder": "no",
  5309. "border": "0",
  5310. "scrolling ": "no",
  5311. "style": {
  5312. "cssText": "border:0; width:100%; height:100%;"
  5313. },
  5314. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5315. })
  5316. _box.appendChild(_iframe);
  5317. _box.appendChild(_jie);
  5318. _formdiv = new U.UF.UI.form(
  5319. "思維網格",
  5320. _box, {
  5321. "id": "mindNetwork" + cid + stage + task + tool,
  5322. "style": {
  5323. "width": "90%",
  5324. "height": "90%",
  5325. "overflow": 'hidden'
  5326. },
  5327. "onresize": function () { }
  5328. }, {
  5329. closecallback: function () { }
  5330. }, {
  5331. "style": {
  5332. "height": "36px"
  5333. }
  5334. }).form; //創建窗體
  5335. _taskbar = {
  5336. "id": str + _formdiv.id,
  5337. "style": {
  5338. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5339. },
  5340. "name": "思維網格",
  5341. "forms": _formdiv,
  5342. "click": function () {
  5343. U.MD.D.I.openApplication(str, obj, info);
  5344. }
  5345. }
  5346. break;
  5347. case "courseDesign":
  5348. _iframe = $$("iframe", {
  5349. "webkitallowfullscreen": "",
  5350. "mozallowfullscreen": "",
  5351. "allowfullscreen": "",
  5352. "frameborder": "no",
  5353. "border": "0",
  5354. "scrolling ": "no",
  5355. "style": {
  5356. "cssText": "border:0; width:100%; height:100%;"
  5357. },
  5358. "src": "/course-design-vue"
  5359. })
  5360. _box.appendChild(_iframe);
  5361. _box.appendChild(_jie);
  5362. _formdiv = new U.UF.UI.form(
  5363. "項目設計",
  5364. _box, {
  5365. "id": "courseDesign" + cid + stage + task + tool,
  5366. "style": {
  5367. "width": "90%",
  5368. "height": "90%",
  5369. "overflow": 'hidden'
  5370. },
  5371. "onresize": function () { }
  5372. }, {
  5373. closecallback: function () { }
  5374. }, {
  5375. "style": {
  5376. "height": "36px"
  5377. }
  5378. }).form; //創建窗體
  5379. _taskbar = {
  5380. "id": str + _formdiv.id,
  5381. "style": {
  5382. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5383. },
  5384. "name": "項目設計",
  5385. "forms": _formdiv,
  5386. "click": function () {
  5387. U.MD.D.I.openApplication(str, obj, info);
  5388. }
  5389. }
  5390. break;
  5391. }
  5392. const script1 = document.createElement("script");
  5393. script1.type = "text/javascript";
  5394. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5395. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5396. const script2 = document.createElement("script");
  5397. script2.type = "text/javascript";
  5398. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5399. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5400. const script3 = document.createElement("script");
  5401. script3.type = "text/javascript";
  5402. script3.charset = "UTF-8";
  5403. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5404. const script4 = document.createElement("script");
  5405. script4.type = "text/javascript";
  5406. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5407. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  5408. if (_iframe) {
  5409. if (str == 'doc') {
  5410. _iframe = _formdiv.querySelector('iframe')
  5411. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5412. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5413. _iframe.contentWindow.document.body.appendChild(script1);
  5414. _iframe.contentWindow.document.body.appendChild(script2);
  5415. // _iframe.contentWindow.document.body.appendChild(script3);
  5416. _iframe.contentWindow.document.body.appendChild(script4);
  5417. })
  5418. if (onloadListener) {
  5419. _iframe.contentDocument.location.reload()
  5420. } else {
  5421. _iframe.contentDocument.location.reload()
  5422. }
  5423. } else if (str == 'courseDesign') {
  5424. U.UF.DL.iframeLoad(_iframe, function () {
  5425. // _iframe.contentWindow.U.MD.O.W.load();
  5426. // _iframe.contentWindow.document.body.appendChild(script1);
  5427. _iframe.contentWindow.document.body.appendChild(script2);
  5428. _iframe.contentWindow.document.body.appendChild(script4);
  5429. })
  5430. } else if (str == 'mind') {
  5431. _iframe = _formdiv.querySelector('iframe')
  5432. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5433. //
  5434. _iframe.contentWindow.document.body.appendChild(script1);
  5435. _iframe.contentWindow.document.body.appendChild(script2);
  5436. _iframe.contentWindow.document.body.appendChild(script4);
  5437. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5438. })
  5439. if (onloadListener) {
  5440. _iframe.contentDocument.location.reload()
  5441. } else {
  5442. _iframe.contentDocument.location.reload()
  5443. }
  5444. } else if (str == 'whiteboard') {
  5445. _iframe = _formdiv.querySelector('iframe')
  5446. let onloadListener = _iframe.onload = () => {
  5447. _iframe.contentWindow.document.body.appendChild(script1);
  5448. _iframe.contentWindow.document.body.appendChild(script2);
  5449. _iframe.contentWindow.document.body.appendChild(script4);
  5450. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5451. };
  5452. if (onloadListener) {
  5453. _iframe.contentDocument.location.reload()
  5454. } else {
  5455. _iframe.contentDocument.location.reload()
  5456. }
  5457. } else {
  5458. _iframe.onload = () => {
  5459. _iframe.contentWindow.document.body.appendChild(script1);
  5460. _iframe.contentWindow.document.body.appendChild(script2);
  5461. // _iframe.contentWindow.document.body.appendChild(script3);
  5462. _iframe.contentWindow.document.body.appendChild(script4);
  5463. };
  5464. }
  5465. _jie.onclick = async () => {
  5466. let text = ''
  5467. if (aTool == 1) {
  5468. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5469. } else if (aTool == 6) {
  5470. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5471. } else if (aTool == 3) {
  5472. text = await U.MD.D.I.getEditorContent(_iframe);
  5473. }
  5474. _loading.style.display = 'flex'
  5475. console.log(_loading);
  5476. var _ajs = _iframe.contentWindow.document.createElement("script");
  5477. _ajs.type = "text/javascript";
  5478. _ajs.innerHTML =
  5479. // 'console.log(' + _loading + ');\n' +
  5480. 'var _js = document.createElement("script");\n' +
  5481. '_js.type="text/javascript";\n' +
  5482. '_js.charset="UTF-8";\n' +
  5483. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5484. "_js.onload = function(){\n" +
  5485. ' var a = document.getElementsByTagName("img")\n' +
  5486. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5487. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5488. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5489. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5490. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5491. "beforeUpload_shishi(file," +
  5492. "'" +
  5493. _userid +
  5494. "'" +
  5495. ", " +
  5496. "'" +
  5497. _cid +
  5498. "'" +
  5499. ", " +
  5500. "'" +
  5501. _stage +
  5502. "'" +
  5503. ", " +
  5504. "'" +
  5505. _task +
  5506. "'" +
  5507. ", " +
  5508. "'" +
  5509. _tool +
  5510. "'" +
  5511. ", " +
  5512. "'" +
  5513. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  5514. "'" +
  5515. ", " +
  5516. "'" +
  5517. aTool +
  5518. "'" +
  5519. ", " +
  5520. "`" +
  5521. text +
  5522. "`" +
  5523. ")\n" +
  5524. " });\n" +
  5525. "}\n" +
  5526. "document.head.appendChild(_js);\n";
  5527. _iframe.contentWindow.document.head.appendChild(_ajs);
  5528. }
  5529. }
  5530. //U.MD.D.I.openClick(str);
  5531. //如果有任務欄信息
  5532. // if (_taskbar) {
  5533. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5534. // }
  5535. }
  5536. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  5537. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5538. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5539. _userinfo = US.userInfo, //登錄用戶信息
  5540. _userid = US.userInfo.userid //登錄用戶id
  5541. let _iframe;
  5542. let _cid = cid,
  5543. _stage = stage,
  5544. _task = task,
  5545. _tool = tool;
  5546. var _jie = $$("div", {
  5547. "style": {
  5548. "position": "absolute",
  5549. "bottom": "50px",
  5550. "right": "50px",
  5551. "zIndex": "9999",
  5552. "backgroundColor": "#2268bc",
  5553. "color": "#fff",
  5554. "padding": "12px 20px",
  5555. "cursor": "pointer",
  5556. "borderRadius": "4px",
  5557. },
  5558. "innerHTML": "提交作業"
  5559. })
  5560. let aTool = ''
  5561. let _loading = document.createElement('div')
  5562. _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;"
  5563. // _loading.id = "";
  5564. let _lchild = document.createElement('div')
  5565. let _limg = document.createElement('img')
  5566. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5567. _limg.style = "width: 26px;margin-right: 10px;"
  5568. _lchild.appendChild(_limg)
  5569. let _lspan = document.createElement('span')
  5570. _lspan.innerHTML = "上傳中..."
  5571. _lchild.appendChild(_lspan)
  5572. _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%);"
  5573. _loading.appendChild(_lchild)
  5574. var _box = $$('div', {
  5575. "style": {
  5576. "position": "relative",
  5577. "width": "100%",
  5578. "height": "100%",
  5579. },
  5580. })
  5581. _box.appendChild(_loading)
  5582. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  5583. switch (str) {
  5584. case "whiteboard":
  5585. aTool = 1;
  5586. _iframe = $$("iframe", {
  5587. "frameborder": "no",
  5588. "border": "0",
  5589. "scrolling ": "no",
  5590. "style": {
  5591. "cssText": "border:0;width:100%;height:100%"
  5592. },
  5593. "src": "https://iwb.cocorobo.hk/"
  5594. })
  5595. _box.appendChild(_iframe);
  5596. _box.appendChild(_jie);
  5597. _formdiv = new U.UF.UI.form(
  5598. "電子白板",
  5599. _box, {
  5600. "id": "whiteboard" + cid + stage + task + tool,
  5601. "style": {
  5602. "width": "90%",
  5603. "height": "90%",
  5604. "overflow": 'hidden'
  5605. },
  5606. "onresize": function () { }
  5607. }, {
  5608. closecallback: function () { }
  5609. }, {
  5610. "style": {
  5611. "height": "36px"
  5612. }
  5613. }).form; //創建窗體
  5614. _taskbar = {
  5615. "id": str + _formdiv.id,
  5616. "style": {
  5617. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5618. },
  5619. "name": "電子白板",
  5620. "forms": _formdiv,
  5621. "click": function () {
  5622. U.MD.D.I.openApplication(str, obj, info);
  5623. }
  5624. }
  5625. break;
  5626. case "mind":
  5627. aTool = 3;
  5628. _iframe = $$("iframe", {
  5629. "frameborder": "no",
  5630. "border": "0",
  5631. "scrolling ": "no",
  5632. "style": {
  5633. "cssText": "border:0;width:100%;height:100%"
  5634. },
  5635. "src": "/kityminder-editor/dist/index.html"
  5636. })
  5637. _box.appendChild(_iframe);
  5638. _box.appendChild(_jie);
  5639. _formdiv = new U.UF.UI.form(
  5640. "思維導圖",
  5641. _box, { //"/jsmind/example/demo.html"
  5642. "id": "mind" + cid + stage + task + tool,
  5643. "style": {
  5644. "width": "90%",
  5645. "height": "90%",
  5646. "overflow": 'hidden'
  5647. },
  5648. "onresize": function () { }
  5649. }, {
  5650. closecallback: function () { }
  5651. }, {
  5652. "style": {
  5653. "height": "36px"
  5654. }
  5655. }).form; //創建窗體
  5656. _taskbar = {
  5657. "id": str + _formdiv.id,
  5658. "style": {
  5659. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5660. },
  5661. "name": "思維導圖",
  5662. "forms": _formdiv,
  5663. "click": function () {
  5664. U.MD.D.I.openApplication(str, obj, info);
  5665. }
  5666. }
  5667. break;
  5668. case "MindMap":
  5669. aTool = 3;
  5670. _iframe = $$("iframe", {
  5671. "frameborder": "no",
  5672. "border": "0",
  5673. "scrolling ": "no",
  5674. "style": {
  5675. "cssText": "border:0;width:100%;height:100%"
  5676. },
  5677. "src": "//cloud.cocorobo.hk/mind/"
  5678. })
  5679. _box.appendChild(_iframe);
  5680. _box.appendChild(_jie);
  5681. _formdiv = new U.UF.UI.form(
  5682. "思維導圖",
  5683. _box, { //"/jsmind/example/demo.html"
  5684. "id": "mind" + cid + stage + task + tool,
  5685. "style": {
  5686. "width": "90%",
  5687. "height": "90%",
  5688. "overflow": 'hidden'
  5689. },
  5690. "onresize": function () { }
  5691. }, {
  5692. closecallback: function () { }
  5693. }, {
  5694. "style": {
  5695. "height": "36px"
  5696. }
  5697. }).form; //創建窗體
  5698. _taskbar = {
  5699. "id": str + _formdiv.id,
  5700. "style": {
  5701. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5702. },
  5703. "name": "思維導圖",
  5704. "forms": _formdiv,
  5705. "click": function () {
  5706. U.MD.D.I.openApplication(str, obj, info);
  5707. }
  5708. }
  5709. break;
  5710. case "doc":
  5711. aTool = 6;
  5712. _iframe = $$("iframe", {
  5713. "frameborder": "no",
  5714. "border": "0",
  5715. "scrolling ": "no",
  5716. "style": {
  5717. "cssText": "border:0;width:100%;height:100%"
  5718. },
  5719. "src": "/Office/Word/WordEditArea.htm"
  5720. })
  5721. _box.appendChild(_iframe);
  5722. _box.appendChild(_jie);
  5723. _formdiv = new U.UF.UI.form(
  5724. "協同文檔",
  5725. _box, {
  5726. "id": "doc" + cid + stage + task + tool,
  5727. "style": {
  5728. "width": "90%",
  5729. "height": "90%",
  5730. "overflow": 'hidden'
  5731. },
  5732. "onresize": function () { }
  5733. }, {
  5734. closecallback: function () { }
  5735. }, {
  5736. "style": {
  5737. "height": "36px"
  5738. }
  5739. }).form; //創建窗體
  5740. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5741. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5742. })
  5743. _taskbar = {
  5744. "id": str + _formdiv.id,
  5745. "style": {
  5746. "backgroundImage": "url(/img/icon/doc.png)"
  5747. },
  5748. "name": "協同文檔",
  5749. "forms": _formdiv,
  5750. "click": function () {
  5751. U.MD.D.I.openApplication(str, obj, info);
  5752. }
  5753. }
  5754. break;
  5755. case "mindNetwork": //好友打開
  5756. aTool = 7;
  5757. _iframe = $$("iframe", {
  5758. "webkitallowfullscreen": "",
  5759. "mozallowfullscreen": "",
  5760. "allowfullscreen": "",
  5761. "frameborder": "no",
  5762. "border": "0",
  5763. "scrolling ": "no",
  5764. "style": {
  5765. "cssText": "border:0; width:100%; height:100%;"
  5766. },
  5767. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5768. })
  5769. _box.appendChild(_iframe);
  5770. _box.appendChild(_jie);
  5771. _formdiv = new U.UF.UI.form(
  5772. "思維網格",
  5773. _box, {
  5774. "id": "mindNetwork" + cid + stage + task + tool,
  5775. "style": {
  5776. "width": "90%",
  5777. "height": "90%",
  5778. "overflow": 'hidden'
  5779. },
  5780. "onresize": function () { }
  5781. }, {
  5782. closecallback: function () { }
  5783. }, {
  5784. "style": {
  5785. "height": "36px"
  5786. }
  5787. }).form; //創建窗體
  5788. _taskbar = {
  5789. "id": str + _formdiv.id,
  5790. "style": {
  5791. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5792. },
  5793. "name": "思維網格",
  5794. "forms": _formdiv,
  5795. "click": function () {
  5796. U.MD.D.I.openApplication(str, obj, info);
  5797. }
  5798. }
  5799. break;
  5800. case "courseDesign":
  5801. _iframe = $$("iframe", {
  5802. "webkitallowfullscreen": "",
  5803. "mozallowfullscreen": "",
  5804. "allowfullscreen": "",
  5805. "frameborder": "no",
  5806. "border": "0",
  5807. "scrolling ": "no",
  5808. "style": {
  5809. "cssText": "border:0; width:100%; height:100%;"
  5810. },
  5811. "src": "/course-design-vue"
  5812. })
  5813. _box.appendChild(_iframe);
  5814. _box.appendChild(_jie);
  5815. _formdiv = new U.UF.UI.form(
  5816. "項目設計",
  5817. _box, {
  5818. "id": "courseDesign" + cid + stage + task + tool,
  5819. "style": {
  5820. "width": "90%",
  5821. "height": "90%",
  5822. "overflow": 'hidden'
  5823. },
  5824. "onresize": function () { }
  5825. }, {
  5826. closecallback: function () { }
  5827. }, {
  5828. "style": {
  5829. "height": "36px"
  5830. }
  5831. }).form; //創建窗體
  5832. _taskbar = {
  5833. "id": str + _formdiv.id,
  5834. "style": {
  5835. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5836. },
  5837. "name": "項目設計",
  5838. "forms": _formdiv,
  5839. "click": function () {
  5840. U.MD.D.I.openApplication(str, obj, info);
  5841. }
  5842. }
  5843. break;
  5844. }
  5845. const script1 = document.createElement("script");
  5846. script1.type = "text/javascript";
  5847. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5848. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5849. const script2 = document.createElement("script");
  5850. script2.type = "text/javascript";
  5851. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5852. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5853. const script3 = document.createElement("script");
  5854. script3.type = "text/javascript";
  5855. script3.charset = "UTF-8";
  5856. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5857. const script4 = document.createElement("script");
  5858. script4.type = "text/javascript";
  5859. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5860. script4.src = window.origin + "/js/Common/jietu2E.js";
  5861. if (_iframe) {
  5862. if (str == 'doc') {
  5863. _iframe = _formdiv.querySelector('iframe')
  5864. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5865. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5866. _iframe.contentWindow.document.body.appendChild(script1);
  5867. _iframe.contentWindow.document.body.appendChild(script2);
  5868. // _iframe.contentWindow.document.body.appendChild(script3);
  5869. _iframe.contentWindow.document.body.appendChild(script4);
  5870. })
  5871. if (onloadListener) {
  5872. _iframe.contentDocument.location.reload()
  5873. } else {
  5874. _iframe.contentDocument.location.reload()
  5875. }
  5876. } else if (str == 'courseDesign') {
  5877. U.UF.DL.iframeLoad(_iframe, function () {
  5878. // _iframe.contentWindow.U.MD.O.W.load();
  5879. // _iframe.contentWindow.document.body.appendChild(script1);
  5880. _iframe.contentWindow.document.body.appendChild(script2);
  5881. _iframe.contentWindow.document.body.appendChild(script4);
  5882. })
  5883. } else if (str == 'mind') {
  5884. _iframe = _formdiv.querySelector('iframe')
  5885. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5886. //
  5887. _iframe.contentWindow.document.body.appendChild(script1);
  5888. _iframe.contentWindow.document.body.appendChild(script2);
  5889. _iframe.contentWindow.document.body.appendChild(script4);
  5890. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5891. })
  5892. if (onloadListener) {
  5893. _iframe.contentDocument.location.reload()
  5894. } else {
  5895. _iframe.contentDocument.location.reload()
  5896. }
  5897. } else if (str == 'whiteboard') {
  5898. _iframe = _formdiv.querySelector('iframe')
  5899. let onloadListener = _iframe.onload = () => {
  5900. _iframe.contentWindow.document.body.appendChild(script1);
  5901. _iframe.contentWindow.document.body.appendChild(script2);
  5902. _iframe.contentWindow.document.body.appendChild(script4);
  5903. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5904. };
  5905. if (onloadListener) {
  5906. _iframe.contentDocument.location.reload()
  5907. } else {
  5908. _iframe.contentDocument.location.reload()
  5909. }
  5910. } else {
  5911. _iframe.onload = () => {
  5912. _iframe.contentWindow.document.body.appendChild(script1);
  5913. _iframe.contentWindow.document.body.appendChild(script2);
  5914. // _iframe.contentWindow.document.body.appendChild(script3);
  5915. _iframe.contentWindow.document.body.appendChild(script4);
  5916. };
  5917. }
  5918. _jie.onclick = async () => {
  5919. let text = ''
  5920. if (aTool == 1) {
  5921. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5922. } else if (aTool == 6) {
  5923. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5924. } else if (aTool == 3) {
  5925. text = await U.MD.D.I.getEditorContent(_iframe);
  5926. }
  5927. _loading.style.display = 'flex'
  5928. console.log(_loading);
  5929. var _ajs = _iframe.contentWindow.document.createElement("script");
  5930. _ajs.type = "text/javascript";
  5931. _ajs.innerHTML =
  5932. // 'console.log(' + _loading + ');\n' +
  5933. 'var _js = document.createElement("script");\n' +
  5934. '_js.type="text/javascript";\n' +
  5935. '_js.charset="UTF-8";\n' +
  5936. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5937. "_js.onload = function(){\n" +
  5938. ' var a = document.getElementsByTagName("img")\n' +
  5939. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5940. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5941. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5942. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5943. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5944. "beforeUpload_shishi(file," +
  5945. "'" +
  5946. _userid +
  5947. "'" +
  5948. ", " +
  5949. "'" +
  5950. _cid +
  5951. "'" +
  5952. ", " +
  5953. "'" +
  5954. _stage +
  5955. "'" +
  5956. ", " +
  5957. "'" +
  5958. _task +
  5959. "'" +
  5960. ", " +
  5961. "'" +
  5962. _tool +
  5963. "'" +
  5964. ", " +
  5965. "'" +
  5966. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5967. "'" +
  5968. ", " +
  5969. "'" +
  5970. aTool +
  5971. "'" +
  5972. ", " +
  5973. "`" +
  5974. text +
  5975. "`" +
  5976. ")\n" +
  5977. " });\n" +
  5978. "}\n" +
  5979. "document.head.appendChild(_js);\n";
  5980. _iframe.contentWindow.document.head.appendChild(_ajs);
  5981. }
  5982. }
  5983. //U.MD.D.I.openClick(str);
  5984. //如果有任務欄信息
  5985. // if (_taskbar) {
  5986. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5987. // }
  5988. }
  5989. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5990. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5991. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5992. _userid = student.userid, //登錄用戶id
  5993. _username = student.student //用戶名字
  5994. let _iframe;
  5995. let _cid = cid,
  5996. _stage = stage,
  5997. _task = task,
  5998. _tool = tool;
  5999. var _jie = $$("div", {
  6000. "style": {
  6001. "position": "absolute",
  6002. "bottom": "50px",
  6003. "right": "50px",
  6004. "zIndex": "9999",
  6005. "backgroundColor": "#2268bc",
  6006. "color": "#fff",
  6007. "padding": "12px 20px",
  6008. "cursor": "pointer",
  6009. "borderRadius": "4px",
  6010. },
  6011. "innerHTML": "提交作業"
  6012. })
  6013. let aTool = ''
  6014. let _loading = document.createElement('div')
  6015. _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;"
  6016. // _loading.id = "";
  6017. let _lchild = document.createElement('div')
  6018. let _limg = document.createElement('img')
  6019. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6020. _limg.style = "width: 26px;margin-right: 10px;"
  6021. _lchild.appendChild(_limg)
  6022. let _lspan = document.createElement('span')
  6023. _lspan.innerHTML = "上傳中..."
  6024. _lchild.appendChild(_lspan)
  6025. _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%);"
  6026. _loading.appendChild(_lchild)
  6027. var _box = $$('div', {
  6028. "style": {
  6029. "position": "relative",
  6030. "width": "100%",
  6031. "height": "100%",
  6032. },
  6033. })
  6034. _box.appendChild(_loading)
  6035. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  6036. switch (str) {
  6037. case "whiteboard":
  6038. aTool = 1;
  6039. _iframe = $$("iframe", {
  6040. "frameborder": "no",
  6041. "border": "0",
  6042. "scrolling ": "no",
  6043. "style": {
  6044. "cssText": "border:0;width:100%;height:100%"
  6045. },
  6046. "src": "https://iwb.cocorobo.hk/"
  6047. })
  6048. _box.appendChild(_iframe);
  6049. _box.appendChild(_jie);
  6050. _formdiv = new U.UF.UI.form(
  6051. "電子白板-" + _username,
  6052. _box, {
  6053. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6054. "style": {
  6055. "width": "90%",
  6056. "height": "90%",
  6057. "overflow": 'hidden'
  6058. },
  6059. "onresize": function () { }
  6060. }, {
  6061. closecallback: function () { }
  6062. }, {
  6063. "style": {
  6064. "height": "36px"
  6065. }
  6066. }).form; //創建窗體
  6067. _taskbar = {
  6068. "id": str + _formdiv.id,
  6069. "style": {
  6070. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6071. },
  6072. "name": "電子白板",
  6073. "forms": _formdiv,
  6074. "click": function () {
  6075. U.MD.D.I.openApplication(str, obj, info);
  6076. }
  6077. }
  6078. break;
  6079. case "mind":
  6080. aTool = 3;
  6081. _iframe = $$("iframe", {
  6082. "frameborder": "no",
  6083. "border": "0",
  6084. "scrolling ": "no",
  6085. "style": {
  6086. "cssText": "border:0;width:100%;height:100%"
  6087. },
  6088. "src": "/kityminder-editor/dist/index.html"
  6089. })
  6090. _box.appendChild(_iframe);
  6091. _box.appendChild(_jie);
  6092. _formdiv = new U.UF.UI.form(
  6093. "思維導圖-" + _username,
  6094. _box, { //"/jsmind/example/demo.html"
  6095. "id": "mind" + cid + stage + task + tool + _userid,
  6096. "style": {
  6097. "width": "90%",
  6098. "height": "90%",
  6099. "overflow": 'hidden'
  6100. },
  6101. "onresize": function () { }
  6102. }, {
  6103. closecallback: function () { }
  6104. }, {
  6105. "style": {
  6106. "height": "36px"
  6107. }
  6108. }).form; //創建窗體
  6109. _taskbar = {
  6110. "id": str + _formdiv.id,
  6111. "style": {
  6112. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6113. },
  6114. "name": "思維導圖",
  6115. "forms": _formdiv,
  6116. "click": function () {
  6117. U.MD.D.I.openApplication(str, obj, info);
  6118. }
  6119. }
  6120. break;
  6121. case "MindMap":
  6122. aTool = 3;
  6123. _iframe = $$("iframe", {
  6124. "frameborder": "no",
  6125. "border": "0",
  6126. "scrolling ": "no",
  6127. "style": {
  6128. "cssText": "border:0;width:100%;height:100%"
  6129. },
  6130. "src": "//cloud.cocorobo.hk/mind/"
  6131. })
  6132. _box.appendChild(_iframe);
  6133. _box.appendChild(_jie);
  6134. _formdiv = new U.UF.UI.form(
  6135. "思維導圖-" + _username,
  6136. _box, { //"/jsmind/example/demo.html"
  6137. "id": "mind" + cid + stage + task + tool + _userid,
  6138. "style": {
  6139. "width": "90%",
  6140. "height": "90%",
  6141. "overflow": 'hidden'
  6142. },
  6143. "onresize": function () { }
  6144. }, {
  6145. closecallback: function () { }
  6146. }, {
  6147. "style": {
  6148. "height": "36px"
  6149. }
  6150. }).form; //創建窗體
  6151. _taskbar = {
  6152. "id": str + _formdiv.id,
  6153. "style": {
  6154. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6155. },
  6156. "name": "思維導圖",
  6157. "forms": _formdiv,
  6158. "click": function () {
  6159. U.MD.D.I.openApplication(str, obj, info);
  6160. }
  6161. }
  6162. break;
  6163. case "doc":
  6164. aTool = 6;
  6165. _iframe = $$("iframe", {
  6166. "frameborder": "no",
  6167. "border": "0",
  6168. "scrolling ": "no",
  6169. "style": {
  6170. "cssText": "border:0;width:100%;height:100%"
  6171. },
  6172. "src": "/Office/Word/WordEditArea.htm"
  6173. })
  6174. _box.appendChild(_iframe);
  6175. _box.appendChild(_jie);
  6176. _formdiv = new U.UF.UI.form(
  6177. "協同文檔-" + _username,
  6178. _box, {
  6179. "id": "doc" + cid + stage + task + tool + _userid,
  6180. "style": {
  6181. "width": "90%",
  6182. "height": "90%",
  6183. "overflow": 'hidden'
  6184. },
  6185. "onresize": function () { }
  6186. }, {
  6187. closecallback: function () { }
  6188. }, {
  6189. "style": {
  6190. "height": "36px"
  6191. }
  6192. }).form; //創建窗體
  6193. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6194. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6195. })
  6196. _taskbar = {
  6197. "id": str + _formdiv.id,
  6198. "style": {
  6199. "backgroundImage": "url(/img/icon/doc.png)"
  6200. },
  6201. "name": "協同文檔",
  6202. "forms": _formdiv,
  6203. "click": function () {
  6204. U.MD.D.I.openApplication(str, obj, info);
  6205. }
  6206. }
  6207. break;
  6208. case "mindNetwork": //好友打開
  6209. aTool = 7;
  6210. _iframe = $$("iframe", {
  6211. "webkitallowfullscreen": "",
  6212. "mozallowfullscreen": "",
  6213. "allowfullscreen": "",
  6214. "frameborder": "no",
  6215. "border": "0",
  6216. "scrolling ": "no",
  6217. "style": {
  6218. "cssText": "border:0; width:100%; height:100%;"
  6219. },
  6220. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6221. })
  6222. _box.appendChild(_iframe);
  6223. _box.appendChild(_jie);
  6224. _formdiv = new U.UF.UI.form(
  6225. "思維網格-" + _username,
  6226. _box, {
  6227. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6228. "style": {
  6229. "width": "90%",
  6230. "height": "90%",
  6231. "overflow": 'hidden'
  6232. },
  6233. "onresize": function () { }
  6234. }, {
  6235. closecallback: function () { }
  6236. }, {
  6237. "style": {
  6238. "height": "36px"
  6239. }
  6240. }).form; //創建窗體
  6241. _taskbar = {
  6242. "id": str + _formdiv.id,
  6243. "style": {
  6244. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6245. },
  6246. "name": "思維網格",
  6247. "forms": _formdiv,
  6248. "click": function () {
  6249. U.MD.D.I.openApplication(str, obj, info);
  6250. }
  6251. }
  6252. break;
  6253. case "courseDesign":
  6254. _iframe = $$("iframe", {
  6255. "webkitallowfullscreen": "",
  6256. "mozallowfullscreen": "",
  6257. "allowfullscreen": "",
  6258. "frameborder": "no",
  6259. "border": "0",
  6260. "scrolling ": "no",
  6261. "style": {
  6262. "cssText": "border:0; width:100%; height:100%;"
  6263. },
  6264. "src": "/course-design-vue"
  6265. })
  6266. _box.appendChild(_iframe);
  6267. _box.appendChild(_jie);
  6268. _formdiv = new U.UF.UI.form(
  6269. "項目設計-" + _username,
  6270. _box, {
  6271. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6272. "style": {
  6273. "width": "90%",
  6274. "height": "90%",
  6275. "overflow": 'hidden'
  6276. },
  6277. "onresize": function () { }
  6278. }, {
  6279. closecallback: function () { }
  6280. }, {
  6281. "style": {
  6282. "height": "36px"
  6283. }
  6284. }).form; //創建窗體
  6285. _taskbar = {
  6286. "id": str + _formdiv.id,
  6287. "style": {
  6288. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6289. },
  6290. "name": "項目設計",
  6291. "forms": _formdiv,
  6292. "click": function () {
  6293. U.MD.D.I.openApplication(str, obj, info);
  6294. }
  6295. }
  6296. break;
  6297. }
  6298. const script1 = document.createElement("script");
  6299. script1.type = "text/javascript";
  6300. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6301. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6302. const script2 = document.createElement("script");
  6303. script2.type = "text/javascript";
  6304. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6305. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6306. const script3 = document.createElement("script");
  6307. script3.type = "text/javascript";
  6308. script3.charset = "UTF-8";
  6309. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6310. const script4 = document.createElement("script");
  6311. script4.type = "text/javascript";
  6312. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6313. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  6314. if (_iframe) {
  6315. if (str == 'doc') {
  6316. _iframe = _formdiv.querySelector('iframe')
  6317. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6318. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6319. _iframe.contentWindow.document.body.appendChild(script1);
  6320. _iframe.contentWindow.document.body.appendChild(script2);
  6321. // _iframe.contentWindow.document.body.appendChild(script3);
  6322. _iframe.contentWindow.document.body.appendChild(script4);
  6323. })
  6324. if (onloadListener) {
  6325. _iframe.contentDocument.location.reload()
  6326. } else {
  6327. _iframe.contentDocument.location.reload()
  6328. }
  6329. } else if (str == 'courseDesign') {
  6330. U.UF.DL.iframeLoad(_iframe, function () {
  6331. // _iframe.contentWindow.U.MD.O.W.load();
  6332. // _iframe.contentWindow.document.body.appendChild(script1);
  6333. _iframe.contentWindow.document.body.appendChild(script2);
  6334. _iframe.contentWindow.document.body.appendChild(script4);
  6335. })
  6336. } else if (str == 'mind') {
  6337. _iframe = _formdiv.querySelector('iframe')
  6338. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6339. //
  6340. _iframe.contentWindow.document.body.appendChild(script1);
  6341. _iframe.contentWindow.document.body.appendChild(script2);
  6342. _iframe.contentWindow.document.body.appendChild(script4);
  6343. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6344. })
  6345. if (onloadListener) {
  6346. _iframe.contentDocument.location.reload()
  6347. } else {
  6348. _iframe.contentDocument.location.reload()
  6349. }
  6350. } else if (str == 'whiteboard') {
  6351. _iframe = _formdiv.querySelector('iframe')
  6352. let onloadListener = _iframe.onload = () => {
  6353. _iframe.contentWindow.document.body.appendChild(script1);
  6354. _iframe.contentWindow.document.body.appendChild(script2);
  6355. _iframe.contentWindow.document.body.appendChild(script4);
  6356. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6357. };
  6358. if (onloadListener) {
  6359. _iframe.contentDocument.location.reload()
  6360. } else {
  6361. _iframe.contentDocument.location.reload()
  6362. }
  6363. } else {
  6364. _iframe.onload = () => {
  6365. _iframe.contentWindow.document.body.appendChild(script1);
  6366. _iframe.contentWindow.document.body.appendChild(script2);
  6367. // _iframe.contentWindow.document.body.appendChild(script3);
  6368. _iframe.contentWindow.document.body.appendChild(script4);
  6369. };
  6370. }
  6371. _jie.onclick = async () => {
  6372. let text = ''
  6373. if (aTool == 1) {
  6374. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6375. } else if (aTool == 6) {
  6376. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6377. } else if (aTool == 3) {
  6378. text = await U.MD.D.I.getEditorContent(_iframe);
  6379. }
  6380. _loading.style.display = 'flex'
  6381. console.log(_loading);
  6382. var _ajs = _iframe.contentWindow.document.createElement("script");
  6383. _ajs.type = "text/javascript";
  6384. _ajs.innerHTML =
  6385. // 'console.log(' + _loading + ');\n' +
  6386. 'var _js = document.createElement("script");\n' +
  6387. '_js.type="text/javascript";\n' +
  6388. '_js.charset="UTF-8";\n' +
  6389. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6390. "_js.onload = function(){\n" +
  6391. ' var a = document.getElementsByTagName("img")\n' +
  6392. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6393. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6394. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6395. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6396. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6397. "beforeUpload_shishi(file," +
  6398. "'" +
  6399. _userid +
  6400. "'" +
  6401. ", " +
  6402. "'" +
  6403. _cid +
  6404. "'" +
  6405. ", " +
  6406. "'" +
  6407. _stage +
  6408. "'" +
  6409. ", " +
  6410. "'" +
  6411. _task +
  6412. "'" +
  6413. ", " +
  6414. "'" +
  6415. _tool +
  6416. "'" +
  6417. ", " +
  6418. "'" +
  6419. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  6420. "'" +
  6421. ", " +
  6422. "'" +
  6423. aTool +
  6424. "'" +
  6425. ", " +
  6426. "`" +
  6427. text +
  6428. "`" +
  6429. ")\n" +
  6430. " });\n" +
  6431. "}\n" +
  6432. "document.head.appendChild(_js);\n";
  6433. _iframe.contentWindow.document.head.appendChild(_ajs);
  6434. }
  6435. }
  6436. }
  6437. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  6438. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6439. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6440. _userid = student.userid, //登錄用戶id
  6441. _username = student.student //用戶名字
  6442. let _iframe;
  6443. let _cid = cid,
  6444. _stage = stage,
  6445. _task = task,
  6446. _tool = tool;
  6447. var _jie = $$("div", {
  6448. "style": {
  6449. "position": "absolute",
  6450. "bottom": "50px",
  6451. "right": "50px",
  6452. "zIndex": "9999",
  6453. "backgroundColor": "#2268bc",
  6454. "color": "#fff",
  6455. "padding": "12px 20px",
  6456. "cursor": "pointer",
  6457. "borderRadius": "4px",
  6458. },
  6459. "innerHTML": "提交作業"
  6460. })
  6461. let aTool = ''
  6462. let _loading = document.createElement('div')
  6463. _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;"
  6464. // _loading.id = "";
  6465. let _lchild = document.createElement('div')
  6466. let _limg = document.createElement('img')
  6467. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6468. _limg.style = "width: 26px;margin-right: 10px;"
  6469. _lchild.appendChild(_limg)
  6470. let _lspan = document.createElement('span')
  6471. _lspan.innerHTML = "上傳中..."
  6472. _lchild.appendChild(_lspan)
  6473. _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%);"
  6474. _loading.appendChild(_lchild)
  6475. var _box = $$('div', {
  6476. "style": {
  6477. "position": "relative",
  6478. "width": "100%",
  6479. "height": "100%",
  6480. },
  6481. })
  6482. _box.appendChild(_loading)
  6483. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  6484. switch (str) {
  6485. case "whiteboard":
  6486. aTool = 1;
  6487. _iframe = $$("iframe", {
  6488. "frameborder": "no",
  6489. "border": "0",
  6490. "scrolling ": "no",
  6491. "style": {
  6492. "cssText": "border:0;width:100%;height:100%"
  6493. },
  6494. "src": "https://iwb.cocorobo.hk/"
  6495. })
  6496. _box.appendChild(_iframe);
  6497. _box.appendChild(_jie);
  6498. _formdiv = new U.UF.UI.form(
  6499. "電子白板-" + _username,
  6500. _box, {
  6501. "id": "whiteboard" + cid + stage + task + tool + _userid,
  6502. "style": {
  6503. "width": "90%",
  6504. "height": "90%",
  6505. "overflow": 'hidden'
  6506. },
  6507. "onresize": function () { }
  6508. }, {
  6509. closecallback: function () { }
  6510. }, {
  6511. "style": {
  6512. "height": "36px"
  6513. }
  6514. }).form; //創建窗體
  6515. _taskbar = {
  6516. "id": str + _formdiv.id,
  6517. "style": {
  6518. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6519. },
  6520. "name": "電子白板",
  6521. "forms": _formdiv,
  6522. "click": function () {
  6523. U.MD.D.I.openApplication(str, obj, info);
  6524. }
  6525. }
  6526. break;
  6527. case "mind":
  6528. aTool = 3;
  6529. _iframe = $$("iframe", {
  6530. "frameborder": "no",
  6531. "border": "0",
  6532. "scrolling ": "no",
  6533. "style": {
  6534. "cssText": "border:0;width:100%;height:100%"
  6535. },
  6536. "src": "/kityminder-editor/dist/index.html"
  6537. })
  6538. _box.appendChild(_iframe);
  6539. _box.appendChild(_jie);
  6540. _formdiv = new U.UF.UI.form(
  6541. "思維導圖-" + _username,
  6542. _box, { //"/jsmind/example/demo.html"
  6543. "id": "mind" + cid + stage + task + tool + _userid,
  6544. "style": {
  6545. "width": "90%",
  6546. "height": "90%",
  6547. "overflow": 'hidden'
  6548. },
  6549. "onresize": function () { }
  6550. }, {
  6551. closecallback: function () { }
  6552. }, {
  6553. "style": {
  6554. "height": "36px"
  6555. }
  6556. }).form; //創建窗體
  6557. _taskbar = {
  6558. "id": str + _formdiv.id,
  6559. "style": {
  6560. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6561. },
  6562. "name": "思維導圖",
  6563. "forms": _formdiv,
  6564. "click": function () {
  6565. U.MD.D.I.openApplication(str, obj, info);
  6566. }
  6567. }
  6568. break;
  6569. case "MindMap":
  6570. aTool = 3;
  6571. _iframe = $$("iframe", {
  6572. "frameborder": "no",
  6573. "border": "0",
  6574. "scrolling ": "no",
  6575. "style": {
  6576. "cssText": "border:0;width:100%;height:100%"
  6577. },
  6578. "src": "//cloud.cocorobo.hk/mind/"
  6579. })
  6580. _box.appendChild(_iframe);
  6581. _box.appendChild(_jie);
  6582. _formdiv = new U.UF.UI.form(
  6583. "思維導圖-" + _username,
  6584. _box, { //"/jsmind/example/demo.html"
  6585. "id": "mind" + cid + stage + task + tool + _userid,
  6586. "style": {
  6587. "width": "90%",
  6588. "height": "90%",
  6589. "overflow": 'hidden'
  6590. },
  6591. "onresize": function () { }
  6592. }, {
  6593. closecallback: function () { }
  6594. }, {
  6595. "style": {
  6596. "height": "36px"
  6597. }
  6598. }).form; //創建窗體
  6599. _taskbar = {
  6600. "id": str + _formdiv.id,
  6601. "style": {
  6602. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6603. },
  6604. "name": "思維導圖",
  6605. "forms": _formdiv,
  6606. "click": function () {
  6607. U.MD.D.I.openApplication(str, obj, info);
  6608. }
  6609. }
  6610. break;
  6611. case "doc":
  6612. aTool = 6;
  6613. _iframe = $$("iframe", {
  6614. "frameborder": "no",
  6615. "border": "0",
  6616. "scrolling ": "no",
  6617. "style": {
  6618. "cssText": "border:0;width:100%;height:100%"
  6619. },
  6620. "src": "/Office/Word/WordEditArea.htm"
  6621. })
  6622. _box.appendChild(_iframe);
  6623. _box.appendChild(_jie);
  6624. _formdiv = new U.UF.UI.form(
  6625. "協同文檔-" + _username,
  6626. _box, {
  6627. "id": "doc" + cid + stage + task + tool + _userid,
  6628. "style": {
  6629. "width": "90%",
  6630. "height": "90%",
  6631. "overflow": 'hidden'
  6632. },
  6633. "onresize": function () { }
  6634. }, {
  6635. closecallback: function () { }
  6636. }, {
  6637. "style": {
  6638. "height": "36px"
  6639. }
  6640. }).form; //創建窗體
  6641. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6642. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6643. })
  6644. _taskbar = {
  6645. "id": str + _formdiv.id,
  6646. "style": {
  6647. "backgroundImage": "url(/img/icon/doc.png)"
  6648. },
  6649. "name": "協同文檔",
  6650. "forms": _formdiv,
  6651. "click": function () {
  6652. U.MD.D.I.openApplication(str, obj, info);
  6653. }
  6654. }
  6655. break;
  6656. case "mindNetwork": //好友打開
  6657. aTool = 7;
  6658. _iframe = $$("iframe", {
  6659. "webkitallowfullscreen": "",
  6660. "mozallowfullscreen": "",
  6661. "allowfullscreen": "",
  6662. "frameborder": "no",
  6663. "border": "0",
  6664. "scrolling ": "no",
  6665. "style": {
  6666. "cssText": "border:0; width:100%; height:100%;"
  6667. },
  6668. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6669. })
  6670. _box.appendChild(_iframe);
  6671. _box.appendChild(_jie);
  6672. _formdiv = new U.UF.UI.form(
  6673. "思維網格-" + _username,
  6674. _box, {
  6675. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6676. "style": {
  6677. "width": "90%",
  6678. "height": "90%",
  6679. "overflow": 'hidden'
  6680. },
  6681. "onresize": function () { }
  6682. }, {
  6683. closecallback: function () { }
  6684. }, {
  6685. "style": {
  6686. "height": "36px"
  6687. }
  6688. }).form; //創建窗體
  6689. _taskbar = {
  6690. "id": str + _formdiv.id,
  6691. "style": {
  6692. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6693. },
  6694. "name": "思維網格",
  6695. "forms": _formdiv,
  6696. "click": function () {
  6697. U.MD.D.I.openApplication(str, obj, info);
  6698. }
  6699. }
  6700. break;
  6701. case "courseDesign":
  6702. _iframe = $$("iframe", {
  6703. "webkitallowfullscreen": "",
  6704. "mozallowfullscreen": "",
  6705. "allowfullscreen": "",
  6706. "frameborder": "no",
  6707. "border": "0",
  6708. "scrolling ": "no",
  6709. "style": {
  6710. "cssText": "border:0; width:100%; height:100%;"
  6711. },
  6712. "src": "/course-design-vue"
  6713. })
  6714. _box.appendChild(_iframe);
  6715. _box.appendChild(_jie);
  6716. _formdiv = new U.UF.UI.form(
  6717. "項目設計-" + _username,
  6718. _box, {
  6719. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6720. "style": {
  6721. "width": "90%",
  6722. "height": "90%",
  6723. "overflow": 'hidden'
  6724. },
  6725. "onresize": function () { }
  6726. }, {
  6727. closecallback: function () { }
  6728. }, {
  6729. "style": {
  6730. "height": "36px"
  6731. }
  6732. }).form; //創建窗體
  6733. _taskbar = {
  6734. "id": str + _formdiv.id,
  6735. "style": {
  6736. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6737. },
  6738. "name": "項目設計",
  6739. "forms": _formdiv,
  6740. "click": function () {
  6741. U.MD.D.I.openApplication(str, obj, info);
  6742. }
  6743. }
  6744. break;
  6745. }
  6746. const script1 = document.createElement("script");
  6747. script1.type = "text/javascript";
  6748. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6749. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6750. const script2 = document.createElement("script");
  6751. script2.type = "text/javascript";
  6752. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6753. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6754. const script3 = document.createElement("script");
  6755. script3.type = "text/javascript";
  6756. script3.charset = "UTF-8";
  6757. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6758. const script4 = document.createElement("script");
  6759. script4.type = "text/javascript";
  6760. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6761. script4.src = window.origin + "/js/Common/jietu2E.js";
  6762. if (_iframe) {
  6763. if (str == 'doc') {
  6764. _iframe = _formdiv.querySelector('iframe')
  6765. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6766. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6767. _iframe.contentWindow.document.body.appendChild(script1);
  6768. _iframe.contentWindow.document.body.appendChild(script2);
  6769. // _iframe.contentWindow.document.body.appendChild(script3);
  6770. _iframe.contentWindow.document.body.appendChild(script4);
  6771. })
  6772. if (onloadListener) {
  6773. _iframe.contentDocument.location.reload()
  6774. } else {
  6775. _iframe.contentDocument.location.reload()
  6776. }
  6777. } else if (str == 'courseDesign') {
  6778. U.UF.DL.iframeLoad(_iframe, function () {
  6779. // _iframe.contentWindow.U.MD.O.W.load();
  6780. // _iframe.contentWindow.document.body.appendChild(script1);
  6781. _iframe.contentWindow.document.body.appendChild(script2);
  6782. _iframe.contentWindow.document.body.appendChild(script4);
  6783. })
  6784. } else if (str == 'mind') {
  6785. _iframe = _formdiv.querySelector('iframe')
  6786. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6787. //
  6788. _iframe.contentWindow.document.body.appendChild(script1);
  6789. _iframe.contentWindow.document.body.appendChild(script2);
  6790. _iframe.contentWindow.document.body.appendChild(script4);
  6791. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6792. })
  6793. if (onloadListener) {
  6794. _iframe.contentDocument.location.reload()
  6795. } else {
  6796. _iframe.contentDocument.location.reload()
  6797. }
  6798. } else if (str == 'whiteboard') {
  6799. _iframe = _formdiv.querySelector('iframe')
  6800. let onloadListener = _iframe.onload = () => {
  6801. _iframe.contentWindow.document.body.appendChild(script1);
  6802. _iframe.contentWindow.document.body.appendChild(script2);
  6803. _iframe.contentWindow.document.body.appendChild(script4);
  6804. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6805. };
  6806. if (onloadListener) {
  6807. _iframe.contentDocument.location.reload()
  6808. } else {
  6809. _iframe.contentDocument.location.reload()
  6810. }
  6811. } else {
  6812. _iframe.onload = () => {
  6813. _iframe.contentWindow.document.body.appendChild(script1);
  6814. _iframe.contentWindow.document.body.appendChild(script2);
  6815. // _iframe.contentWindow.document.body.appendChild(script3);
  6816. _iframe.contentWindow.document.body.appendChild(script4);
  6817. };
  6818. }
  6819. _jie.onclick = async () => {
  6820. let text = ''
  6821. if (aTool == 1) {
  6822. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6823. } else if (aTool == 6) {
  6824. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6825. } else if (aTool == 3) {
  6826. text = await U.MD.D.I.getEditorContent(_iframe);
  6827. }
  6828. _loading.style.display = 'flex'
  6829. console.log(_loading);
  6830. var _ajs = _iframe.contentWindow.document.createElement("script");
  6831. _ajs.type = "text/javascript";
  6832. _ajs.innerHTML =
  6833. // 'console.log(' + _loading + ');\n' +
  6834. 'var _js = document.createElement("script");\n' +
  6835. '_js.type="text/javascript";\n' +
  6836. '_js.charset="UTF-8";\n' +
  6837. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6838. "_js.onload = function(){\n" +
  6839. ' var a = document.getElementsByTagName("img")\n' +
  6840. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6841. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6842. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6843. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6844. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6845. "beforeUpload_shishi(file," +
  6846. "'" +
  6847. _userid +
  6848. "'" +
  6849. ", " +
  6850. "'" +
  6851. _cid +
  6852. "'" +
  6853. ", " +
  6854. "'" +
  6855. _stage +
  6856. "'" +
  6857. ", " +
  6858. "'" +
  6859. _task +
  6860. "'" +
  6861. ", " +
  6862. "'" +
  6863. _tool +
  6864. "'" +
  6865. ", " +
  6866. "'" +
  6867. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6868. "'" +
  6869. ", " +
  6870. "'" +
  6871. aTool +
  6872. "'" +
  6873. ", " +
  6874. "`" +
  6875. text +
  6876. "`" +
  6877. ")\n" +
  6878. " });\n" +
  6879. "}\n" +
  6880. "document.head.appendChild(_js);\n";
  6881. _iframe.contentWindow.document.head.appendChild(_ajs);
  6882. }
  6883. }
  6884. }
  6885. U.MD.D.I.getEditorContent = function (iframe) {
  6886. return new Promise((resolve, reject) => {
  6887. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6888. console.log(content);
  6889. resolve(content)
  6890. });
  6891. });
  6892. }
  6893. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6894. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6895. // if (res.value[0].length > 0) {
  6896. // // resolve(res.value[0][0].text);
  6897. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6898. // $(fileInput).val('');
  6899. // });
  6900. // }
  6901. // }, [], { "type": "GET", "withCredentials": true });
  6902. var xmlhttp;
  6903. var Mac, Sn, DeviceId
  6904. if (window.XMLHttpRequest) {
  6905. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  6906. xmlhttp = new XMLHttpRequest();
  6907. }
  6908. else {
  6909. // IE6, IE5 瀏覽器執行代碼
  6910. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6911. }
  6912. xmlhttp.onreadystatechange = function () {
  6913. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6914. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6915. // resolve(res.value[0][0].text);
  6916. if (type == '2') {
  6917. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6918. } else if (type == '3') {
  6919. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6920. }
  6921. } else {
  6922. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6923. }
  6924. }
  6925. }
  6926. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6927. xmlhttp.send();
  6928. }
  6929. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6930. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6931. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6932. _userinfo = US.userInfo, //登錄用戶信息
  6933. _userid = US.userInfo.userid //登錄用戶id
  6934. let _iframe;
  6935. let _cid = cid,
  6936. _stage = stage,
  6937. _task = task,
  6938. _tool = tool;
  6939. var _jie = $$("div", {
  6940. "style": {
  6941. "position": "absolute",
  6942. "bottom": "50px",
  6943. "right": "50px",
  6944. "zIndex": "9999",
  6945. "backgroundColor": "#2268bc",
  6946. "color": "#fff",
  6947. "padding": "12px 20px",
  6948. "cursor": "pointer",
  6949. "borderRadius": "4px",
  6950. },
  6951. "innerHTML": "確認並提交"
  6952. })
  6953. let aTool = ''
  6954. let _loading = document.createElement('div')
  6955. _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;"
  6956. // _loading.id = "";
  6957. let _lchild = document.createElement('div')
  6958. let _limg = document.createElement('img')
  6959. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6960. _limg.style = "width: 26px;margin-right: 10px;"
  6961. _lchild.appendChild(_limg)
  6962. let _lspan = document.createElement('span')
  6963. _lspan.innerHTML = "上傳中..."
  6964. _lchild.appendChild(_lspan)
  6965. _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%);"
  6966. _loading.appendChild(_lchild)
  6967. var _box = $$('div', {
  6968. "style": {
  6969. "position": "relative",
  6970. "width": "100%",
  6971. "height": "100%",
  6972. },
  6973. })
  6974. _box.appendChild(_loading)
  6975. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6976. switch (str) {
  6977. case "whiteboard":
  6978. aTool = 1;
  6979. _iframe = $$("iframe", {
  6980. "frameborder": "no",
  6981. "border": "0",
  6982. "scrolling ": "no",
  6983. "style": {
  6984. "cssText": "border:0;width:100%;height:100%"
  6985. },
  6986. "src": "https://iwb.cocorobo.hk/"
  6987. })
  6988. _box.appendChild(_iframe);
  6989. _box.appendChild(_jie);
  6990. _formdiv = new U.UF.UI.form(
  6991. "電子白板",
  6992. _box, {
  6993. "id": "whiteboards" + cid + stage + task + tool,
  6994. "style": {
  6995. "width": "90%",
  6996. "height": "90%",
  6997. "overflow": 'hidden'
  6998. },
  6999. "onresize": function () { }
  7000. }, {
  7001. closecallback: function () { }
  7002. }, {
  7003. "style": {
  7004. "height": "36px"
  7005. }
  7006. }).form; //創建窗體
  7007. _taskbar = {
  7008. "id": str + _formdiv.id,
  7009. "style": {
  7010. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7011. },
  7012. "name": "電子白板",
  7013. "forms": _formdiv,
  7014. "click": function () {
  7015. U.MD.D.I.openApplication(str, obj, info);
  7016. }
  7017. }
  7018. break;
  7019. case "mind":
  7020. aTool = 3;
  7021. _iframe = $$("iframe", {
  7022. "frameborder": "no",
  7023. "border": "0",
  7024. "scrolling ": "no",
  7025. "style": {
  7026. "cssText": "border:0;width:100%;height:100%"
  7027. },
  7028. "src": "/kityminder-editor/dist/index.html"
  7029. });
  7030. _box.appendChild(_iframe);
  7031. _box.appendChild(_jie);
  7032. _formdiv = new U.UF.UI.form(
  7033. "思維導圖",
  7034. _box, { //"/jsmind/example/demo.html"
  7035. "id": "minds" + cid + stage + task + tool,
  7036. "style": {
  7037. "width": "90%",
  7038. "height": "90%",
  7039. "overflow": 'hidden'
  7040. },
  7041. "onresize": function () { }
  7042. }, {
  7043. closecallback: function () { }
  7044. }, {
  7045. "style": {
  7046. "height": "36px"
  7047. }
  7048. }).form; //創建窗體
  7049. _taskbar = {
  7050. "id": str + _formdiv.id,
  7051. "style": {
  7052. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7053. },
  7054. "name": "思維導圖",
  7055. "forms": _formdiv,
  7056. "click": function () {
  7057. U.MD.D.I.openApplication(str, obj, info);
  7058. }
  7059. }
  7060. break;
  7061. case "doc":
  7062. aTool = 6;
  7063. _iframe = $$("iframe", {
  7064. "frameborder": "no",
  7065. "border": "0",
  7066. "scrolling ": "no",
  7067. "style": {
  7068. "cssText": "border:0;width:100%;height:100%"
  7069. },
  7070. "src": "/Office/Word/WordEditArea.htm"
  7071. })
  7072. _box.appendChild(_iframe);
  7073. _box.appendChild(_jie);
  7074. _formdiv = new U.UF.UI.form(
  7075. "協同文檔",
  7076. _box, {
  7077. "id": "docs" + cid + stage + task + tool,
  7078. "style": {
  7079. "width": "90%",
  7080. "height": "90%",
  7081. "overflow": 'hidden'
  7082. },
  7083. "onresize": function () { }
  7084. }, {
  7085. closecallback: function () { }
  7086. }, {
  7087. "style": {
  7088. "height": "36px"
  7089. }
  7090. }).form; //創建窗體
  7091. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7092. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7093. })
  7094. _taskbar = {
  7095. "id": str + _formdiv.id,
  7096. "style": {
  7097. "backgroundImage": "url(/img/icon/doc.png)"
  7098. },
  7099. "name": "協同文檔",
  7100. "forms": _formdiv,
  7101. "click": function () {
  7102. U.MD.D.I.openApplication(str, obj, info);
  7103. }
  7104. }
  7105. break;
  7106. }
  7107. const script1 = document.createElement("script");
  7108. script1.type = "text/javascript";
  7109. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7110. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7111. const script2 = document.createElement("script");
  7112. script2.type = "text/javascript";
  7113. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7114. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7115. const script3 = document.createElement("script");
  7116. script3.type = "text/javascript";
  7117. script3.charset = "UTF-8";
  7118. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7119. const script4 = document.createElement("script");
  7120. script4.type = "text/javascript";
  7121. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7122. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  7123. if (_iframe) {
  7124. if (str == 'doc') {
  7125. _iframe = _formdiv.querySelector('iframe')
  7126. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7127. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7128. _iframe.contentWindow.document.body.appendChild(script1);
  7129. _iframe.contentWindow.document.body.appendChild(script2);
  7130. // _iframe.contentWindow.document.body.appendChild(script3);
  7131. _iframe.contentWindow.document.body.appendChild(script4);
  7132. })
  7133. if (onloadListener) {
  7134. _iframe.contentDocument.location.reload()
  7135. } else {
  7136. _iframe.contentDocument.location.reload()
  7137. }
  7138. } else if (str == 'mind') {
  7139. _iframe = _formdiv.querySelector('iframe')
  7140. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7141. _iframe.contentWindow.document.body.appendChild(script1);
  7142. _iframe.contentWindow.document.body.appendChild(script2);
  7143. _iframe.contentWindow.document.body.appendChild(script4);
  7144. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7145. })
  7146. if (onloadListener) {
  7147. _iframe.contentDocument.location.reload()
  7148. } else {
  7149. _iframe.contentDocument.location.reload()
  7150. }
  7151. } else {
  7152. _iframe.onload = () => {
  7153. _iframe.contentWindow.document.body.appendChild(script1);
  7154. _iframe.contentWindow.document.body.appendChild(script2);
  7155. // _iframe.contentWindow.document.body.appendChild(script3);
  7156. _iframe.contentWindow.document.body.appendChild(script4);
  7157. };
  7158. }
  7159. _jie.onclick = async () => {
  7160. let text = ''
  7161. if (aTool == 6) {
  7162. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7163. } else if (aTool == 3) {
  7164. text = await U.MD.D.I.getEditorContent(_iframe);
  7165. }
  7166. _loading.style.display = 'flex'
  7167. console.log(_loading);
  7168. var _ajs = _iframe.contentWindow.document.createElement("script");
  7169. _ajs.type = "text/javascript";
  7170. _ajs.innerHTML =
  7171. // 'console.log(' + _loading + ');\n' +
  7172. 'var _js = document.createElement("script");\n' +
  7173. '_js.type="text/javascript";\n' +
  7174. '_js.charset="UTF-8";\n' +
  7175. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7176. "_js.onload = function(){\n" +
  7177. ' var a = document.getElementsByTagName("img")\n' +
  7178. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7179. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7180. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7181. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7182. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7183. "beforeUpload_shishi(file," +
  7184. "'" +
  7185. _userid +
  7186. "'" +
  7187. ", " +
  7188. "'" +
  7189. _cid +
  7190. "'" +
  7191. ", " +
  7192. "'" +
  7193. _stage +
  7194. "'" +
  7195. ", " +
  7196. "'" +
  7197. _task +
  7198. "'" +
  7199. ", " +
  7200. "'" +
  7201. _tool +
  7202. "'" +
  7203. ", " +
  7204. "'" +
  7205. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  7206. "'" +
  7207. ", " +
  7208. "'" +
  7209. aTool +
  7210. "'" +
  7211. ", " +
  7212. "`" +
  7213. text +
  7214. "`" +
  7215. ")\n" +
  7216. " });\n" +
  7217. "}\n" +
  7218. "document.head.appendChild(_js);\n";
  7219. _iframe.contentWindow.document.head.appendChild(_ajs);
  7220. }
  7221. }
  7222. //U.MD.D.I.openClick(str);
  7223. //如果有任務欄信息
  7224. // if (_taskbar) {
  7225. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7226. // }
  7227. }
  7228. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  7229. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7230. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7231. _userinfo = US.userInfo, //登錄用戶信息
  7232. _userid = US.userInfo.userid //登錄用戶id
  7233. let _iframe;
  7234. let _cid = cid,
  7235. _stage = stage,
  7236. _task = task,
  7237. _tool = tool;
  7238. var _jie = $$("div", {
  7239. "style": {
  7240. "position": "absolute",
  7241. "bottom": "50px",
  7242. "right": "50px",
  7243. "zIndex": "9999",
  7244. "backgroundColor": "#2268bc",
  7245. "color": "#fff",
  7246. "padding": "12px 20px",
  7247. "cursor": "pointer",
  7248. "borderRadius": "4px",
  7249. },
  7250. "innerHTML": "確認並提交"
  7251. })
  7252. let aTool = ''
  7253. let _loading = document.createElement('div')
  7254. _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;"
  7255. // _loading.id = "";
  7256. let _lchild = document.createElement('div')
  7257. let _limg = document.createElement('img')
  7258. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7259. _limg.style = "width: 26px;margin-right: 10px;"
  7260. _lchild.appendChild(_limg)
  7261. let _lspan = document.createElement('span')
  7262. _lspan.innerHTML = "上傳中..."
  7263. _lchild.appendChild(_lspan)
  7264. _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%);"
  7265. _loading.appendChild(_lchild)
  7266. var _box = $$('div', {
  7267. "style": {
  7268. "position": "relative",
  7269. "width": "100%",
  7270. "height": "100%",
  7271. },
  7272. })
  7273. _box.appendChild(_loading)
  7274. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  7275. switch (str) {
  7276. case "whiteboard":
  7277. aTool = 1;
  7278. _iframe = $$("iframe", {
  7279. "frameborder": "no",
  7280. "border": "0",
  7281. "scrolling ": "no",
  7282. "style": {
  7283. "cssText": "border:0;width:100%;height:100%"
  7284. },
  7285. "src": "https://iwb.cocorobo.hk/"
  7286. })
  7287. _box.appendChild(_iframe);
  7288. _box.appendChild(_jie);
  7289. _formdiv = new U.UF.UI.form(
  7290. "電子白板",
  7291. _box, {
  7292. "id": "whiteboards" + cid + stage + task + tool,
  7293. "style": {
  7294. "width": "90%",
  7295. "height": "90%",
  7296. "overflow": 'hidden'
  7297. },
  7298. "onresize": function () { }
  7299. }, {
  7300. closecallback: function () { }
  7301. }, {
  7302. "style": {
  7303. "height": "36px"
  7304. }
  7305. }).form; //創建窗體
  7306. _taskbar = {
  7307. "id": str + _formdiv.id,
  7308. "style": {
  7309. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7310. },
  7311. "name": "電子白板",
  7312. "forms": _formdiv,
  7313. "click": function () {
  7314. U.MD.D.I.openApplication(str, obj, info);
  7315. }
  7316. }
  7317. break;
  7318. case "mind":
  7319. aTool = 3;
  7320. _iframe = $$("iframe", {
  7321. "frameborder": "no",
  7322. "border": "0",
  7323. "scrolling ": "no",
  7324. "style": {
  7325. "cssText": "border:0;width:100%;height:100%"
  7326. },
  7327. "src": "/kityminder-editor/dist/index.html"
  7328. });
  7329. _box.appendChild(_iframe);
  7330. _box.appendChild(_jie);
  7331. _formdiv = new U.UF.UI.form(
  7332. "思維導圖",
  7333. _box, { //"/jsmind/example/demo.html"
  7334. "id": "minds" + cid + stage + task + tool,
  7335. "style": {
  7336. "width": "90%",
  7337. "height": "90%",
  7338. "overflow": 'hidden'
  7339. },
  7340. "onresize": function () { }
  7341. }, {
  7342. closecallback: function () { }
  7343. }, {
  7344. "style": {
  7345. "height": "36px"
  7346. }
  7347. }).form; //創建窗體
  7348. _taskbar = {
  7349. "id": str + _formdiv.id,
  7350. "style": {
  7351. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7352. },
  7353. "name": "思維導圖",
  7354. "forms": _formdiv,
  7355. "click": function () {
  7356. U.MD.D.I.openApplication(str, obj, info);
  7357. }
  7358. }
  7359. break;
  7360. case "doc":
  7361. aTool = 6;
  7362. _iframe = $$("iframe", {
  7363. "frameborder": "no",
  7364. "border": "0",
  7365. "scrolling ": "no",
  7366. "style": {
  7367. "cssText": "border:0;width:100%;height:100%"
  7368. },
  7369. "src": "/Office/Word/WordEditArea.htm"
  7370. })
  7371. _box.appendChild(_iframe);
  7372. _box.appendChild(_jie);
  7373. _formdiv = new U.UF.UI.form(
  7374. "協同文檔",
  7375. _box, {
  7376. "id": "docs" + cid + stage + task + tool,
  7377. "style": {
  7378. "width": "90%",
  7379. "height": "90%",
  7380. "overflow": 'hidden'
  7381. },
  7382. "onresize": function () { }
  7383. }, {
  7384. closecallback: function () { }
  7385. }, {
  7386. "style": {
  7387. "height": "36px"
  7388. }
  7389. }).form; //創建窗體
  7390. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7391. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7392. })
  7393. _taskbar = {
  7394. "id": str + _formdiv.id,
  7395. "style": {
  7396. "backgroundImage": "url(/img/icon/doc.png)"
  7397. },
  7398. "name": "協同文檔",
  7399. "forms": _formdiv,
  7400. "click": function () {
  7401. U.MD.D.I.openApplication(str, obj, info);
  7402. }
  7403. }
  7404. break;
  7405. }
  7406. const script1 = document.createElement("script");
  7407. script1.type = "text/javascript";
  7408. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  7409. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  7410. const script2 = document.createElement("script");
  7411. script2.type = "text/javascript";
  7412. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  7413. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  7414. const script3 = document.createElement("script");
  7415. script3.type = "text/javascript";
  7416. script3.charset = "UTF-8";
  7417. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  7418. const script4 = document.createElement("script");
  7419. script4.type = "text/javascript";
  7420. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  7421. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  7422. if (_iframe) {
  7423. if (str == 'doc') {
  7424. _iframe = _formdiv.querySelector('iframe')
  7425. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7426. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7427. _iframe.contentWindow.document.body.appendChild(script1);
  7428. _iframe.contentWindow.document.body.appendChild(script2);
  7429. // _iframe.contentWindow.document.body.appendChild(script3);
  7430. _iframe.contentWindow.document.body.appendChild(script4);
  7431. })
  7432. if (onloadListener) {
  7433. _iframe.contentDocument.location.reload()
  7434. } else {
  7435. _iframe.contentDocument.location.reload()
  7436. }
  7437. } else if (str == 'mind') {
  7438. _iframe = _formdiv.querySelector('iframe')
  7439. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7440. _iframe.contentWindow.document.body.appendChild(script1);
  7441. _iframe.contentWindow.document.body.appendChild(script2);
  7442. _iframe.contentWindow.document.body.appendChild(script4);
  7443. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  7444. })
  7445. if (onloadListener) {
  7446. _iframe.contentDocument.location.reload()
  7447. } else {
  7448. _iframe.contentDocument.location.reload()
  7449. }
  7450. } else {
  7451. _iframe.onload = () => {
  7452. _iframe.contentWindow.document.body.appendChild(script1);
  7453. _iframe.contentWindow.document.body.appendChild(script2);
  7454. // _iframe.contentWindow.document.body.appendChild(script3);
  7455. _iframe.contentWindow.document.body.appendChild(script4);
  7456. };
  7457. }
  7458. _jie.onclick = async () => {
  7459. let text = ''
  7460. if (aTool == 6) {
  7461. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7462. } else if (aTool == 3) {
  7463. text = await U.MD.D.I.getEditorContent(_iframe);
  7464. }
  7465. _loading.style.display = 'flex'
  7466. console.log(_loading);
  7467. var _ajs = _iframe.contentWindow.document.createElement("script");
  7468. _ajs.type = "text/javascript";
  7469. _ajs.innerHTML =
  7470. // 'console.log(' + _loading + ');\n' +
  7471. 'var _js = document.createElement("script");\n' +
  7472. '_js.type="text/javascript";\n' +
  7473. '_js.charset="UTF-8";\n' +
  7474. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  7475. "_js.onload = function(){\n" +
  7476. ' var a = document.getElementsByTagName("img")\n' +
  7477. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  7478. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  7479. '  var base64Url = canvas.toDataURL("image/png");\n' +
  7480. 'var base64 = "<img src=" + base64Url + " />"\n' +
  7481. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  7482. "beforeUpload_shishi(file," +
  7483. "'" +
  7484. _userid +
  7485. "'" +
  7486. ", " +
  7487. "'" +
  7488. _cid +
  7489. "'" +
  7490. ", " +
  7491. "'" +
  7492. _stage +
  7493. "'" +
  7494. ", " +
  7495. "'" +
  7496. _task +
  7497. "'" +
  7498. ", " +
  7499. "'" +
  7500. _tool +
  7501. "'" +
  7502. ", " +
  7503. "'" +
  7504. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  7505. "'" +
  7506. ", " +
  7507. "'" +
  7508. aTool +
  7509. "'" +
  7510. ", " +
  7511. "`" +
  7512. text +
  7513. "`" +
  7514. ")\n" +
  7515. " });\n" +
  7516. "}\n" +
  7517. "document.head.appendChild(_js);\n";
  7518. _iframe.contentWindow.document.head.appendChild(_ajs);
  7519. }
  7520. }
  7521. //U.MD.D.I.openClick(str);
  7522. //如果有任務欄信息
  7523. // if (_taskbar) {
  7524. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7525. // }
  7526. }
  7527. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  7528. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7529. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7530. _userinfo = US.userInfo, //登錄用戶信息
  7531. _userid = US.userInfo.userid //登錄用戶id
  7532. let _iframe;
  7533. let _cid = cid,
  7534. _stage = stage,
  7535. _task = task,
  7536. _tool = tool;
  7537. var _jie = $$("div", {
  7538. "style": {
  7539. "position": "absolute",
  7540. "bottom": "50px",
  7541. "right": "50px",
  7542. "zIndex": "9999",
  7543. "backgroundColor": "#2268bc",
  7544. "color": "#fff",
  7545. "padding": "12px 20px",
  7546. "cursor": "pointer",
  7547. "borderRadius": "4px",
  7548. },
  7549. "innerHTML": "上傳模板"
  7550. })
  7551. let aTool = ''
  7552. let _loading = document.createElement('div')
  7553. _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;"
  7554. // _loading.id = "";
  7555. let _lchild = document.createElement('div')
  7556. let _limg = document.createElement('img')
  7557. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7558. _limg.style = "width: 26px;margin-right: 10px;"
  7559. _lchild.appendChild(_limg)
  7560. let _lspan = document.createElement('span')
  7561. _lspan.innerHTML = "上傳中..."
  7562. _lchild.appendChild(_lspan)
  7563. _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%);"
  7564. _loading.appendChild(_lchild)
  7565. var _box = $$('div', {
  7566. "style": {
  7567. "position": "relative",
  7568. "width": "100%",
  7569. "height": "100%",
  7570. },
  7571. })
  7572. _box.appendChild(_loading)
  7573. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  7574. switch (str) {
  7575. case "whiteboard":
  7576. aTool = 1;
  7577. _iframe = $$("iframe", {
  7578. "frameborder": "no",
  7579. "border": "0",
  7580. "scrolling ": "no",
  7581. "style": {
  7582. "cssText": "border:0;width:100%;height:100%"
  7583. },
  7584. "src": "https://iwb.cocorobo.hk/"
  7585. })
  7586. _box.appendChild(_iframe);
  7587. _box.appendChild(_jie);
  7588. _formdiv = new U.UF.UI.form(
  7589. "電子白板",
  7590. _box, {
  7591. "id": "whiteboards_Yu" + cid + stage + task + tool,
  7592. "style": {
  7593. "width": "90%",
  7594. "height": "90%",
  7595. "overflow": 'hidden'
  7596. },
  7597. "onresize": function () { }
  7598. }, {
  7599. closecallback: function () { }
  7600. }, {
  7601. "style": {
  7602. "height": "36px"
  7603. }
  7604. }).form; //創建窗體
  7605. _taskbar = {
  7606. "id": str + _formdiv.id,
  7607. "style": {
  7608. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  7609. },
  7610. "name": "電子白板",
  7611. "forms": _formdiv,
  7612. "click": function () {
  7613. U.MD.D.I.openApplication(str, obj, info);
  7614. }
  7615. }
  7616. break;
  7617. case "mind":
  7618. aTool = 3;
  7619. _iframe = $$("iframe", {
  7620. "frameborder": "no",
  7621. "border": "0",
  7622. "scrolling ": "no",
  7623. "style": {
  7624. "cssText": "border:0;width:100%;height:100%"
  7625. },
  7626. "src": "/kityminder-editor/dist/index.html"
  7627. });
  7628. _box.appendChild(_iframe);
  7629. _box.appendChild(_jie);
  7630. _formdiv = new U.UF.UI.form(
  7631. "思維導圖",
  7632. _box, { //"/jsmind/example/demo.html"
  7633. "id": "minds_Yu" + cid + stage + task + tool,
  7634. "style": {
  7635. "width": "90%",
  7636. "height": "90%",
  7637. "overflow": 'hidden'
  7638. },
  7639. "onresize": function () { }
  7640. }, {
  7641. closecallback: function () { }
  7642. }, {
  7643. "style": {
  7644. "height": "36px"
  7645. }
  7646. }).form; //創建窗體
  7647. _taskbar = {
  7648. "id": str + _formdiv.id,
  7649. "style": {
  7650. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7651. },
  7652. "name": "思維導圖",
  7653. "forms": _formdiv,
  7654. "click": function () {
  7655. U.MD.D.I.openApplication(str, obj, info);
  7656. }
  7657. }
  7658. break;
  7659. case "doc":
  7660. aTool = 6;
  7661. _iframe = $$("iframe", {
  7662. "frameborder": "no",
  7663. "border": "0",
  7664. "scrolling ": "no",
  7665. "style": {
  7666. "cssText": "border:0;width:100%;height:100%"
  7667. },
  7668. "src": "/Office/Word/WordEditArea.htm"
  7669. })
  7670. _box.appendChild(_iframe);
  7671. _box.appendChild(_jie);
  7672. _formdiv = new U.UF.UI.form(
  7673. "協同文檔",
  7674. _box, {
  7675. "id": "docs_Yu" + cid + stage + task + tool,
  7676. "style": {
  7677. "width": "90%",
  7678. "height": "90%",
  7679. "overflow": 'hidden'
  7680. },
  7681. "onresize": function () { }
  7682. }, {
  7683. closecallback: function () { }
  7684. }, {
  7685. "style": {
  7686. "height": "36px"
  7687. }
  7688. }).form; //創建窗體
  7689. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7690. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7691. })
  7692. _taskbar = {
  7693. "id": str + _formdiv.id,
  7694. "style": {
  7695. "backgroundImage": "url(/img/icon/doc.png)"
  7696. },
  7697. "name": "協同文檔",
  7698. "forms": _formdiv,
  7699. "click": function () {
  7700. U.MD.D.I.openApplication(str, obj, info);
  7701. }
  7702. }
  7703. break;
  7704. case "CocoPi":
  7705. aTool = 57;
  7706. _iframe = $$("iframe", {
  7707. "allowpaymentrequest": "allowpaymentrequest",
  7708. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7709. "webkitallowfullscreen": "",
  7710. "mozallowfullscreen": "",
  7711. "frameborder": "no",
  7712. "border": "0",
  7713. "scrolling ": "no",
  7714. "style": {
  7715. "cssText": "border:0;width:100%;height:100%"
  7716. },
  7717. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7718. })
  7719. _box.appendChild(_iframe);
  7720. _box.appendChild(_jie);
  7721. _formdiv = new U.UF.UI.form(
  7722. "CocoPi",
  7723. _box, {
  7724. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7725. "style": {
  7726. "width": "90%",
  7727. "height": "90%",
  7728. "overflow": 'hidden'
  7729. },
  7730. "onresize": function () { }
  7731. }, {
  7732. closecallback: function () { }
  7733. }, {
  7734. "style": {
  7735. "height": "36px"
  7736. }
  7737. }).form; //創建窗體
  7738. _taskbar = {
  7739. "id": str + _formdiv.id,
  7740. "style": {
  7741. "backgroundImage": "url(/img/icon/cocopi.png)"
  7742. },
  7743. "name": "CocoPi",
  7744. "forms": _formdiv,
  7745. "click": function () {
  7746. U.MD.D.I.openApplication(str, obj, info);
  7747. }
  7748. }
  7749. break;
  7750. }
  7751. if (_iframe) {
  7752. if (str == 'doc') {
  7753. _iframe = _formdiv.querySelector('iframe')
  7754. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7755. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7756. })
  7757. if (onloadListener) {
  7758. _iframe.contentDocument.location.reload()
  7759. } else {
  7760. _iframe.contentDocument.location.reload()
  7761. }
  7762. } else if (str == 'mind') {
  7763. _iframe = _formdiv.querySelector('iframe')
  7764. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7765. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7766. })
  7767. if (onloadListener) {
  7768. _iframe.contentDocument.location.reload()
  7769. } else {
  7770. _iframe.contentDocument.location.reload()
  7771. }
  7772. } else if (str == 'whiteboard') {
  7773. _iframe = _formdiv.querySelector('iframe')
  7774. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7775. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7776. })
  7777. if (onloadListener) {
  7778. _iframe.contentDocument.location.reload()
  7779. } else {
  7780. _iframe.contentDocument.location.reload()
  7781. }
  7782. } else if (str == 'CocoPi') {
  7783. _iframe = _formdiv.querySelector('iframe')
  7784. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7785. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7786. })
  7787. if (onloadListener) {
  7788. _iframe.contentDocument.location.reload()
  7789. } else {
  7790. _iframe.contentDocument.location.reload()
  7791. }
  7792. } else {
  7793. _iframe.onload = () => { };
  7794. }
  7795. _jie.onclick = async () => {
  7796. let text = ''
  7797. let type = '2'
  7798. if (aTool == 1) {
  7799. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7800. type = '3'
  7801. } else if (aTool == 6) {
  7802. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7803. type = '1'
  7804. } else if (aTool == 3) {
  7805. text = await U.MD.D.I.getEditorContent(_iframe);
  7806. type = '2'
  7807. } else if (aTool == 57) {
  7808. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7809. type = '4'
  7810. }
  7811. _loading.style.display = 'flex'
  7812. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7813. }
  7814. }
  7815. //U.MD.D.I.openClick(str);
  7816. //如果有任務欄信息
  7817. // if (_taskbar) {
  7818. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7819. // }
  7820. }
  7821. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7822. var xmlhttp;
  7823. var Mac, Sn, DeviceId
  7824. if (window.XMLHttpRequest) {
  7825. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7826. xmlhttp = new XMLHttpRequest();
  7827. }
  7828. else {
  7829. // IE6, IE5 瀏覽器執行代碼
  7830. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7831. }
  7832. xmlhttp.onreadystatechange = function () {
  7833. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7834. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7835. // resolve(res.value[0][0].text);
  7836. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7837. }
  7838. }
  7839. }
  7840. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7841. xmlhttp.send();
  7842. }
  7843. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7844. var xmlhttp;
  7845. var Mac, Sn, DeviceId
  7846. if (window.XMLHttpRequest) {
  7847. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7848. xmlhttp = new XMLHttpRequest();
  7849. }
  7850. else {
  7851. // IE6, IE5 瀏覽器執行代碼
  7852. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7853. }
  7854. xmlhttp.onreadystatechange = function () {
  7855. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7856. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7857. // resolve(res.value[0][0].text);
  7858. if (type == '2') {
  7859. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7860. } else if (type == '3') {
  7861. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7862. } else if (type == '4') {
  7863. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7864. }
  7865. } else {
  7866. if (type == '2') {
  7867. iframe.contentWindow.editor.minder.importData('json', '')
  7868. } else if (type == '3') {
  7869. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7870. } else if (type == '4') {
  7871. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7872. }
  7873. }
  7874. }
  7875. }
  7876. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7877. xmlhttp.send();
  7878. }
  7879. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7880. var xmlhttp;
  7881. var Mac, Sn, DeviceId
  7882. if (window.XMLHttpRequest) {
  7883. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7884. xmlhttp = new XMLHttpRequest();
  7885. }
  7886. else {
  7887. // IE6, IE5 瀏覽器執行代碼
  7888. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7889. }
  7890. xmlhttp.onreadystatechange = function () {
  7891. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7892. if (xmlhttp.response) {
  7893. // resolve(res.value[0][0].text);
  7894. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7895. // $(fileInput).val('');
  7896. // });
  7897. span.innerHTML = '上傳成功'
  7898. setTimeout(() => {
  7899. loading.style.display = 'none'
  7900. }, 1000);
  7901. }
  7902. }
  7903. }
  7904. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7905. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7906. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7907. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7908. // 設置請求頭,表示請求體的編碼格式
  7909. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7910. // 設置請求體,使用url-encoded格式的數據
  7911. }
  7912. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7913. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7914. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7915. _userinfo = US.userInfo, //登錄用戶信息
  7916. _userid = US.userInfo.userid //登錄用戶id
  7917. let _iframe;
  7918. let _cid = cid,
  7919. _stage = stage,
  7920. _task = task,
  7921. _tool = tool;
  7922. var _jie = $$("div", {
  7923. "style": {
  7924. "position": "absolute",
  7925. "bottom": "50px",
  7926. "right": "50px",
  7927. "zIndex": "9999",
  7928. "backgroundColor": "#2268bc",
  7929. "color": "#fff",
  7930. "padding": "12px 20px",
  7931. "cursor": "pointer",
  7932. "borderRadius": "4px",
  7933. },
  7934. "innerHTML": "提交作業"
  7935. })
  7936. let aTool = ''
  7937. let _loading = document.createElement('div')
  7938. _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;"
  7939. // _loading.id = "";
  7940. let _lchild = document.createElement('div')
  7941. let _limg = document.createElement('img')
  7942. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7943. _limg.style = "width: 26px;margin-right: 10px;"
  7944. _lchild.appendChild(_limg)
  7945. let _lspan = document.createElement('span')
  7946. _lspan.innerHTML = "上傳中..."
  7947. _lchild.appendChild(_lspan)
  7948. _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%);"
  7949. _loading.appendChild(_lchild)
  7950. var _box = $$('div', {
  7951. "style": {
  7952. "position": "relative",
  7953. "width": "100%",
  7954. "height": "100%",
  7955. },
  7956. })
  7957. _box.appendChild(_loading)
  7958. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7959. switch (str) {
  7960. case "CocoPi":
  7961. aTool = 57;
  7962. _iframe = $$("iframe", {
  7963. "allowpaymentrequest": "allowpaymentrequest",
  7964. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7965. "webkitallowfullscreen": "",
  7966. "mozallowfullscreen": "",
  7967. "frameborder": "no",
  7968. "border": "0",
  7969. "scrolling ": "no",
  7970. "style": {
  7971. "cssText": "border:0;width:100%;height:100%"
  7972. },
  7973. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7974. })
  7975. _box.appendChild(_iframe);
  7976. _box.appendChild(_jie);
  7977. _formdiv = new U.UF.UI.form(
  7978. "CocoPi",
  7979. _box, {
  7980. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7981. "style": {
  7982. "width": "90%",
  7983. "height": "90%",
  7984. "overflow": 'hidden'
  7985. },
  7986. "onresize": function () { }
  7987. }, {
  7988. closecallback: function () { }
  7989. }, {
  7990. "style": {
  7991. "height": "36px"
  7992. }
  7993. }).form; //創建窗體
  7994. _taskbar = {
  7995. "id": str + _formdiv.id,
  7996. "style": {
  7997. "backgroundImage": "url(/img/icon/cocopi.png)"
  7998. },
  7999. "name": "CocoPi",
  8000. "forms": _formdiv,
  8001. "click": function () {
  8002. U.MD.D.I.openApplication(str, obj, info);
  8003. }
  8004. }
  8005. break;
  8006. }
  8007. if (_iframe) {
  8008. if (str == 'CocoPi') {
  8009. _iframe = _formdiv.querySelector('iframe')
  8010. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8011. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8012. })
  8013. if (onloadListener) {
  8014. _iframe.contentDocument.location.reload()
  8015. } else {
  8016. _iframe.contentDocument.location.reload()
  8017. }
  8018. }
  8019. _jie.onclick = async () => {
  8020. let text = ''
  8021. if (aTool == 57) {
  8022. text = _iframe.contentWindow.getLoadXmlStr()
  8023. }
  8024. _loading.style.display = 'flex'
  8025. console.log(_loading);
  8026. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8027. _loading.style.display = 'none'
  8028. let _div = document.createElement('div')
  8029. _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;"
  8030. let _inner = document.createElement('div')
  8031. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8032. _inner.innerHTML = "上傳成功"
  8033. _div.appendChild(_inner)
  8034. _iframe.contentWindow.window.document.body.appendChild(_div)
  8035. _div.onclick = () => {
  8036. _iframe.contentWindow.window.document.body.removeChild(_div)
  8037. }
  8038. setTimeout(() => {
  8039. _iframe.contentWindow.window.document.body.removeChild(_div)
  8040. }, 1000);
  8041. }, [], { "type": "POST", "withCredentials": true });
  8042. }
  8043. }
  8044. }
  8045. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  8046. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  8047. _formdiv, //創建任務欄時同時彈出的窗體元素。
  8048. _userid = student.userid, //登錄用戶id
  8049. _username = student.student //用戶名字
  8050. let _iframe;
  8051. let _cid = cid,
  8052. _stage = stage,
  8053. _task = task,
  8054. _tool = tool;
  8055. var _jie = $$("div", {
  8056. "style": {
  8057. "position": "absolute",
  8058. "bottom": "50px",
  8059. "right": "50px",
  8060. "zIndex": "9999",
  8061. "backgroundColor": "#2268bc",
  8062. "color": "#fff",
  8063. "padding": "12px 20px",
  8064. "cursor": "pointer",
  8065. "borderRadius": "4px",
  8066. },
  8067. "innerHTML": "提交作業"
  8068. })
  8069. let aTool = ''
  8070. let _loading = document.createElement('div')
  8071. _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;"
  8072. // _loading.id = "";
  8073. let _lchild = document.createElement('div')
  8074. let _limg = document.createElement('img')
  8075. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  8076. _limg.style = "width: 26px;margin-right: 10px;"
  8077. _lchild.appendChild(_limg)
  8078. let _lspan = document.createElement('span')
  8079. _lspan.innerHTML = "上傳中..."
  8080. _lchild.appendChild(_lspan)
  8081. _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%);"
  8082. _loading.appendChild(_lchild)
  8083. var _box = $$('div', {
  8084. "style": {
  8085. "position": "relative",
  8086. "width": "100%",
  8087. "height": "100%",
  8088. },
  8089. })
  8090. _box.appendChild(_loading)
  8091. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  8092. switch (str) {
  8093. case "CocoPi":
  8094. aTool = 57;
  8095. _iframe = $$("iframe", {
  8096. "allowpaymentrequest": "allowpaymentrequest",
  8097. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  8098. "webkitallowfullscreen": "",
  8099. "mozallowfullscreen": "",
  8100. "frameborder": "no",
  8101. "border": "0",
  8102. "scrolling ": "no",
  8103. "style": {
  8104. "cssText": "border:0;width:100%;height:100%"
  8105. },
  8106. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  8107. })
  8108. _box.appendChild(_iframe);
  8109. _box.appendChild(_jie);
  8110. _formdiv = new U.UF.UI.form(
  8111. "CocoPi-" + _username,
  8112. _box, {
  8113. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  8114. "style": {
  8115. "width": "90%",
  8116. "height": "90%",
  8117. "overflow": 'hidden'
  8118. },
  8119. "onresize": function () { }
  8120. }, {
  8121. closecallback: function () { }
  8122. }, {
  8123. "style": {
  8124. "height": "36px"
  8125. }
  8126. }).form; //創建窗體
  8127. _taskbar = {
  8128. "id": str + _formdiv.id,
  8129. "style": {
  8130. "backgroundImage": "url(/img/icon/cocopi.png)"
  8131. },
  8132. "name": "CocoPi",
  8133. "forms": _formdiv,
  8134. "click": function () {
  8135. U.MD.D.I.openApplication(str, obj, info);
  8136. }
  8137. }
  8138. break;
  8139. }
  8140. if (_iframe) {
  8141. if (str == 'CocoPi') {
  8142. _iframe = _formdiv.querySelector('iframe')
  8143. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  8144. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  8145. })
  8146. if (onloadListener) {
  8147. _iframe.contentDocument.location.reload()
  8148. } else {
  8149. _iframe.contentDocument.location.reload()
  8150. }
  8151. }
  8152. _jie.onclick = async () => {
  8153. let text = ''
  8154. if (aTool == 57) {
  8155. text = _iframe.contentWindow.getLoadXmlStr()
  8156. }
  8157. _loading.style.display = 'flex'
  8158. console.log(_loading);
  8159. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  8160. _loading.style.display = 'none'
  8161. let _div = document.createElement('div')
  8162. _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;"
  8163. let _inner = document.createElement('div')
  8164. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  8165. _inner.innerHTML = "上傳成功"
  8166. _div.appendChild(_inner)
  8167. _iframe.contentWindow.window.document.body.appendChild(_div)
  8168. _div.onclick = () => {
  8169. _iframe.contentWindow.window.document.body.removeChild(_div)
  8170. }
  8171. setTimeout(() => {
  8172. _iframe.contentWindow.window.document.body.removeChild(_div)
  8173. }, 1000);
  8174. }, [], { "type": "POST", "withCredentials": true });
  8175. }
  8176. }
  8177. }
  8178. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  8179. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  8180. if (res.value[0].length > 0) {
  8181. if (atool == 57) {
  8182. iframe.contentWindow.loadingXml(res.value[0][0].content)
  8183. }
  8184. } else {
  8185. if (atool == 57) {
  8186. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  8187. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  8188. }
  8189. }
  8190. }, [], { "type": "POST", "withCredentials": true });
  8191. }