DeskTop.js 454 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840
  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. ];
  51. //極簡模式
  52. U.MD.D.I.easyDeskIcon = [
  53. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/easy/project.png)", "width": '114px', 'height': '114px' } },
  54. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/easy/study.png)", "width": '114px', 'height': '114px' } },
  55. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/easy/evaluate.png)", "width": '114px', 'height': '114px' } },
  56. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/easy/class.png)", "width": '114px', 'height': '114px' } },
  57. // { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } },
  58. ];
  59. //教師桌面圖標的全局變量
  60. U.MD.D.I.teacherDeskIcon2 = [
  61. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  62. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  63. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  64. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  65. // { "Name": "項目管理", "Url": "studentStudyS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  66. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  67. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  68. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  69. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  70. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  71. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  72. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  73. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  74. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  75. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  76. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  77. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  78. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  79. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  80. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  81. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  82. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  83. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  84. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  85. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  86. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  87. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  88. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  89. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  90. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  91. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  92. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  93. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  94. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  95. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  96. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  97. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  98. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  99. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  100. ];
  101. U.MD.D.I.studentDeskIcon = [
  102. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  103. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  104. // { "Name": "我的項目", "Url": "studnetProject", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  105. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  106. // { "Name": "我的評價", "Url": "studentEvaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  107. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  108. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  109. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  110. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  111. // { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  112. // { "Name": "量規評分", "Url": "score", "style": { "cssText": "background-image:url(/img/icon/score.png)" } },
  113. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  114. // { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  115. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  116. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  117. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  118. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  119. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  120. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  121. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  122. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  123. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  124. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  125. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  126. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  127. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  128. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  129. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  130. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  131. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  132. ];
  133. U.MD.D.I.studentDeskIcon2 = [
  134. // { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  135. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  136. // { "Name": "實時課堂", "Url": "studentClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  137. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  138. ]
  139. U.MD.D.I.studentDeskIcon3 = [
  140. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  141. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  142. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  143. ]
  144. U.MD.D.I.schoolDeskIcon = [
  145. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  146. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  147. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  148. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  149. { "Name": "學習資料", "Url": "stuLibrary", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  150. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  151. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  152. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  153. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  154. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  155. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  156. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  157. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  158. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  159. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  160. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  161. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  162. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  163. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  164. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  165. // { "Name": "國家教育", "Url": "resources", "style": { "cssText": "background-image:url(/img/icon/resources.png)" } },
  166. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  167. ];
  168. U.MD.D.I.orgDeskIcon = [
  169. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  170. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  171. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  172. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgCase.png)" } },
  173. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  174. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  175. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  176. ];
  177. U.MD.D.I.orgStemDeskIcon = [
  178. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  179. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  180. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  181. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  182. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  183. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  184. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  185. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  186. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  187. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  188. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  189. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  190. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  191. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  192. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  193. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  194. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  195. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  196. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  197. ];
  198. U.MD.D.I.szulsDeskIcon = [
  199. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  200. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  201. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  202. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  203. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  204. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  205. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  206. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  207. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  208. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  209. ];
  210. U.MD.D.I.hanDeskIcon = [
  211. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgProject.png)" } },
  212. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgStudy.png)" } },
  213. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/orgIcon/orgEva.png)" } },
  214. { "Name": "漢字家族", "Url": "hanFamily", "style": { "cssText": "background-image:url(/img/icon/hanFamily.png)" } },
  215. { "Name": "國學經典", "Url": "hanClassics", "style": { "cssText": "background-image:url(/img/icon/hanClassics.png)" } },
  216. { "Name": "筆畫訓練", "Url": "hanTraining", "style": { "cssText": "background-image:url(/img/icon/hanTraining.png)" } },
  217. { "Name": "書法課堂", "Url": "hanClass", "style": { "cssText": "background-image:url(/img/icon/hanClass.png)" } },
  218. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  219. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  220. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  221. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  222. ];
  223. U.MD.D.I.GMteacherDeskIcon = [
  224. { "Name": "課程管理", "Url": "projectGM", "style": { "cssText": "background-image:url(/img/icon/gm/courseMange.png)" } },
  225. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  226. { "Name": "學生管理", "Url": "studentGM", "style": { "cssText": "background-image:url(/img/icon/gm/student.png)" } },
  227. { "Name": "學生評價", "Url": "evaluateGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  228. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  229. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  230. { "Name": "班級管理", "Url": "classGM", "style": { "cssText": "background-image:url(/img/icon/gm/class.png)" } },
  231. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  232. { "Name": "課程進展", "Url": "caseGM", "style": { "cssText": "background-image:url(/img/icon/gm/case.png)" } },
  233. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  234. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  235. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  236. ];
  237. U.MD.D.I.GMstudentDeskIcon = [
  238. { "Name": "課程中心", "Url": "studyGM", "style": { "cssText": "background-image:url(/img/icon/gm/learning.png)" } },
  239. { "Name": "我的評價", "Url": "evaluateSGM", "style": { "cssText": "background-image:url(/img/icon/gm/evaluate.png)" } },
  240. { "Name": "我的資料", "Url": "dataGM", "style": { "cssText": "background-image:url(/img/icon/gm/data.png)" } },
  241. { "Name": "素材庫", "Url": "meterialGM", "style": { "cssText": "background-image:url(/img/icon/gm/material.png)" } },
  242. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  243. ];
  244. //北師大
  245. U.MD.D.I.BSDNSteacherDeskIcon = [
  246. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  247. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  248. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  249. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  250. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  251. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  252. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  253. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  254. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  255. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  256. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  257. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  258. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  259. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  260. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  261. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  262. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  263. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  264. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  265. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  266. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  267. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  268. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  269. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  270. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  271. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  272. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  273. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  274. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  275. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  276. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  277. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  278. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  279. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  280. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  281. { "Name": "數字實驗室", "Url": "number", "style": { "cssText": "background-image:url(/img/icon/number.png)" } },
  282. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  283. ];
  284. //松山湖
  285. U.MD.D.I.SONGteacherDeskIcon = [
  286. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  287. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  288. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  289. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  290. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  291. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  292. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  293. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  294. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  295. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  296. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  297. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  298. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  299. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  300. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  301. // { "Name": "實時課堂", "Url": "teacherClassRoom", "style": { "cssText": "background-image:url(/img/icon/classRoom.png)" } },
  302. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  303. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  304. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  305. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  306. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  307. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  308. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  309. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  310. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  311. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  312. // { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  313. // { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  314. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  315. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  316. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  317. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  318. // { "Name": "賽諾梵", "Url": "snf", "style": { "cssText": "background-image:url(/img/icon/snf.png)" } },
  319. // { "Name": "漢字宮", "Url": "han", "style": { "cssText": "background-image:url(/img/icon/han.png)" } },
  320. // { "Name": "jupyter", "Url": "jupyter", "style": { "cssText": "background-image:url(/img/icon/jupyter.png)" } },
  321. ];
  322. U.MD.D.I.tcStudentDeskIcon = [
  323. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  324. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  325. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  326. ];
  327. U.MD.D.I.tcTeacherDeskIcon = [
  328. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  329. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  330. { "Name": "師生項目", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  331. // { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  332. // { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  333. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  334. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  335. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  336. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  337. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  338. ];
  339. U.MD.D.I.tcOrganizerDeskIcon = [
  340. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  341. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  342. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  343. { "Name": "師生項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  344. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  345. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  346. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  347. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  348. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  349. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  350. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  351. ];
  352. U.MD.D.I.szscStudentDeskIcon = [
  353. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  354. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  355. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  356. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  357. ];
  358. U.MD.D.I.szscTeacherDeskIcon = [
  359. // { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  360. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  361. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  362. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  363. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  364. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  365. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  366. { "Name": "學生管理", "Url": "tcStudent", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  367. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  368. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  369. ];
  370. U.MD.D.I.szscOrganizerDeskIcon = [
  371. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  372. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  373. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  374. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  375. // { "Name": "學校管理", "Url": "tcSchool", "style": { "cssText": "background-image:url(/img/icon/school.png)" } },
  376. { "Name": "教師管理", "Url": "tcTeacher", "style": { "cssText": "background-image:url(/img/icon/teacher.png)" } },
  377. { "Name": "我的資料", "Url": "tcData", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  378. { "Name": "消息通知", "Url": "tcNotice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  379. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  380. ];
  381. U.MD.D.I.wankeTeacherDeskIcon = [ //1c3b9def-8fbe-11ed-b13d-005056b86db5
  382. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  383. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  384. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  385. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  386. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  387. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  388. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  389. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  390. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  391. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  392. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  393. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  394. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  395. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  396. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  397. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  398. ];
  399. U.MD.D.I.wankeAdminDeskIcon = [
  400. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  401. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  402. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  403. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  404. { "Name": "PBL項目", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  405. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  406. { "Name": "項目進展", "Url": "CaseDesignS", "style": { "cssText": "background-image:url(/img/icon/CaseDesignS.png)" } },
  407. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  408. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  409. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  410. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  411. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  412. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  413. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  414. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  415. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  416. ];
  417. U.MD.D.I.lhsTeacherDeskIcon = [ //未來小學
  418. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  419. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  420. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  421. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  422. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  423. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  424. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  425. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  426. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  427. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  428. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  429. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  430. ];
  431. U.MD.D.I.lhsAdminDeskIcon = [ //未來小學admin
  432. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  433. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  434. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  435. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  436. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  437. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  438. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  439. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  440. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  441. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  442. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  443. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  444. ];
  445. //明德教師桌面圖標的全局變量
  446. U.MD.D.I.MingdeTeacherDeskIcon = [
  447. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  448. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  449. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  450. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  451. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  452. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  453. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  454. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  455. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  456. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  457. // { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  458. // { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  459. // { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  460. // { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  461. // { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  462. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  463. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  464. // { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  465. // { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  466. // { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  467. // { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  468. // { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  469. // { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  470. // { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  471. // { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  472. // { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  473. // { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  474. // { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  475. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  476. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  477. ];
  478. //97c4ee8b-d010-4042-986d-e9d3c217264f
  479. //教師桌面圖標的全局變量
  480. U.MD.D.I.zhoujiaTeacherDeskIcon = [
  481. { "Name": "工作項目", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  482. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  483. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  484. // { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  485. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  486. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  487. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  488. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  489. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  490. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  491. ];
  492. //福田
  493. U.MD.D.I.futianTeacherDeskIcon = [
  494. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  495. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.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": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  499. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  500. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  501. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  502. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  503. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  504. ];
  505. //福田
  506. U.MD.D.I.futianAdminDeskIcon = [
  507. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  508. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  509. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  510. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  511. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  512. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  513. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  514. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  515. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  516. ];
  517. //lotech
  518. U.MD.D.I.lotechTeacherDeskIcon = [
  519. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  520. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  521. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  522. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  523. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  524. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  525. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  526. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  527. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  528. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  529. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  530. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  531. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  532. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  533. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  534. ];
  535. //龍華中心小學教師桌面圖標的全局變量
  536. U.MD.D.I.longhuateacherDeskIcon = [
  537. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  538. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  539. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  540. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  541. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  542. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  543. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  544. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  545. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  546. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  547. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  548. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  549. ];
  550. //教科院實小教師桌面圖標的全局變量
  551. U.MD.D.I.siesteacherDeskIcon = [
  552. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  553. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  554. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  555. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  556. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  557. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  558. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  559. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  560. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  561. // { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  562. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  563. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  564. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  565. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  566. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  567. ];
  568. //教科院實小教師桌面圖標的全局變量
  569. U.MD.D.I.siesStudentDeskIcon = [
  570. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  571. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  572. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  573. ];
  574. //福田
  575. U.MD.D.I.gdjgTeacherDeskIcon = [
  576. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  577. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  578. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  579. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  580. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  581. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  582. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  583. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  584. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  585. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  586. ];
  587. //gdjg
  588. U.MD.D.I.gdjgAdminDeskIcon = [
  589. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  590. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  591. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  592. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  593. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  594. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  595. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  596. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  597. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  598. ];
  599. //hk
  600. U.MD.D.I.hkteacherDeskIcon = [
  601. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  602. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  603. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  604. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  605. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  606. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  607. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  608. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  609. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  610. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  611. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  612. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  613. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  614. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  615. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  616. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  617. { "Name": "AI Agent", "Url": "aiagent", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  618. ];
  619. //hk
  620. U.MD.D.I.hkStudentDeskIcon = [
  621. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  622. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  623. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.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. ];
  627. //香海正覺蓮社佛教正覺中學
  628. U.MD.D.I.hkZJLSteacherDeskIcon = [
  629. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  630. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  631. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  632. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  633. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  634. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  635. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  636. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  637. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  638. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  639. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  640. // { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  641. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  642. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  643. ];
  644. //香海正覺蓮社佛教正覺中學
  645. U.MD.D.I.hkZJLSStudentDeskIcon = [
  646. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  647. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  648. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  649. ];
  650. //雲海
  651. U.MD.D.I.yunhaiTeacherDeskIcon = [
  652. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  653. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  654. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  655. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  656. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  657. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  658. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  659. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  660. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  661. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  662. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  663. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  664. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  665. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  666. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  667. ];
  668. //福田
  669. U.MD.D.I.heyuanTeacherDeskIcon = [
  670. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  671. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  672. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  673. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  674. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  675. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  676. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  677. // { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  678. // { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  679. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  680. ];
  681. //福田
  682. U.MD.D.I.heyuanAdminDeskIcon = [
  683. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  684. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  685. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  686. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  687. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  688. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  689. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  690. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  691. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  692. ];
  693. //szjylh 54f09f1e-09f0-11ee-91d8-005056b86db5
  694. U.MD.D.I.szherTeacherDeskIcon = [
  695. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  696. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  697. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  698. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  699. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  700. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  701. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.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. ];
  705. //dsei
  706. U.MD.D.I.dseiTeacherDeskIcon = [
  707. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  708. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  709. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  710. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  711. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  712. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  713. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  714. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  715. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  716. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  717. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  718. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  719. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  720. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  721. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  722. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  723. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  724. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  725. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  726. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  727. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  728. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  729. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  730. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  731. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  732. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  733. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  734. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  735. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  736. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  737. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  738. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  739. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  740. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  741. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  742. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  743. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  744. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  745. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  746. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  747. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  748. ];
  749. //dsei
  750. U.MD.D.I.dseiAdminDeskIcon = [
  751. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  752. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  753. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  754. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  755. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  756. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  757. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  758. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  759. { "Name": "教研室", "Url": "teacherOffice", "style": { "cssText": "background-image:url(/img/icon/teacherOffice.png)" } },
  760. { "Name": "年級管理", "Url": "Grade", "style": { "cssText": "background-image:url(/img/icon/Grade.png)" } },
  761. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  762. { "Name": "我的資料", "Url": "my", "style": { "cssText": "background-image:url(/img/icon/myMessage.png)" } },
  763. { "Name": "通知公告", "Url": "notice", "style": { "cssText": "background-image:url(/img/icon/news.png)" } },
  764. { "Name": "素材庫", "Url": "library", "style": { "cssText": "background-image:url(/img/icon/library.png)" } },
  765. { "Name": "電子白板", "Url": "whiteboard", "style": { "cssText": "background-image:url(/img/icon/whiteBoard.png)" } },
  766. { "Name": "問卷調查", "Url": "investigation", "style": { "cssText": "background-image:url(/img/icon/ask.png)" } },
  767. { "Name": "便簽分類", "Url": "note", "style": { "cssText": "background-image:url(/img/icon/note.png)" } },
  768. { "Name": "思維導圖", "Url": "mind", "style": { "cssText": "background-image:url(/img/icon/mindMapping.png)" } },
  769. { "Name": "協同文檔", "Url": "doc", "style": { "cssText": "background-image:url(/img/icon/doc.png)" } },
  770. { "Name": "思維網格", "Url": "mindNetwork", "style": { "cssText": "background-image:url(/img/icon/mindNetwork.png)" } },
  771. { "Name": "目標管理", "Url": "sys", "style": { "cssText": "background-image:url(/img/icon/evalua.png)" } },
  772. { "Name": "項目設計", "Url": "courseDesign", "style": { "cssText": "background-image:url(/img/icon/courseDesign.png)" } },
  773. { "Name": "訓練平臺", "Url": "train", "style": { "cssText": "background-image:url(/img/icon/trainPlatform.png)" } },
  774. { "Name": "編程平臺", "Url": "program", "style": { "cssText": "background-image:url(/img/icon/program.png)" } },
  775. { "Name": "AI體驗", "Url": "AIprogram2", "style": { "cssText": "background-image:url(/img/icon/AIprogram2.png)" } },
  776. { "Name": "Python", "Url": "Pythonprogram", "style": { "cssText": "background-image:url(/img/icon/Pythonprogram.png)" } },
  777. { "Name": "AI編程", "Url": "AIprogram", "style": { "cssText": "background-image:url(/img/icon/AIprogram.png)" } },
  778. { "Name": "源碼編輯", "Url": "codeEdit", "style": { "cssText": "background-image:url(/img/icon/code.png)" } },
  779. { "Name": "MindMap", "Url": "MindMap", "style": { "cssText": "background-image:url(/img/icon/MIndMap.png)" } },
  780. { "Name": "翻譯", "Url": "translation", "style": { "cssText": "background-image:url(/img/icon/translation.png)" } },
  781. { "Name": "魔盒識字", "Url": "mohe", "style": { "cssText": "background-image:url(/img/icon/mohe.png)" } },
  782. { "Name": "24點", "Url": "24game", "style": { "cssText": "background-image:url(/img/icon/24game.png)" } },
  783. { "Name": "數學畫板", "Url": "netWorkPanel", "style": { "cssText": "background-image:url(/img/icon/networkPanel.png)" } },
  784. { "Name": "GeoGebra", "Url": "GeoGebra", "style": { "cssText": "background-image:url(/img/icon/GeoGebra.png)" } },
  785. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  786. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  787. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  788. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  789. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  790. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  791. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  792. ];
  793. //dsei
  794. U.MD.D.I.dseiStudentDeskIcon = [
  795. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  796. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  797. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  798. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  799. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  800. ];
  801. //未來教育基地
  802. U.MD.D.I.szjkyTeacherDeskIcon = [
  803. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  804. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  805. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  806. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  807. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  808. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  809. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  810. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  811. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  812. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  813. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  814. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  815. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  816. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  817. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  818. ];
  819. //未來教育基地
  820. U.MD.D.I.szjkyAdminDeskIcon = [
  821. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  822. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  823. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  824. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  825. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  826. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  827. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  828. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  829. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  830. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  831. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  832. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  833. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  834. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  835. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  836. ];
  837. //未來教育基地
  838. U.MD.D.I.szjkyStudentDeskIcon = [
  839. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  840. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  841. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  842. ];
  843. //成華教育局
  844. U.MD.D.I.chjyjTeacherDeskIcon = [
  845. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  846. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  847. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  848. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  849. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  850. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  851. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  852. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  853. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  854. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  855. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  856. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  857. ];
  858. //成華教育局chjyj
  859. U.MD.D.I.chjyjAdminDeskIcon = [
  860. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  861. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  862. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  863. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  864. // { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  865. // { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  866. { "Name": "學生管理", "Url": "student", "style": { "cssText": "background-image:url(/img/icon/student.png)" } },
  867. { "Name": "學生評價", "Url": "evaluate", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },
  868. { "Name": "班級管理", "Url": "class", "style": { "cssText": "background-image:url(/img/icon/class.png)" } },
  869. { "Name": "教學資源", "Url": "source", "style": { "cssText": "background-image:url(/img/icon/source.png)" } },
  870. { "Name": "課程進展", "Url": "case", "style": { "cssText": "background-image:url(/img/icon/case.png)" } },
  871. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  872. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  873. ];
  874. //成華教育局chjyj
  875. U.MD.D.I.chjyjStudentDeskIcon = [
  876. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  877. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  878. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  879. ];
  880. //tpc
  881. U.MD.D.I.tpcStudentDeskIcon = [
  882. { "Name": "課程中心", "Url": "studentStudy", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  883. { "Name": "項目管理", "Url": "studentCourse", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  884. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  885. ];
  886. //tpc
  887. U.MD.D.I.tpcTeacherDeskIcon = [
  888. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  889. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  890. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  891. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  892. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  893. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  894. ];
  895. //tpc
  896. U.MD.D.I.tpcAdminDeskIcon = [
  897. { "Name": "課程管理", "Url": "project", "style": { "cssText": "background-image:url(/img/icon/project.png)" } },
  898. { "Name": "課程中心", "Url": "study", "style": { "cssText": "background-image:url(/img/icon/study.png)" } },
  899. { "Name": "項目管理", "Url": "studentCourseS", "style": { "cssText": "background-image:url(/img/icon/studentCourse.png)" } },
  900. { "Name": "項目中心", "Url": "studentIndex", "style": { "cssText": "background-image:url(/img/icon/studentIndex.png)" } },
  901. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  902. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  903. ];
  904. //#region 桌面初始化a
  905. /**
  906. * 初始化桌面的起始函數
  907. *
  908. */
  909. U.MD.D.I.init = function () {
  910. if ($("#U_MD_D_K")[0]) {
  911. //初始化桌面圖標
  912. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], 1);
  913. // var clickUrl = ':12588/requestIp.php';
  914. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  915. // U.MD.D.I.Ip = data;
  916. // var AccessUrl = ':12588/useAccess.php?ip=' + U.MD.D.I.Ip;
  917. // U.MD.D.I.Mysqlrequest(AccessUrl,function(data){
  918. // U.selectEl("#U_MD_D_RW").css("width", US.width - 165 + "px");
  919. // })
  920. // //初始化任務欄,因為是靜態的,所以直接改變樣式即可.
  921. // })
  922. }
  923. }
  924. /**
  925. * 模式切換
  926. *
  927. */
  928. U.MD.D.I.ModeCheck = function (type) {
  929. if (US.Config.type == type) {
  930. return
  931. }
  932. US.Config.type = type
  933. $('.U_PBL_Check .active')[0].className = ''
  934. if (type == 1) {
  935. $('.U_PBL_Check div')[0].className = 'active'
  936. $("#U_MD_D_BG")[0].style.backgroundImage = US.Config.background
  937. } else {
  938. $('.U_PBL_Check div')[1].className = 'active'
  939. $("#U_MD_D_BG")[0].style.backgroundImage = 'url("/img/icon/easyBg.png")'
  940. }
  941. //初始化桌面圖標
  942. U.MD.D.I.initDesktopIcons($("#U_MD_D_K")[0], type);
  943. if (type == 2) {
  944. U.MD.D.I.openApplication("project")
  945. }
  946. }
  947. /**
  948. * 隱藏任務欄
  949. *
  950. * @param {element} 桌面元素
  951. */
  952. U.MD.D.I.hiddenTaskbar = function (el) {
  953. //任務欄位置變小
  954. U.selectEl(el).parentElement(3).css({ "bottom": "-60px" });
  955. //桌面的位置變大
  956. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  957. }
  958. /**
  959. * 隱藏任務欄
  960. *
  961. * @param {element} 桌面元素
  962. */
  963. U.MD.D.I.hiddenTaskbarout = function (el) {
  964. //任務欄位置變小
  965. if (!U.UF.EV.stopBubbleMouseOutOrOver(el)) {
  966. //任務欄位置變化
  967. U.selectEl(el).css({ "bottom": "-60px" });
  968. //桌面的位置變大
  969. // U.selectEl("#U_MD_D_K").css({ "left": "5px" });
  970. }
  971. }
  972. /**
  973. * 初始化打印桌面圖標
  974. *
  975. * @param {element} 桌面元素
  976. */
  977. U.MD.D.I.initDesktopIcons = function (el, type) {
  978. var i, //用於循環
  979. _content, //桌面圖標元素
  980. _iconcontent, //桌面圖標元素
  981. _frag = $$("frag"), //定義一個碎片元素
  982. _type = US.userInfo.type,
  983. _org = US.userInfo.org,
  984. _oid = US.userInfo.organizeid,
  985. _role = US.userInfo.role,
  986. _teacherDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.teacherDeskIcon)), //獲取教師端桌面圖標
  987. _easyDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.easyDeskIcon)), //極簡模式桌面圖標
  988. _teacherDesktopIconInfo2 = U.MD.D.I.teacherDeskIcon2, //獲取教師端桌面圖標
  989. _studentDesktopIconInfo = JSON.parse(JSON.stringify(U.MD.D.I.studentDeskIcon)), //獲取學生端桌面圖標
  990. _studentDesktopIconInfo2 = U.MD.D.I.studentDeskIcon2, //獲取學生端桌面圖標
  991. _studentDesktopIconInfo3 = U.MD.D.I.studentDeskIcon3, //獲取學生端桌面圖標
  992. _orgDesktopIconInfo = U.MD.D.I.orgDeskIcon, //獲取組織桌面圖標
  993. _orgStemDeskIcon = U.MD.D.I.orgStemDeskIcon,
  994. _szulsDeskIcon = U.MD.D.I.szulsDeskIcon,
  995. _hanDeskIcon = U.MD.D.I.hanDeskIcon,
  996. _schoolDesktopIconInfo = U.MD.D.I.schoolDeskIcon, //獲取測試學校桌面圖標
  997. _BSDNSteacherDesktopIconInfo = U.MD.D.I.BSDNSteacherDeskIcon, //獲取北師大
  998. _zhoujiateacherDesktopIconInfo = U.MD.D.I.zhoujiaTeacherDeskIcon, //獲取周佳名工作室
  999. _SONGteacherDesktopIconInfo = U.MD.D.I.SONGteacherDeskIcon, //獲取松山湖
  1000. _wanketeacherDesktopIconInfo = U.MD.D.I.wankeTeacherDeskIcon, //獲取萬科雙語
  1001. _wankeAdminDesktopIconInfo = U.MD.D.I.wankeAdminDeskIcon, //獲取萬科雙語
  1002. _MingdeTeacherDeskIcon = U.MD.D.I.MingdeTeacherDeskIcon, //獲取萬科雙語
  1003. _lhsteacherDesktopIconInfo = U.MD.D.I.lhsTeacherDeskIcon, //獲取未來小學
  1004. _lhsAdminDesktopIconInfo = U.MD.D.I.lhsAdminDeskIcon, //獲取未來小學
  1005. _GMteacherDesktopIconInfo = U.MD.D.I.GMteacherDeskIcon, //獲取光明學校桌面圖標
  1006. _GMstudentDesktopIconInfo = U.MD.D.I.GMstudentDeskIcon, //獲取光明學校桌面圖標
  1007. _tcStudentDeskIconInfo = U.MD.D.I.tcStudentDeskIcon, //騰訊學生
  1008. _tcTeacherDeskIconInfo = U.MD.D.I.tcTeacherDeskIcon, //騰訊學生
  1009. _futianTeacherDeskIconInfo = U.MD.D.I.futianTeacherDeskIcon, //福田
  1010. _futianAdminDeskIconInfo = U.MD.D.I.futianAdminDeskIcon, //福田
  1011. _szjkyTeacherDeskIconInfo = U.MD.D.I.szjkyTeacherDeskIcon, //未來教育基地
  1012. _szjkyAdminDeskIconInfo = U.MD.D.I.szjkyAdminDeskIcon, //未來教育基地
  1013. _szjkyStudentDeskIconInfo = U.MD.D.I.szjkyStudentDeskIcon, //未來教育基地
  1014. _chjyjTeacherDeskIconInfo = U.MD.D.I.chjyjTeacherDeskIcon, //成華教育局
  1015. _chjyjAdminDeskIconInfo = U.MD.D.I.chjyjAdminDeskIcon, //成華教育局
  1016. _chjyjStudentDeskIconInfo = U.MD.D.I.chjyjStudentDeskIcon, //成華教育局
  1017. _dseiTeacherDeskIconInfo = U.MD.D.I.dseiTeacherDeskIcon, //dsei
  1018. _dseiAdminDeskIconInfo = U.MD.D.I.dseiAdminDeskIcon, //dsei
  1019. _dseiStudentDeskIconInfo = U.MD.D.I.dseiStudentDeskIcon, //dsei
  1020. _heyuanTeacherDeskIconInfo = U.MD.D.I.heyuanTeacherDeskIcon, //福田
  1021. _heyuannAdminDeskIconInfo = U.MD.D.I.heyuanAdminDeskIcon, //福田
  1022. _szherTeacherDeskIconInfo = U.MD.D.I.szherTeacherDeskIcon, //szher
  1023. _gdjgTeacherDeskIconInfo = U.MD.D.I.gdjgTeacherDeskIcon, //
  1024. _gdjgAdminDeskIconInfo = U.MD.D.I.gdjgAdminDeskIcon, //
  1025. _lotechTeacherDeskIconInfo = U.MD.D.I.lotechTeacherDeskIcon, //lotech
  1026. _longhuaTeacherDeskIconInfo = U.MD.D.I.longhuateacherDeskIcon, //龍華中心
  1027. _siesTeacherDeskIconInfo = U.MD.D.I.siesteacherDeskIcon, //sies
  1028. _siesStudentDeskIconInfo = U.MD.D.I.siesStudentDeskIcon, //sies
  1029. _tcOrganizerDeskIconInfo = U.MD.D.I.tcOrganizerDeskIcon, //騰訊學生
  1030. _hkTeacherDeskIconInfo = U.MD.D.I.hkteacherDeskIcon, //hk
  1031. _hkStudentDeskIconInfo = U.MD.D.I.hkStudentDeskIcon, //hk
  1032. _hkZJLSTeacherDeskIconInfo = U.MD.D.I.hkZJLSteacherDeskIcon, //hk
  1033. _hkZJLSStudentDeskIconInfo = U.MD.D.I.hkZJLSStudentDeskIcon, //hk
  1034. _yunhaiTeacherDeskIconInfo = U.MD.D.I.yunhaiTeacherDeskIcon, //雲海
  1035. _tpcStudentDeskIconInfo= U.MD.D.I.tpcStudentDeskIcon,
  1036. _tpcTeacherDeskIconInfo= U.MD.D.I.tpcTeacherDeskIcon,
  1037. _tpcOrganizerDeskIconInfo= U.MD.D.I.tpcAdminDeskIcon,
  1038. _szscStudentDeskIconInfo = U.MD.D.I.szscStudentDeskIcon, //網絡夏令營
  1039. _szscTeacherDeskIconInfo = U.MD.D.I.szscTeacherDeskIcon, //網絡夏令營
  1040. _szscOrganizerDeskIconInfo = U.MD.D.I.szscOrganizerDeskIcon; //網絡夏令營
  1041. 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'];
  1042. 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'];
  1043. //清楚桌面圖標
  1044. el.innerHTML = "";
  1045. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5' || _oid == "16d397f3-b192-11ed-9211-005056b86db5" || _org == "0fec3a8a-ad04-11ed-b13d-005056b86db5") {
  1046. _teacherDesktopIconInfo.push(
  1047. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1048. { "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)" } },
  1049. )
  1050. _easyDesktopIconInfo.push({ "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)", "width": '114px', 'height': '114px' } })
  1051. }
  1052. if (_oid == '45facc0a-1211-11ec-80ad-005056b86db5') {
  1053. _teacherDesktopIconInfo.push(
  1054. // { "Name": "chatPDF", "Url": "chatPDF", "style": { "cssText": "background-image:url(/img/icon/chatPDF.png)" } },
  1055. { "Name": "學習分析", "Url": "learnAna", "style": { "cssText": "background-image:url(/img/icon/learnAna.png)" } },
  1056. { "Name": "AI共創", "Url": "AIChat", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1057. { "Name": "AI協同", "Url": "ainew", "style": { "cssText": "background-image:url(/img/icon/AIChat.png)" } },
  1058. { "Name": "工作管理", "Url": "studioCourse", "style": { "cssText": "background-image:url(/img/icon/studioCourse.png)" } },
  1059. { "Name": "工作中心", "Url": "studioIndex", "style": { "cssText": "background-image:url(/img/icon/studioIndex.png)" } },
  1060. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1061. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1062. { "Name": "評測管理", "Url": "testTeacher", "style": { "cssText": "background-image:url(/img/icon/testTeacher.png)" } },
  1063. { "Name": "評測中心", "Url": "testStudent", "style": { "cssText": "background-image:url(/img/icon/testStudent.png)" } },
  1064. )
  1065. }
  1066. if (_org == 'c95e0a56-c205-11ed-8d51-005056b86db5') {
  1067. _teacherDesktopIconInfo.push(
  1068. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1069. { "Name": "數據看板", "Url": "dataBoard", "style": { "cssText": "background-image:url(/img/icon/dataBoard.png)" } },
  1070. )
  1071. _studentDesktopIconInfo.push(
  1072. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1073. )
  1074. }
  1075. //麒麟二中 和 民新小学
  1076. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5' || _oid == "d67940a5-510c-40ea-9c9a-2631ab03013a") {
  1077. _teacherDesktopIconInfo.push(
  1078. { "Name": "協同建構", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1079. )
  1080. }
  1081. //麒麟二中
  1082. if (_oid == 'cf8841e8-c7c0-11ed-9546-005056b86db5') {
  1083. _studentDesktopIconInfo.push(
  1084. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1085. )
  1086. }
  1087. //万科双语
  1088. if (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5') {
  1089. _studentDesktopIconInfo3 = _studentDesktopIconInfo3.filter((el) => {
  1090. if (el.Name == '項目管理') {
  1091. el.Name = 'PBL項目'
  1092. }
  1093. return el
  1094. })
  1095. _studentDesktopIconInfo3.push(
  1096. { "Name": "协同建构", "Url": "futureClass", "style": { "cssText": "background-image:url(/img/icon/futureClass.png)" } },
  1097. )
  1098. }
  1099. if (_oid != '45facc0a-1211-11ec-80ad-005056b86db5') {
  1100. _teacherDesktopIconInfo = _teacherDesktopIconInfo.filter((el) => {
  1101. return el.Name != '魔盒識字' && el.Name != '24點'
  1102. })
  1103. }
  1104. 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) {
  1105. _studentDesktopIconInfo.push({ "Name": "我的評價", "Url": "myReport", "style": { "cssText": "background-image:url(/img/icon/evaluation.png)" } },)
  1106. }
  1107. //循環創建桌面圖標
  1108. if (type == 1) {
  1109. if (_type == 2 && _oidA.indexOf(_oid) == -1 && _orgA.indexOf(_org) == -1 && _org != 'eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217') {
  1110. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1111. _content = $$("div", {
  1112. className: "U_MD_D_KO",
  1113. "onmousedown": U.UF.C.closure(function (obj) {
  1114. //防止拖動圖標即打開了桌面應用
  1115. U.MD.D.click(this, obj);
  1116. }, [_studentDesktopIconInfo[i]]),
  1117. "onclick": U.UF.C.closure(function (obj) {
  1118. //防止拖動圖標即打開了桌面應用
  1119. U.MD.D.click(this, obj);
  1120. }, [_studentDesktopIconInfo[i]])
  1121. }, _frag); //
  1122. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1123. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1124. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1125. }
  1126. } else if (_type == 2 && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1127. for (i = 0; i < _hkZJLSStudentDeskIconInfo.length; i++) {
  1128. _content = $$("div", {
  1129. className: "U_MD_D_KO",
  1130. "onmousedown": U.UF.C.closure(function (obj) {
  1131. //防止拖動圖標即打開了桌面應用
  1132. U.MD.D.click(this, obj);
  1133. }, [_hkZJLSStudentDeskIconInfo[i]]),
  1134. "onclick": U.UF.C.closure(function (obj) {
  1135. //防止拖動圖標即打開了桌面應用
  1136. U.MD.D.click(this, obj);
  1137. }, [_hkZJLSStudentDeskIconInfo[i]])
  1138. }, _frag); //
  1139. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1140. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSStudentDeskIconInfo[i].style }, _iconcontent);
  1141. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSStudentDeskIconInfo[i].Name }, _iconcontent);
  1142. } //
  1143. } else if (_type == 2 && (_org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956")) {
  1144. for (i = 0; i < _tpcStudentDeskIconInfo.length; i++) {
  1145. _content = $$("div", {
  1146. className: "U_MD_D_KO",
  1147. "onmousedown": U.UF.C.closure(function (obj) {
  1148. //防止拖動圖標即打開了桌面應用
  1149. U.MD.D.click(this, obj);
  1150. }, [_tpcStudentDeskIconInfo[i]]),
  1151. "onclick": U.UF.C.closure(function (obj) {
  1152. //防止拖動圖標即打開了桌面應用
  1153. U.MD.D.click(this, obj);
  1154. }, [_tpcStudentDeskIconInfo[i]])
  1155. }, _frag); //
  1156. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1157. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcStudentDeskIconInfo[i].style }, _iconcontent);
  1158. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcStudentDeskIconInfo[i].Name }, _iconcontent);
  1159. } //
  1160. } else if (_type == 2 && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5")) {
  1161. for (i = 0; i < _chjyjStudentDeskIconInfo.length; i++) {
  1162. _content = $$("div", {
  1163. className: "U_MD_D_KO",
  1164. "onmousedown": U.UF.C.closure(function (obj) {
  1165. //防止拖動圖標即打開了桌面應用
  1166. U.MD.D.click(this, obj);
  1167. }, [_chjyjStudentDeskIconInfo[i]]),
  1168. "onclick": U.UF.C.closure(function (obj) {
  1169. //防止拖動圖標即打開了桌面應用
  1170. U.MD.D.click(this, obj);
  1171. }, [_chjyjStudentDeskIconInfo[i]])
  1172. }, _frag); //
  1173. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1174. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjStudentDeskIconInfo[i].style }, _iconcontent);
  1175. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjStudentDeskIconInfo[i].Name }, _iconcontent);
  1176. }
  1177. } else if (_type == 2 && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5")) {
  1178. for (i = 0; i < _szjkyStudentDeskIconInfo.length; i++) {
  1179. _content = $$("div", {
  1180. className: "U_MD_D_KO",
  1181. "onmousedown": U.UF.C.closure(function (obj) {
  1182. //防止拖動圖標即打開了桌面應用
  1183. U.MD.D.click(this, obj);
  1184. }, [_szjkyStudentDeskIconInfo[i]]),
  1185. "onclick": U.UF.C.closure(function (obj) {
  1186. //防止拖動圖標即打開了桌面應用
  1187. U.MD.D.click(this, obj);
  1188. }, [_szjkyStudentDeskIconInfo[i]])
  1189. }, _frag); //
  1190. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1191. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyStudentDeskIconInfo[i].style }, _iconcontent);
  1192. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyStudentDeskIconInfo[i].Name }, _iconcontent);
  1193. }
  1194. } else if (_type == 2 && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5")) {
  1195. for (i = 0; i < _dseiStudentDeskIconInfo.length; i++) {
  1196. _content = $$("div", {
  1197. className: "U_MD_D_KO",
  1198. "onmousedown": U.UF.C.closure(function (obj) {
  1199. //防止拖動圖標即打開了桌面應用
  1200. U.MD.D.click(this, obj);
  1201. }, [_dseiStudentDeskIconInfo[i]]),
  1202. "onclick": U.UF.C.closure(function (obj) {
  1203. //防止拖動圖標即打開了桌面應用
  1204. U.MD.D.click(this, obj);
  1205. }, [_dseiStudentDeskIconInfo[i]])
  1206. }, _frag); //
  1207. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1208. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiStudentDeskIconInfo[i].style }, _iconcontent);
  1209. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiStudentDeskIconInfo[i].Name }, _iconcontent);
  1210. }
  1211. } else if (_type == 2 && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1212. for (i = 0; i < _siesStudentDeskIconInfo.length; i++) {
  1213. _content = $$("div", {
  1214. className: "U_MD_D_KO",
  1215. "onmousedown": U.UF.C.closure(function (obj) {
  1216. //防止拖動圖標即打開了桌面應用
  1217. U.MD.D.click(this, obj);
  1218. }, [_siesStudentDeskIconInfo[i]]),
  1219. "onclick": U.UF.C.closure(function (obj) {
  1220. //防止拖動圖標即打開了桌面應用
  1221. U.MD.D.click(this, obj);
  1222. }, [_siesStudentDeskIconInfo[i]])
  1223. }, _frag); //
  1224. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1225. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesStudentDeskIconInfo[i].style }, _iconcontent);
  1226. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesStudentDeskIconInfo[i].Name }, _iconcontent);
  1227. }
  1228. } else if (_type == 2 && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1229. for (i = 0; i < _hkStudentDeskIconInfo.length; i++) {
  1230. _content = $$("div", {
  1231. className: "U_MD_D_KO",
  1232. "onmousedown": U.UF.C.closure(function (obj) {
  1233. //防止拖動圖標即打開了桌面應用
  1234. U.MD.D.click(this, obj);
  1235. }, [_hkStudentDeskIconInfo[i]]),
  1236. "onclick": U.UF.C.closure(function (obj) {
  1237. //防止拖動圖標即打開了桌面應用
  1238. U.MD.D.click(this, obj);
  1239. }, [_hkStudentDeskIconInfo[i]])
  1240. }, _frag); //
  1241. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1242. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkStudentDeskIconInfo[i].style }, _iconcontent);
  1243. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkStudentDeskIconInfo[i].Name }, _iconcontent);
  1244. }
  1245. } else if (_type == 2 && (_oid == "91305d49-01ba-11ed-8c78-005056b86db5")) {
  1246. for (i = 0; i < _studentDesktopIconInfo.length; i++) {
  1247. _content = $$("div", {
  1248. className: "U_MD_D_KO",
  1249. "onmousedown": U.UF.C.closure(function (obj) {
  1250. //防止拖動圖標即打開了桌面應用
  1251. U.MD.D.click(this, obj);
  1252. }, [_studentDesktopIconInfo[i]]),
  1253. "onclick": U.UF.C.closure(function (obj) {
  1254. //防止拖動圖標即打開了桌面應用
  1255. U.MD.D.click(this, obj);
  1256. }, [_studentDesktopIconInfo[i]])
  1257. }, _frag); //
  1258. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1259. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo[i].style }, _iconcontent);
  1260. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo[i].Name }, _iconcontent);
  1261. }
  1262. } else if (_type == 2 && _org == "150e3120-9195-11ed-b13d-005056b86db5") {
  1263. for (i = 0; i < _tcStudentDeskIconInfo.length; i++) {
  1264. _content = $$("div", {
  1265. className: "U_MD_D_KO",
  1266. "onmousedown": U.UF.C.closure(function (obj) {
  1267. //防止拖動圖標即打開了桌面應用
  1268. U.MD.D.click(this, obj);
  1269. }, [_tcStudentDeskIconInfo[i]]),
  1270. "onclick": U.UF.C.closure(function (obj) {
  1271. //防止拖動圖標即打開了桌面應用
  1272. U.MD.D.click(this, obj);
  1273. }, [_tcStudentDeskIconInfo[i]])
  1274. }, _frag); //
  1275. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1276. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcStudentDeskIconInfo[i].style }, _iconcontent);
  1277. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcStudentDeskIconInfo[i].Name }, _iconcontent);
  1278. }
  1279. } else if (_type == 2 && _org == "ee40e8e3-e36c-4872-8105-cf395481012s") {
  1280. for (i = 0; i < _szscStudentDeskIconInfo.length; i++) {
  1281. _content = $$("div", {
  1282. className: "U_MD_D_KO",
  1283. "onmousedown": U.UF.C.closure(function (obj) {
  1284. //防止拖動圖標即打開了桌面應用
  1285. U.MD.D.click(this, obj);
  1286. }, [_szscStudentDeskIconInfo[i]]),
  1287. "onclick": U.UF.C.closure(function (obj) {
  1288. //防止拖動圖標即打開了桌面應用
  1289. U.MD.D.click(this, obj);
  1290. }, [_szscStudentDeskIconInfo[i]])
  1291. }, _frag); //
  1292. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1293. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscStudentDeskIconInfo[i].style }, _iconcontent);
  1294. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscStudentDeskIconInfo[i].Name }, _iconcontent);
  1295. }
  1296. } else if (_type == 2 && (_oid == '1c3b9def-8fbe-11ed-b13d-005056b86db5' || _org == "7ada499f-4ec7-11ed-8c78-005056b86db5")) {
  1297. for (i = 0; i < _studentDesktopIconInfo3.length; i++) {
  1298. _content = $$("div", {
  1299. className: "U_MD_D_KO",
  1300. "onmousedown": U.UF.C.closure(function (obj) {
  1301. //防止拖動圖標即打開了桌面應用
  1302. U.MD.D.click(this, obj);
  1303. }, [_studentDesktopIconInfo3[i]]),
  1304. "onclick": U.UF.C.closure(function (obj) {
  1305. //防止拖動圖標即打開了桌面應用
  1306. U.MD.D.click(this, obj);
  1307. }, [_studentDesktopIconInfo3[i]])
  1308. }, _frag); //
  1309. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1310. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo3[i].style }, _iconcontent);
  1311. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo3[i].Name }, _iconcontent);
  1312. }
  1313. } else if (_type == 2 && (_oidA.indexOf(_oid) != -1 || _orgA.indexOf(_org) != -1)) {
  1314. for (i = 0; i < _studentDesktopIconInfo2.length; i++) {
  1315. _content = $$("div", {
  1316. className: "U_MD_D_KO",
  1317. "onmousedown": U.UF.C.closure(function (obj) {
  1318. //防止拖動圖標即打開了桌面應用
  1319. U.MD.D.click(this, obj);
  1320. }, [_studentDesktopIconInfo2[i]]),
  1321. "onclick": U.UF.C.closure(function (obj) {
  1322. //防止拖動圖標即打開了桌面應用
  1323. U.MD.D.click(this, obj);
  1324. }, [_studentDesktopIconInfo2[i]])
  1325. }, _frag); //
  1326. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1327. $$("div", { className: "U_MD_D_KOS U_Img", "style": _studentDesktopIconInfo2[i].style }, _iconcontent);
  1328. $$("div", { className: "U_MD_D_KOX", "innerHTML": _studentDesktopIconInfo2[i].Name }, _iconcontent);
  1329. }
  1330. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 0) {
  1331. for (i = 0; i < _wanketeacherDesktopIconInfo.length; i++) {
  1332. _content = $$("div", {
  1333. className: "U_MD_D_KO",
  1334. "onmousedown": U.UF.C.closure(function (obj) {
  1335. //防止拖動圖標即打開了桌面應用
  1336. U.MD.D.click(this, obj);
  1337. }, [_wanketeacherDesktopIconInfo[i]]),
  1338. "onclick": U.UF.C.closure(function (obj) {
  1339. //防止拖動圖標即打開了桌面應用
  1340. U.MD.D.click(this, obj);
  1341. }, [_wanketeacherDesktopIconInfo[i]])
  1342. }, _frag); //
  1343. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1344. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wanketeacherDesktopIconInfo[i].style }, _iconcontent);
  1345. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wanketeacherDesktopIconInfo[i].Name }, _iconcontent);
  1346. }
  1347. } else if ((_type == 1 || _type == 4) && _oid == "1c3b9def-8fbe-11ed-b13d-005056b86db5" && _role == 1) {
  1348. for (i = 0; i < _wankeAdminDesktopIconInfo.length; i++) {
  1349. _content = $$("div", {
  1350. className: "U_MD_D_KO",
  1351. "onmousedown": U.UF.C.closure(function (obj) {
  1352. //防止拖動圖標即打開了桌面應用
  1353. U.MD.D.click(this, obj);
  1354. }, [_wankeAdminDesktopIconInfo[i]]),
  1355. "onclick": U.UF.C.closure(function (obj) {
  1356. //防止拖動圖標即打開了桌面應用
  1357. U.MD.D.click(this, obj);
  1358. }, [_wankeAdminDesktopIconInfo[i]])
  1359. }, _frag); //
  1360. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1361. $$("div", { className: "U_MD_D_KOS U_Img", "style": _wankeAdminDesktopIconInfo[i].style }, _iconcontent);
  1362. $$("div", { className: "U_MD_D_KOX", "innerHTML": _wankeAdminDesktopIconInfo[i].Name }, _iconcontent);
  1363. }
  1364. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 1) {
  1365. for (i = 0; i < _tpcOrganizerDeskIconInfo.length; i++) {
  1366. _content = $$("div", {
  1367. className: "U_MD_D_KO",
  1368. "onmousedown": U.UF.C.closure(function (obj) {
  1369. //防止拖動圖標即打開了桌面應用
  1370. U.MD.D.click(this, obj);
  1371. }, [_tpcOrganizerDeskIconInfo[i]]),
  1372. "onclick": U.UF.C.closure(function (obj) {
  1373. //防止拖動圖標即打開了桌面應用
  1374. U.MD.D.click(this, obj);
  1375. }, [_tpcOrganizerDeskIconInfo[i]])
  1376. }, _frag); //
  1377. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1378. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1379. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1380. }
  1381. } else if ((_type == 1 || _type == 4) && _org == "a0fc1c55-3c2f-4ece-8cd4-ac3e2c1e9956" && _role == 0) {
  1382. for (i = 0; i < _tpcTeacherDeskIconInfo.length; i++) {
  1383. _content = $$("div", {
  1384. className: "U_MD_D_KO",
  1385. "onmousedown": U.UF.C.closure(function (obj) {
  1386. //防止拖動圖標即打開了桌面應用
  1387. U.MD.D.click(this, obj);
  1388. }, [_tpcTeacherDeskIconInfo[i]]),
  1389. "onclick": U.UF.C.closure(function (obj) {
  1390. //防止拖動圖標即打開了桌面應用
  1391. U.MD.D.click(this, obj);
  1392. }, [_tpcTeacherDeskIconInfo[i]])
  1393. }, _frag); //
  1394. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1395. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tpcTeacherDeskIconInfo[i].style }, _iconcontent);
  1396. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tpcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1397. }
  1398. } else if ((_type == 1 || _type == 4) && (_oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  1399. for (i = 0; i < _teacherDesktopIconInfo2.length; i++) {
  1400. _content = $$("div", {
  1401. className: "U_MD_D_KO",
  1402. "onmousedown": U.UF.C.closure(function (obj) {
  1403. //防止拖動圖標即打開了桌面應用
  1404. U.MD.D.click(this, obj);
  1405. }, [_teacherDesktopIconInfo2[i]]),
  1406. "onclick": U.UF.C.closure(function (obj) {
  1407. //防止拖動圖標即打開了桌面應用
  1408. U.MD.D.click(this, obj);
  1409. }, [_teacherDesktopIconInfo2[i]])
  1410. }, _frag); //
  1411. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1412. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo2[i].style }, _iconcontent);
  1413. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo2[i].Name }, _iconcontent);
  1414. }
  1415. } else if ((_type == 1 || _type == 4) && (_org == "4df1b570-f6ac-48fc-8d50-d0b157dae776")) {
  1416. for (i = 0; i < _lotechTeacherDeskIconInfo.length; i++) {
  1417. _content = $$("div", {
  1418. className: "U_MD_D_KO",
  1419. "onmousedown": U.UF.C.closure(function (obj) {
  1420. //防止拖動圖標即打開了桌面應用
  1421. U.MD.D.click(this, obj);
  1422. }, [_lotechTeacherDeskIconInfo[i]]),
  1423. "onclick": U.UF.C.closure(function (obj) {
  1424. //防止拖動圖標即打開了桌面應用
  1425. U.MD.D.click(this, obj);
  1426. }, [_lotechTeacherDeskIconInfo[i]])
  1427. }, _frag); //
  1428. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1429. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lotechTeacherDeskIconInfo[i].style }, _iconcontent);
  1430. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lotechTeacherDeskIconInfo[i].Name }, _iconcontent);
  1431. }//
  1432. } else if ((_type == 1 || _type == 4) && (_oid == "4c686762-1d0a-11ed-8c78-005056b86db5")) {
  1433. for (i = 0; i < _siesTeacherDeskIconInfo.length; i++) {
  1434. _content = $$("div", {
  1435. className: "U_MD_D_KO",
  1436. "onmousedown": U.UF.C.closure(function (obj) {
  1437. //防止拖動圖標即打開了桌面應用
  1438. U.MD.D.click(this, obj);
  1439. }, [_siesTeacherDeskIconInfo[i]]),
  1440. "onclick": U.UF.C.closure(function (obj) {
  1441. //防止拖動圖標即打開了桌面應用
  1442. U.MD.D.click(this, obj);
  1443. }, [_siesTeacherDeskIconInfo[i]])
  1444. }, _frag); //
  1445. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1446. $$("div", { className: "U_MD_D_KOS U_Img", "style": _siesTeacherDeskIconInfo[i].style }, _iconcontent);
  1447. $$("div", { className: "U_MD_D_KOX", "innerHTML": _siesTeacherDeskIconInfo[i].Name }, _iconcontent);
  1448. }
  1449. } else if ((_type == 1 || _type == 4) && (_oid == "ea2a8c65-f38c-11ed-91d8-005056b86db5")) {
  1450. for (i = 0; i < _longhuaTeacherDeskIconInfo.length; i++) {
  1451. _content = $$("div", {
  1452. className: "U_MD_D_KO",
  1453. "onmousedown": U.UF.C.closure(function (obj) {
  1454. //防止拖動圖標即打開了桌面應用
  1455. U.MD.D.click(this, obj);
  1456. }, [_longhuaTeacherDeskIconInfo[i]]),
  1457. "onclick": U.UF.C.closure(function (obj) {
  1458. //防止拖動圖標即打開了桌面應用
  1459. U.MD.D.click(this, obj);
  1460. }, [_longhuaTeacherDeskIconInfo[i]])
  1461. }, _frag); //
  1462. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1463. $$("div", { className: "U_MD_D_KOS U_Img", "style": _longhuaTeacherDeskIconInfo[i].style }, _iconcontent);
  1464. $$("div", { className: "U_MD_D_KOX", "innerHTML": _longhuaTeacherDeskIconInfo[i].Name }, _iconcontent);
  1465. }
  1466. } else if ((_type == 1 || _type == 4) && (_oid == "b1095a3c-1d06-4ac8-854f-7c0d97f4ab41")) {
  1467. for (i = 0; i < _yunhaiTeacherDeskIconInfo.length; i++) {
  1468. _content = $$("div", {
  1469. className: "U_MD_D_KO",
  1470. "onmousedown": U.UF.C.closure(function (obj) {
  1471. //防止拖動圖標即打開了桌面應用
  1472. U.MD.D.click(this, obj);
  1473. }, [_yunhaiTeacherDeskIconInfo[i]]),
  1474. "onclick": U.UF.C.closure(function (obj) {
  1475. //防止拖動圖標即打開了桌面應用
  1476. U.MD.D.click(this, obj);
  1477. }, [_yunhaiTeacherDeskIconInfo[i]])
  1478. }, _frag); //
  1479. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1480. $$("div", { className: "U_MD_D_KOS U_Img", "style": _yunhaiTeacherDeskIconInfo[i].style }, _iconcontent);
  1481. $$("div", { className: "U_MD_D_KOX", "innerHTML": _yunhaiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1482. } //_hkStudentDeskIconInfo
  1483. } else if ((_type == 1 || _type == 4) && (_oid == "206c38d2-0cbe-11ee-91d8-005056b86db5")) {
  1484. for (i = 0; i < _hkZJLSTeacherDeskIconInfo.length; i++) {
  1485. _content = $$("div", {
  1486. className: "U_MD_D_KO",
  1487. "onmousedown": U.UF.C.closure(function (obj) {
  1488. //防止拖動圖標即打開了桌面應用
  1489. U.MD.D.click(this, obj);
  1490. }, [_hkZJLSTeacherDeskIconInfo[i]]),
  1491. "onclick": U.UF.C.closure(function (obj) {
  1492. //防止拖動圖標即打開了桌面應用
  1493. U.MD.D.click(this, obj);
  1494. }, [_hkZJLSTeacherDeskIconInfo[i]])
  1495. }, _frag); //
  1496. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1497. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkZJLSTeacherDeskIconInfo[i].style }, _iconcontent);
  1498. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkZJLSTeacherDeskIconInfo[i].Name }, _iconcontent);
  1499. }
  1500. } else if ((_type == 1 || _type == 4) && (_org == "b50cf65a-001c-11ee-91d8-005056b86db5")) {
  1501. for (i = 0; i < _hkTeacherDeskIconInfo.length; i++) {
  1502. _content = $$("div", {
  1503. className: "U_MD_D_KO",
  1504. "onmousedown": U.UF.C.closure(function (obj) {
  1505. //防止拖動圖標即打開了桌面應用
  1506. U.MD.D.click(this, obj);
  1507. }, [_hkTeacherDeskIconInfo[i]]),
  1508. "onclick": U.UF.C.closure(function (obj) {
  1509. //防止拖動圖標即打開了桌面應用
  1510. U.MD.D.click(this, obj);
  1511. }, [_hkTeacherDeskIconInfo[i]])
  1512. }, _frag); //
  1513. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1514. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hkTeacherDeskIconInfo[i].style }, _iconcontent);
  1515. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hkTeacherDeskIconInfo[i].Name }, _iconcontent);
  1516. }
  1517. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 1) {
  1518. for (i = 0; i < _gdjgAdminDeskIconInfo.length; i++) {
  1519. _content = $$("div", {
  1520. className: "U_MD_D_KO",
  1521. "onmousedown": U.UF.C.closure(function (obj) {
  1522. //防止拖動圖標即打開了桌面應用
  1523. U.MD.D.click(this, obj);
  1524. }, [_gdjgAdminDeskIconInfo[i]]),
  1525. "onclick": U.UF.C.closure(function (obj) {
  1526. //防止拖動圖標即打開了桌面應用
  1527. U.MD.D.click(this, obj);
  1528. }, [_gdjgAdminDeskIconInfo[i]])
  1529. }, _frag); //
  1530. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1531. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgAdminDeskIconInfo[i].style }, _iconcontent);
  1532. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgAdminDeskIconInfo[i].Name }, _iconcontent);
  1533. }
  1534. } else if ((_type == 1 || _type == 4) && (_org == "e632b86c-f89d-11ed-91d8-005056b86db5") && _role == 0) {
  1535. for (i = 0; i < _gdjgTeacherDeskIconInfo.length; i++) {
  1536. _content = $$("div", {
  1537. className: "U_MD_D_KO",
  1538. "onmousedown": U.UF.C.closure(function (obj) {
  1539. //防止拖動圖標即打開了桌面應用
  1540. U.MD.D.click(this, obj);
  1541. }, [_gdjgTeacherDeskIconInfo[i]]),
  1542. "onclick": U.UF.C.closure(function (obj) {
  1543. //防止拖動圖標即打開了桌面應用
  1544. U.MD.D.click(this, obj);
  1545. }, [_gdjgTeacherDeskIconInfo[i]])
  1546. }, _frag); //
  1547. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1548. $$("div", { className: "U_MD_D_KOS U_Img", "style": _gdjgTeacherDeskIconInfo[i].style }, _iconcontent);
  1549. $$("div", { className: "U_MD_D_KOX", "innerHTML": _gdjgTeacherDeskIconInfo[i].Name }, _iconcontent);
  1550. }
  1551. } else if ((_type == 1 || _type == 4) && (_org == "54f09f1e-09f0-11ee-91d8-005056b86db5")) {
  1552. for (i = 0; i < _szherTeacherDeskIconInfo.length; i++) {
  1553. _content = $$("div", {
  1554. className: "U_MD_D_KO",
  1555. "onmousedown": U.UF.C.closure(function (obj) {
  1556. //防止拖動圖標即打開了桌面應用
  1557. U.MD.D.click(this, obj);
  1558. }, [_szherTeacherDeskIconInfo[i]]),
  1559. "onclick": U.UF.C.closure(function (obj) {
  1560. //防止拖動圖標即打開了桌面應用
  1561. U.MD.D.click(this, obj);
  1562. }, [_szherTeacherDeskIconInfo[i]])
  1563. }, _frag); //
  1564. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1565. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szherTeacherDeskIconInfo[i].style }, _iconcontent);
  1566. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szherTeacherDeskIconInfo[i].Name }, _iconcontent);
  1567. }
  1568. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 1) {
  1569. for (i = 0; i < _heyuannAdminDeskIconInfo.length; i++) {
  1570. _content = $$("div", {
  1571. className: "U_MD_D_KO",
  1572. "onmousedown": U.UF.C.closure(function (obj) {
  1573. //防止拖動圖標即打開了桌面應用
  1574. U.MD.D.click(this, obj);
  1575. }, [_heyuannAdminDeskIconInfo[i]]),
  1576. "onclick": U.UF.C.closure(function (obj) {
  1577. //防止拖動圖標即打開了桌面應用
  1578. U.MD.D.click(this, obj);
  1579. }, [_heyuannAdminDeskIconInfo[i]])
  1580. }, _frag); //
  1581. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1582. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuannAdminDeskIconInfo[i].style }, _iconcontent);
  1583. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuannAdminDeskIconInfo[i].Name }, _iconcontent);
  1584. }
  1585. } else if ((_type == 1 || _type == 4) && (_org == "578de748-05d2-11ee-91d8-005056b86db5") && _role == 0) {
  1586. for (i = 0; i < _heyuanTeacherDeskIconInfo.length; i++) {
  1587. _content = $$("div", {
  1588. className: "U_MD_D_KO",
  1589. "onmousedown": U.UF.C.closure(function (obj) {
  1590. //防止拖動圖標即打開了桌面應用
  1591. U.MD.D.click(this, obj);
  1592. }, [_heyuanTeacherDeskIconInfo[i]]),
  1593. "onclick": U.UF.C.closure(function (obj) {
  1594. //防止拖動圖標即打開了桌面應用
  1595. U.MD.D.click(this, obj);
  1596. }, [_heyuanTeacherDeskIconInfo[i]])
  1597. }, _frag); //
  1598. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1599. $$("div", { className: "U_MD_D_KOS U_Img", "style": _heyuanTeacherDeskIconInfo[i].style }, _iconcontent);
  1600. $$("div", { className: "U_MD_D_KOX", "innerHTML": _heyuanTeacherDeskIconInfo[i].Name }, _iconcontent);
  1601. } //
  1602. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 1) {
  1603. for (i = 0; i < _dseiAdminDeskIconInfo.length; i++) {
  1604. _content = $$("div", {
  1605. className: "U_MD_D_KO",
  1606. "onmousedown": U.UF.C.closure(function (obj) {
  1607. //防止拖動圖標即打開了桌面應用
  1608. U.MD.D.click(this, obj);
  1609. }, [_dseiAdminDeskIconInfo[i]]),
  1610. "onclick": U.UF.C.closure(function (obj) {
  1611. //防止拖動圖標即打開了桌面應用
  1612. U.MD.D.click(this, obj);
  1613. }, [_dseiAdminDeskIconInfo[i]])
  1614. }, _frag); //
  1615. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1616. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiAdminDeskIconInfo[i].style }, _iconcontent);
  1617. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiAdminDeskIconInfo[i].Name }, _iconcontent);
  1618. }
  1619. } else if ((_type == 1 || _type == 4) && (_org == "7b016f69-0f4f-11ee-91d8-005056b86db5") && _role == 0) {
  1620. for (i = 0; i < _dseiTeacherDeskIconInfo.length; i++) {
  1621. _content = $$("div", {
  1622. className: "U_MD_D_KO",
  1623. "onmousedown": U.UF.C.closure(function (obj) {
  1624. //防止拖動圖標即打開了桌面應用
  1625. U.MD.D.click(this, obj);
  1626. }, [_dseiTeacherDeskIconInfo[i]]),
  1627. "onclick": U.UF.C.closure(function (obj) {
  1628. //防止拖動圖標即打開了桌面應用
  1629. U.MD.D.click(this, obj);
  1630. }, [_dseiTeacherDeskIconInfo[i]])
  1631. }, _frag); //
  1632. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1633. $$("div", { className: "U_MD_D_KOS U_Img", "style": _dseiTeacherDeskIconInfo[i].style }, _iconcontent);
  1634. $$("div", { className: "U_MD_D_KOX", "innerHTML": _dseiTeacherDeskIconInfo[i].Name }, _iconcontent);
  1635. } //
  1636. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 1) {
  1637. for (i = 0; i < _chjyjAdminDeskIconInfo.length; i++) {
  1638. _content = $$("div", {
  1639. className: "U_MD_D_KO",
  1640. "onmousedown": U.UF.C.closure(function (obj) {
  1641. //防止拖動圖標即打開了桌面應用
  1642. U.MD.D.click(this, obj);
  1643. }, [_chjyjAdminDeskIconInfo[i]]),
  1644. "onclick": U.UF.C.closure(function (obj) {
  1645. //防止拖動圖標即打開了桌面應用
  1646. U.MD.D.click(this, obj);
  1647. }, [_chjyjAdminDeskIconInfo[i]])
  1648. }, _frag); //
  1649. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1650. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjAdminDeskIconInfo[i].style }, _iconcontent);
  1651. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjAdminDeskIconInfo[i].Name }, _iconcontent);
  1652. }//
  1653. } else if ((_type == 1 || _type == 4) && (_org == "2fa75e51-189a-11ee-91d8-005056b86db5") && _role == 0) {
  1654. for (i = 0; i < _chjyjTeacherDeskIconInfo.length; i++) {
  1655. _content = $$("div", {
  1656. className: "U_MD_D_KO",
  1657. "onmousedown": U.UF.C.closure(function (obj) {
  1658. //防止拖動圖標即打開了桌面應用
  1659. U.MD.D.click(this, obj);
  1660. }, [_chjyjTeacherDeskIconInfo[i]]),
  1661. "onclick": U.UF.C.closure(function (obj) {
  1662. //防止拖動圖標即打開了桌面應用
  1663. U.MD.D.click(this, obj);
  1664. }, [_chjyjTeacherDeskIconInfo[i]])
  1665. }, _frag); //
  1666. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1667. $$("div", { className: "U_MD_D_KOS U_Img", "style": _chjyjTeacherDeskIconInfo[i].style }, _iconcontent);
  1668. $$("div", { className: "U_MD_D_KOX", "innerHTML": _chjyjTeacherDeskIconInfo[i].Name }, _iconcontent);
  1669. }
  1670. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 1) {
  1671. for (i = 0; i < _szjkyAdminDeskIconInfo.length; i++) {
  1672. _content = $$("div", {
  1673. className: "U_MD_D_KO",
  1674. "onmousedown": U.UF.C.closure(function (obj) {
  1675. //防止拖動圖標即打開了桌面應用
  1676. U.MD.D.click(this, obj);
  1677. }, [_szjkyAdminDeskIconInfo[i]]),
  1678. "onclick": U.UF.C.closure(function (obj) {
  1679. //防止拖動圖標即打開了桌面應用
  1680. U.MD.D.click(this, obj);
  1681. }, [_szjkyAdminDeskIconInfo[i]])
  1682. }, _frag); //
  1683. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1684. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyAdminDeskIconInfo[i].style }, _iconcontent);
  1685. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyAdminDeskIconInfo[i].Name }, _iconcontent);
  1686. }//
  1687. } else if ((_type == 1 || _type == 4) && (_org == "1973f6c7-1561-11ee-91d8-005056b86db5") && _role == 0) {
  1688. for (i = 0; i < _szjkyTeacherDeskIconInfo.length; i++) {
  1689. _content = $$("div", {
  1690. className: "U_MD_D_KO",
  1691. "onmousedown": U.UF.C.closure(function (obj) {
  1692. //防止拖動圖標即打開了桌面應用
  1693. U.MD.D.click(this, obj);
  1694. }, [_szjkyTeacherDeskIconInfo[i]]),
  1695. "onclick": U.UF.C.closure(function (obj) {
  1696. //防止拖動圖標即打開了桌面應用
  1697. U.MD.D.click(this, obj);
  1698. }, [_szjkyTeacherDeskIconInfo[i]])
  1699. }, _frag); //
  1700. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1701. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szjkyTeacherDeskIconInfo[i].style }, _iconcontent);
  1702. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szjkyTeacherDeskIconInfo[i].Name }, _iconcontent);
  1703. }
  1704. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 1) {
  1705. for (i = 0; i < _futianAdminDeskIconInfo.length; i++) {
  1706. _content = $$("div", {
  1707. className: "U_MD_D_KO",
  1708. "onmousedown": U.UF.C.closure(function (obj) {
  1709. //防止拖動圖標即打開了桌面應用
  1710. U.MD.D.click(this, obj);
  1711. }, [_futianAdminDeskIconInfo[i]]),
  1712. "onclick": U.UF.C.closure(function (obj) {
  1713. //防止拖動圖標即打開了桌面應用
  1714. U.MD.D.click(this, obj);
  1715. }, [_futianAdminDeskIconInfo[i]])
  1716. }, _frag); //
  1717. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1718. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianAdminDeskIconInfo[i].style }, _iconcontent);
  1719. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianAdminDeskIconInfo[i].Name }, _iconcontent);
  1720. }
  1721. } else if ((_type == 1 || _type == 4) && (_org == "ec0af97a-7c10-4259-a7eb-db9cc8174cdc") && _role == 0) {
  1722. for (i = 0; i < _futianTeacherDeskIconInfo.length; i++) {
  1723. _content = $$("div", {
  1724. className: "U_MD_D_KO",
  1725. "onmousedown": U.UF.C.closure(function (obj) {
  1726. //防止拖動圖標即打開了桌面應用
  1727. U.MD.D.click(this, obj);
  1728. }, [_futianTeacherDeskIconInfo[i]]),
  1729. "onclick": U.UF.C.closure(function (obj) {
  1730. //防止拖動圖標即打開了桌面應用
  1731. U.MD.D.click(this, obj);
  1732. }, [_futianTeacherDeskIconInfo[i]])
  1733. }, _frag); //
  1734. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1735. $$("div", { className: "U_MD_D_KOS U_Img", "style": _futianTeacherDeskIconInfo[i].style }, _iconcontent);
  1736. $$("div", { className: "U_MD_D_KOX", "innerHTML": _futianTeacherDeskIconInfo[i].Name }, _iconcontent);
  1737. }
  1738. } else if ((_type == 1 || _type == 4) && (_oid == "91305d49-01ba-11ed-8c78-005056b86db4")) {
  1739. for (i = 0; i < _MingdeTeacherDeskIcon.length; i++) {
  1740. _content = $$("div", {
  1741. className: "U_MD_D_KO",
  1742. "onmousedown": U.UF.C.closure(function (obj) {
  1743. //防止拖動圖標即打開了桌面應用
  1744. U.MD.D.click(this, obj);
  1745. }, [_MingdeTeacherDeskIcon[i]]),
  1746. "onclick": U.UF.C.closure(function (obj) {
  1747. //防止拖動圖標即打開了桌面應用
  1748. U.MD.D.click(this, obj);
  1749. }, [_MingdeTeacherDeskIcon[i]])
  1750. }, _frag); //
  1751. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1752. $$("div", { className: "U_MD_D_KOS U_Img", "style": _MingdeTeacherDeskIcon[i].style }, _iconcontent);
  1753. $$("div", { className: "U_MD_D_KOX", "innerHTML": _MingdeTeacherDeskIcon[i].Name }, _iconcontent);
  1754. }
  1755. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 1) {
  1756. for (i = 0; i < _lhsAdminDesktopIconInfo.length; i++) {
  1757. _content = $$("div", {
  1758. className: "U_MD_D_KO",
  1759. "onmousedown": U.UF.C.closure(function (obj) {
  1760. //防止拖動圖標即打開了桌面應用
  1761. U.MD.D.click(this, obj);
  1762. }, [_lhsAdminDesktopIconInfo[i]]),
  1763. "onclick": U.UF.C.closure(function (obj) {
  1764. //防止拖動圖標即打開了桌面應用
  1765. U.MD.D.click(this, obj);
  1766. }, [_lhsAdminDesktopIconInfo[i]])
  1767. }, _frag); //
  1768. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1769. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsAdminDesktopIconInfo[i].style }, _iconcontent);
  1770. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsAdminDesktopIconInfo[i].Name }, _iconcontent);
  1771. }
  1772. } else if ((_type == 1 || _type == 4) && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5") && _role == 0) {
  1773. for (i = 0; i < _lhsteacherDesktopIconInfo.length; i++) {
  1774. _content = $$("div", {
  1775. className: "U_MD_D_KO",
  1776. "onmousedown": U.UF.C.closure(function (obj) {
  1777. //防止拖動圖標即打開了桌面應用
  1778. U.MD.D.click(this, obj);
  1779. }, [_lhsteacherDesktopIconInfo[i]]),
  1780. "onclick": U.UF.C.closure(function (obj) {
  1781. //防止拖動圖標即打開了桌面應用
  1782. U.MD.D.click(this, obj);
  1783. }, [_lhsteacherDesktopIconInfo[i]])
  1784. }, _frag); //
  1785. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1786. $$("div", { className: "U_MD_D_KOS U_Img", "style": _lhsteacherDesktopIconInfo[i].style }, _iconcontent);
  1787. $$("div", { className: "U_MD_D_KOX", "innerHTML": _lhsteacherDesktopIconInfo[i].Name }, _iconcontent);
  1788. }
  1789. } else if ((_type == 1 || _type == 4) && (_org == "97c4ee8b-d010-4042-986d-e9d3c217264f")) {
  1790. for (i = 0; i < _zhoujiateacherDesktopIconInfo.length; i++) {
  1791. _content = $$("div", {
  1792. className: "U_MD_D_KO",
  1793. "onmousedown": U.UF.C.closure(function (obj) {
  1794. //防止拖動圖標即打開了桌面應用
  1795. U.MD.D.click(this, obj);
  1796. }, [_zhoujiateacherDesktopIconInfo[i]]),
  1797. "onclick": U.UF.C.closure(function (obj) {
  1798. //防止拖動圖標即打開了桌面應用
  1799. U.MD.D.click(this, obj);
  1800. }, [_zhoujiateacherDesktopIconInfo[i]])
  1801. }, _frag); //
  1802. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1803. $$("div", { className: "U_MD_D_KOS U_Img", "style": _zhoujiateacherDesktopIconInfo[i].style }, _iconcontent);
  1804. $$("div", { className: "U_MD_D_KOX", "innerHTML": _zhoujiateacherDesktopIconInfo[i].Name }, _iconcontent);
  1805. }
  1806. } else if ((_type == 1 || _type == 4) && _oid == "d9db3320-503a-11ed-8c78-005056b86db5") {
  1807. for (i = 0; i < _hanDeskIcon.length; i++) {
  1808. _content = $$("div", {
  1809. className: "U_MD_D_KO",
  1810. "onmousedown": U.UF.C.closure(function (obj) {
  1811. //防止拖動圖標即打開了桌面應用
  1812. U.MD.D.click(this, obj);
  1813. }, [_hanDeskIcon[i]]),
  1814. "onclick": U.UF.C.closure(function (obj) {
  1815. //防止拖動圖標即打開了桌面應用
  1816. U.MD.D.click(this, obj);
  1817. }, [_hanDeskIcon[i]])
  1818. }, _frag); //
  1819. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1820. $$("div", { className: "U_MD_D_KOS U_Img", "style": _hanDeskIcon[i].style }, _iconcontent);
  1821. $$("div", { className: "U_MD_D_KOX", "innerHTML": _hanDeskIcon[i].Name }, _iconcontent);
  1822. }
  1823. } else if ((_type == 1 || _type == 4) && _org == "7ada499f-4ec7-11ed-8c78-005056b86db5") {
  1824. for (i = 0; i < _orgStemDeskIcon.length; i++) {
  1825. _content = $$("div", {
  1826. className: "U_MD_D_KO",
  1827. "onmousedown": U.UF.C.closure(function (obj) {
  1828. //防止拖動圖標即打開了桌面應用
  1829. U.MD.D.click(this, obj);
  1830. }, [_orgStemDeskIcon[i]]),
  1831. "onclick": U.UF.C.closure(function (obj) {
  1832. //防止拖動圖標即打開了桌面應用
  1833. U.MD.D.click(this, obj);
  1834. }, [_orgStemDeskIcon[i]])
  1835. }, _frag); //
  1836. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1837. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgStemDeskIcon[i].style }, _iconcontent);
  1838. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgStemDeskIcon[i].Name }, _iconcontent);
  1839. }
  1840. } else if ((_type == 1 || _type == 4) && _org == "383f207d-4ced-4eeb-a15a-7b0a2f3abe7b") {
  1841. for (i = 0; i < _szulsDeskIcon.length; i++) {
  1842. _content = $$("div", {
  1843. className: "U_MD_D_KO",
  1844. "onmousedown": U.UF.C.closure(function (obj) {
  1845. //防止拖動圖標即打開了桌面應用
  1846. U.MD.D.click(this, obj);
  1847. }, [_szulsDeskIcon[i]]),
  1848. "onclick": U.UF.C.closure(function (obj) {
  1849. //防止拖動圖標即打開了桌面應用
  1850. U.MD.D.click(this, obj);
  1851. }, [_szulsDeskIcon[i]])
  1852. }, _frag); //
  1853. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1854. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szulsDeskIcon[i].style }, _iconcontent);
  1855. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szulsDeskIcon[i].Name }, _iconcontent);
  1856. }
  1857. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f018d") {
  1858. for (i = 0; i < _orgDesktopIconInfo.length; i++) {
  1859. _content = $$("div", {
  1860. className: "U_MD_D_KO",
  1861. "onmousedown": U.UF.C.closure(function (obj) {
  1862. //防止拖動圖標即打開了桌面應用
  1863. U.MD.D.click(this, obj);
  1864. }, [_orgDesktopIconInfo[i]]),
  1865. "onclick": U.UF.C.closure(function (obj) {
  1866. //防止拖動圖標即打開了桌面應用
  1867. U.MD.D.click(this, obj);
  1868. }, [_orgDesktopIconInfo[i]])
  1869. }, _frag); //
  1870. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1871. $$("div", { className: "U_MD_D_KOS U_Img", "style": _orgDesktopIconInfo[i].style }, _iconcontent);
  1872. $$("div", { className: "U_MD_D_KOX", "innerHTML": _orgDesktopIconInfo[i].Name }, _iconcontent);
  1873. }
  1874. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  1875. for (i = 0; i < _schoolDesktopIconInfo.length; i++) {
  1876. _content = $$("div", {
  1877. className: "U_MD_D_KO",
  1878. "onmousedown": U.UF.C.closure(function (obj) {
  1879. //防止拖動圖標即打開了桌面應用
  1880. U.MD.D.click(this, obj);
  1881. }, [_schoolDesktopIconInfo[i]]),
  1882. "onclick": U.UF.C.closure(function (obj) {
  1883. //防止拖動圖標即打開了桌面應用
  1884. U.MD.D.click(this, obj);
  1885. }, [_schoolDesktopIconInfo[i]])
  1886. }, _frag); //
  1887. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1888. $$("div", { className: "U_MD_D_KOS U_Img", "style": _schoolDesktopIconInfo[i].style }, _iconcontent);
  1889. $$("div", { className: "U_MD_D_KOX", "innerHTML": _schoolDesktopIconInfo[i].Name }, _iconcontent);
  1890. }
  1891. } else if ((_type == 1 || _type == 4) && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1892. for (i = 0; i < _GMteacherDesktopIconInfo.length; i++) {
  1893. _content = $$("div", {
  1894. className: "U_MD_D_KO",
  1895. "onmousedown": U.UF.C.closure(function (obj) {
  1896. //防止拖動圖標即打開了桌面應用
  1897. U.MD.D.click(this, obj);
  1898. }, [_GMteacherDesktopIconInfo[i]]),
  1899. "onclick": U.UF.C.closure(function (obj) {
  1900. //防止拖動圖標即打開了桌面應用
  1901. U.MD.D.click(this, obj);
  1902. }, [_GMteacherDesktopIconInfo[i]])
  1903. }, _frag); //
  1904. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1905. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMteacherDesktopIconInfo[i].style }, _iconcontent);
  1906. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMteacherDesktopIconInfo[i].Name }, _iconcontent);
  1907. }
  1908. } else if ((_type == 1 || _type == 4) && _oid == "9f888eae-7558-11ed-8c78-005056b86db5") {
  1909. for (i = 0; i < _SONGteacherDesktopIconInfo.length; i++) {
  1910. _content = $$("div", {
  1911. className: "U_MD_D_KO",
  1912. "onmousedown": U.UF.C.closure(function (obj) {
  1913. //防止拖動圖標即打開了桌面應用
  1914. U.MD.D.click(this, obj);
  1915. }, [_SONGteacherDesktopIconInfo[i]]),
  1916. "onclick": U.UF.C.closure(function (obj) {
  1917. //防止拖動圖標即打開了桌面應用
  1918. U.MD.D.click(this, obj);
  1919. }, [_SONGteacherDesktopIconInfo[i]])
  1920. }, _frag); //
  1921. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1922. $$("div", { className: "U_MD_D_KOS U_Img", "style": _SONGteacherDesktopIconInfo[i].style }, _iconcontent);
  1923. $$("div", { className: "U_MD_D_KOX", "innerHTML": _SONGteacherDesktopIconInfo[i].Name }, _iconcontent);
  1924. }
  1925. } else if (_type == 2 && _org == "eb2af5e9-ac3d-46b6-9fe3-3c1c364f0217") {
  1926. for (i = 0; i < _GMstudentDesktopIconInfo.length; i++) {
  1927. _content = $$("div", {
  1928. className: "U_MD_D_KO",
  1929. "onmousedown": U.UF.C.closure(function (obj) {
  1930. //防止拖動圖標即打開了桌面應用
  1931. U.MD.D.click(this, obj);
  1932. }, [_GMstudentDesktopIconInfo[i]]),
  1933. "onclick": U.UF.C.closure(function (obj) {
  1934. //防止拖動圖標即打開了桌面應用
  1935. U.MD.D.click(this, obj);
  1936. }, [_GMstudentDesktopIconInfo[i]])
  1937. }, _frag); //
  1938. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1939. $$("div", { className: "U_MD_D_KOS U_Img", "style": _GMstudentDesktopIconInfo[i].style }, _iconcontent);
  1940. $$("div", { className: "U_MD_D_KOX", "innerHTML": _GMstudentDesktopIconInfo[i].Name }, _iconcontent);
  1941. }
  1942. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role == 0) {
  1943. for (i = 0; i < _tcTeacherDeskIconInfo.length; i++) {
  1944. _content = $$("div", {
  1945. className: "U_MD_D_KO",
  1946. "onmousedown": U.UF.C.closure(function (obj) {
  1947. //防止拖動圖標即打開了桌面應用
  1948. U.MD.D.click(this, obj);
  1949. }, [_tcTeacherDeskIconInfo[i]]),
  1950. "onclick": U.UF.C.closure(function (obj) {
  1951. //防止拖動圖標即打開了桌面應用
  1952. U.MD.D.click(this, obj);
  1953. }, [_tcTeacherDeskIconInfo[i]])
  1954. }, _frag); //
  1955. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1956. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcTeacherDeskIconInfo[i].style }, _iconcontent);
  1957. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcTeacherDeskIconInfo[i].Name }, _iconcontent);
  1958. }
  1959. } else if ((_type == 1 || _type == 4) && _org == "150e3120-9195-11ed-b13d-005056b86db5" && _role === 1) {
  1960. for (i = 0; i < _tcOrganizerDeskIconInfo.length; i++) {
  1961. _content = $$("div", {
  1962. className: "U_MD_D_KO",
  1963. "onmousedown": U.UF.C.closure(function (obj) {
  1964. //防止拖動圖標即打開了桌面應用
  1965. U.MD.D.click(this, obj);
  1966. }, [_tcOrganizerDeskIconInfo[i]]),
  1967. "onclick": U.UF.C.closure(function (obj) {
  1968. //防止拖動圖標即打開了桌面應用
  1969. U.MD.D.click(this, obj);
  1970. }, [_tcOrganizerDeskIconInfo[i]])
  1971. }, _frag); //
  1972. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1973. $$("div", { className: "U_MD_D_KOS U_Img", "style": _tcOrganizerDeskIconInfo[i].style }, _iconcontent);
  1974. $$("div", { className: "U_MD_D_KOX", "innerHTML": _tcOrganizerDeskIconInfo[i].Name }, _iconcontent);
  1975. }
  1976. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role == 0) {
  1977. for (i = 0; i < _szscTeacherDeskIconInfo.length; i++) {
  1978. _content = $$("div", {
  1979. className: "U_MD_D_KO",
  1980. "onmousedown": U.UF.C.closure(function (obj) {
  1981. //防止拖動圖標即打開了桌面應用
  1982. U.MD.D.click(this, obj);
  1983. }, [_szscTeacherDeskIconInfo[i]]),
  1984. "onclick": U.UF.C.closure(function (obj) {
  1985. //防止拖動圖標即打開了桌面應用
  1986. U.MD.D.click(this, obj);
  1987. }, [_szscTeacherDeskIconInfo[i]])
  1988. }, _frag); //
  1989. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  1990. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscTeacherDeskIconInfo[i].style }, _iconcontent);
  1991. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscTeacherDeskIconInfo[i].Name }, _iconcontent);
  1992. }
  1993. } else if ((_type == 1 || _type == 4) && _org == "ee40e8e3-e36c-4872-8105-cf395481012s" && _role === 1) {
  1994. for (i = 0; i < _szscOrganizerDeskIconInfo.length; i++) {
  1995. _content = $$("div", {
  1996. className: "U_MD_D_KO",
  1997. "onmousedown": U.UF.C.closure(function (obj) {
  1998. //防止拖動圖標即打開了桌面應用
  1999. U.MD.D.click(this, obj);
  2000. }, [_szscOrganizerDeskIconInfo[i]]),
  2001. "onclick": U.UF.C.closure(function (obj) {
  2002. //防止拖動圖標即打開了桌面應用
  2003. U.MD.D.click(this, obj);
  2004. }, [_szscOrganizerDeskIconInfo[i]])
  2005. }, _frag); //
  2006. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2007. $$("div", { className: "U_MD_D_KOS U_Img", "style": _szscOrganizerDeskIconInfo[i].style }, _iconcontent);
  2008. $$("div", { className: "U_MD_D_KOX", "innerHTML": _szscOrganizerDeskIconInfo[i].Name }, _iconcontent);
  2009. }
  2010. } else {
  2011. for (i = 0; i < _teacherDesktopIconInfo.length; i++) {
  2012. _content = $$("div", {
  2013. className: "U_MD_D_KO",
  2014. "onmousedown": U.UF.C.closure(function (obj) {
  2015. //防止拖動圖標即打開了桌面應用
  2016. U.MD.D.click(this, obj);
  2017. }, [_teacherDesktopIconInfo[i]]),
  2018. "onclick": U.UF.C.closure(function (obj) {
  2019. //防止拖動圖標即打開了桌面應用
  2020. U.MD.D.click(this, obj);
  2021. }, [_teacherDesktopIconInfo[i]])
  2022. }, _frag); //
  2023. _iconcontent = $$("div", { className: "U_MD_D_KOA" }, _content);
  2024. $$("div", { className: "U_MD_D_KOS U_Img", "style": _teacherDesktopIconInfo[i].style }, _iconcontent);
  2025. $$("div", { className: "U_MD_D_KOX", "innerHTML": _teacherDesktopIconInfo[i].Name }, _iconcontent);
  2026. }
  2027. }
  2028. } else {
  2029. for (i = 0; i < _easyDesktopIconInfo.length; i++) {
  2030. _content = $$("div", {
  2031. className: "U_MD_D_KO",
  2032. style: { 'width': '124px', 'height': '145px' },
  2033. "onmousedown": U.UF.C.closure(function (obj) {
  2034. //防止拖動圖標即打開了桌面應用
  2035. U.MD.D.click(this, obj);
  2036. }, [_easyDesktopIconInfo[i]]),
  2037. "onclick": U.UF.C.closure(function (obj) {
  2038. //防止拖動圖標即打開了桌面應用
  2039. U.MD.D.click(this, obj);
  2040. }, [_easyDesktopIconInfo[i]])
  2041. }, _frag); //
  2042. _iconcontent = $$("div", { className: "U_MD_D_KOA", style: { width: '114px' } }, _content);
  2043. $$("div", { className: "U_MD_D_KOS U_Img", "style": _easyDesktopIconInfo[i].style }, _iconcontent);
  2044. $$("div", { className: "U_MD_D_KOX", "innerHTML": _easyDesktopIconInfo[i].Name, "style": { 'fontSize': '18px', width: '114px', height: '18px' } }, _iconcontent);
  2045. }
  2046. }
  2047. if (type == 1) {
  2048. //加載好後給圖標定位
  2049. U.MD.D.iconPostion($(_frag).Child());
  2050. } else {
  2051. //加載好後給圖標定位
  2052. U.MD.D.iconPostion2($(_frag).Child());
  2053. }
  2054. //把圖標加載到頁面
  2055. el.appendChild(_frag);
  2056. }
  2057. /**
  2058. * 顯示任務欄
  2059. *
  2060. * @param {element} 桌面元素
  2061. */
  2062. U.MD.D.I.displayTaskbar = function (el) {
  2063. //判斷是否需要形式任務欄,由於用了mouseover事件會冒泡響應多次,這裏做了過濾
  2064. if (!U.UF.EV.stopBubbleMouseOutOrOver(el) && U.selectEl(el).css("bottom") != "0px") {
  2065. //任務欄位置變化
  2066. U.selectEl(el).css({ "bottom": "0px" });
  2067. //桌面位置變話
  2068. // U.selectEl("#U_MD_D_K").css({ "left": "70px" });
  2069. }
  2070. }
  2071. //#region 桌面圖標拖動邏輯
  2072. /**
  2073. * 桌面排列圖標
  2074. *
  2075. * @param {element} 桌面元素
  2076. * @param {object} 上下相距的距離
  2077. * @param {object} 左右相距的距離
  2078. * @return {object} 命名空間
  2079. */
  2080. U.MD.D.iconPostion = function (childs, top, left) {
  2081. var i; //用於循環處理
  2082. top = top || 15; //如果沒有設置元素的間距處理默認上間距為15
  2083. left = left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2084. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2085. for (i = 0; i < childs.length; i++) {
  2086. //如果豎排top超過了範圍處理
  2087. if (top + 95 > US.height - 10) {
  2088. //left超過了頁面範圍處理,則向上重疊打印處理
  2089. if ((left + 180) > US.width) {
  2090. top -= 110;
  2091. left -= 90;
  2092. }
  2093. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2094. else {
  2095. left += 90;
  2096. top = 15;
  2097. };
  2098. }
  2099. //給圖標的位置賦值
  2100. U.selectEl(childs[i]).css({ top: top + "px", left: left + "px" });
  2101. if (i < childs.length - 1) {
  2102. //頁面圖標每次向下加95
  2103. top += 95;
  2104. }
  2105. }
  2106. //返回最後調用的圖標的位置
  2107. return [top, left];
  2108. }
  2109. /**
  2110. * 桌面排列圖標
  2111. *
  2112. * @param {element} 桌面元素
  2113. * @param {object} 上下相距的距離
  2114. * @param {object} 左右相距的距離
  2115. * @return {object} 命名空間
  2116. */
  2117. U.MD.D.iconPostion2 = function (childs, top, left) {
  2118. var i, ol = (US.width - (Math.floor(US.width / 150) * 150)) / 2; //用於循環處理
  2119. top = top || 70; //如果沒有設置元素的間距處理默認上間距為15
  2120. left = (US.width - (Math.min(Math.floor(US.width / 150), childs.length) * 150)) / 2; //left || 20; //如果沒有設置元素的間距處理默認左間距為15
  2121. //循環所有的圖標,設置每個圖標的間距,打印順序是豎排打印的方式
  2122. for (i = 0; i < childs.length; i++) {
  2123. //如果豎排top超過了範圍處理
  2124. if (left + 150 > US.width - 10) {
  2125. //left超過了頁面範圍處理,則向上重疊打印處理
  2126. if ((top + 180) > US.Height) {
  2127. top -= 150;
  2128. left -= 150;
  2129. }
  2130. //沒有超過範圍,那麼left+90添加到下一個豎排打印
  2131. else {
  2132. top += 150;
  2133. left = ol;
  2134. };
  2135. }
  2136. //給圖標的位置賦值
  2137. U.selectEl(childs[i]).css({ bottom: top + "px", left: left + "px", top: 'unset' });
  2138. if (i < childs.length - 1) {
  2139. //頁面圖標每次向下加95
  2140. left += 150;
  2141. }
  2142. }
  2143. //返回最後調用的圖標的位置
  2144. return [top, left];
  2145. }
  2146. /**
  2147. * 桌面點擊事件邏輯
  2148. *
  2149. * @param {element} 桌面元素
  2150. * @param {object} 上下相距的距離
  2151. * @param {object} 左右相距的距離
  2152. * @return {object} 命名空間
  2153. */
  2154. U.MD.D.click = function (el, obj) {
  2155. var _buttonnumber = event.button; //點擊的按鈕的事件值
  2156. var _userinfo = US.userInfo;
  2157. U.UF.EV.stopBubble(); //阻止向上冒泡
  2158. //onmousedown 包含了左鍵和右鍵 這裏大於2是為了兼容 所有瀏覽器的右鍵處理
  2159. if (_buttonnumber < 2) {
  2160. //如果是click事件的處理
  2161. if (event.type == "click") {
  2162. //如果元素在mousemove事件中沒有移動則出發click事件
  2163. if (!U.MD.D.I.IsDrag) {
  2164. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2165. U.alert("請先登錄您的賬號!");
  2166. setTimeout(() => {
  2167. U.MD.U.L.login();
  2168. }, 2000);
  2169. } else {
  2170. //打開應用處理
  2171. U.MD.D.I.openApplication(obj.Url, { "userid": US.userInfo.userid, "directoryid": US.FTPFOLDERID });
  2172. }
  2173. }
  2174. }
  2175. //如果是mouse事件的處理
  2176. else {
  2177. if (US.Config.type == '1') {
  2178. //拖動處理,添加拖動和拖動結束事件
  2179. U.UF.F.drag(el, U.MD.D.iconMove, U.MD.D.iconUp);
  2180. }
  2181. }
  2182. U.MD.D.I.IsDrag = false;
  2183. }
  2184. }
  2185. /**
  2186. * 拖動的處理
  2187. *
  2188. */
  2189. U.MD.D.iconMove = function () {
  2190. //如果當前位置點擊初始化的位置出現了變化,則設置是否拖動的屬性 U.MD.D.I.IsDrag為true
  2191. U.MD.D.I.IsDrag = true;
  2192. }
  2193. /**
  2194. * 拖動結束後,這裏是定位處理,以網狀的形式定位
  2195. *
  2196. * @param {element} 拖動的元素
  2197. * @return {object} 命名空間
  2198. */
  2199. U.MD.D.iconUp = function (el) {
  2200. var _top = 15,
  2201. _left = 20,
  2202. _margin,
  2203. _childs = U.selectEl("#U_MD_D_K").Child(), //桌面所有的圖標
  2204. _positioninfo = U.UF.EL.getElementInfo(el); //獲取拖動結束的元素的位置
  2205. if (_positioninfo["OT"] > 15) {
  2206. //網狀的形式定位,如果差超過了55,那麼向下定位,否則向上定位
  2207. _margin = ((_positioninfo["OT"] - 15) % 95 > 55 && _positioninfo["OT"] + 95 < US.height) ? 1 : 0;
  2208. _top = (Math.floor((_positioninfo["OT"] - 15) / 95) + _margin) * 95 + 15;
  2209. }
  2210. if (_positioninfo["OL"] > 20) {
  2211. //網狀的形式定位,如果差超過了90,那麼向右定位,否則向左定位
  2212. _margin = ((_positioninfo["OL"] - 20) % 90 > 45 && _positioninfo["OL"] + 90 < US.width) ? 1 : 0;
  2213. _left = (Math.floor((_positioninfo["OL"] - 20) / 90) + _margin) * 90 + 20
  2214. }
  2215. //while循環判斷麼一個重疊的元素
  2216. do {
  2217. _positioninfo = U.MD.D.iconPostion([el], _top, _left); //給重疊的元素向下定位
  2218. _top = _positioninfo[0] + 95; //得到定位後的top
  2219. _left = _positioninfo[1]; //得到定位後的left
  2220. } while (el = U.MD.D.isOverlap(el, _childs, _positioninfo))
  2221. }
  2222. /**
  2223. * 判斷拖動後圖標是否重疊
  2224. *
  2225. * @param {element} 拖動的元素
  2226. * @param {element} 桌面所有的元素
  2227. * @param {array} 拖動元素的位置
  2228. ----------[0] 上 top
  2229. ----------[1] 左 left
  2230. * @return {object} 命名空間
  2231. */
  2232. U.MD.D.isOverlap = function (el, childs, postionarray) {
  2233. //循環所有的圖標
  2234. for (var i = 0; i < childs.length; i++) {
  2235. //判斷有沒有和該圖標誒子重疊的元素
  2236. if (el != childs[i] && (childs[i].offsetTop == postionarray[0] && childs[i].offsetLeft == postionarray[1])) {
  2237. return childs[i]; //如果有返回
  2238. }
  2239. }
  2240. }
  2241. //#endregion
  2242. //#endregion
  2243. //#region 桌面應用
  2244. /**
  2245. * 打開應用
  2246. *
  2247. * @param {string} 類型
  2248. -----------------Disk 網盤系統
  2249. -----------------PDisk 學習系統網盤
  2250. -----------------Poto 圖片
  2251. -----------------Video 視頻
  2252. -----------------Music 音樂
  2253. -----------------Word word
  2254. -----------------Excel excel
  2255. -----------------Txt 記事本
  2256. -----------------PB 學習系統
  2257. -----------------Blog 朋友圈系統
  2258. -----------------FTP ftp系統
  2259. -----------------Group 好友群
  2260. -----------------SY 首頁系統
  2261. -----------------Set 個人設置
  2262. -----------------XSet 系統設置
  2263. -----------------App 我們所有的app
  2264. -----------------BC c.1473.cn 平臺
  2265. -----------------CWeb d.1473.cn 變成平臺
  2266. -----------------其他的外聯系統 我們統一用iframe打開
  2267. * @param {array} 類型
  2268. 如果第一個參數為"disk",則第二個參數為object,裏面包含了用戶id和目錄id{userid:"",directoryid:""}
  2269. 如果第一個參數為"word"或者"excel","txt",則第二個參數為文件信息fileinfo。
  2270. 如果第一個參數為"blog"或者"PDisk"。建議刪除。
  2271. 如果第一個參數為其他,則無第二個參數
  2272. * @returns {array}
  2273. */
  2274. window.addEventListener('message', function (e) { // 監聽 message 事件
  2275. // alert(e.data.type);
  2276. if (e.data.screenType && e.data.screenType == "2") { //課程管理傳入
  2277. U.MD.D.I.openInApplication("studyDetail", e.data.cid, e.data.screenType, 4)
  2278. //3是展示全部階段 2學生 1老師 4專家
  2279. } else if (e.data.screenType && e.data.screenType == "2s") { //課程管理傳入
  2280. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, e.data.screenType, 4)
  2281. //3是展示全部階段 2學生 1老師 4專家
  2282. } else if (e.data.screenType && e.data.screenType == "2studio") { //課程管理傳入
  2283. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, e.data.screenType, 4)
  2284. //3是展示全部階段 2學生 1老師 4專家
  2285. } else if (e.data.screenType && e.data.screenType == "3") { //課程管理傳入
  2286. U.MD.D.I.openInApplication("studyDetail", e.data.cid, 2, 1)
  2287. } else if (e.data.screenType && e.data.screenType == "3NT") { //課程管理傳入
  2288. U.MD.D.I.openInApplication("studyDetailNT", e.data.cid, 2, 1)
  2289. } else if (e.data.screenType && e.data.screenType == "3s") { //課程管理傳入
  2290. U.MD.D.I.openInApplication("studyDetailS", e.data.cid, 2, 1)
  2291. } else if (e.data.screenType && e.data.screenType == "3studio") { //課程管理傳入
  2292. U.MD.D.I.openInApplication("studyDetailStudio", e.data.cid, 2, 1)
  2293. } else if (e.data.screenType && e.data.screenType == "3s2") { //課程管理傳入
  2294. U.MD.D.I.openInApplication("studyDetailS5", e.data.cid, 2, 5)
  2295. } else if (e.data.screenType && e.data.screenType == "2gm") { //課程管理傳入
  2296. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, e.data.screenType, 4)
  2297. //3是展示全部階段 2學生 1老師 4專家
  2298. } else if (e.data.screenType && e.data.screenType == "3gm") { //課程管理傳入
  2299. U.MD.D.I.openInApplication("studyDetailGM", e.data.cid, 2, 1)
  2300. } else if (e.data.close && e.data.close == "1") { //更新用戶信息
  2301. U.MD.D.I.selectUser();
  2302. } else if (e.data.allScreen && e.data.allScreen == "1") {
  2303. var _formel = document.getElementById("study");
  2304. U.UF.F.windowZooming(_formel);
  2305. } else if (e.data.allScreen && e.data.allScreen == "2") {
  2306. var _formel = document.getElementById("studyDetail");
  2307. U.UF.F.windowZooming(_formel);
  2308. } else if (e.data.allScreen && e.data.allScreen == "2gm") {
  2309. var _formel = document.getElementById("studyDetail");
  2310. U.UF.F.windowZooming(_formel);
  2311. } else if (e.data.allScreen && e.data.allScreen == "3") {
  2312. var _formel = document.getElementById("studentStudy");
  2313. U.UF.F.windowZooming(_formel);
  2314. } else if (e.data.allScreen && e.data.allScreen == "6") {
  2315. // var _formel = document.getElementById("study");
  2316. //如果最大化了,那麼就把他縮小
  2317. // if (_formel.ismaximize) {
  2318. // return;
  2319. // }
  2320. // U.UF.F.windowZooming(_formel);
  2321. // U.UF.F.topWindow(_formel);
  2322. } else if (e.data.allScreen && e.data.allScreen == "4") {
  2323. // var _formel = document.getElementById("studyDetail");
  2324. //如果最大化了,那麼就把他縮小
  2325. // if (_formel.ismaximize) {
  2326. // return;
  2327. // }
  2328. // U.UF.F.windowZooming(_formel);
  2329. // U.UF.F.topWindow(_formel);
  2330. } else if (e.data.allScreen && e.data.allScreen == "5") {
  2331. // var _formel = document.getElementById("studentStudy");
  2332. // if (_formel.ismaximize) {
  2333. // return;
  2334. // }
  2335. // U.UF.F.windowZooming(_formel);
  2336. // U.UF.F.topWindow(_formel);
  2337. } else if (e.data.allScreen && e.data.allScreen == "5gm") {
  2338. var _formel = document.getElementById("study");
  2339. // if (_formel.ismaximize) {
  2340. // return;
  2341. // }
  2342. // U.UF.F.windowZooming(_formel);
  2343. U.UF.F.topWindow(_formel);
  2344. } else if (e.data.allScreen && e.data.allScreen == "1s") {
  2345. var _formel = document.getElementById("studentIndex");
  2346. U.UF.F.windowZooming(_formel);
  2347. } else if (e.data.allScreen && e.data.allScreen == "2s") {
  2348. var _formel = document.getElementById("studyDetailS");
  2349. U.UF.F.windowZooming(_formel);
  2350. } else if (e.data.allScreen && e.data.allScreen == "1studio") {
  2351. var _formel = document.getElementById("studioIndex");
  2352. U.UF.F.windowZooming(_formel);
  2353. } else if (e.data.allScreen && e.data.allScreen == "2studio") {
  2354. var _formel = document.getElementById("studyDetailStudio");
  2355. U.UF.F.windowZooming(_formel);
  2356. } else if (e.data.allScreen && e.data.allScreen == "2studiostudio") {
  2357. var _formel = document.getElementById("studyDetailStudio");
  2358. U.UF.F.windowZooming(_formel);
  2359. } else if (e.data.allScreen && e.data.allScreen == "2NT") {
  2360. var _formel = document.getElementById("studyDetailNT");
  2361. U.UF.F.windowZooming(_formel);
  2362. } else if (e.data.allScreen && e.data.allScreen == "2ss") {
  2363. var _formel = document.getElementById("studyDetailS");
  2364. U.UF.F.windowZooming(_formel);
  2365. } else if (e.data.allScreen && e.data.allScreen == "4s") {
  2366. var _formel = document.getElementById("studyDetailS");
  2367. U.UF.F.topWindow(_formel);
  2368. } else if (e.data.tools && e.data.tools == "1") {
  2369. // U.MD.D.I.openApplication("whiteboard")
  2370. U.MD.D.I.openApplicationJie("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2371. } else if (e.data.tools && e.data.tools == "2") {
  2372. U.MD.D.I.openApplication("note")
  2373. } else if (e.data.tools && e.data.tools == "3") {
  2374. // U.MD.D.I.openApplication("mind")
  2375. U.MD.D.I.openApplicationJie("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2376. } else if (e.data.tools && e.data.tools == "4") {
  2377. U.MD.D.I.openApplication("investigation")
  2378. } else if (e.data.tools && e.data.tools == "6") {
  2379. // U.MD.D.I.openApplication("doc")
  2380. U.MD.D.I.openApplicationJie("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2381. } else if (e.data.tools && e.data.tools == "7") {
  2382. // U.MD.D.I.openApplication("mindNetwork")
  2383. U.MD.D.I.openApplicationJie("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2384. } else if (e.data.tools && e.data.tools == "8") {
  2385. U.MD.D.I.openApplication("library")
  2386. } else if (e.data.tools && e.data.tools == "17") {
  2387. U.MD.D.I.openApplication("stuLibrary")
  2388. } else if (e.data.tools && e.data.tools == "18") {
  2389. U.MD.D.I.openApplication("train")
  2390. } else if (e.data.tools && e.data.tools == "21") {
  2391. U.MD.D.I.openApplication("program")
  2392. } else if (e.data.tools && e.data.tools == "22") {
  2393. U.MD.D.I.openApplication("AIprogram2")
  2394. } else if (e.data.tools && e.data.tools == "23") {
  2395. U.MD.D.I.openApplication("Pythonprogram")
  2396. } else if (e.data.tools && e.data.tools == "24") {
  2397. U.MD.D.I.openApplication("AIprogram")
  2398. } else if (e.data.tools && e.data.tools == "25") {
  2399. U.MD.D.I.openApplication("sys")
  2400. } else if (e.data.tools && e.data.tools == "26") {
  2401. // U.MD.D.I.openApplication("courseDesign")
  2402. U.MD.D.I.openApplicationJie("courseDesign", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2403. } else if (e.data.tools && e.data.tools == "31") {
  2404. U.MD.D.I.openApplication("netWorkPanel")
  2405. } else if (e.data.tools && e.data.tools == "32") {
  2406. U.MD.D.I.openApplication("codeEdit")
  2407. } else if (e.data.tools && e.data.tools == "57") {
  2408. U.MD.D.I.openApplication("CocoPi")
  2409. } else if (e.data.tools && e.data.tools == "63") {
  2410. U.MD.D.I.openApplication("Wood")
  2411. } else if (e.data.tools && e.data.tools == "58") {
  2412. U.MD.D.I.openApplication("car")
  2413. } else if (e.data.tools && e.data.tools == "59") {
  2414. U.MD.D.I.openApplication("lineSearch")
  2415. } else if (e.data.tools && e.data.tools == "60") {
  2416. U.MD.D.I.openApplication("deepLearning")
  2417. } else if (e.data.tools && e.data.tools == "61") {
  2418. U.MD.D.I.openApplication("allHistory")
  2419. } else if (e.data.tools && e.data.tools == "28") {
  2420. U.MD.D.I.openApplication("translation")
  2421. } else if (e.data.tools && e.data.tools == "37") {
  2422. U.MD.D.I.openApplication("mohe")
  2423. } else if (e.data.tools && e.data.tools == "38") {
  2424. U.MD.D.I.openApplication("24game")
  2425. } else if (e.data.tools && e.data.tools == "39") {
  2426. U.MD.D.I.openApplication("GeoGebra")
  2427. } else if (e.data.tools && e.data.tools == "43") {
  2428. U.MD.D.I.openApplication("studentEvaluate")
  2429. } else if (e.data.tools && e.data.tools == "44") {
  2430. U.MD.D.I.openInApplication("hanUrl", '', '', '')
  2431. } else if (e.data.tools && e.data.tools == "46") {
  2432. U.MD.D.I.openApplication("project")
  2433. } else if (e.data.tools && e.data.tools == "1s") {
  2434. U.MD.D.I.openApplicationJieS("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2435. } else if (e.data.tools && e.data.tools == "3s") {
  2436. U.MD.D.I.openApplicationJieS("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2437. } else if (e.data.tools && e.data.tools == "6s") {
  2438. U.MD.D.I.openApplicationJieS("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2439. } else if (e.data.tools && e.data.tools == "1studio") {
  2440. U.MD.D.I.openApplicationJieStudio("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2441. } else if (e.data.tools && e.data.tools == "3studio") {
  2442. U.MD.D.I.openApplicationJieStudio("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2443. } else if (e.data.tools && e.data.tools == "6studio") {
  2444. U.MD.D.I.openApplicationJieStudio("doc", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2445. } else if (e.data.tools && e.data.tools == "3y") {
  2446. U.MD.D.I.openApplicationYu("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2447. } else if (e.data.tools && e.data.tools == "1y") {
  2448. U.MD.D.I.openApplicationYu("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2449. } else if (e.data.tools && e.data.tools == "inviteLogin") {
  2450. U.MD.D.getuser2(e.data.userid, e.data.courseId)
  2451. } else if (e.data.tools && e.data.tools == "AIAnalyse") {
  2452. U.MD.D.I.openApplication("AIAnalyse")
  2453. } else if (e.data.tools && e.data.tools == "1teacher") {
  2454. U.MD.D.I.openApplicationJieTeacher("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2455. } else if (e.data.tools && e.data.tools == "3teacher") {
  2456. U.MD.D.I.openApplicationJieTeacher("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2457. } else if (e.data.tools && e.data.tools == "7teacher") {
  2458. U.MD.D.I.openApplicationJieTeacher("mindNetwork", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2459. } else if (e.data.tools && e.data.tools == "1teacherE") {
  2460. U.MD.D.I.openApplicationJieTeacherE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2461. } else if (e.data.tools && e.data.tools == "3teacherE") {
  2462. U.MD.D.I.openApplicationJieTeacherE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2463. } else if (e.data.tools && e.data.tools == "1E") {
  2464. U.MD.D.I.openApplicationJieE("whiteboard", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2465. } else if (e.data.tools && e.data.tools == "3E") {
  2466. U.MD.D.I.openApplicationJieE("mind", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2467. } else if (e.data.tools && e.data.tools == "57y") {
  2468. U.MD.D.I.openApplicationYu("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2469. } else if (e.data.tools && e.data.tools == "57u") {
  2470. U.MD.D.I.openApplicationUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool)
  2471. } else if (e.data.tools && e.data.tools == "57teacher") {
  2472. U.MD.D.I.openApplicationTeacherUpload("CocoPi", e.data.cid, e.data.stage, e.data.task, e.data.tool, e.data.student)
  2473. } else if (e.data.tools && e.data.tools == "64") {
  2474. U.MD.D.I.openApplication("AIChat")
  2475. } else if (e.data.tools && e.data.tools == "66") {
  2476. U.MD.D.I.openApplication("formulaEdi")
  2477. } else if (e.data.tools && e.data.tools == "67") {
  2478. U.MD.D.I.openApplication("molStr")
  2479. } else if (e.data.tools && e.data.tools == "68") {
  2480. U.MD.D.I.openApplication("timeAxis")
  2481. } else if (e.data.tools && e.data.tools == "openCourse") {
  2482. let _data = {
  2483. typea: e.data.typea || '',
  2484. typeb: e.data.typeb || '',
  2485. typed: e.data.typed || '',
  2486. }
  2487. U.MD.D.I.openInApplication("index", _data)
  2488. } else if (e.data.tools && e.data.tools == "openDataClass") {
  2489. let _data = {
  2490. classid: e.data.classid || '',
  2491. }
  2492. U.MD.D.I.openInApplication("dataClass", _data)
  2493. } else if (e.data.tools && e.data.tools == "opencCscl") {
  2494. let _data = {
  2495. cid: e.data.cid || '',
  2496. gid: e.data.gid || '',
  2497. }
  2498. U.MD.D.I.openInApplication("opencCscl", _data)
  2499. }
  2500. });
  2501. U.MD.D.I.selectUser = function () {
  2502. U.A.Request(US.Config.pbl + "selectUser?userid=" + US.userInfo.userid, [], function (res) { //US.userInfo.userid
  2503. if (res.value[0].length > 0) {
  2504. US.userInfo = res.value[0][0];
  2505. $(".userName")[0].innerHTML = US.userInfo.username;
  2506. }
  2507. }, [], { "type": "GET", "withCredentials": true });
  2508. }
  2509. U.MD.D.I.openInApplication = function (str, data, screenType, tType) {
  2510. var _userinfo = US.userInfo, //登錄用戶信息
  2511. _userid = US.userInfo.userid, //登錄用戶id
  2512. _oid = _userinfo.organizeid,
  2513. _type = US.userInfo.type,
  2514. _org = US.userInfo.org,
  2515. _role = US.userInfo.role,
  2516. _classId = US.userInfo.classid;
  2517. if (_type == 4) {
  2518. tType = 4
  2519. }
  2520. switch (str) {
  2521. case "studyDetailNT": //無終端模式
  2522. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2523. setTimeout(() => {
  2524. U.MD.U.L.login();
  2525. }, 2000);
  2526. } else {
  2527. _formdiv = new U.UF.UI.form(
  2528. "課程詳情",
  2529. $$("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 }), {
  2530. "id": "studyDetailNT",
  2531. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2532. "onresize": function () { }
  2533. }, {
  2534. closecallback: function () { }
  2535. }, { "style": { "height": "36px" } }).form; //創建窗體
  2536. _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); } }
  2537. break;
  2538. }
  2539. case "studyDetail":
  2540. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2541. setTimeout(() => {
  2542. U.MD.U.L.login();
  2543. }, 2000);
  2544. } else {
  2545. _formdiv = new U.UF.UI.form(
  2546. "課程詳情",
  2547. $$("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 }), {
  2548. "id": "studyDetail",
  2549. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2550. "onresize": function () { }
  2551. }, {
  2552. closecallback: function () { }
  2553. }, { "style": { "height": "36px" } }).form; //創建窗體
  2554. _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); } }
  2555. break;
  2556. }
  2557. case "studyDetailS":
  2558. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2559. setTimeout(() => {
  2560. U.MD.U.L.login();
  2561. }, 2000);
  2562. } else {
  2563. _formdiv = new U.UF.UI.form(
  2564. "項目詳情",
  2565. $$("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 }), {
  2566. "id": "studyDetailS",
  2567. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2568. "onresize": function () { }
  2569. }, {
  2570. closecallback: function () { }
  2571. }, { "style": { "height": "36px" } }).form; //創建窗體
  2572. _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); } }
  2573. break;
  2574. }
  2575. case "studyDetailStudio":
  2576. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2577. setTimeout(() => {
  2578. U.MD.U.L.login();
  2579. }, 2000);
  2580. } else {
  2581. _formdiv = new U.UF.UI.form(
  2582. "工作詳情",
  2583. $$("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 }), {
  2584. "id": "studyDetailStudio",
  2585. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2586. "onresize": function () { }
  2587. }, {
  2588. closecallback: function () { }
  2589. }, { "style": { "height": "36px" } }).form; //創建窗體
  2590. _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); } }
  2591. break;
  2592. }
  2593. case "studyDetailS5":
  2594. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2595. setTimeout(() => {
  2596. U.MD.U.L.login();
  2597. }, 2000);
  2598. } else {
  2599. _formdiv = new U.UF.UI.form(
  2600. "項目詳情",
  2601. $$("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 }), {
  2602. "id": "studyDetailS",
  2603. "style": { "width": "95%", "height": "95%", "overflow": 'hidden' },
  2604. "onresize": function () { }
  2605. }, {
  2606. closecallback: function () { }
  2607. }, { "style": { "height": "36px" } }).form; //創建窗體
  2608. _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); } }
  2609. break;
  2610. }
  2611. case "studyDetailGM":
  2612. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2613. setTimeout(() => {
  2614. U.MD.U.L.login();
  2615. }, 2000);
  2616. } else {
  2617. _formdiv = new U.UF.UI.form(
  2618. "課程詳情",
  2619. $$("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 }), {
  2620. "id": "studyDetail",
  2621. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2622. "onresize": function () { }
  2623. }, {
  2624. closecallback: function () { }
  2625. }, { "style": { "height": "36px" } }).form; //創建窗體
  2626. _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); } }
  2627. break;
  2628. }
  2629. case "hanUrl":
  2630. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2631. setTimeout(() => {
  2632. U.MD.U.L.login();
  2633. }, 2000);
  2634. } else {
  2635. _formdiv = new U.UF.UI.form(
  2636. "漢字宮",
  2637. $$("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" }), {
  2638. "id": "hanUrl",
  2639. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2640. "onresize": function () { }
  2641. }, {
  2642. closecallback: function () { }
  2643. }, { "style": { "height": "36px" } }).form; //創建窗體
  2644. _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); } }
  2645. break;
  2646. }
  2647. case "index":
  2648. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2649. setTimeout(() => {
  2650. U.MD.U.L.login();
  2651. }, 2000);
  2652. } else {
  2653. _formdiv = new U.UF.UI.form(
  2654. "課程中心",
  2655. $$("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 }), {
  2656. "id": "study",
  2657. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2658. "onresize": function () { }
  2659. }, {
  2660. closecallback: function () { }
  2661. }, { "style": { "height": "36px" } }).form; //創建窗體
  2662. _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); } }
  2663. break;
  2664. }
  2665. case "dataClass":
  2666. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2667. setTimeout(() => {
  2668. U.MD.U.L.login();
  2669. }, 2000);
  2670. } else {
  2671. _formdiv = new U.UF.UI.form(
  2672. "數據報告",
  2673. $$("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 }), {
  2674. "id": "dataClass",
  2675. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2676. "onresize": function () { }
  2677. }, {
  2678. closecallback: function () { }
  2679. }, { "style": { "height": "36px" } }).form; //創建窗體
  2680. _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); } }
  2681. break;
  2682. }
  2683. case "opencCscl":
  2684. if (!_userinfo || Object.keys(_userinfo).length === 0) {
  2685. setTimeout(() => {
  2686. U.MD.U.L.login();
  2687. }, 2000);
  2688. } else {
  2689. _formdiv = new U.UF.UI.form(
  2690. "協同建構",
  2691. $$("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 }), {
  2692. "id": "futureClass",
  2693. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2694. "onresize": function () { }
  2695. }, {
  2696. closecallback: function () { }
  2697. }, { "style": { "height": "36px" } }).form; //創建窗體
  2698. _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); } }
  2699. break;
  2700. }
  2701. }
  2702. }
  2703. U.MD.D.I.openApplication = function (str, obj, info) {
  2704. obj = obj || {};
  2705. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  2706. _formdiv, //創建任務欄時同時彈出的窗體元素。
  2707. _userinfo = US.userInfo, //登錄用戶信息
  2708. _userid = obj.userid || US.userInfo.userid, //登錄用戶id
  2709. _oid = obj.organizeid || _userinfo.organizeid,
  2710. _type = US.userInfo.type,
  2711. _org = US.userInfo.org,
  2712. _role = US.userInfo.role,
  2713. _classId = US.userInfo.classid,
  2714. _TscreenType = 1
  2715. _screenType = 2,
  2716. _SscreenType = 3;
  2717. if (str == 'my' && _type == 2 && (_oid == "69893dca-1d47-11ed-8c78-005056b86db5" || _oid == "05b62310-8cda-11ed-b13d-005056b86db5")) {
  2718. return;
  2719. }
  2720. if (_type == 2 && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  2721. switch (str) {
  2722. case "studnetProject": //好友打開
  2723. _formdiv = new U.UF.UI.form(
  2724. "我的項目",
  2725. $$("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 }), {
  2726. "id": "studnetProject",
  2727. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2728. "onresize": function () { }
  2729. }, {
  2730. closecallback: function () { }
  2731. }, { "style": { "height": "36px" } }).form; //創建窗體
  2732. _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); } }
  2733. break;
  2734. case "studentEvaluate": //好友打開
  2735. _formdiv = new U.UF.UI.form(
  2736. "我的評價",
  2737. $$("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 }), {
  2738. "id": "studentEvaluate",
  2739. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2740. "onresize": function () { }
  2741. }, {
  2742. closecallback: function () { }
  2743. }, { "style": { "height": "36px" } }).form; //創建窗體
  2744. _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); } }
  2745. break;
  2746. case "my":
  2747. _formdiv = new U.UF.UI.form(
  2748. "我的資料",
  2749. $$("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 }), {
  2750. "id": "my",
  2751. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2752. "onresize": function () { }
  2753. }, {
  2754. closecallback: function () { }
  2755. }, { "style": { "height": "36px" } }).form; //創建窗體
  2756. _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); } }
  2757. break;
  2758. case "program":
  2759. _formdiv = new U.UF.UI.form(
  2760. "編程平臺",
  2761. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2762. "id": "program",
  2763. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2764. "onresize": function () { }
  2765. }, {
  2766. closecallback: function () { }
  2767. }, { "style": { "height": "36px" } }).form; //創建窗體
  2768. _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); } }
  2769. break;
  2770. case "library":
  2771. _formdiv = new U.UF.UI.form(
  2772. "素材庫",
  2773. $$("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 }), {
  2774. "id": "library",
  2775. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2776. "onresize": function () { }
  2777. }, {
  2778. closecallback: function () { }
  2779. }, { "style": { "height": "36px" } }).form; //創建窗體
  2780. _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); } }
  2781. break;
  2782. case "whiteboard":
  2783. _formdiv = new U.UF.UI.form(
  2784. "電子白板",
  2785. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  2786. "id": "whiteboard",
  2787. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2788. "onresize": function () { }
  2789. }, {
  2790. closecallback: function () { }
  2791. }, { "style": { "height": "36px" } }).form; //創建窗體
  2792. _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); } }
  2793. break;
  2794. case "investigation":
  2795. _formdiv = new U.UF.UI.form(
  2796. "問卷調查",
  2797. $$("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 }), {
  2798. "id": "investigation",
  2799. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2800. "onresize": function () { }
  2801. }, {
  2802. closecallback: function () { }
  2803. }, { "style": { "height": "36px" } }).form; //創建窗體
  2804. _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); } }
  2805. break;
  2806. case "note":
  2807. _formdiv = new U.UF.UI.form(
  2808. "便簽分類",
  2809. $$("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 }), {
  2810. "id": "note",
  2811. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  2812. "onresize": function () { }
  2813. }, {
  2814. closecallback: function () { }
  2815. }, { "style": { "height": "36px" } }).form; //創建窗體
  2816. _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); } }
  2817. break;
  2818. // case "score":
  2819. // _formdiv = new U.UF.UI.form(
  2820. // "量規評分",
  2821. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  2822. // "id": "score",
  2823. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2824. // "onresize": function() {}
  2825. // }, {
  2826. // closecallback: function() {}
  2827. // }, { "style": { "height": "36px" } }).form; //創建窗體
  2828. // _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); } }
  2829. // break;
  2830. case "mind":
  2831. _formdiv = new U.UF.UI.form(
  2832. "思維導圖",
  2833. $$("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"
  2834. "id": "mind",
  2835. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2836. "onresize": function () { }
  2837. }, {
  2838. closecallback: function () { }
  2839. }, { "style": { "height": "36px" } }).form; //創建窗體
  2840. _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); } }
  2841. break;
  2842. case "doc":
  2843. // U.MD.D.I.isRoom();
  2844. _formdiv = new U.UF.UI.form(
  2845. "協同文檔",
  2846. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), { //"/Office/Word/WordEditArea.htm"
  2847. "id": "doc",
  2848. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2849. "onresize": function () { }
  2850. }, {
  2851. closecallback: function () { }
  2852. }, { "style": { "height": "36px" } }).form; //創建窗體
  2853. // U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  2854. // $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  2855. // })
  2856. _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); } }
  2857. break;
  2858. case "studentStudy":
  2859. _formdiv = new U.UF.UI.form(
  2860. "課程中心",
  2861. $$("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
  2862. "id": "studentStudy",
  2863. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  2864. "onresize": function () { }
  2865. }, {
  2866. closecallback: function () { }
  2867. }, { "style": { "height": "36px" } }).form; //創建窗體
  2868. _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); } }
  2869. break;
  2870. case "train": //好友打開
  2871. _formdiv = new U.UF.UI.form(
  2872. "訓練平臺",
  2873. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  2874. "id": "train",
  2875. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2876. "onresize": function () { }
  2877. }, {
  2878. closecallback: function () { }
  2879. }, { "style": { "height": "36px" } }).form; //創建窗體
  2880. _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); } }
  2881. break;
  2882. case "mindNetwork": //好友打開
  2883. _formdiv = new U.UF.UI.form(
  2884. "思維網格",
  2885. $$("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 }), {
  2886. "id": "mindNetwork",
  2887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2888. "onresize": function () { }
  2889. }, {
  2890. closecallback: function () { }
  2891. }, { "style": { "height": "36px" } }).form; //創建窗體
  2892. _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); } }
  2893. break;
  2894. case "studentClassRoom": //好友打開
  2895. _formdiv = new U.UF.UI.form(
  2896. "實時課堂",
  2897. $$("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 }), {
  2898. "id": "studentClassRoom",
  2899. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2900. "onresize": function () { }
  2901. }, {
  2902. closecallback: function () { }
  2903. }, { "style": { "height": "36px" } }).form; //創建窗體
  2904. _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); } }
  2905. setTimeout(() => {
  2906. U.UF.F.windowZooming(_formdiv)
  2907. }, 0);
  2908. break;
  2909. }
  2910. } else if (_type == 2 && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  2911. switch (str) {
  2912. case "studnetProject": //好友打開
  2913. _formdiv = new U.UF.UI.form(
  2914. "我的項目",
  2915. $$("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 }), {
  2916. "id": "studnetProject",
  2917. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2918. "onresize": function () { }
  2919. }, {
  2920. closecallback: function () { }
  2921. }, { "style": { "height": "36px" } }).form; //創建窗體
  2922. _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); } }
  2923. break;
  2924. case "studentEvaluate": //好友打開
  2925. _formdiv = new U.UF.UI.form(
  2926. "我的評價",
  2927. $$("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 }), {
  2928. "id": "studentEvaluate",
  2929. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2930. "onresize": function () { }
  2931. }, {
  2932. closecallback: function () { }
  2933. }, { "style": { "height": "36px" } }).form; //創建窗體
  2934. _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); } }
  2935. break;
  2936. case "my":
  2937. _formdiv = new U.UF.UI.form(
  2938. "我的資料",
  2939. $$("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 }), {
  2940. "id": "my",
  2941. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  2942. "onresize": function () { }
  2943. }, {
  2944. closecallback: function () { }
  2945. }, { "style": { "height": "36px" } }).form; //創建窗體
  2946. _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); } }
  2947. break;
  2948. case "program":
  2949. _formdiv = new U.UF.UI.form(
  2950. "編程平臺",
  2951. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  2952. "id": "program",
  2953. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  2954. "onresize": function () { }
  2955. }, {
  2956. closecallback: function () { }
  2957. }, { "style": { "height": "36px" } }).form; //創建窗體
  2958. _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); } }
  2959. break;
  2960. case "library":
  2961. _formdiv = new U.UF.UI.form(
  2962. "素材庫",
  2963. $$("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 }), {
  2964. "id": "library",
  2965. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2966. "onresize": function () { }
  2967. }, {
  2968. closecallback: function () { }
  2969. }, { "style": { "height": "36px" } }).form; //創建窗體
  2970. _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); } }
  2971. break;
  2972. case "whiteboard":
  2973. _formdiv = new U.UF.UI.form(
  2974. "電子白板",
  2975. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  2976. "id": "whiteboard",
  2977. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2978. "onresize": function () { }
  2979. }, {
  2980. closecallback: function () { }
  2981. }, { "style": { "height": "36px" } }).form; //創建窗體
  2982. _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); } }
  2983. break;
  2984. case "investigation":
  2985. _formdiv = new U.UF.UI.form(
  2986. "問卷調查",
  2987. $$("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 }), {
  2988. "id": "investigation",
  2989. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  2990. "onresize": function () { }
  2991. }, {
  2992. closecallback: function () { }
  2993. }, { "style": { "height": "36px" } }).form; //創建窗體
  2994. _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); } }
  2995. break;
  2996. case "note":
  2997. _formdiv = new U.UF.UI.form(
  2998. "便簽分類",
  2999. $$("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 }), {
  3000. "id": "note",
  3001. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3002. "onresize": function () { }
  3003. }, {
  3004. closecallback: function () { }
  3005. }, { "style": { "height": "36px" } }).form; //創建窗體
  3006. _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); } }
  3007. break;
  3008. // case "score":
  3009. // _formdiv = new U.UF.UI.form(
  3010. // "量規評分",
  3011. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3012. // "id": "score",
  3013. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3014. // "onresize": function() {}
  3015. // }, {
  3016. // closecallback: function() {}
  3017. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3018. // _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); } }
  3019. // break;
  3020. case "mind":
  3021. _formdiv = new U.UF.UI.form(
  3022. "思維導圖",
  3023. $$("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"
  3024. "id": "mind",
  3025. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3026. "onresize": function () { }
  3027. }, {
  3028. closecallback: function () { }
  3029. }, { "style": { "height": "36px" } }).form; //創建窗體
  3030. _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); } }
  3031. break;
  3032. case "doc":
  3033. // U.MD.D.I.isRoom();
  3034. _formdiv = new U.UF.UI.form(
  3035. "協同文檔",
  3036. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3037. "id": "doc",
  3038. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3039. "onresize": function () { }
  3040. }, {
  3041. closecallback: function () { }
  3042. }, { "style": { "height": "36px" } }).form; //創建窗體
  3043. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3044. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3045. })
  3046. _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); } }
  3047. break;
  3048. case "train": //好友打開
  3049. _formdiv = new U.UF.UI.form(
  3050. "訓練平臺",
  3051. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3052. "id": "train",
  3053. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3054. "onresize": function () { }
  3055. }, {
  3056. closecallback: function () { }
  3057. }, { "style": { "height": "36px" } }).form; //創建窗體
  3058. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/trainPlatform.png)" }, "name": "訓練平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3059. break;
  3060. case "studentStudy":
  3061. _formdiv = new U.UF.UI.form(
  3062. "課程中心",
  3063. $$("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
  3064. "id": "studentStudy",
  3065. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3066. "onresize": function () { }
  3067. }, {
  3068. closecallback: function () { }
  3069. }, { "style": { "height": "36px" } }).form; //創建窗體
  3070. _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); } }
  3071. break;
  3072. case "mindNetwork": //好友打開
  3073. _formdiv = new U.UF.UI.form(
  3074. "思維網格",
  3075. $$("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 }), {
  3076. "id": "mindNetwork",
  3077. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3078. "onresize": function () { }
  3079. }, {
  3080. closecallback: function () { }
  3081. }, { "style": { "height": "36px" } }).form; //創建窗體
  3082. _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); } }
  3083. break;
  3084. case "studentClassRoom": //好友打開
  3085. _formdiv = new U.UF.UI.form(
  3086. "實時課堂",
  3087. $$("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 }), {
  3088. "id": "studentClassRoom",
  3089. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3090. "onresize": function () { }
  3091. }, {
  3092. closecallback: function () { }
  3093. }, { "style": { "height": "36px" } }).form; //創建窗體
  3094. _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); } }
  3095. setTimeout(() => {
  3096. U.UF.F.windowZooming(_formdiv)
  3097. }, 0);
  3098. break;
  3099. }
  3100. } else if ((_type == 1 || _type == 4) && _oid != "91305d49-01ba-11ed-8c78-005056b86db5") {
  3101. //選擇應用處理
  3102. switch (str) {
  3103. case "project": //好友打開
  3104. _formdiv = new U.UF.UI.form(
  3105. _org == '97c4ee8b-d010-4042-986d-e9d3c217264f' ? '工作項目' : "課程管理",
  3106. $$("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 }), {
  3107. "id": "project",
  3108. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3109. "onresize": function () { }
  3110. }, {
  3111. closecallback: function () { }
  3112. }, { "style": { "height": "36px" } }).form; //創建窗體
  3113. _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); } }
  3114. break;
  3115. case "student":
  3116. _formdiv = new U.UF.UI.form(
  3117. "學生管理",
  3118. $$("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 }), {
  3119. "id": "student",
  3120. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3121. "onresize": function () { }
  3122. }, {
  3123. closecallback: function () { }
  3124. }, { "style": { "height": "36px" } }).form; //創建窗體
  3125. _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); } }
  3126. break;
  3127. case "evaluate":
  3128. _formdiv = new U.UF.UI.form(
  3129. "學生評價",
  3130. $$("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 }), {
  3131. "id": "evaluate",
  3132. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3133. "onresize": function () { }
  3134. }, {
  3135. closecallback: function () { }
  3136. }, { "style": { "height": "36px" } }).form; //創建窗體
  3137. _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); } }
  3138. break;
  3139. case "sys":
  3140. _formdiv = new U.UF.UI.form(
  3141. "目標管理",
  3142. $$("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 }), {
  3143. "id": "sys",
  3144. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3145. "onresize": function () { }
  3146. }, {
  3147. closecallback: function () { }
  3148. }, { "style": { "height": "36px" } }).form; //創建窗體
  3149. _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); } }
  3150. break;
  3151. case "courseDesign":
  3152. _formdiv = new U.UF.UI.form(
  3153. "項目設計",
  3154. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3155. "id": "courseDesign",
  3156. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3157. "onresize": function () { }
  3158. }, {
  3159. closecallback: function () { }
  3160. }, { "style": { "height": "36px" } }).form; //創建窗體
  3161. _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); } }
  3162. break;
  3163. case "program":
  3164. _formdiv = new U.UF.UI.form(
  3165. "編程平臺",
  3166. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3167. "id": "program",
  3168. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3169. "onresize": function () { }
  3170. }, {
  3171. closecallback: function () { }
  3172. }, { "style": { "height": "36px" } }).form; //創建窗體
  3173. _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); } }
  3174. break;
  3175. case "class":
  3176. _formdiv = new U.UF.UI.form(
  3177. "班級管理",
  3178. $$("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 }), {
  3179. "id": "class",
  3180. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3181. "onresize": function () { }
  3182. }, {
  3183. closecallback: function () { }
  3184. }, { "style": { "height": "36px" } }).form; //創建窗體
  3185. _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); } }
  3186. break;
  3187. case "Grade":
  3188. _formdiv = new U.UF.UI.form(
  3189. "年級管理",
  3190. $$("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 }), {
  3191. "id": "Grade",
  3192. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3193. "onresize": function () { }
  3194. }, {
  3195. closecallback: function () { }
  3196. }, { "style": { "height": "36px" } }).form; //創建窗體
  3197. _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); } }
  3198. break;
  3199. case "teacherOffice":
  3200. _formdiv = new U.UF.UI.form(
  3201. "教研室",
  3202. $$("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 }), {
  3203. "id": "teacherOffice",
  3204. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3205. "onresize": function () { }
  3206. }, {
  3207. closecallback: function () { }
  3208. }, { "style": { "height": "36px" } }).form; //創建窗體
  3209. _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); } }
  3210. break;
  3211. case "my":
  3212. _formdiv = new U.UF.UI.form(
  3213. "我的資料",
  3214. $$("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 }), {
  3215. "id": "my",
  3216. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3217. "onresize": function () { }
  3218. }, {
  3219. closecallback: function () { }
  3220. }, { "style": { "height": "36px" } }).form; //創建窗體
  3221. _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); } }
  3222. break;
  3223. case "notice":
  3224. _formdiv = new U.UF.UI.form(
  3225. "通知公告",
  3226. $$("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 }), {
  3227. "id": "notice",
  3228. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3229. "onresize": function () { }
  3230. }, {
  3231. closecallback: function () { }
  3232. }, { "style": { "height": "36px" } }).form; //創建窗體
  3233. _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); } }
  3234. break;
  3235. case "library":
  3236. _formdiv = new U.UF.UI.form(
  3237. "素材庫",
  3238. $$("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 }), {
  3239. "id": "library",
  3240. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3241. "onresize": function () { }
  3242. }, {
  3243. closecallback: function () { }
  3244. }, { "style": { "height": "36px" } }).form; //創建窗體
  3245. _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); } }
  3246. break;
  3247. case "whiteboard":
  3248. _formdiv = new U.UF.UI.form(
  3249. "電子白板",
  3250. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3251. "id": "whiteboard",
  3252. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3253. "onresize": function () { }
  3254. }, {
  3255. closecallback: function () { }
  3256. }, { "style": { "height": "36px" } }).form; //創建窗體
  3257. _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); } }
  3258. break;
  3259. case "investigation":
  3260. _formdiv = new U.UF.UI.form(
  3261. "問卷調查",
  3262. $$("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 }), {
  3263. "id": "investigation",
  3264. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3265. "onresize": function () { }
  3266. }, {
  3267. closecallback: function () { }
  3268. }, { "style": { "height": "36px" } }).form; //創建窗體
  3269. _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); } }
  3270. break;
  3271. case "note":
  3272. _formdiv = new U.UF.UI.form(
  3273. "便簽分類",
  3274. $$("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 }), {
  3275. "id": "note",
  3276. "style": { "width": "20%", "height": "90%", "overflow": 'hidden' },
  3277. "onresize": function () { }
  3278. }, {
  3279. closecallback: function () { }
  3280. }, { "style": { "height": "36px" } }).form; //創建窗體
  3281. _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); } }
  3282. break;
  3283. // case "score":
  3284. // _formdiv = new U.UF.UI.form(
  3285. // "量規評分",
  3286. // $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "" }), {
  3287. // "id": "score",
  3288. // "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3289. // "onresize": function() {}
  3290. // }, {
  3291. // closecallback: function() {}
  3292. // }, { "style": { "height": "36px" } }).form; //創建窗體
  3293. // _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); } }
  3294. // break;
  3295. case "mind":
  3296. _formdiv = new U.UF.UI.form(
  3297. "思維導圖",
  3298. $$("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"
  3299. "id": "mind",
  3300. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3301. "onresize": function () { }
  3302. }, {
  3303. closecallback: function () { }
  3304. }, { "style": { "height": "36px" } }).form; //創建窗體
  3305. _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); } }
  3306. break;
  3307. case "doc":
  3308. // U.MD.D.I.isRoom();
  3309. _formdiv = new U.UF.UI.form(
  3310. "協同文檔",
  3311. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3312. "id": "doc",
  3313. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3314. "onresize": function () { }
  3315. }, {
  3316. closecallback: function () { }
  3317. }, { "style": { "height": "36px" } }).form; //創建窗體
  3318. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3319. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3320. })
  3321. _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); } }
  3322. break;
  3323. case "study":
  3324. _formdiv = new U.UF.UI.form(
  3325. "課程中心",
  3326. $$("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
  3327. "id": "study",
  3328. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3329. "onresize": function () { }
  3330. }, {
  3331. closecallback: function () { }
  3332. }, { "style": { "height": "36px" } }).form; //創建窗體
  3333. _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); } }
  3334. break;
  3335. case "mindNetwork": //好友打開
  3336. _formdiv = new U.UF.UI.form(
  3337. "思維網格",
  3338. $$("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 }), {
  3339. "id": "mindNetwork",
  3340. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3341. "onresize": function () { }
  3342. }, {
  3343. closecallback: function () { }
  3344. }, { "style": { "height": "36px" } }).form; //創建窗體
  3345. _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); } }
  3346. break;
  3347. case "train": //好友打開
  3348. _formdiv = new U.UF.UI.form(
  3349. "訓練平臺",
  3350. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3351. "id": "mindNetwork",
  3352. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3353. "onresize": function () { }
  3354. }, {
  3355. closecallback: function () { }
  3356. }, { "style": { "height": "36px" } }).form; //創建窗體
  3357. _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); } }
  3358. break;
  3359. case "teacherClassRoom": //好友打開
  3360. _formdiv = new U.UF.UI.form(
  3361. "實時課堂",
  3362. $$("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 }), {
  3363. "id": "teacherClassRoom",
  3364. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3365. "onresize": function () { }
  3366. }, {
  3367. closecallback: function () { }
  3368. }, { "style": { "height": "36px" } }).form; //創建窗體
  3369. _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); } }
  3370. setTimeout(() => {
  3371. U.UF.F.windowZooming(_formdiv)
  3372. }, 0);
  3373. break;
  3374. }
  3375. } else if ((_type == 1 || _type == 4) && _oid == "91305d49-01ba-11ed-8c78-005056b86db5") {
  3376. switch (str) {
  3377. case "project": //好友打開
  3378. _formdiv = new U.UF.UI.form(
  3379. "課程管理",
  3380. $$("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 }), {
  3381. "id": "project",
  3382. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3383. "onresize": function () { }
  3384. }, {
  3385. closecallback: function () { }
  3386. }, { "style": { "height": "36px" } }).form; //創建窗體
  3387. _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); } }
  3388. break;
  3389. case "evaluate":
  3390. _formdiv = new U.UF.UI.form(
  3391. "學生評價",
  3392. $$("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 }), {
  3393. "id": "evaluate",
  3394. "style": { "width": "90%", "height": "90%", "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/evaluation.png)" }, "name": "學生評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3400. break;
  3401. case "notice":
  3402. _formdiv = new U.UF.UI.form(
  3403. "通知公告",
  3404. $$("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 }), {
  3405. "id": "notice",
  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/news.png)" }, "name": "通知公告", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3412. break;
  3413. case "stuLibrary":
  3414. _formdiv = new U.UF.UI.form(
  3415. "學習資料",
  3416. $$("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 }), {
  3417. "id": "stuLibrary",
  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/stuLibrary.png)" }, "name": "學習資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3424. break;
  3425. case "program":
  3426. _formdiv = new U.UF.UI.form(
  3427. "編程平臺",
  3428. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://x.cocorobo.cn" }), {
  3429. "id": "program",
  3430. "style": { "width": "70%", "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/myMessage.png)" }, "name": "編程平臺", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3436. break;
  3437. case "whiteboard":
  3438. _formdiv = new U.UF.UI.form(
  3439. "電子白板",
  3440. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://iwb.cocorobo.hk/" }), {
  3441. "id": "whiteboard",
  3442. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3443. "onresize": function () { }
  3444. }, {
  3445. closecallback: function () { }
  3446. }, { "style": { "height": "36px" } }).form; //創建窗體
  3447. _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); } }
  3448. break;
  3449. case "investigation":
  3450. _formdiv = new U.UF.UI.form(
  3451. "問卷調查",
  3452. $$("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 }), {
  3453. "id": "investigation",
  3454. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3455. "onresize": function () { }
  3456. }, {
  3457. closecallback: function () { }
  3458. }, { "style": { "height": "36px" } }).form; //創建窗體
  3459. _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); } }
  3460. break;
  3461. case "mind":
  3462. _formdiv = new U.UF.UI.form(
  3463. "思維導圖",
  3464. $$("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"
  3465. "id": "mind",
  3466. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3467. "onresize": function () { }
  3468. }, {
  3469. closecallback: function () { }
  3470. }, { "style": { "height": "36px" } }).form; //創建窗體
  3471. _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); } }
  3472. break;
  3473. case "doc":
  3474. // U.MD.D.I.isRoom();
  3475. _formdiv = new U.UF.UI.form(
  3476. "協同文檔",
  3477. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/Office/Word/WordEditArea.htm" }), {
  3478. "id": "doc",
  3479. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3480. "onresize": function () { }
  3481. }, {
  3482. closecallback: function () { }
  3483. }, { "style": { "height": "36px" } }).form; //創建窗體
  3484. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  3485. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load();
  3486. })
  3487. _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); } }
  3488. break;
  3489. case "study":
  3490. _formdiv = new U.UF.UI.form(
  3491. "課程中心",
  3492. $$("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
  3493. "id": "study",
  3494. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3495. "onresize": function () { }
  3496. }, {
  3497. closecallback: function () { }
  3498. }, { "style": { "height": "36px" } }).form; //創建窗體
  3499. _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); } }
  3500. break;
  3501. case "mindNetwork": //好友打開
  3502. _formdiv = new U.UF.UI.form(
  3503. "思維網格",
  3504. $$("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 }), {
  3505. "id": "mindNetwork",
  3506. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3507. "onresize": function () { }
  3508. }, {
  3509. closecallback: function () { }
  3510. }, { "style": { "height": "36px" } }).form; //創建窗體
  3511. _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); } }
  3512. break;
  3513. case "train": //好友打開
  3514. _formdiv = new U.UF.UI.form(
  3515. "訓練平臺",
  3516. $$("iframe", { "webkitallowfullscreen": "", "mozallowfullscreen": "", "allowfullscreen": "", "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": "https://xunlian.cocorobo.cn/" }), {
  3517. "id": "train",
  3518. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3519. "onresize": function () { }
  3520. }, {
  3521. closecallback: function () { }
  3522. }, { "style": { "height": "36px" } }).form; //創建窗體
  3523. _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); } }
  3524. break;
  3525. case "sys":
  3526. _formdiv = new U.UF.UI.form(
  3527. "目標管理",
  3528. $$("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 }), {
  3529. "id": "sys",
  3530. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3531. "onresize": function () { }
  3532. }, {
  3533. closecallback: function () { }
  3534. }, { "style": { "height": "36px" } }).form; //創建窗體
  3535. _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); } }
  3536. break;
  3537. case "courseDesign":
  3538. _formdiv = new U.UF.UI.form(
  3539. "項目設計",
  3540. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "/course-design-vue" }), {
  3541. "id": "courseDesign",
  3542. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3543. "onresize": function () { }
  3544. }, {
  3545. closecallback: function () { }
  3546. }, { "style": { "height": "36px" } }).form; //創建窗體
  3547. _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); } }
  3548. break;
  3549. }
  3550. } else if (!_type) {
  3551. switch (str) {
  3552. case "my":
  3553. _formdiv = new U.UF.UI.form(
  3554. "我的資料",
  3555. $$("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 }), {
  3556. "id": "my",
  3557. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3558. "onresize": function () { }
  3559. }, {
  3560. closecallback: function () { }
  3561. }, { "style": { "height": "36px" } }).form; //創建窗體
  3562. _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); } }
  3563. break;
  3564. }
  3565. }
  3566. switch (str) {
  3567. // AIprogram2 AI體驗 aihub.cocorobo.cn
  3568. // Pythonprogram Python編程 python-blockly.cocorobo.cn
  3569. // AIprogram AI編程 ai-blockly.cocorobo.cn
  3570. case "formulaEdi": //公式編輯
  3571. _formdiv = new U.UF.UI.form(
  3572. "公式編輯",
  3573. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.latexlive.com/" }), {
  3574. "id": "formulaEdi",
  3575. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3576. "onresize": function () { }
  3577. }, {
  3578. closecallback: function () { }
  3579. }, { "style": { "height": "36px" } }).form; //創建窗體
  3580. _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); } }
  3581. break;
  3582. case "molStr": //分子結構
  3583. _formdiv = new U.UF.UI.form(
  3584. "分子結構",
  3585. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://molview.org/" }), {
  3586. "id": "molStr",
  3587. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3588. "onresize": function () { }
  3589. }, {
  3590. closecallback: function () { }
  3591. }, { "style": { "height": "36px" } }).form; //創建窗體
  3592. _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); } }
  3593. break;
  3594. case "timeAxis": //時間軸
  3595. _formdiv = new U.UF.UI.form(
  3596. "時間軸",
  3597. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://time.graphics/editor" }), {
  3598. "id": "timeAxis",
  3599. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3600. "onresize": function () { }
  3601. }, {
  3602. closecallback: function () { }
  3603. }, { "style": { "height": "36px" } }).form; //創建窗體
  3604. _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); } }
  3605. break;
  3606. case "AIprogram2": //AI體驗
  3607. _formdiv = new U.UF.UI.form(
  3608. "AI體驗",
  3609. $$("iframe", { "frameborder": "no", "allow": "camera", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://aihub.cocorobo.cn/" }), {
  3610. "id": "AIprogram2",
  3611. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3612. "onresize": function () { }
  3613. }, {
  3614. closecallback: function () { }
  3615. }, { "style": { "height": "36px" } }).form; //創建窗體
  3616. _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); } }
  3617. break;
  3618. case "Pythonprogram": //python編程
  3619. _formdiv = new U.UF.UI.form(
  3620. "Python編程",
  3621. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://python-blockly.cocorobo.cn/" }), {
  3622. "id": "Pythonprogram",
  3623. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3624. "onresize": function () { }
  3625. }, {
  3626. closecallback: function () { }
  3627. }, { "style": { "height": "36px" } }).form; //創建窗體
  3628. _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); } }
  3629. break;
  3630. case "AIprogram": //ai編程
  3631. _formdiv = new U.UF.UI.form(
  3632. "AI編程平臺",
  3633. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://ai-blockly.cocorobo.cn/?lang=zh-hans" }), {
  3634. "id": "AIprogram",
  3635. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3636. "onresize": function () { }
  3637. }, {
  3638. closecallback: function () { }
  3639. }, { "style": { "height": "36px" } }).form; //創建窗體
  3640. _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); } }
  3641. break;
  3642. case "CocoPi": //CocoPi
  3643. _formdiv = new U.UF.UI.form(
  3644. "CocoPi",
  3645. $$("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" }), {
  3646. "id": "CocoPi",
  3647. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3648. "onresize": function () { }
  3649. }, {
  3650. closecallback: function () { }
  3651. }, { "style": { "height": "36px" } }).form; //創建窗體
  3652. _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); } }
  3653. break;
  3654. case "Wood": //Wood
  3655. _formdiv = new U.UF.UI.form(
  3656. "海龜編程",
  3657. $$("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/" }), {
  3658. "id": "Wood",
  3659. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3660. "onresize": function () { }
  3661. }, {
  3662. closecallback: function () { }
  3663. }, { "style": { "height": "36px" } }).form; //創建窗體
  3664. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/Wood.png)" }, "name": "海龜編程", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3665. break;
  3666. case "car": //模擬駕駛
  3667. _formdiv = new U.UF.UI.form(
  3668. "模擬駕駛",
  3669. $$("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/" }), {
  3670. "id": "car",
  3671. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3672. "onresize": function () { }
  3673. }, {
  3674. closecallback: function () { }
  3675. }, { "style": { "height": "36px" } }).form; //創建窗體
  3676. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/car.png)" }, "name": "模擬駕駛", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3677. break;
  3678. case "lineSearch": //路徑搜索
  3679. _formdiv = new U.UF.UI.form(
  3680. "路徑搜索",
  3681. $$("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/" }), {
  3682. "id": "lineSearch",
  3683. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3684. "onresize": function () { }
  3685. }, {
  3686. closecallback: function () { }
  3687. }, { "style": { "height": "36px" } }).form; //創建窗體
  3688. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/lineSearch.png)" }, "name": "路徑搜索", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3689. break;
  3690. case "deepLearning": //深度學習
  3691. _formdiv = new U.UF.UI.form(
  3692. "深度學習",
  3693. $$("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/#" }), {
  3694. "id": "deepLearning",
  3695. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3696. "onresize": function () { }
  3697. }, {
  3698. closecallback: function () { }
  3699. }, { "style": { "height": "36px" } }).form; //創建窗體
  3700. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/deepLearning.png)" }, "name": "深度學習", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3701. break;
  3702. case "allHistory": //深度學習
  3703. _formdiv = new U.UF.UI.form(
  3704. "全歷史",
  3705. $$("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/" }), {
  3706. "id": "allHistory",
  3707. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3708. "onresize": function () { }
  3709. }, {
  3710. closecallback: function () { }
  3711. }, { "style": { "height": "36px" } }).form; //創建窗體
  3712. _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); } }
  3713. break;
  3714. case "chatPDF": //ai編程
  3715. _formdiv = new U.UF.UI.form(
  3716. "chatPDF",
  3717. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://www.chatpdf.com" }), {
  3718. "id": "chatPDF",
  3719. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  3720. "onresize": function () { }
  3721. }, {
  3722. closecallback: function () { }
  3723. }, { "style": { "height": "36px" } }).form; //創建窗體
  3724. _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); } }
  3725. break;
  3726. case "resources": //國家教育
  3727. _formdiv = new U.UF.UI.form(
  3728. "國家教育",
  3729. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://so.eduyun.cn/synResource" }), {
  3730. "id": "resources",
  3731. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3732. "onresize": function () { }
  3733. }, {
  3734. closecallback: function () { }
  3735. }, { "style": { "height": "36px" } }).form; //創建窗體
  3736. _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); } }
  3737. break;
  3738. case "codeEdit": //源碼編輯
  3739. _formdiv = new U.UF.UI.form(
  3740. "源碼編輯",
  3741. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://kitten.codemao.cn/" }), {
  3742. "id": "codeEdit",
  3743. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3744. "onresize": function () { }
  3745. }, {
  3746. closecallback: function () { }
  3747. }, { "style": { "height": "36px" } }).form; //創建窗體
  3748. _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); } }
  3749. break; //
  3750. case "MindMap": //MindMap
  3751. _formdiv = new U.UF.UI.form(
  3752. "MindMap",
  3753. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//cloud.cocorobo.cn/mind/" }), {
  3754. "id": "MindMap",
  3755. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3756. "onresize": function () { }
  3757. }, {
  3758. closecallback: function () { }
  3759. }, { "style": { "height": "36px" } }).form; //創建窗體
  3760. _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); } }
  3761. break;
  3762. case "netWorkPanel": //netWorkPanel
  3763. _formdiv = new U.UF.UI.form(
  3764. "netWorkPanel",
  3765. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//www.netpad.net.cn/svg.html" }), {
  3766. "id": "netWorkPanel",
  3767. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3768. "onresize": function () { }
  3769. }, {
  3770. closecallback: function () { }
  3771. }, { "style": { "height": "36px" } }).form; //創建窗體
  3772. _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); } }
  3773. break;
  3774. case "GeoGebra": //GeoGebra
  3775. _formdiv = new U.UF.UI.form(
  3776. "GeoGebra",
  3777. $$("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" }), {
  3778. "id": "GeoGebra",
  3779. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3780. "onresize": function () { }
  3781. }, {
  3782. closecallback: function () { }
  3783. }, { "style": { "height": "36px" } }).form; //創建窗體
  3784. _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); } }
  3785. break;
  3786. case "translation": //翻譯
  3787. _formdiv = new U.UF.UI.form(
  3788. "翻譯",
  3789. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//dict.youdao.com/" }), {
  3790. "id": "translation",
  3791. "style": { "width": "80%", "height": "90%", "overflow": 'hidden' },
  3792. "onresize": function () { }
  3793. }, {
  3794. closecallback: function () { }
  3795. }, { "style": { "height": "36px" } }).form; //創建窗體
  3796. _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); } }
  3797. break;
  3798. case "mohe": //魔盒
  3799. _formdiv = new U.UF.UI.form(
  3800. "魔盒識字",
  3801. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//games.cocorobo.cn/view/index.html#/" }), {
  3802. "id": "mohe",
  3803. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3804. "onresize": function () { }
  3805. }, {
  3806. closecallback: function () { }
  3807. }, { "style": { "height": "36px" } }).form; //創建窗體
  3808. _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); } }
  3809. break;
  3810. case "24game": //24點
  3811. _formdiv = new U.UF.UI.form(
  3812. "24點",
  3813. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "//24.cocorobo.cn/#/index" }), {
  3814. "id": "24game",
  3815. "style": { "width": "375px", "height": "667px", "overflow": 'hidden' },
  3816. "onresize": function () { }
  3817. }, {
  3818. closecallback: function () { }
  3819. }, { "style": { "height": "36px" } }).form; //創建窗體
  3820. _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); } }
  3821. break;
  3822. case "case":
  3823. _formdiv = new U.UF.UI.form(
  3824. "課程進展",
  3825. $$("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 }), {
  3826. "id": "case",
  3827. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3828. "onresize": function () { }
  3829. }, {
  3830. closecallback: function () { }
  3831. }, { "style": { "height": "36px" } }).form; //創建窗體
  3832. _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); } }
  3833. break;
  3834. case "snf":
  3835. _formdiv = new U.UF.UI.form(
  3836. "賽諾梵",
  3837. $$("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" }), {
  3838. "id": "snf",
  3839. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3840. "onresize": function () { }
  3841. }, {
  3842. closecallback: function () { }
  3843. }, { "style": { "height": "36px" } }).form; //創建窗體
  3844. _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); } }
  3845. break;
  3846. case "hanFamily":
  3847. _formdiv = new U.UF.UI.form(
  3848. "漢字家族",
  3849. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/hzjz" }), {
  3850. "id": "hanFamily",
  3851. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3852. "onresize": function () { }
  3853. }, {
  3854. closecallback: function () { }
  3855. }, { "style": { "height": "36px" } }).form; //創建窗體
  3856. _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); } }
  3857. break;
  3858. case "hanClassics":
  3859. _formdiv = new U.UF.UI.form(
  3860. "國學經典",
  3861. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/gxjd" }), {
  3862. "id": "hanClassics",
  3863. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3864. "onresize": function () { }
  3865. }, {
  3866. closecallback: function () { }
  3867. }, { "style": { "height": "36px" } }).form; //創建窗體
  3868. _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); } }
  3869. break;
  3870. case "hanTraining":
  3871. _formdiv = new U.UF.UI.form(
  3872. "筆畫訓練",
  3873. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/bhxl" }), {
  3874. "id": "hanTraining",
  3875. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3876. "onresize": function () { }
  3877. }, {
  3878. closecallback: function () { }
  3879. }, { "style": { "height": "36px" } }).form; //創建窗體
  3880. _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); } }
  3881. break;
  3882. case "hanClass":
  3883. _formdiv = new U.UF.UI.form(
  3884. "書法課堂",
  3885. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/sfkt" }), {
  3886. "id": "hanClass",
  3887. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3888. "onresize": function () { }
  3889. }, {
  3890. closecallback: function () { }
  3891. }, { "style": { "height": "36px" } }).form; //創建窗體
  3892. _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); } }
  3893. break;
  3894. case "han":
  3895. _formdiv = new U.UF.UI.form(
  3896. "漢字宮",
  3897. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://school.hanzigon.cn/?appid=734714090237947#/home" }), {
  3898. "id": "han",
  3899. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3900. "onresize": function () { }
  3901. }, {
  3902. closecallback: function () { }
  3903. }, { "style": { "height": "36px" } }).form; //創建窗體
  3904. _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); } }
  3905. break;
  3906. case "projectGM": //課程管理
  3907. _formdiv = new U.UF.UI.form(
  3908. "課程管理",
  3909. $$("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 }), {
  3910. "id": "projectGM",
  3911. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3912. "onresize": function () { }
  3913. }, {
  3914. closecallback: function () { }
  3915. }, { "style": { "height": "36px" } }).form; //創建窗體
  3916. _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); } }
  3917. break;
  3918. case "studyGM": //課程中心
  3919. _formdiv = new U.UF.UI.form(
  3920. "課程中心",
  3921. $$("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
  3922. "id": "study",
  3923. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  3924. "onresize": function () { }
  3925. }, {
  3926. closecallback: function () { }
  3927. }, { "style": { "height": "36px" } }).form; //創建窗體
  3928. _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); } }
  3929. break;
  3930. // studentGM
  3931. case "studentGM": //學生管理
  3932. _formdiv = new U.UF.UI.form(
  3933. "學生管理",
  3934. $$("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 }), {
  3935. "id": "studentGM",
  3936. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3937. "onresize": function () { }
  3938. }, {
  3939. closecallback: function () { }
  3940. }, { "style": { "height": "36px" } }).form; //創建窗體
  3941. _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); } }
  3942. break;
  3943. case "evaluateGM": //學生評價
  3944. _formdiv = new U.UF.UI.form(
  3945. "學生評價",
  3946. $$("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 }), {
  3947. "id": "evaluateGM",
  3948. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3949. "onresize": function () { }
  3950. }, {
  3951. closecallback: function () { }
  3952. }, { "style": { "height": "36px" } }).form; //創建窗體
  3953. _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); } }
  3954. break;
  3955. // classGM
  3956. case "classGM": //班級管理
  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": US.Config.bpbl + "/pbl-teacher-table/dist/#/classGM?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  3960. "id": "classGM",
  3961. "style": { "width": "90%", "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/gm/class.png)" }, "name": "班級管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  3967. break;
  3968. // dataGM
  3969. case "dataGM":
  3970. _formdiv = new U.UF.UI.form(
  3971. "我的資料",
  3972. $$("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 }), {
  3973. "id": "dataGM",
  3974. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  3975. "onresize": function () { }
  3976. }, {
  3977. closecallback: function () { }
  3978. }, { "style": { "height": "36px" } }).form; //創建窗體
  3979. _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); } }
  3980. break;
  3981. // caseGM
  3982. case "caseGM": //課程進展
  3983. _formdiv = new U.UF.UI.form(
  3984. "課程進展",
  3985. $$("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 }), {
  3986. "id": "caseGM",
  3987. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  3988. "onresize": function () { }
  3989. }, {
  3990. closecallback: function () { }
  3991. }, { "style": { "height": "36px" } }).form; //創建窗體
  3992. _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); } }
  3993. break;
  3994. // meterialGM
  3995. case "meterialGM": //素材庫
  3996. _formdiv = new U.UF.UI.form(
  3997. "素材庫",
  3998. $$("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 }), {
  3999. "id": "meterialGM",
  4000. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4001. "onresize": function () { }
  4002. }, {
  4003. closecallback: function () { }
  4004. }, { "style": { "height": "36px" } }).form; //創建窗體
  4005. _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); } }
  4006. break;
  4007. // evaluateSGM
  4008. case "evaluateSGM": //我的評價
  4009. _formdiv = new U.UF.UI.form(
  4010. "我的評價",
  4011. $$("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 }), {
  4012. "id": "evaluateSGM",
  4013. "style": { "width": "70%", "height": "90%", "overflow": 'hidden' },
  4014. "onresize": function () { }
  4015. }, {
  4016. closecallback: function () { }
  4017. }, { "style": { "height": "36px" } }).form; //創建窗體
  4018. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/gm/evaluate.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4019. break;
  4020. case "jupyter": //jupyter
  4021. _formdiv = new U.UF.UI.form(
  4022. "jupyter",
  4023. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://jupyter.cocorobo.cn/" }), {
  4024. "id": "jupyter",
  4025. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4026. "onresize": function () { }
  4027. }, {
  4028. closecallback: function () { }
  4029. }, { "style": { "height": "36px" } }).form; //創建窗體
  4030. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/jupyter.png)" }, "name": "jupyter", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4031. break;
  4032. case "number": //數字實驗室
  4033. _formdiv = new U.UF.UI.form(
  4034. "數字實驗室",
  4035. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cocorobo.cn/cloud/iot/events" }), {
  4036. "id": "number",
  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/number.png)" }, "name": "數字實驗室", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4043. break;
  4044. case "studentCourse": //項目管理 學生
  4045. _formdiv = new U.UF.UI.form(
  4046. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4047. $$("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 }), {
  4048. "id": "studentCourse",
  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/studentCourse.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4055. break;
  4056. case "studentCourseS": //項目管理 老師
  4057. _formdiv = new U.UF.UI.form(
  4058. (_org == "150e3120-9195-11ed-b13d-005056b86db5") ? "師生項目" : "項目管理",
  4059. $$("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 }), {
  4060. "id": "studentCourseS",
  4061. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4062. "onresize": function () { }
  4063. }, {
  4064. closecallback: function () { }
  4065. }, { "style": { "height": "36px" } }).form; //創建窗體
  4066. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studentCourse.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4067. break;
  4068. case "studentIndex": //項目中心
  4069. _formdiv = new U.UF.UI.form(
  4070. "項目中心",
  4071. $$("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 }), {
  4072. "id": "studentIndex",
  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/studentIndex.png)" }, "name": "項目管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4079. break;
  4080. case "CaseDesignS":
  4081. _formdiv = new U.UF.UI.form(
  4082. "項目進展",
  4083. $$("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 }), {
  4084. "id": "case",
  4085. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4086. "onresize": function () { }
  4087. }, {
  4088. closecallback: function () { }
  4089. }, { "style": { "height": "36px" } }).form; //創建窗體
  4090. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/CaseDesignS.png)" }, "name": "項目進展", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4091. break;
  4092. case "tcStudent": //騰訊學生管理
  4093. _formdiv = new U.UF.UI.form(
  4094. "學生管理",
  4095. $$("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 }), {
  4096. "id": "tcStudent",
  4097. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4098. "onresize": function () { }
  4099. }, {
  4100. closecallback: function () { }
  4101. }, { "style": { "height": "36px" } }).form; //創建窗體
  4102. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/student.png)" }, "name": "學生管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4103. break;
  4104. case "tcSchool": //騰訊學校管理
  4105. _formdiv = new U.UF.UI.form(
  4106. "學校管理",
  4107. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcSchool?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4108. "id": "tcSchool",
  4109. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4110. "onresize": function () { }
  4111. }, {
  4112. closecallback: function () { }
  4113. }, { "style": { "height": "36px" } }).form; //創建窗體
  4114. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/school.png)" }, "name": "學校管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4115. break;
  4116. case "tcTeacher": //騰訊學校管理
  4117. _formdiv = new U.UF.UI.form(
  4118. "教師管理",
  4119. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0; width:100%; height:100%;" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/tcTeacher?userid=" + _userid + "&oid=" + _oid + "&org=" + _org + "&role=" + _role }), {
  4120. "id": "tcTeacher",
  4121. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4122. "onresize": function () { }
  4123. }, {
  4124. closecallback: function () { }
  4125. }, { "style": { "height": "36px" } }).form; //創建窗體
  4126. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/teacher.png)" }, "name": "教師管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4127. break;
  4128. case "tcData": //騰訊我的資料
  4129. _formdiv = new U.UF.UI.form(
  4130. "我的資料",
  4131. $$("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 }), {
  4132. "id": "tcData",
  4133. "style": { "width": "42%", "height": "90%", "overflow": 'hidden' },
  4134. "onresize": function () { }
  4135. }, {
  4136. closecallback: function () { }
  4137. }, { "style": { "height": "36px" } }).form; //創建窗體
  4138. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/myMessage.png)" }, "name": "我的資料", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4139. break;
  4140. case "tcNotice": //騰訊消息通知
  4141. _formdiv = new U.UF.UI.form(
  4142. "消息通知",
  4143. $$("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 }), {
  4144. "id": "tcNotice",
  4145. "style": { "width": "90%", "height": "90%", "overflow": 'hidden' },
  4146. "onresize": function () { }
  4147. }, {
  4148. closecallback: function () { }
  4149. }, { "style": { "height": "36px" } }).form; //創建窗體
  4150. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/news.png)" }, "name": "消息通知", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4151. break;
  4152. case "myReport": //好友打開
  4153. _formdiv = new U.UF.UI.form(
  4154. "我的評價",
  4155. $$("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 }), {
  4156. "id": "myReport",
  4157. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4158. "onresize": function () { }
  4159. }, {
  4160. closecallback: function () { }
  4161. }, { "style": { "height": "36px" } }).form; //創建窗體
  4162. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/evaluation.png)" }, "name": "我的評價", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4163. break;
  4164. case "learnAna": //好友打開
  4165. _formdiv = new U.UF.UI.form(
  4166. "學習分析",
  4167. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/learnAna?userid=" + _userid + "&oid=" + _oid + "&org=" + _org }), {
  4168. "id": "learnAna",
  4169. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4170. "onresize": function () { }
  4171. }, {
  4172. closecallback: function () { }
  4173. }, { "style": { "height": "36px" } }).form; //創建窗體
  4174. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/learnAna.png)" }, "name": "學習分析", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4175. break;
  4176. case "AIChat": //AI共創
  4177. _formdiv = new U.UF.UI.form(
  4178. "AI共創",
  4179. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/aichat/" }), {
  4180. "id": "AIChat",
  4181. "style": { "width": "550px", "height": "550px", "bottom": "30px", "right": "30px", "overflow": 'hidden' },
  4182. "onresize": function () { }
  4183. }, {
  4184. istop: true,
  4185. closecallback: function () { $("#aichat_icon").remove(); },
  4186. narrowcallback: function () {
  4187. if (!$("#aichat_icon")[0]) {
  4188. $$("div", { "id": "aichat_icon", "className": "U_MD_D_KO_AI", "onclick": function () { U.UF.F.topWindow(_formdiv); } }, $("#U_MD_D")[0])
  4189. }
  4190. },
  4191. }, { "style": { "height": "36px" } }).form; //創建窗體
  4192. _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); } }
  4193. break;
  4194. case "ainew": //AI共創
  4195. _formdiv = new U.UF.UI.form(
  4196. "AI協同",
  4197. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ainew/" }), {
  4198. "id": "ainew",
  4199. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4200. "onresize": function () { }
  4201. }, {
  4202. closecallback: function () { }
  4203. }, { "style": { "height": "36px" } }).form; //創建窗體
  4204. _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); } }
  4205. break;
  4206. case "futureClass": //AI共創
  4207. _formdiv = new U.UF.UI.form(
  4208. "協同建構",
  4209. $$("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
  4210. "id": "synergyCourse",
  4211. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4212. "onresize": function () { }
  4213. }, {
  4214. closecallback: function () { }
  4215. }, { "style": { "height": "36px" } }).form; //創建窗體
  4216. _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); } }
  4217. break;
  4218. case "aiagent": //ai agent
  4219. _formdiv = new U.UF.UI.form(
  4220. "AI Agent",
  4221. $$("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" }), {
  4222. "id": "AIAgent",
  4223. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4224. "onresize": function () { }
  4225. }, {
  4226. closecallback: function () { }
  4227. }, { "style": { "height": "36px" } }).form; //創建窗體
  4228. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/AIprogram2.png)" }, "name": "AI Agent", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4229. break;
  4230. case "dataBoard": //數據看板
  4231. _formdiv = new U.UF.UI.form(
  4232. "數據看板",
  4233. $$("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 }), {
  4234. "id": "dataBoard",
  4235. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4236. "onresize": function () { }
  4237. }, {
  4238. closecallback: function () { }
  4239. }, { "style": { "height": "36px" } }).form; //創建窗體
  4240. _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); } }
  4241. break;
  4242. case "AIAnalyse": //AI共創
  4243. _formdiv = new U.UF.UI.form(
  4244. "AI分析",
  4245. $$("iframe", { "frameborder": "no", "border": "0", "scrolling ": "no", "style": { "cssText": "border:0;width:100%;height:100%" }, "src": "https://cloud.cocorobo.hk/ai/" }), {
  4246. "id": "AIAnalyse",
  4247. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4248. "onresize": function () { }
  4249. }, {
  4250. closecallback: function () { }
  4251. }, { "style": { "height": "36px" } }).form; //創建窗體
  4252. _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); } }
  4253. break;
  4254. case "studioCourse": //AI共創
  4255. _formdiv = new U.UF.UI.form(
  4256. "工作管理",
  4257. $$("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 }), {
  4258. "id": "studioCourse",
  4259. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4260. "onresize": function () { }
  4261. }, {
  4262. closecallback: function () { }
  4263. }, { "style": { "height": "36px" } }).form; //創建窗體
  4264. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/studioCourse.png)" }, "name": "工作管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4265. break;
  4266. case "studioIndex": //AI共創
  4267. _formdiv = new U.UF.UI.form(
  4268. "工作中心",
  4269. $$("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 }), {
  4270. "id": "studioIndex",
  4271. "style": { "width": "100%", "height": "100%", "overflow": 'hidden' },
  4272. "onresize": function () { }
  4273. }, {
  4274. closecallback: function () { }
  4275. }, { "style": { "height": "36px" } }).form; //創建窗體
  4276. _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); } }
  4277. break;
  4278. case "source":
  4279. _formdiv = new U.UF.UI.form(
  4280. "教學資源",
  4281. $$("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 }), {
  4282. "id": "source",
  4283. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4284. "onresize": function () { }
  4285. }, {
  4286. closecallback: function () { }
  4287. }, { "style": { "height": "36px" } }).form; //創建窗體
  4288. _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); } }
  4289. break;
  4290. case "testTeacher":
  4291. _formdiv = new U.UF.UI.form(
  4292. "評測管理",
  4293. $$("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 }), {
  4294. "id": "testTeacher",
  4295. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4296. "onresize": function () { }
  4297. }, {
  4298. closecallback: function () { }
  4299. }, { "style": { "height": "36px" } }).form; //創建窗體
  4300. _taskbar = { "id": str + _formdiv.id, "style": { "backgroundImage": "url(/img/icon/testTeacher.png)" }, "name": "評測管理", "forms": _formdiv, "click": function () { U.MD.D.I.openApplication(str, obj, info); } }
  4301. break;
  4302. case "testStudent":
  4303. _formdiv = new U.UF.UI.form(
  4304. "評測中心",
  4305. $$("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 }), {
  4306. "id": "testStudent",
  4307. "style": { "width": "80%", "height": "80%", "overflow": 'hidden' },
  4308. "onresize": function () { }
  4309. }, {
  4310. closecallback: function () { }
  4311. }, { "style": { "height": "36px" } }).form; //創建窗體
  4312. _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); } }
  4313. break;
  4314. }
  4315. //U.MD.D.I.openClick(str);
  4316. //如果有任務欄信息
  4317. if (_taskbar) {
  4318. U.MD.D.T.taskbar(_taskbar); //創建任務處理
  4319. }
  4320. }
  4321. // U.MD.D.I.openClick = function(str){
  4322. // var click = '';
  4323. // switch(str){
  4324. // case 'friend':
  4325. // click = '我的好友';
  4326. // break;
  4327. // case 'domain':
  4328. // click = '域名管理';
  4329. // break;
  4330. // case 'disk':
  4331. // click = '我的雲盤';
  4332. // break;
  4333. // case 'word':
  4334. // click = 'Word';
  4335. // break;
  4336. // case 'excel':
  4337. // click = 'Execl';
  4338. // break;
  4339. // case 'txt':
  4340. // click = '文本文件';
  4341. // break;
  4342. // case 'lookupFriend':
  4343. // click = '查找好友';
  4344. // break;
  4345. // case 'ftp':
  4346. // click = 'FTP';
  4347. // break;
  4348. // case 'group':
  4349. // click = '群組';
  4350. // break;
  4351. // case 'set':
  4352. // click = '我的設置';
  4353. // break;
  4354. // case 'systemSet':
  4355. // click = '系統設置';
  4356. // break;
  4357. // case 'boomYun':
  4358. // click = '互聯辦公';
  4359. // break;
  4360. // case 'xz':
  4361. // click = '雲端下載';
  4362. // break;
  4363. // case 'client':
  4364. // click = '有思瀏覽器';
  4365. // break;
  4366. // case 'backEndProgramming':
  4367. // click = '在線後臺編程';
  4368. // break;
  4369. // case 'frontEndProgramming':
  4370. // click = '在線前端編程';
  4371. // break;
  4372. // default: break;
  4373. // }
  4374. // if(U.MD.D.I.Ip && click){
  4375. // var clickUrl = ':12588/useClick.php?name=' + click + '&ip=' + U.MD.D.I.Ip;
  4376. // U.MD.D.I.Mysqlrequest(clickUrl,function(data){
  4377. // })
  4378. // }
  4379. // }
  4380. /**
  4381. *函數作用:ajax簡易函數,使用post格式
  4382. *@param url {data} 後臺地址
  4383. *@param data {data} 參數json
  4384. *@param fn {data} 回調函數
  4385. *
  4386. */
  4387. // U.MD.D.I.Mysqlrequest = function(url,fn){
  4388. // var xhr = new XMLHttpRequest();
  4389. // xhr.open("GET",url,true);
  4390. // xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");
  4391. // xhr.onreadystatechange = function(){
  4392. // if(xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)){
  4393. // fn.call(this,xhr.responseText);
  4394. // }
  4395. // };
  4396. // xhr.send();
  4397. // }
  4398. /*判斷是否是內網IP*/
  4399. // U.MD.D.I.isInnerIPFn = function(str){
  4400. // var curPageUrl = str;
  4401. // var reg1 = /(http|ftp|https|www):\/\//g;//去掉前綴
  4402. // curPageUrl =curPageUrl.replace(reg1,'');
  4403. // // console.log('curPageUrl-1 '+curPageUrl);
  4404. // var reg2 = /\:+/g;//替換冒號為一點
  4405. // curPageUrl =curPageUrl.replace(reg2,'.');
  4406. // // console.log('curPageUrl-2 '+curPageUrl);
  4407. // curPageUrl = curPageUrl.split('.');//通過一點來劃分數組
  4408. // var ipAddress = curPageUrl[0]+'.'+curPageUrl[1]+'.'+curPageUrl[2]+'.'+curPageUrl[3];
  4409. // if(curPageUrl[2] != '16'){
  4410. // return ipAddress;
  4411. // }else{
  4412. // return false;
  4413. // }
  4414. // }
  4415. // U.MD.D.I.getUserIP = function(onNewIP) { // onNewIp - your listener function for new IPs
  4416. // //compatibility for firefox and chrome
  4417. // var myPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection;
  4418. // var pc = new myPeerConnection({
  4419. // iceServers: []
  4420. // }),
  4421. // noop = function() {},
  4422. // localIPs = {},
  4423. // ipRegex = /([0-9]{1,3}(\.[0-9]{1,3}){3}|[a-f0-9]{1,4}(:[a-f0-9]{1,4}){7})/g,
  4424. // key;
  4425. // function iterateIP(ip) {
  4426. // if (!localIPs[ip]) onNewIP(ip);
  4427. // localIPs[ip] = true;
  4428. // }
  4429. // //create a bogus data channel
  4430. // pc.createDataChannel("");
  4431. // // create offer and set local description
  4432. // pc.createOffer().then(function(sdp) {
  4433. // sdp.sdp.split('\n').forEach(function(line) {
  4434. // if (line.indexOf('candidate') < 0) return;
  4435. // line.match(ipRegex).forEach(iterateIP);
  4436. // });
  4437. // pc.setLocalDescription(sdp, noop, noop);
  4438. // }).catch(function(reason) {
  4439. // // An error occurred, so handle the failure to connect
  4440. // });
  4441. // //sten for candidate events
  4442. // pc.onicecandidate = function(ice) {
  4443. // if (!ice || !ice.candidate || !ice.candidate.candidate || !ice.candidate.candidate.match(ipRegex)) return;
  4444. // ice.candidate.candidate.match(ipRegex).forEach(iterateIP);
  4445. // };
  4446. // }
  4447. // U.MD.D.I.getUserIpBool = function(callback){
  4448. // U.MD.D.I.getUserIP(function(ip){
  4449. // alert("Got IP! :" + ip);
  4450. // });
  4451. //}
  4452. //#endregion
  4453. U.MD.D.I.openApplicationJie = function (str, cid, stage, task, tool) {
  4454. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  4455. _formdiv, //創建任務欄時同時彈出的窗體元素。
  4456. _userinfo = US.userInfo, //登錄用戶信息
  4457. _userid = US.userInfo.userid //登錄用戶id
  4458. let _iframe;
  4459. let _cid = cid,
  4460. _stage = stage,
  4461. _task = task,
  4462. _tool = tool;
  4463. var _jie = $$("div", {
  4464. "style": {
  4465. "position": "absolute",
  4466. "bottom": "50px",
  4467. "right": "50px",
  4468. "zIndex": "9999",
  4469. "backgroundColor": "#2268bc",
  4470. "color": "#fff",
  4471. "padding": "12px 20px",
  4472. "cursor": "pointer",
  4473. "borderRadius": "4px",
  4474. },
  4475. "innerHTML": "提交作業"
  4476. })
  4477. let aTool = ''
  4478. let _loading = document.createElement('div')
  4479. _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;"
  4480. // _loading.id = "";
  4481. let _lchild = document.createElement('div')
  4482. let _limg = document.createElement('img')
  4483. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4484. _limg.style = "width: 26px;margin-right: 10px;"
  4485. _lchild.appendChild(_limg)
  4486. let _lspan = document.createElement('span')
  4487. _lspan.innerHTML = "上傳中..."
  4488. _lchild.appendChild(_lspan)
  4489. _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%);"
  4490. _loading.appendChild(_lchild)
  4491. var _box = $$('div', {
  4492. "style": {
  4493. "position": "relative",
  4494. "width": "100%",
  4495. "height": "100%",
  4496. },
  4497. })
  4498. _box.appendChild(_loading)
  4499. _box.id = str + '_loadLi_Jie' + cid + stage + task + tool + _userid
  4500. switch (str) {
  4501. case "whiteboard":
  4502. aTool = 1;
  4503. _iframe = $$("iframe", {
  4504. "frameborder": "no",
  4505. "border": "0",
  4506. "scrolling ": "no",
  4507. "style": {
  4508. "cssText": "border:0;width:100%;height:100%"
  4509. },
  4510. "src": "https://iwb.cocorobo.hk/"
  4511. })
  4512. _box.appendChild(_iframe);
  4513. _box.appendChild(_jie);
  4514. _formdiv = new U.UF.UI.form(
  4515. "電子白板",
  4516. _box, {
  4517. "id": "whiteboard" + cid + stage + task + tool,
  4518. "style": {
  4519. "width": "90%",
  4520. "height": "90%",
  4521. "overflow": 'hidden'
  4522. },
  4523. "onresize": function () { }
  4524. }, {
  4525. closecallback: function () { }
  4526. }, {
  4527. "style": {
  4528. "height": "36px"
  4529. }
  4530. }).form; //創建窗體
  4531. _taskbar = {
  4532. "id": str + _formdiv.id,
  4533. "style": {
  4534. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4535. },
  4536. "name": "電子白板",
  4537. "forms": _formdiv,
  4538. "click": function () {
  4539. U.MD.D.I.openApplication(str, obj, info);
  4540. }
  4541. }
  4542. break;
  4543. case "mind":
  4544. aTool = 3;
  4545. _iframe = $$("iframe", {
  4546. "frameborder": "no",
  4547. "border": "0",
  4548. "scrolling ": "no",
  4549. "style": {
  4550. "cssText": "border:0;width:100%;height:100%"
  4551. },
  4552. "src": "/kityminder-editor/dist/index.html"
  4553. })
  4554. _box.appendChild(_iframe);
  4555. _box.appendChild(_jie);
  4556. _formdiv = new U.UF.UI.form(
  4557. "思維導圖",
  4558. _box, { //"/jsmind/example/demo.html"
  4559. "id": "mind" + cid + stage + task + tool,
  4560. "style": {
  4561. "width": "90%",
  4562. "height": "90%",
  4563. "overflow": 'hidden'
  4564. },
  4565. "onresize": function () { }
  4566. }, {
  4567. closecallback: function () { }
  4568. }, {
  4569. "style": {
  4570. "height": "36px"
  4571. }
  4572. }).form; //創建窗體
  4573. _taskbar = {
  4574. "id": str + _formdiv.id,
  4575. "style": {
  4576. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4577. },
  4578. "name": "思維導圖",
  4579. "forms": _formdiv,
  4580. "click": function () {
  4581. U.MD.D.I.openApplication(str, obj, info);
  4582. }
  4583. }
  4584. break;
  4585. case "MindMap":
  4586. aTool = 3;
  4587. _iframe = $$("iframe", {
  4588. "frameborder": "no",
  4589. "border": "0",
  4590. "scrolling ": "no",
  4591. "style": {
  4592. "cssText": "border:0;width:100%;height:100%"
  4593. },
  4594. "src": "//cloud.cocorobo.hk/mind/"
  4595. })
  4596. _box.appendChild(_iframe);
  4597. _box.appendChild(_jie);
  4598. _formdiv = new U.UF.UI.form(
  4599. "思維導圖",
  4600. _box, { //"/jsmind/example/demo.html"
  4601. "id": "mind" + cid + stage + task + tool,
  4602. "style": {
  4603. "width": "90%",
  4604. "height": "90%",
  4605. "overflow": 'hidden'
  4606. },
  4607. "onresize": function () { }
  4608. }, {
  4609. closecallback: function () { }
  4610. }, {
  4611. "style": {
  4612. "height": "36px"
  4613. }
  4614. }).form; //創建窗體
  4615. _taskbar = {
  4616. "id": str + _formdiv.id,
  4617. "style": {
  4618. "backgroundImage": "url(/img/icon/mindMapping.png)"
  4619. },
  4620. "name": "思維導圖",
  4621. "forms": _formdiv,
  4622. "click": function () {
  4623. U.MD.D.I.openApplication(str, obj, info);
  4624. }
  4625. }
  4626. break;
  4627. case "doc":
  4628. aTool = 6;
  4629. _iframe = $$("iframe", {
  4630. "frameborder": "no",
  4631. "border": "0",
  4632. "scrolling ": "no",
  4633. "style": {
  4634. "cssText": "border:0;width:100%;height:100%"
  4635. },
  4636. "src": "/Office/Word/WordEditArea.htm"
  4637. })
  4638. _box.appendChild(_iframe);
  4639. _box.appendChild(_jie);
  4640. _formdiv = new U.UF.UI.form(
  4641. "協同文檔",
  4642. _box, {
  4643. "id": "doc" + cid + stage + task + tool,
  4644. "style": {
  4645. "width": "90%",
  4646. "height": "90%",
  4647. "overflow": 'hidden'
  4648. },
  4649. "onresize": function () { }
  4650. }, {
  4651. closecallback: function () { }
  4652. }, {
  4653. "style": {
  4654. "height": "36px"
  4655. }
  4656. }).form; //創建窗體
  4657. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  4658. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4659. })
  4660. _taskbar = {
  4661. "id": str + _formdiv.id,
  4662. "style": {
  4663. "backgroundImage": "url(/img/icon/doc.png)"
  4664. },
  4665. "name": "協同文檔",
  4666. "forms": _formdiv,
  4667. "click": function () {
  4668. U.MD.D.I.openApplication(str, obj, info);
  4669. }
  4670. }
  4671. break;
  4672. case "mindNetwork": //好友打開
  4673. aTool = 7;
  4674. _iframe = $$("iframe", {
  4675. "webkitallowfullscreen": "",
  4676. "mozallowfullscreen": "",
  4677. "allowfullscreen": "",
  4678. "frameborder": "no",
  4679. "border": "0",
  4680. "scrolling ": "no",
  4681. "style": {
  4682. "cssText": "border:0; width:100%; height:100%;"
  4683. },
  4684. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  4685. })
  4686. _box.appendChild(_iframe);
  4687. _box.appendChild(_jie);
  4688. _formdiv = new U.UF.UI.form(
  4689. "思維網格",
  4690. _box, {
  4691. "id": "mindNetwork" + cid + stage + task + tool,
  4692. "style": {
  4693. "width": "90%",
  4694. "height": "90%",
  4695. "overflow": 'hidden'
  4696. },
  4697. "onresize": function () { }
  4698. }, {
  4699. closecallback: function () { }
  4700. }, {
  4701. "style": {
  4702. "height": "36px"
  4703. }
  4704. }).form; //創建窗體
  4705. _taskbar = {
  4706. "id": str + _formdiv.id,
  4707. "style": {
  4708. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  4709. },
  4710. "name": "思維網格",
  4711. "forms": _formdiv,
  4712. "click": function () {
  4713. U.MD.D.I.openApplication(str, obj, info);
  4714. }
  4715. }
  4716. break;
  4717. case "courseDesign":
  4718. _iframe = $$("iframe", {
  4719. "webkitallowfullscreen": "",
  4720. "mozallowfullscreen": "",
  4721. "allowfullscreen": "",
  4722. "frameborder": "no",
  4723. "border": "0",
  4724. "scrolling ": "no",
  4725. "style": {
  4726. "cssText": "border:0; width:100%; height:100%;"
  4727. },
  4728. "src": "/course-design-vue"
  4729. })
  4730. _box.appendChild(_iframe);
  4731. _box.appendChild(_jie);
  4732. _formdiv = new U.UF.UI.form(
  4733. "項目設計",
  4734. _box, {
  4735. "id": "courseDesign" + cid + stage + task + tool,
  4736. "style": {
  4737. "width": "90%",
  4738. "height": "90%",
  4739. "overflow": 'hidden'
  4740. },
  4741. "onresize": function () { }
  4742. }, {
  4743. closecallback: function () { }
  4744. }, {
  4745. "style": {
  4746. "height": "36px"
  4747. }
  4748. }).form; //創建窗體
  4749. _taskbar = {
  4750. "id": str + _formdiv.id,
  4751. "style": {
  4752. "backgroundImage": "url(/img/icon/courseDesign.png)"
  4753. },
  4754. "name": "項目設計",
  4755. "forms": _formdiv,
  4756. "click": function () {
  4757. U.MD.D.I.openApplication(str, obj, info);
  4758. }
  4759. }
  4760. break;
  4761. }
  4762. const script1 = document.createElement("script");
  4763. script1.type = "text/javascript";
  4764. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  4765. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  4766. const script2 = document.createElement("script");
  4767. script2.type = "text/javascript";
  4768. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  4769. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  4770. const script3 = document.createElement("script");
  4771. script3.type = "text/javascript";
  4772. script3.charset = "UTF-8";
  4773. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  4774. const script4 = document.createElement("script");
  4775. script4.type = "text/javascript";
  4776. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  4777. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  4778. if (_iframe) {
  4779. if (str == 'doc') {
  4780. _iframe = _formdiv.querySelector('iframe')
  4781. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4782. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  4783. _iframe.contentWindow.document.body.appendChild(script1);
  4784. _iframe.contentWindow.document.body.appendChild(script2);
  4785. // _iframe.contentWindow.document.body.appendChild(script3);
  4786. _iframe.contentWindow.document.body.appendChild(script4);
  4787. })
  4788. if (onloadListener) {
  4789. _iframe.contentDocument.location.reload()
  4790. } else {
  4791. _iframe.contentDocument.location.reload()
  4792. }
  4793. } else if (str == 'courseDesign') {
  4794. U.UF.DL.iframeLoad(_iframe, function () {
  4795. // _iframe.contentWindow.U.MD.O.W.load();
  4796. // _iframe.contentWindow.document.body.appendChild(script1);
  4797. _iframe.contentWindow.document.body.appendChild(script2);
  4798. _iframe.contentWindow.document.body.appendChild(script4);
  4799. })
  4800. } else if (str == 'mind') {
  4801. _iframe = _formdiv.querySelector('iframe')
  4802. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  4803. //
  4804. _iframe.contentWindow.document.body.appendChild(script1);
  4805. _iframe.contentWindow.document.body.appendChild(script2);
  4806. _iframe.contentWindow.document.body.appendChild(script4);
  4807. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  4808. })
  4809. if (onloadListener) {
  4810. _iframe.contentDocument.location.reload()
  4811. } else {
  4812. _iframe.contentDocument.location.reload()
  4813. }
  4814. } else if (str == 'whiteboard') {
  4815. _iframe = _formdiv.querySelector('iframe')
  4816. let onloadListener = _iframe.onload = () => {
  4817. _iframe.contentWindow.document.body.appendChild(script1);
  4818. _iframe.contentWindow.document.body.appendChild(script2);
  4819. _iframe.contentWindow.document.body.appendChild(script4);
  4820. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  4821. };
  4822. if (onloadListener) {
  4823. _iframe.contentDocument.location.reload()
  4824. } else {
  4825. _iframe.contentDocument.location.reload()
  4826. }
  4827. } else {
  4828. _iframe.onload = () => {
  4829. _iframe.contentWindow.document.body.appendChild(script1);
  4830. _iframe.contentWindow.document.body.appendChild(script2);
  4831. // _iframe.contentWindow.document.body.appendChild(script3);
  4832. _iframe.contentWindow.document.body.appendChild(script4);
  4833. };
  4834. }
  4835. _jie.onclick = async () => {
  4836. let text = ''
  4837. if (aTool == 1) {
  4838. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  4839. } else if (aTool == 6) {
  4840. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  4841. } else if (aTool == 3) {
  4842. text = await U.MD.D.I.getEditorContent(_iframe);
  4843. }
  4844. _loading.style.display = 'flex'
  4845. console.log(_loading);
  4846. var _ajs = _iframe.contentWindow.document.createElement("script");
  4847. _ajs.type = "text/javascript";
  4848. _ajs.innerHTML =
  4849. // 'console.log(' + _loading + ');\n' +
  4850. 'var _js = document.createElement("script");\n' +
  4851. '_js.type="text/javascript";\n' +
  4852. '_js.charset="UTF-8";\n' +
  4853. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  4854. "_js.onload = function(){\n" +
  4855. ' var a = document.getElementsByTagName("img")\n' +
  4856. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  4857. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  4858. '  var base64Url = canvas.toDataURL("image/png");\n' +
  4859. 'var base64 = "<img src=" + base64Url + " />"\n' +
  4860. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  4861. "beforeUpload_shishi(file," +
  4862. "'" +
  4863. _userid +
  4864. "'" +
  4865. ", " +
  4866. "'" +
  4867. _cid +
  4868. "'" +
  4869. ", " +
  4870. "'" +
  4871. _stage +
  4872. "'" +
  4873. ", " +
  4874. "'" +
  4875. _task +
  4876. "'" +
  4877. ", " +
  4878. "'" +
  4879. _tool +
  4880. "'" +
  4881. ", " +
  4882. "'" +
  4883. (str + '_loadLi_Jie' + cid + stage + task + tool + _userid) +
  4884. "'" +
  4885. ", " +
  4886. "'" +
  4887. aTool +
  4888. "'" +
  4889. ", " +
  4890. "`" +
  4891. text +
  4892. "`" +
  4893. ")\n" +
  4894. " });\n" +
  4895. "}\n" +
  4896. "document.head.appendChild(_js);\n";
  4897. _iframe.contentWindow.document.head.appendChild(_ajs);
  4898. }
  4899. }
  4900. //U.MD.D.I.openClick(str);
  4901. //如果有任務欄信息
  4902. // if (_taskbar) {
  4903. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  4904. // }
  4905. }
  4906. U.MD.D.I.openApplicationJieE = function (str, cid, stage, task, tool) {
  4907. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  4908. _formdiv, //創建任務欄時同時彈出的窗體元素。
  4909. _userinfo = US.userInfo, //登錄用戶信息
  4910. _userid = US.userInfo.userid //登錄用戶id
  4911. let _iframe;
  4912. let _cid = cid,
  4913. _stage = stage,
  4914. _task = task,
  4915. _tool = tool;
  4916. var _jie = $$("div", {
  4917. "style": {
  4918. "position": "absolute",
  4919. "bottom": "50px",
  4920. "right": "50px",
  4921. "zIndex": "9999",
  4922. "backgroundColor": "#2268bc",
  4923. "color": "#fff",
  4924. "padding": "12px 20px",
  4925. "cursor": "pointer",
  4926. "borderRadius": "4px",
  4927. },
  4928. "innerHTML": "提交作業"
  4929. })
  4930. let aTool = ''
  4931. let _loading = document.createElement('div')
  4932. _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;"
  4933. // _loading.id = "";
  4934. let _lchild = document.createElement('div')
  4935. let _limg = document.createElement('img')
  4936. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  4937. _limg.style = "width: 26px;margin-right: 10px;"
  4938. _lchild.appendChild(_limg)
  4939. let _lspan = document.createElement('span')
  4940. _lspan.innerHTML = "上傳中..."
  4941. _lchild.appendChild(_lspan)
  4942. _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%);"
  4943. _loading.appendChild(_lchild)
  4944. var _box = $$('div', {
  4945. "style": {
  4946. "position": "relative",
  4947. "width": "100%",
  4948. "height": "100%",
  4949. },
  4950. })
  4951. _box.appendChild(_loading)
  4952. _box.id = str + '_loadLi_JieE' + cid + stage + task + tool + _userid
  4953. switch (str) {
  4954. case "whiteboard":
  4955. aTool = 1;
  4956. _iframe = $$("iframe", {
  4957. "frameborder": "no",
  4958. "border": "0",
  4959. "scrolling ": "no",
  4960. "style": {
  4961. "cssText": "border:0;width:100%;height:100%"
  4962. },
  4963. "src": "https://iwb.cocorobo.hk/"
  4964. })
  4965. _box.appendChild(_iframe);
  4966. _box.appendChild(_jie);
  4967. _formdiv = new U.UF.UI.form(
  4968. "電子白板",
  4969. _box, {
  4970. "id": "whiteboard" + cid + stage + task + tool,
  4971. "style": {
  4972. "width": "90%",
  4973. "height": "90%",
  4974. "overflow": 'hidden'
  4975. },
  4976. "onresize": function () { }
  4977. }, {
  4978. closecallback: function () { }
  4979. }, {
  4980. "style": {
  4981. "height": "36px"
  4982. }
  4983. }).form; //創建窗體
  4984. _taskbar = {
  4985. "id": str + _formdiv.id,
  4986. "style": {
  4987. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  4988. },
  4989. "name": "電子白板",
  4990. "forms": _formdiv,
  4991. "click": function () {
  4992. U.MD.D.I.openApplication(str, obj, info);
  4993. }
  4994. }
  4995. break;
  4996. case "mind":
  4997. aTool = 3;
  4998. _iframe = $$("iframe", {
  4999. "frameborder": "no",
  5000. "border": "0",
  5001. "scrolling ": "no",
  5002. "style": {
  5003. "cssText": "border:0;width:100%;height:100%"
  5004. },
  5005. "src": "/kityminder-editor/dist/index.html"
  5006. })
  5007. _box.appendChild(_iframe);
  5008. _box.appendChild(_jie);
  5009. _formdiv = new U.UF.UI.form(
  5010. "思維導圖",
  5011. _box, { //"/jsmind/example/demo.html"
  5012. "id": "mind" + cid + stage + task + tool,
  5013. "style": {
  5014. "width": "90%",
  5015. "height": "90%",
  5016. "overflow": 'hidden'
  5017. },
  5018. "onresize": function () { }
  5019. }, {
  5020. closecallback: function () { }
  5021. }, {
  5022. "style": {
  5023. "height": "36px"
  5024. }
  5025. }).form; //創建窗體
  5026. _taskbar = {
  5027. "id": str + _formdiv.id,
  5028. "style": {
  5029. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5030. },
  5031. "name": "思維導圖",
  5032. "forms": _formdiv,
  5033. "click": function () {
  5034. U.MD.D.I.openApplication(str, obj, info);
  5035. }
  5036. }
  5037. break;
  5038. case "MindMap":
  5039. aTool = 3;
  5040. _iframe = $$("iframe", {
  5041. "frameborder": "no",
  5042. "border": "0",
  5043. "scrolling ": "no",
  5044. "style": {
  5045. "cssText": "border:0;width:100%;height:100%"
  5046. },
  5047. "src": "//cloud.cocorobo.hk/mind/"
  5048. })
  5049. _box.appendChild(_iframe);
  5050. _box.appendChild(_jie);
  5051. _formdiv = new U.UF.UI.form(
  5052. "思維導圖",
  5053. _box, { //"/jsmind/example/demo.html"
  5054. "id": "mind" + cid + stage + task + tool,
  5055. "style": {
  5056. "width": "90%",
  5057. "height": "90%",
  5058. "overflow": 'hidden'
  5059. },
  5060. "onresize": function () { }
  5061. }, {
  5062. closecallback: function () { }
  5063. }, {
  5064. "style": {
  5065. "height": "36px"
  5066. }
  5067. }).form; //創建窗體
  5068. _taskbar = {
  5069. "id": str + _formdiv.id,
  5070. "style": {
  5071. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5072. },
  5073. "name": "思維導圖",
  5074. "forms": _formdiv,
  5075. "click": function () {
  5076. U.MD.D.I.openApplication(str, obj, info);
  5077. }
  5078. }
  5079. break;
  5080. case "doc":
  5081. aTool = 6;
  5082. _iframe = $$("iframe", {
  5083. "frameborder": "no",
  5084. "border": "0",
  5085. "scrolling ": "no",
  5086. "style": {
  5087. "cssText": "border:0;width:100%;height:100%"
  5088. },
  5089. "src": "/Office/Word/WordEditArea.htm"
  5090. })
  5091. _box.appendChild(_iframe);
  5092. _box.appendChild(_jie);
  5093. _formdiv = new U.UF.UI.form(
  5094. "協同文檔",
  5095. _box, {
  5096. "id": "doc" + cid + stage + task + tool,
  5097. "style": {
  5098. "width": "90%",
  5099. "height": "90%",
  5100. "overflow": 'hidden'
  5101. },
  5102. "onresize": function () { }
  5103. }, {
  5104. closecallback: function () { }
  5105. }, {
  5106. "style": {
  5107. "height": "36px"
  5108. }
  5109. }).form; //創建窗體
  5110. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5111. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5112. })
  5113. _taskbar = {
  5114. "id": str + _formdiv.id,
  5115. "style": {
  5116. "backgroundImage": "url(/img/icon/doc.png)"
  5117. },
  5118. "name": "協同文檔",
  5119. "forms": _formdiv,
  5120. "click": function () {
  5121. U.MD.D.I.openApplication(str, obj, info);
  5122. }
  5123. }
  5124. break;
  5125. case "mindNetwork": //好友打開
  5126. aTool = 7;
  5127. _iframe = $$("iframe", {
  5128. "webkitallowfullscreen": "",
  5129. "mozallowfullscreen": "",
  5130. "allowfullscreen": "",
  5131. "frameborder": "no",
  5132. "border": "0",
  5133. "scrolling ": "no",
  5134. "style": {
  5135. "cssText": "border:0; width:100%; height:100%;"
  5136. },
  5137. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5138. })
  5139. _box.appendChild(_iframe);
  5140. _box.appendChild(_jie);
  5141. _formdiv = new U.UF.UI.form(
  5142. "思維網格",
  5143. _box, {
  5144. "id": "mindNetwork" + cid + stage + task + tool,
  5145. "style": {
  5146. "width": "90%",
  5147. "height": "90%",
  5148. "overflow": 'hidden'
  5149. },
  5150. "onresize": function () { }
  5151. }, {
  5152. closecallback: function () { }
  5153. }, {
  5154. "style": {
  5155. "height": "36px"
  5156. }
  5157. }).form; //創建窗體
  5158. _taskbar = {
  5159. "id": str + _formdiv.id,
  5160. "style": {
  5161. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5162. },
  5163. "name": "思維網格",
  5164. "forms": _formdiv,
  5165. "click": function () {
  5166. U.MD.D.I.openApplication(str, obj, info);
  5167. }
  5168. }
  5169. break;
  5170. case "courseDesign":
  5171. _iframe = $$("iframe", {
  5172. "webkitallowfullscreen": "",
  5173. "mozallowfullscreen": "",
  5174. "allowfullscreen": "",
  5175. "frameborder": "no",
  5176. "border": "0",
  5177. "scrolling ": "no",
  5178. "style": {
  5179. "cssText": "border:0; width:100%; height:100%;"
  5180. },
  5181. "src": "/course-design-vue"
  5182. })
  5183. _box.appendChild(_iframe);
  5184. _box.appendChild(_jie);
  5185. _formdiv = new U.UF.UI.form(
  5186. "項目設計",
  5187. _box, {
  5188. "id": "courseDesign" + cid + stage + task + tool,
  5189. "style": {
  5190. "width": "90%",
  5191. "height": "90%",
  5192. "overflow": 'hidden'
  5193. },
  5194. "onresize": function () { }
  5195. }, {
  5196. closecallback: function () { }
  5197. }, {
  5198. "style": {
  5199. "height": "36px"
  5200. }
  5201. }).form; //創建窗體
  5202. _taskbar = {
  5203. "id": str + _formdiv.id,
  5204. "style": {
  5205. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5206. },
  5207. "name": "項目設計",
  5208. "forms": _formdiv,
  5209. "click": function () {
  5210. U.MD.D.I.openApplication(str, obj, info);
  5211. }
  5212. }
  5213. break;
  5214. }
  5215. const script1 = document.createElement("script");
  5216. script1.type = "text/javascript";
  5217. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5218. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5219. const script2 = document.createElement("script");
  5220. script2.type = "text/javascript";
  5221. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5222. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5223. const script3 = document.createElement("script");
  5224. script3.type = "text/javascript";
  5225. script3.charset = "UTF-8";
  5226. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5227. const script4 = document.createElement("script");
  5228. script4.type = "text/javascript";
  5229. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5230. script4.src = window.origin + "/js/Common/jietu2E.js";
  5231. if (_iframe) {
  5232. if (str == 'doc') {
  5233. _iframe = _formdiv.querySelector('iframe')
  5234. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5235. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5236. _iframe.contentWindow.document.body.appendChild(script1);
  5237. _iframe.contentWindow.document.body.appendChild(script2);
  5238. // _iframe.contentWindow.document.body.appendChild(script3);
  5239. _iframe.contentWindow.document.body.appendChild(script4);
  5240. })
  5241. if (onloadListener) {
  5242. _iframe.contentDocument.location.reload()
  5243. } else {
  5244. _iframe.contentDocument.location.reload()
  5245. }
  5246. } else if (str == 'courseDesign') {
  5247. U.UF.DL.iframeLoad(_iframe, function () {
  5248. // _iframe.contentWindow.U.MD.O.W.load();
  5249. // _iframe.contentWindow.document.body.appendChild(script1);
  5250. _iframe.contentWindow.document.body.appendChild(script2);
  5251. _iframe.contentWindow.document.body.appendChild(script4);
  5252. })
  5253. } else if (str == 'mind') {
  5254. _iframe = _formdiv.querySelector('iframe')
  5255. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5256. //
  5257. _iframe.contentWindow.document.body.appendChild(script1);
  5258. _iframe.contentWindow.document.body.appendChild(script2);
  5259. _iframe.contentWindow.document.body.appendChild(script4);
  5260. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5261. })
  5262. if (onloadListener) {
  5263. _iframe.contentDocument.location.reload()
  5264. } else {
  5265. _iframe.contentDocument.location.reload()
  5266. }
  5267. } else if (str == 'whiteboard') {
  5268. _iframe = _formdiv.querySelector('iframe')
  5269. let onloadListener = _iframe.onload = () => {
  5270. _iframe.contentWindow.document.body.appendChild(script1);
  5271. _iframe.contentWindow.document.body.appendChild(script2);
  5272. _iframe.contentWindow.document.body.appendChild(script4);
  5273. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5274. };
  5275. if (onloadListener) {
  5276. _iframe.contentDocument.location.reload()
  5277. } else {
  5278. _iframe.contentDocument.location.reload()
  5279. }
  5280. } else {
  5281. _iframe.onload = () => {
  5282. _iframe.contentWindow.document.body.appendChild(script1);
  5283. _iframe.contentWindow.document.body.appendChild(script2);
  5284. // _iframe.contentWindow.document.body.appendChild(script3);
  5285. _iframe.contentWindow.document.body.appendChild(script4);
  5286. };
  5287. }
  5288. _jie.onclick = async () => {
  5289. let text = ''
  5290. if (aTool == 1) {
  5291. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5292. } else if (aTool == 6) {
  5293. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5294. } else if (aTool == 3) {
  5295. text = await U.MD.D.I.getEditorContent(_iframe);
  5296. }
  5297. _loading.style.display = 'flex'
  5298. console.log(_loading);
  5299. var _ajs = _iframe.contentWindow.document.createElement("script");
  5300. _ajs.type = "text/javascript";
  5301. _ajs.innerHTML =
  5302. // 'console.log(' + _loading + ');\n' +
  5303. 'var _js = document.createElement("script");\n' +
  5304. '_js.type="text/javascript";\n' +
  5305. '_js.charset="UTF-8";\n' +
  5306. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5307. "_js.onload = function(){\n" +
  5308. ' var a = document.getElementsByTagName("img")\n' +
  5309. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5310. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5311. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5312. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5313. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5314. "beforeUpload_shishi(file," +
  5315. "'" +
  5316. _userid +
  5317. "'" +
  5318. ", " +
  5319. "'" +
  5320. _cid +
  5321. "'" +
  5322. ", " +
  5323. "'" +
  5324. _stage +
  5325. "'" +
  5326. ", " +
  5327. "'" +
  5328. _task +
  5329. "'" +
  5330. ", " +
  5331. "'" +
  5332. _tool +
  5333. "'" +
  5334. ", " +
  5335. "'" +
  5336. (str + '_loadLi_JieE' + cid + stage + task + tool + _userid) +
  5337. "'" +
  5338. ", " +
  5339. "'" +
  5340. aTool +
  5341. "'" +
  5342. ", " +
  5343. "`" +
  5344. text +
  5345. "`" +
  5346. ")\n" +
  5347. " });\n" +
  5348. "}\n" +
  5349. "document.head.appendChild(_js);\n";
  5350. _iframe.contentWindow.document.head.appendChild(_ajs);
  5351. }
  5352. }
  5353. //U.MD.D.I.openClick(str);
  5354. //如果有任務欄信息
  5355. // if (_taskbar) {
  5356. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  5357. // }
  5358. }
  5359. U.MD.D.I.openApplicationJieTeacher = function (str, cid, stage, task, tool, student) {
  5360. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5361. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5362. _userid = student.userid, //登錄用戶id
  5363. _username = student.student //用戶名字
  5364. let _iframe;
  5365. let _cid = cid,
  5366. _stage = stage,
  5367. _task = task,
  5368. _tool = tool;
  5369. var _jie = $$("div", {
  5370. "style": {
  5371. "position": "absolute",
  5372. "bottom": "50px",
  5373. "right": "50px",
  5374. "zIndex": "9999",
  5375. "backgroundColor": "#2268bc",
  5376. "color": "#fff",
  5377. "padding": "12px 20px",
  5378. "cursor": "pointer",
  5379. "borderRadius": "4px",
  5380. },
  5381. "innerHTML": "提交作業"
  5382. })
  5383. let aTool = ''
  5384. let _loading = document.createElement('div')
  5385. _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;"
  5386. // _loading.id = "";
  5387. let _lchild = document.createElement('div')
  5388. let _limg = document.createElement('img')
  5389. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5390. _limg.style = "width: 26px;margin-right: 10px;"
  5391. _lchild.appendChild(_limg)
  5392. let _lspan = document.createElement('span')
  5393. _lspan.innerHTML = "上傳中..."
  5394. _lchild.appendChild(_lspan)
  5395. _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%);"
  5396. _loading.appendChild(_lchild)
  5397. var _box = $$('div', {
  5398. "style": {
  5399. "position": "relative",
  5400. "width": "100%",
  5401. "height": "100%",
  5402. },
  5403. })
  5404. _box.appendChild(_loading)
  5405. _box.id = str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid
  5406. switch (str) {
  5407. case "whiteboard":
  5408. aTool = 1;
  5409. _iframe = $$("iframe", {
  5410. "frameborder": "no",
  5411. "border": "0",
  5412. "scrolling ": "no",
  5413. "style": {
  5414. "cssText": "border:0;width:100%;height:100%"
  5415. },
  5416. "src": "https://iwb.cocorobo.hk/"
  5417. })
  5418. _box.appendChild(_iframe);
  5419. _box.appendChild(_jie);
  5420. _formdiv = new U.UF.UI.form(
  5421. "電子白板-" + _username,
  5422. _box, {
  5423. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5424. "style": {
  5425. "width": "90%",
  5426. "height": "90%",
  5427. "overflow": 'hidden'
  5428. },
  5429. "onresize": function () { }
  5430. }, {
  5431. closecallback: function () { }
  5432. }, {
  5433. "style": {
  5434. "height": "36px"
  5435. }
  5436. }).form; //創建窗體
  5437. _taskbar = {
  5438. "id": str + _formdiv.id,
  5439. "style": {
  5440. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5441. },
  5442. "name": "電子白板",
  5443. "forms": _formdiv,
  5444. "click": function () {
  5445. U.MD.D.I.openApplication(str, obj, info);
  5446. }
  5447. }
  5448. break;
  5449. case "mind":
  5450. aTool = 3;
  5451. _iframe = $$("iframe", {
  5452. "frameborder": "no",
  5453. "border": "0",
  5454. "scrolling ": "no",
  5455. "style": {
  5456. "cssText": "border:0;width:100%;height:100%"
  5457. },
  5458. "src": "/kityminder-editor/dist/index.html"
  5459. })
  5460. _box.appendChild(_iframe);
  5461. _box.appendChild(_jie);
  5462. _formdiv = new U.UF.UI.form(
  5463. "思維導圖-" + _username,
  5464. _box, { //"/jsmind/example/demo.html"
  5465. "id": "mind" + cid + stage + task + tool + _userid,
  5466. "style": {
  5467. "width": "90%",
  5468. "height": "90%",
  5469. "overflow": 'hidden'
  5470. },
  5471. "onresize": function () { }
  5472. }, {
  5473. closecallback: function () { }
  5474. }, {
  5475. "style": {
  5476. "height": "36px"
  5477. }
  5478. }).form; //創建窗體
  5479. _taskbar = {
  5480. "id": str + _formdiv.id,
  5481. "style": {
  5482. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5483. },
  5484. "name": "思維導圖",
  5485. "forms": _formdiv,
  5486. "click": function () {
  5487. U.MD.D.I.openApplication(str, obj, info);
  5488. }
  5489. }
  5490. break;
  5491. case "MindMap":
  5492. aTool = 3;
  5493. _iframe = $$("iframe", {
  5494. "frameborder": "no",
  5495. "border": "0",
  5496. "scrolling ": "no",
  5497. "style": {
  5498. "cssText": "border:0;width:100%;height:100%"
  5499. },
  5500. "src": "//cloud.cocorobo.hk/mind/"
  5501. })
  5502. _box.appendChild(_iframe);
  5503. _box.appendChild(_jie);
  5504. _formdiv = new U.UF.UI.form(
  5505. "思維導圖-" + _username,
  5506. _box, { //"/jsmind/example/demo.html"
  5507. "id": "mind" + cid + stage + task + tool + _userid,
  5508. "style": {
  5509. "width": "90%",
  5510. "height": "90%",
  5511. "overflow": 'hidden'
  5512. },
  5513. "onresize": function () { }
  5514. }, {
  5515. closecallback: function () { }
  5516. }, {
  5517. "style": {
  5518. "height": "36px"
  5519. }
  5520. }).form; //創建窗體
  5521. _taskbar = {
  5522. "id": str + _formdiv.id,
  5523. "style": {
  5524. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5525. },
  5526. "name": "思維導圖",
  5527. "forms": _formdiv,
  5528. "click": function () {
  5529. U.MD.D.I.openApplication(str, obj, info);
  5530. }
  5531. }
  5532. break;
  5533. case "doc":
  5534. aTool = 6;
  5535. _iframe = $$("iframe", {
  5536. "frameborder": "no",
  5537. "border": "0",
  5538. "scrolling ": "no",
  5539. "style": {
  5540. "cssText": "border:0;width:100%;height:100%"
  5541. },
  5542. "src": "/Office/Word/WordEditArea.htm"
  5543. })
  5544. _box.appendChild(_iframe);
  5545. _box.appendChild(_jie);
  5546. _formdiv = new U.UF.UI.form(
  5547. "協同文檔-" + _username,
  5548. _box, {
  5549. "id": "doc" + cid + stage + task + tool + _userid,
  5550. "style": {
  5551. "width": "90%",
  5552. "height": "90%",
  5553. "overflow": 'hidden'
  5554. },
  5555. "onresize": function () { }
  5556. }, {
  5557. closecallback: function () { }
  5558. }, {
  5559. "style": {
  5560. "height": "36px"
  5561. }
  5562. }).form; //創建窗體
  5563. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  5564. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5565. })
  5566. _taskbar = {
  5567. "id": str + _formdiv.id,
  5568. "style": {
  5569. "backgroundImage": "url(/img/icon/doc.png)"
  5570. },
  5571. "name": "協同文檔",
  5572. "forms": _formdiv,
  5573. "click": function () {
  5574. U.MD.D.I.openApplication(str, obj, info);
  5575. }
  5576. }
  5577. break;
  5578. case "mindNetwork": //好友打開
  5579. aTool = 7;
  5580. _iframe = $$("iframe", {
  5581. "webkitallowfullscreen": "",
  5582. "mozallowfullscreen": "",
  5583. "allowfullscreen": "",
  5584. "frameborder": "no",
  5585. "border": "0",
  5586. "scrolling ": "no",
  5587. "style": {
  5588. "cssText": "border:0; width:100%; height:100%;"
  5589. },
  5590. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  5591. })
  5592. _box.appendChild(_iframe);
  5593. _box.appendChild(_jie);
  5594. _formdiv = new U.UF.UI.form(
  5595. "思維網格-" + _username,
  5596. _box, {
  5597. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  5598. "style": {
  5599. "width": "90%",
  5600. "height": "90%",
  5601. "overflow": 'hidden'
  5602. },
  5603. "onresize": function () { }
  5604. }, {
  5605. closecallback: function () { }
  5606. }, {
  5607. "style": {
  5608. "height": "36px"
  5609. }
  5610. }).form; //創建窗體
  5611. _taskbar = {
  5612. "id": str + _formdiv.id,
  5613. "style": {
  5614. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  5615. },
  5616. "name": "思維網格",
  5617. "forms": _formdiv,
  5618. "click": function () {
  5619. U.MD.D.I.openApplication(str, obj, info);
  5620. }
  5621. }
  5622. break;
  5623. case "courseDesign":
  5624. _iframe = $$("iframe", {
  5625. "webkitallowfullscreen": "",
  5626. "mozallowfullscreen": "",
  5627. "allowfullscreen": "",
  5628. "frameborder": "no",
  5629. "border": "0",
  5630. "scrolling ": "no",
  5631. "style": {
  5632. "cssText": "border:0; width:100%; height:100%;"
  5633. },
  5634. "src": "/course-design-vue"
  5635. })
  5636. _box.appendChild(_iframe);
  5637. _box.appendChild(_jie);
  5638. _formdiv = new U.UF.UI.form(
  5639. "項目設計-" + _username,
  5640. _box, {
  5641. "id": "courseDesign" + cid + stage + task + tool + _userid,
  5642. "style": {
  5643. "width": "90%",
  5644. "height": "90%",
  5645. "overflow": 'hidden'
  5646. },
  5647. "onresize": function () { }
  5648. }, {
  5649. closecallback: function () { }
  5650. }, {
  5651. "style": {
  5652. "height": "36px"
  5653. }
  5654. }).form; //創建窗體
  5655. _taskbar = {
  5656. "id": str + _formdiv.id,
  5657. "style": {
  5658. "backgroundImage": "url(/img/icon/courseDesign.png)"
  5659. },
  5660. "name": "項目設計",
  5661. "forms": _formdiv,
  5662. "click": function () {
  5663. U.MD.D.I.openApplication(str, obj, info);
  5664. }
  5665. }
  5666. break;
  5667. }
  5668. const script1 = document.createElement("script");
  5669. script1.type = "text/javascript";
  5670. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  5671. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  5672. const script2 = document.createElement("script");
  5673. script2.type = "text/javascript";
  5674. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  5675. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  5676. const script3 = document.createElement("script");
  5677. script3.type = "text/javascript";
  5678. script3.charset = "UTF-8";
  5679. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  5680. const script4 = document.createElement("script");
  5681. script4.type = "text/javascript";
  5682. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  5683. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu2.js";
  5684. if (_iframe) {
  5685. if (str == 'doc') {
  5686. _iframe = _formdiv.querySelector('iframe')
  5687. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5688. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  5689. _iframe.contentWindow.document.body.appendChild(script1);
  5690. _iframe.contentWindow.document.body.appendChild(script2);
  5691. // _iframe.contentWindow.document.body.appendChild(script3);
  5692. _iframe.contentWindow.document.body.appendChild(script4);
  5693. })
  5694. if (onloadListener) {
  5695. _iframe.contentDocument.location.reload()
  5696. } else {
  5697. _iframe.contentDocument.location.reload()
  5698. }
  5699. } else if (str == 'courseDesign') {
  5700. U.UF.DL.iframeLoad(_iframe, function () {
  5701. // _iframe.contentWindow.U.MD.O.W.load();
  5702. // _iframe.contentWindow.document.body.appendChild(script1);
  5703. _iframe.contentWindow.document.body.appendChild(script2);
  5704. _iframe.contentWindow.document.body.appendChild(script4);
  5705. })
  5706. } else if (str == 'mind') {
  5707. _iframe = _formdiv.querySelector('iframe')
  5708. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  5709. //
  5710. _iframe.contentWindow.document.body.appendChild(script1);
  5711. _iframe.contentWindow.document.body.appendChild(script2);
  5712. _iframe.contentWindow.document.body.appendChild(script4);
  5713. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  5714. })
  5715. if (onloadListener) {
  5716. _iframe.contentDocument.location.reload()
  5717. } else {
  5718. _iframe.contentDocument.location.reload()
  5719. }
  5720. } else if (str == 'whiteboard') {
  5721. _iframe = _formdiv.querySelector('iframe')
  5722. let onloadListener = _iframe.onload = () => {
  5723. _iframe.contentWindow.document.body.appendChild(script1);
  5724. _iframe.contentWindow.document.body.appendChild(script2);
  5725. _iframe.contentWindow.document.body.appendChild(script4);
  5726. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  5727. };
  5728. if (onloadListener) {
  5729. _iframe.contentDocument.location.reload()
  5730. } else {
  5731. _iframe.contentDocument.location.reload()
  5732. }
  5733. } else {
  5734. _iframe.onload = () => {
  5735. _iframe.contentWindow.document.body.appendChild(script1);
  5736. _iframe.contentWindow.document.body.appendChild(script2);
  5737. // _iframe.contentWindow.document.body.appendChild(script3);
  5738. _iframe.contentWindow.document.body.appendChild(script4);
  5739. };
  5740. }
  5741. _jie.onclick = async () => {
  5742. let text = ''
  5743. if (aTool == 1) {
  5744. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  5745. } else if (aTool == 6) {
  5746. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  5747. } else if (aTool == 3) {
  5748. text = await U.MD.D.I.getEditorContent(_iframe);
  5749. }
  5750. _loading.style.display = 'flex'
  5751. console.log(_loading);
  5752. var _ajs = _iframe.contentWindow.document.createElement("script");
  5753. _ajs.type = "text/javascript";
  5754. _ajs.innerHTML =
  5755. // 'console.log(' + _loading + ');\n' +
  5756. 'var _js = document.createElement("script");\n' +
  5757. '_js.type="text/javascript";\n' +
  5758. '_js.charset="UTF-8";\n' +
  5759. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  5760. "_js.onload = function(){\n" +
  5761. ' var a = document.getElementsByTagName("img")\n' +
  5762. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  5763. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  5764. '  var base64Url = canvas.toDataURL("image/png");\n' +
  5765. 'var base64 = "<img src=" + base64Url + " />"\n' +
  5766. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  5767. "beforeUpload_shishi(file," +
  5768. "'" +
  5769. _userid +
  5770. "'" +
  5771. ", " +
  5772. "'" +
  5773. _cid +
  5774. "'" +
  5775. ", " +
  5776. "'" +
  5777. _stage +
  5778. "'" +
  5779. ", " +
  5780. "'" +
  5781. _task +
  5782. "'" +
  5783. ", " +
  5784. "'" +
  5785. _tool +
  5786. "'" +
  5787. ", " +
  5788. "'" +
  5789. (str + '_loadLi_JieTeacher' + cid + stage + task + tool + _userid) +
  5790. "'" +
  5791. ", " +
  5792. "'" +
  5793. aTool +
  5794. "'" +
  5795. ", " +
  5796. "`" +
  5797. text +
  5798. "`" +
  5799. ")\n" +
  5800. " });\n" +
  5801. "}\n" +
  5802. "document.head.appendChild(_js);\n";
  5803. _iframe.contentWindow.document.head.appendChild(_ajs);
  5804. }
  5805. }
  5806. }
  5807. U.MD.D.I.openApplicationJieTeacherE = function (str, cid, stage, task, tool, student) {
  5808. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  5809. _formdiv, //創建任務欄時同時彈出的窗體元素。
  5810. _userid = student.userid, //登錄用戶id
  5811. _username = student.student //用戶名字
  5812. let _iframe;
  5813. let _cid = cid,
  5814. _stage = stage,
  5815. _task = task,
  5816. _tool = tool;
  5817. var _jie = $$("div", {
  5818. "style": {
  5819. "position": "absolute",
  5820. "bottom": "50px",
  5821. "right": "50px",
  5822. "zIndex": "9999",
  5823. "backgroundColor": "#2268bc",
  5824. "color": "#fff",
  5825. "padding": "12px 20px",
  5826. "cursor": "pointer",
  5827. "borderRadius": "4px",
  5828. },
  5829. "innerHTML": "提交作業"
  5830. })
  5831. let aTool = ''
  5832. let _loading = document.createElement('div')
  5833. _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;"
  5834. // _loading.id = "";
  5835. let _lchild = document.createElement('div')
  5836. let _limg = document.createElement('img')
  5837. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  5838. _limg.style = "width: 26px;margin-right: 10px;"
  5839. _lchild.appendChild(_limg)
  5840. let _lspan = document.createElement('span')
  5841. _lspan.innerHTML = "上傳中..."
  5842. _lchild.appendChild(_lspan)
  5843. _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%);"
  5844. _loading.appendChild(_lchild)
  5845. var _box = $$('div', {
  5846. "style": {
  5847. "position": "relative",
  5848. "width": "100%",
  5849. "height": "100%",
  5850. },
  5851. })
  5852. _box.appendChild(_loading)
  5853. _box.id = str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid
  5854. switch (str) {
  5855. case "whiteboard":
  5856. aTool = 1;
  5857. _iframe = $$("iframe", {
  5858. "frameborder": "no",
  5859. "border": "0",
  5860. "scrolling ": "no",
  5861. "style": {
  5862. "cssText": "border:0;width:100%;height:100%"
  5863. },
  5864. "src": "https://iwb.cocorobo.hk/"
  5865. })
  5866. _box.appendChild(_iframe);
  5867. _box.appendChild(_jie);
  5868. _formdiv = new U.UF.UI.form(
  5869. "電子白板-" + _username,
  5870. _box, {
  5871. "id": "whiteboard" + cid + stage + task + tool + _userid,
  5872. "style": {
  5873. "width": "90%",
  5874. "height": "90%",
  5875. "overflow": 'hidden'
  5876. },
  5877. "onresize": function () { }
  5878. }, {
  5879. closecallback: function () { }
  5880. }, {
  5881. "style": {
  5882. "height": "36px"
  5883. }
  5884. }).form; //創建窗體
  5885. _taskbar = {
  5886. "id": str + _formdiv.id,
  5887. "style": {
  5888. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  5889. },
  5890. "name": "電子白板",
  5891. "forms": _formdiv,
  5892. "click": function () {
  5893. U.MD.D.I.openApplication(str, obj, info);
  5894. }
  5895. }
  5896. break;
  5897. case "mind":
  5898. aTool = 3;
  5899. _iframe = $$("iframe", {
  5900. "frameborder": "no",
  5901. "border": "0",
  5902. "scrolling ": "no",
  5903. "style": {
  5904. "cssText": "border:0;width:100%;height:100%"
  5905. },
  5906. "src": "/kityminder-editor/dist/index.html"
  5907. })
  5908. _box.appendChild(_iframe);
  5909. _box.appendChild(_jie);
  5910. _formdiv = new U.UF.UI.form(
  5911. "思維導圖-" + _username,
  5912. _box, { //"/jsmind/example/demo.html"
  5913. "id": "mind" + cid + stage + task + tool + _userid,
  5914. "style": {
  5915. "width": "90%",
  5916. "height": "90%",
  5917. "overflow": 'hidden'
  5918. },
  5919. "onresize": function () { }
  5920. }, {
  5921. closecallback: function () { }
  5922. }, {
  5923. "style": {
  5924. "height": "36px"
  5925. }
  5926. }).form; //創建窗體
  5927. _taskbar = {
  5928. "id": str + _formdiv.id,
  5929. "style": {
  5930. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5931. },
  5932. "name": "思維導圖",
  5933. "forms": _formdiv,
  5934. "click": function () {
  5935. U.MD.D.I.openApplication(str, obj, info);
  5936. }
  5937. }
  5938. break;
  5939. case "MindMap":
  5940. aTool = 3;
  5941. _iframe = $$("iframe", {
  5942. "frameborder": "no",
  5943. "border": "0",
  5944. "scrolling ": "no",
  5945. "style": {
  5946. "cssText": "border:0;width:100%;height:100%"
  5947. },
  5948. "src": "//cloud.cocorobo.hk/mind/"
  5949. })
  5950. _box.appendChild(_iframe);
  5951. _box.appendChild(_jie);
  5952. _formdiv = new U.UF.UI.form(
  5953. "思維導圖-" + _username,
  5954. _box, { //"/jsmind/example/demo.html"
  5955. "id": "mind" + cid + stage + task + tool + _userid,
  5956. "style": {
  5957. "width": "90%",
  5958. "height": "90%",
  5959. "overflow": 'hidden'
  5960. },
  5961. "onresize": function () { }
  5962. }, {
  5963. closecallback: function () { }
  5964. }, {
  5965. "style": {
  5966. "height": "36px"
  5967. }
  5968. }).form; //創建窗體
  5969. _taskbar = {
  5970. "id": str + _formdiv.id,
  5971. "style": {
  5972. "backgroundImage": "url(/img/icon/mindMapping.png)"
  5973. },
  5974. "name": "思維導圖",
  5975. "forms": _formdiv,
  5976. "click": function () {
  5977. U.MD.D.I.openApplication(str, obj, info);
  5978. }
  5979. }
  5980. break;
  5981. case "doc":
  5982. aTool = 6;
  5983. _iframe = $$("iframe", {
  5984. "frameborder": "no",
  5985. "border": "0",
  5986. "scrolling ": "no",
  5987. "style": {
  5988. "cssText": "border:0;width:100%;height:100%"
  5989. },
  5990. "src": "/Office/Word/WordEditArea.htm"
  5991. })
  5992. _box.appendChild(_iframe);
  5993. _box.appendChild(_jie);
  5994. _formdiv = new U.UF.UI.form(
  5995. "協同文檔-" + _username,
  5996. _box, {
  5997. "id": "doc" + cid + stage + task + tool + _userid,
  5998. "style": {
  5999. "width": "90%",
  6000. "height": "90%",
  6001. "overflow": 'hidden'
  6002. },
  6003. "onresize": function () { }
  6004. }, {
  6005. closecallback: function () { }
  6006. }, {
  6007. "style": {
  6008. "height": "36px"
  6009. }
  6010. }).form; //創建窗體
  6011. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6012. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6013. })
  6014. _taskbar = {
  6015. "id": str + _formdiv.id,
  6016. "style": {
  6017. "backgroundImage": "url(/img/icon/doc.png)"
  6018. },
  6019. "name": "協同文檔",
  6020. "forms": _formdiv,
  6021. "click": function () {
  6022. U.MD.D.I.openApplication(str, obj, info);
  6023. }
  6024. }
  6025. break;
  6026. case "mindNetwork": //好友打開
  6027. aTool = 7;
  6028. _iframe = $$("iframe", {
  6029. "webkitallowfullscreen": "",
  6030. "mozallowfullscreen": "",
  6031. "allowfullscreen": "",
  6032. "frameborder": "no",
  6033. "border": "0",
  6034. "scrolling ": "no",
  6035. "style": {
  6036. "cssText": "border:0; width:100%; height:100%;"
  6037. },
  6038. "src": US.Config.bpbl + "/pbl-teacher-table/dist/#/Grid?userid=" + _userid
  6039. })
  6040. _box.appendChild(_iframe);
  6041. _box.appendChild(_jie);
  6042. _formdiv = new U.UF.UI.form(
  6043. "思維網格-" + _username,
  6044. _box, {
  6045. "id": "mindNetwork" + cid + stage + task + tool + _userid,
  6046. "style": {
  6047. "width": "90%",
  6048. "height": "90%",
  6049. "overflow": 'hidden'
  6050. },
  6051. "onresize": function () { }
  6052. }, {
  6053. closecallback: function () { }
  6054. }, {
  6055. "style": {
  6056. "height": "36px"
  6057. }
  6058. }).form; //創建窗體
  6059. _taskbar = {
  6060. "id": str + _formdiv.id,
  6061. "style": {
  6062. "backgroundImage": "url(/img/icon/mindNetwork.png)"
  6063. },
  6064. "name": "思維網格",
  6065. "forms": _formdiv,
  6066. "click": function () {
  6067. U.MD.D.I.openApplication(str, obj, info);
  6068. }
  6069. }
  6070. break;
  6071. case "courseDesign":
  6072. _iframe = $$("iframe", {
  6073. "webkitallowfullscreen": "",
  6074. "mozallowfullscreen": "",
  6075. "allowfullscreen": "",
  6076. "frameborder": "no",
  6077. "border": "0",
  6078. "scrolling ": "no",
  6079. "style": {
  6080. "cssText": "border:0; width:100%; height:100%;"
  6081. },
  6082. "src": "/course-design-vue"
  6083. })
  6084. _box.appendChild(_iframe);
  6085. _box.appendChild(_jie);
  6086. _formdiv = new U.UF.UI.form(
  6087. "項目設計-" + _username,
  6088. _box, {
  6089. "id": "courseDesign" + cid + stage + task + tool + _userid,
  6090. "style": {
  6091. "width": "90%",
  6092. "height": "90%",
  6093. "overflow": 'hidden'
  6094. },
  6095. "onresize": function () { }
  6096. }, {
  6097. closecallback: function () { }
  6098. }, {
  6099. "style": {
  6100. "height": "36px"
  6101. }
  6102. }).form; //創建窗體
  6103. _taskbar = {
  6104. "id": str + _formdiv.id,
  6105. "style": {
  6106. "backgroundImage": "url(/img/icon/courseDesign.png)"
  6107. },
  6108. "name": "項目設計",
  6109. "forms": _formdiv,
  6110. "click": function () {
  6111. U.MD.D.I.openApplication(str, obj, info);
  6112. }
  6113. }
  6114. break;
  6115. }
  6116. const script1 = document.createElement("script");
  6117. script1.type = "text/javascript";
  6118. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6119. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6120. const script2 = document.createElement("script");
  6121. script2.type = "text/javascript";
  6122. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6123. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6124. const script3 = document.createElement("script");
  6125. script3.type = "text/javascript";
  6126. script3.charset = "UTF-8";
  6127. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6128. const script4 = document.createElement("script");
  6129. script4.type = "text/javascript";
  6130. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu2.js";
  6131. script4.src = window.origin + "/js/Common/jietu2E.js";
  6132. if (_iframe) {
  6133. if (str == 'doc') {
  6134. _iframe = _formdiv.querySelector('iframe')
  6135. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6136. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool);
  6137. _iframe.contentWindow.document.body.appendChild(script1);
  6138. _iframe.contentWindow.document.body.appendChild(script2);
  6139. // _iframe.contentWindow.document.body.appendChild(script3);
  6140. _iframe.contentWindow.document.body.appendChild(script4);
  6141. })
  6142. if (onloadListener) {
  6143. _iframe.contentDocument.location.reload()
  6144. } else {
  6145. _iframe.contentDocument.location.reload()
  6146. }
  6147. } else if (str == 'courseDesign') {
  6148. U.UF.DL.iframeLoad(_iframe, function () {
  6149. // _iframe.contentWindow.U.MD.O.W.load();
  6150. // _iframe.contentWindow.document.body.appendChild(script1);
  6151. _iframe.contentWindow.document.body.appendChild(script2);
  6152. _iframe.contentWindow.document.body.appendChild(script4);
  6153. })
  6154. } else if (str == 'mind') {
  6155. _iframe = _formdiv.querySelector('iframe')
  6156. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6157. //
  6158. _iframe.contentWindow.document.body.appendChild(script1);
  6159. _iframe.contentWindow.document.body.appendChild(script2);
  6160. _iframe.contentWindow.document.body.appendChild(script4);
  6161. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '2', _iframe)
  6162. })
  6163. if (onloadListener) {
  6164. _iframe.contentDocument.location.reload()
  6165. } else {
  6166. _iframe.contentDocument.location.reload()
  6167. }
  6168. } else if (str == 'whiteboard') {
  6169. _iframe = _formdiv.querySelector('iframe')
  6170. let onloadListener = _iframe.onload = () => {
  6171. _iframe.contentWindow.document.body.appendChild(script1);
  6172. _iframe.contentWindow.document.body.appendChild(script2);
  6173. _iframe.contentWindow.document.body.appendChild(script4);
  6174. U.MD.D.I.getContent(cid, stage, task, tool, _userid, '3', _iframe)
  6175. };
  6176. if (onloadListener) {
  6177. _iframe.contentDocument.location.reload()
  6178. } else {
  6179. _iframe.contentDocument.location.reload()
  6180. }
  6181. } else {
  6182. _iframe.onload = () => {
  6183. _iframe.contentWindow.document.body.appendChild(script1);
  6184. _iframe.contentWindow.document.body.appendChild(script2);
  6185. // _iframe.contentWindow.document.body.appendChild(script3);
  6186. _iframe.contentWindow.document.body.appendChild(script4);
  6187. };
  6188. }
  6189. _jie.onclick = async () => {
  6190. let text = ''
  6191. if (aTool == 1) {
  6192. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  6193. } else if (aTool == 6) {
  6194. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6195. } else if (aTool == 3) {
  6196. text = await U.MD.D.I.getEditorContent(_iframe);
  6197. }
  6198. _loading.style.display = 'flex'
  6199. console.log(_loading);
  6200. var _ajs = _iframe.contentWindow.document.createElement("script");
  6201. _ajs.type = "text/javascript";
  6202. _ajs.innerHTML =
  6203. // 'console.log(' + _loading + ');\n' +
  6204. 'var _js = document.createElement("script");\n' +
  6205. '_js.type="text/javascript";\n' +
  6206. '_js.charset="UTF-8";\n' +
  6207. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6208. "_js.onload = function(){\n" +
  6209. ' var a = document.getElementsByTagName("img")\n' +
  6210. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6211. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6212. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6213. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6214. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6215. "beforeUpload_shishi(file," +
  6216. "'" +
  6217. _userid +
  6218. "'" +
  6219. ", " +
  6220. "'" +
  6221. _cid +
  6222. "'" +
  6223. ", " +
  6224. "'" +
  6225. _stage +
  6226. "'" +
  6227. ", " +
  6228. "'" +
  6229. _task +
  6230. "'" +
  6231. ", " +
  6232. "'" +
  6233. _tool +
  6234. "'" +
  6235. ", " +
  6236. "'" +
  6237. (str + '_loadLi_JieTeacherE' + cid + stage + task + tool + _userid) +
  6238. "'" +
  6239. ", " +
  6240. "'" +
  6241. aTool +
  6242. "'" +
  6243. ", " +
  6244. "`" +
  6245. text +
  6246. "`" +
  6247. ")\n" +
  6248. " });\n" +
  6249. "}\n" +
  6250. "document.head.appendChild(_js);\n";
  6251. _iframe.contentWindow.document.head.appendChild(_ajs);
  6252. }
  6253. }
  6254. }
  6255. U.MD.D.I.getEditorContent = function (iframe) {
  6256. return new Promise((resolve, reject) => {
  6257. iframe.contentWindow.editor.minder.exportData('json').then(function (content) {
  6258. console.log(content);
  6259. resolve(content)
  6260. });
  6261. });
  6262. }
  6263. U.MD.D.I.getContent = function (cid, s, task, t, uid, type, iframe) {
  6264. // U.A.Request(US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, [], function (res) {
  6265. // if (res.value[0].length > 0) {
  6266. // // resolve(res.value[0][0].text);
  6267. // iframe.contentWindow.editor.minder.importData('json', res.value[0][0].text).then(function (data) {
  6268. // $(fileInput).val('');
  6269. // });
  6270. // }
  6271. // }, [], { "type": "GET", "withCredentials": true });
  6272. var xmlhttp;
  6273. var Mac, Sn, DeviceId
  6274. if (window.XMLHttpRequest) {
  6275. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  6276. xmlhttp = new XMLHttpRequest();
  6277. }
  6278. else {
  6279. // IE6, IE5 瀏覽器執行代碼
  6280. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  6281. }
  6282. xmlhttp.onreadystatechange = function () {
  6283. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  6284. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  6285. // resolve(res.value[0][0].text);
  6286. if (type == '2') {
  6287. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  6288. } else if (type == '3') {
  6289. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  6290. }
  6291. } else {
  6292. U.MD.D.I.getContents2(cid, s, task, t, uid, type, iframe)
  6293. }
  6294. }
  6295. }
  6296. xmlhttp.open("GET", US.Config.pbl + "selectWord2?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  6297. xmlhttp.send();
  6298. }
  6299. U.MD.D.I.openApplicationJieS = function (str, cid, stage, task, tool) {
  6300. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6301. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6302. _userinfo = US.userInfo, //登錄用戶信息
  6303. _userid = US.userInfo.userid //登錄用戶id
  6304. let _iframe;
  6305. let _cid = cid,
  6306. _stage = stage,
  6307. _task = task,
  6308. _tool = tool;
  6309. var _jie = $$("div", {
  6310. "style": {
  6311. "position": "absolute",
  6312. "bottom": "50px",
  6313. "right": "50px",
  6314. "zIndex": "9999",
  6315. "backgroundColor": "#2268bc",
  6316. "color": "#fff",
  6317. "padding": "12px 20px",
  6318. "cursor": "pointer",
  6319. "borderRadius": "4px",
  6320. },
  6321. "innerHTML": "確認並提交"
  6322. })
  6323. let aTool = ''
  6324. let _loading = document.createElement('div')
  6325. _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;"
  6326. // _loading.id = "";
  6327. let _lchild = document.createElement('div')
  6328. let _limg = document.createElement('img')
  6329. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6330. _limg.style = "width: 26px;margin-right: 10px;"
  6331. _lchild.appendChild(_limg)
  6332. let _lspan = document.createElement('span')
  6333. _lspan.innerHTML = "上傳中..."
  6334. _lchild.appendChild(_lspan)
  6335. _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%);"
  6336. _loading.appendChild(_lchild)
  6337. var _box = $$('div', {
  6338. "style": {
  6339. "position": "relative",
  6340. "width": "100%",
  6341. "height": "100%",
  6342. },
  6343. })
  6344. _box.appendChild(_loading)
  6345. _box.id = str + '_loadLi_JieS' + cid + stage + task + tool + _userid
  6346. switch (str) {
  6347. case "whiteboard":
  6348. aTool = 1;
  6349. _iframe = $$("iframe", {
  6350. "frameborder": "no",
  6351. "border": "0",
  6352. "scrolling ": "no",
  6353. "style": {
  6354. "cssText": "border:0;width:100%;height:100%"
  6355. },
  6356. "src": "https://iwb.cocorobo.hk/"
  6357. })
  6358. _box.appendChild(_iframe);
  6359. _box.appendChild(_jie);
  6360. _formdiv = new U.UF.UI.form(
  6361. "電子白板",
  6362. _box, {
  6363. "id": "whiteboards" + cid + stage + task + tool,
  6364. "style": {
  6365. "width": "90%",
  6366. "height": "90%",
  6367. "overflow": 'hidden'
  6368. },
  6369. "onresize": function () { }
  6370. }, {
  6371. closecallback: function () { }
  6372. }, {
  6373. "style": {
  6374. "height": "36px"
  6375. }
  6376. }).form; //創建窗體
  6377. _taskbar = {
  6378. "id": str + _formdiv.id,
  6379. "style": {
  6380. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6381. },
  6382. "name": "電子白板",
  6383. "forms": _formdiv,
  6384. "click": function () {
  6385. U.MD.D.I.openApplication(str, obj, info);
  6386. }
  6387. }
  6388. break;
  6389. case "mind":
  6390. aTool = 3;
  6391. _iframe = $$("iframe", {
  6392. "frameborder": "no",
  6393. "border": "0",
  6394. "scrolling ": "no",
  6395. "style": {
  6396. "cssText": "border:0;width:100%;height:100%"
  6397. },
  6398. "src": "/kityminder-editor/dist/index.html"
  6399. });
  6400. _box.appendChild(_iframe);
  6401. _box.appendChild(_jie);
  6402. _formdiv = new U.UF.UI.form(
  6403. "思維導圖",
  6404. _box, { //"/jsmind/example/demo.html"
  6405. "id": "minds" + cid + stage + task + tool,
  6406. "style": {
  6407. "width": "90%",
  6408. "height": "90%",
  6409. "overflow": 'hidden'
  6410. },
  6411. "onresize": function () { }
  6412. }, {
  6413. closecallback: function () { }
  6414. }, {
  6415. "style": {
  6416. "height": "36px"
  6417. }
  6418. }).form; //創建窗體
  6419. _taskbar = {
  6420. "id": str + _formdiv.id,
  6421. "style": {
  6422. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6423. },
  6424. "name": "思維導圖",
  6425. "forms": _formdiv,
  6426. "click": function () {
  6427. U.MD.D.I.openApplication(str, obj, info);
  6428. }
  6429. }
  6430. break;
  6431. case "doc":
  6432. aTool = 6;
  6433. _iframe = $$("iframe", {
  6434. "frameborder": "no",
  6435. "border": "0",
  6436. "scrolling ": "no",
  6437. "style": {
  6438. "cssText": "border:0;width:100%;height:100%"
  6439. },
  6440. "src": "/Office/Word/WordEditArea.htm"
  6441. })
  6442. _box.appendChild(_iframe);
  6443. _box.appendChild(_jie);
  6444. _formdiv = new U.UF.UI.form(
  6445. "協同文檔",
  6446. _box, {
  6447. "id": "docs" + cid + stage + task + tool,
  6448. "style": {
  6449. "width": "90%",
  6450. "height": "90%",
  6451. "overflow": 'hidden'
  6452. },
  6453. "onresize": function () { }
  6454. }, {
  6455. closecallback: function () { }
  6456. }, {
  6457. "style": {
  6458. "height": "36px"
  6459. }
  6460. }).form; //創建窗體
  6461. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6462. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6463. })
  6464. _taskbar = {
  6465. "id": str + _formdiv.id,
  6466. "style": {
  6467. "backgroundImage": "url(/img/icon/doc.png)"
  6468. },
  6469. "name": "協同文檔",
  6470. "forms": _formdiv,
  6471. "click": function () {
  6472. U.MD.D.I.openApplication(str, obj, info);
  6473. }
  6474. }
  6475. break;
  6476. }
  6477. const script1 = document.createElement("script");
  6478. script1.type = "text/javascript";
  6479. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6480. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6481. const script2 = document.createElement("script");
  6482. script2.type = "text/javascript";
  6483. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6484. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6485. const script3 = document.createElement("script");
  6486. script3.type = "text/javascript";
  6487. script3.charset = "UTF-8";
  6488. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6489. const script4 = document.createElement("script");
  6490. script4.type = "text/javascript";
  6491. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6492. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu4.js";
  6493. if (_iframe) {
  6494. if (str == 'doc') {
  6495. _iframe = _formdiv.querySelector('iframe')
  6496. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6497. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6498. _iframe.contentWindow.document.body.appendChild(script1);
  6499. _iframe.contentWindow.document.body.appendChild(script2);
  6500. // _iframe.contentWindow.document.body.appendChild(script3);
  6501. _iframe.contentWindow.document.body.appendChild(script4);
  6502. })
  6503. if (onloadListener) {
  6504. _iframe.contentDocument.location.reload()
  6505. } else {
  6506. _iframe.contentDocument.location.reload()
  6507. }
  6508. } else if (str == 'mind') {
  6509. _iframe = _formdiv.querySelector('iframe')
  6510. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6511. _iframe.contentWindow.document.body.appendChild(script1);
  6512. _iframe.contentWindow.document.body.appendChild(script2);
  6513. _iframe.contentWindow.document.body.appendChild(script4);
  6514. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6515. })
  6516. if (onloadListener) {
  6517. _iframe.contentDocument.location.reload()
  6518. } else {
  6519. _iframe.contentDocument.location.reload()
  6520. }
  6521. } else {
  6522. _iframe.onload = () => {
  6523. _iframe.contentWindow.document.body.appendChild(script1);
  6524. _iframe.contentWindow.document.body.appendChild(script2);
  6525. // _iframe.contentWindow.document.body.appendChild(script3);
  6526. _iframe.contentWindow.document.body.appendChild(script4);
  6527. };
  6528. }
  6529. _jie.onclick = async () => {
  6530. let text = ''
  6531. if (aTool == 6) {
  6532. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6533. } else if (aTool == 3) {
  6534. text = await U.MD.D.I.getEditorContent(_iframe);
  6535. }
  6536. _loading.style.display = 'flex'
  6537. console.log(_loading);
  6538. var _ajs = _iframe.contentWindow.document.createElement("script");
  6539. _ajs.type = "text/javascript";
  6540. _ajs.innerHTML =
  6541. // 'console.log(' + _loading + ');\n' +
  6542. 'var _js = document.createElement("script");\n' +
  6543. '_js.type="text/javascript";\n' +
  6544. '_js.charset="UTF-8";\n' +
  6545. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6546. "_js.onload = function(){\n" +
  6547. ' var a = document.getElementsByTagName("img")\n' +
  6548. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6549. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6550. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6551. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6552. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6553. "beforeUpload_shishi(file," +
  6554. "'" +
  6555. _userid +
  6556. "'" +
  6557. ", " +
  6558. "'" +
  6559. _cid +
  6560. "'" +
  6561. ", " +
  6562. "'" +
  6563. _stage +
  6564. "'" +
  6565. ", " +
  6566. "'" +
  6567. _task +
  6568. "'" +
  6569. ", " +
  6570. "'" +
  6571. _tool +
  6572. "'" +
  6573. ", " +
  6574. "'" +
  6575. (str + '_loadLi_JieS' + cid + stage + task + tool + _userid) +
  6576. "'" +
  6577. ", " +
  6578. "'" +
  6579. aTool +
  6580. "'" +
  6581. ", " +
  6582. "`" +
  6583. text +
  6584. "`" +
  6585. ")\n" +
  6586. " });\n" +
  6587. "}\n" +
  6588. "document.head.appendChild(_js);\n";
  6589. _iframe.contentWindow.document.head.appendChild(_ajs);
  6590. }
  6591. }
  6592. //U.MD.D.I.openClick(str);
  6593. //如果有任務欄信息
  6594. // if (_taskbar) {
  6595. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6596. // }
  6597. }
  6598. U.MD.D.I.openApplicationJieStudio = function (str, cid, stage, task, tool) {
  6599. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6600. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6601. _userinfo = US.userInfo, //登錄用戶信息
  6602. _userid = US.userInfo.userid //登錄用戶id
  6603. let _iframe;
  6604. let _cid = cid,
  6605. _stage = stage,
  6606. _task = task,
  6607. _tool = tool;
  6608. var _jie = $$("div", {
  6609. "style": {
  6610. "position": "absolute",
  6611. "bottom": "50px",
  6612. "right": "50px",
  6613. "zIndex": "9999",
  6614. "backgroundColor": "#2268bc",
  6615. "color": "#fff",
  6616. "padding": "12px 20px",
  6617. "cursor": "pointer",
  6618. "borderRadius": "4px",
  6619. },
  6620. "innerHTML": "確認並提交"
  6621. })
  6622. let aTool = ''
  6623. let _loading = document.createElement('div')
  6624. _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;"
  6625. // _loading.id = "";
  6626. let _lchild = document.createElement('div')
  6627. let _limg = document.createElement('img')
  6628. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6629. _limg.style = "width: 26px;margin-right: 10px;"
  6630. _lchild.appendChild(_limg)
  6631. let _lspan = document.createElement('span')
  6632. _lspan.innerHTML = "上傳中..."
  6633. _lchild.appendChild(_lspan)
  6634. _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%);"
  6635. _loading.appendChild(_lchild)
  6636. var _box = $$('div', {
  6637. "style": {
  6638. "position": "relative",
  6639. "width": "100%",
  6640. "height": "100%",
  6641. },
  6642. })
  6643. _box.appendChild(_loading)
  6644. _box.id = str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid
  6645. switch (str) {
  6646. case "whiteboard":
  6647. aTool = 1;
  6648. _iframe = $$("iframe", {
  6649. "frameborder": "no",
  6650. "border": "0",
  6651. "scrolling ": "no",
  6652. "style": {
  6653. "cssText": "border:0;width:100%;height:100%"
  6654. },
  6655. "src": "https://iwb.cocorobo.hk/"
  6656. })
  6657. _box.appendChild(_iframe);
  6658. _box.appendChild(_jie);
  6659. _formdiv = new U.UF.UI.form(
  6660. "電子白板",
  6661. _box, {
  6662. "id": "whiteboards" + cid + stage + task + tool,
  6663. "style": {
  6664. "width": "90%",
  6665. "height": "90%",
  6666. "overflow": 'hidden'
  6667. },
  6668. "onresize": function () { }
  6669. }, {
  6670. closecallback: function () { }
  6671. }, {
  6672. "style": {
  6673. "height": "36px"
  6674. }
  6675. }).form; //創建窗體
  6676. _taskbar = {
  6677. "id": str + _formdiv.id,
  6678. "style": {
  6679. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6680. },
  6681. "name": "電子白板",
  6682. "forms": _formdiv,
  6683. "click": function () {
  6684. U.MD.D.I.openApplication(str, obj, info);
  6685. }
  6686. }
  6687. break;
  6688. case "mind":
  6689. aTool = 3;
  6690. _iframe = $$("iframe", {
  6691. "frameborder": "no",
  6692. "border": "0",
  6693. "scrolling ": "no",
  6694. "style": {
  6695. "cssText": "border:0;width:100%;height:100%"
  6696. },
  6697. "src": "/kityminder-editor/dist/index.html"
  6698. });
  6699. _box.appendChild(_iframe);
  6700. _box.appendChild(_jie);
  6701. _formdiv = new U.UF.UI.form(
  6702. "思維導圖",
  6703. _box, { //"/jsmind/example/demo.html"
  6704. "id": "minds" + cid + stage + task + tool,
  6705. "style": {
  6706. "width": "90%",
  6707. "height": "90%",
  6708. "overflow": 'hidden'
  6709. },
  6710. "onresize": function () { }
  6711. }, {
  6712. closecallback: function () { }
  6713. }, {
  6714. "style": {
  6715. "height": "36px"
  6716. }
  6717. }).form; //創建窗體
  6718. _taskbar = {
  6719. "id": str + _formdiv.id,
  6720. "style": {
  6721. "backgroundImage": "url(/img/icon/mindMapping.png)"
  6722. },
  6723. "name": "思維導圖",
  6724. "forms": _formdiv,
  6725. "click": function () {
  6726. U.MD.D.I.openApplication(str, obj, info);
  6727. }
  6728. }
  6729. break;
  6730. case "doc":
  6731. aTool = 6;
  6732. _iframe = $$("iframe", {
  6733. "frameborder": "no",
  6734. "border": "0",
  6735. "scrolling ": "no",
  6736. "style": {
  6737. "cssText": "border:0;width:100%;height:100%"
  6738. },
  6739. "src": "/Office/Word/WordEditArea.htm"
  6740. })
  6741. _box.appendChild(_iframe);
  6742. _box.appendChild(_jie);
  6743. _formdiv = new U.UF.UI.form(
  6744. "協同文檔",
  6745. _box, {
  6746. "id": "docs" + cid + stage + task + tool,
  6747. "style": {
  6748. "width": "90%",
  6749. "height": "90%",
  6750. "overflow": 'hidden'
  6751. },
  6752. "onresize": function () { }
  6753. }, {
  6754. closecallback: function () { }
  6755. }, {
  6756. "style": {
  6757. "height": "36px"
  6758. }
  6759. }).form; //創建窗體
  6760. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  6761. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6762. })
  6763. _taskbar = {
  6764. "id": str + _formdiv.id,
  6765. "style": {
  6766. "backgroundImage": "url(/img/icon/doc.png)"
  6767. },
  6768. "name": "協同文檔",
  6769. "forms": _formdiv,
  6770. "click": function () {
  6771. U.MD.D.I.openApplication(str, obj, info);
  6772. }
  6773. }
  6774. break;
  6775. }
  6776. const script1 = document.createElement("script");
  6777. script1.type = "text/javascript";
  6778. // script1.src = US.Config.bpbl + "/pbl-student-table/dist/js/jquery-3.6.0.min.js";
  6779. script1.src = "https://cloud.cocorobo.hk/js/Common/jquery-3.6.0.min.js";
  6780. const script2 = document.createElement("script");
  6781. script2.type = "text/javascript";
  6782. // script2.src = US.Config.bpbl + "/pbl-student-table/dist/js/aws-sdk-2.235.1.min.js";
  6783. script2.src = "https://cloud.cocorobo.hk/js/Common/aws-sdk-2.235.1.min.js";
  6784. const script3 = document.createElement("script");
  6785. script3.type = "text/javascript";
  6786. script3.charset = "UTF-8";
  6787. script3.src = "https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";
  6788. const script4 = document.createElement("script");
  6789. script4.type = "text/javascript";
  6790. // script4.src = US.Config.bpbl + "/pbl-student-table/dist/js/jietu4.js";
  6791. script4.src = "https://cloud.cocorobo.hk/js/Common/jietu5.js";
  6792. if (_iframe) {
  6793. if (str == 'doc') {
  6794. _iframe = _formdiv.querySelector('iframe')
  6795. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6796. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  6797. _iframe.contentWindow.document.body.appendChild(script1);
  6798. _iframe.contentWindow.document.body.appendChild(script2);
  6799. // _iframe.contentWindow.document.body.appendChild(script3);
  6800. _iframe.contentWindow.document.body.appendChild(script4);
  6801. })
  6802. if (onloadListener) {
  6803. _iframe.contentDocument.location.reload()
  6804. } else {
  6805. _iframe.contentDocument.location.reload()
  6806. }
  6807. } else if (str == 'mind') {
  6808. _iframe = _formdiv.querySelector('iframe')
  6809. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  6810. _iframe.contentWindow.document.body.appendChild(script1);
  6811. _iframe.contentWindow.document.body.appendChild(script2);
  6812. _iframe.contentWindow.document.body.appendChild(script4);
  6813. U.MD.D.I.getContents(cid, stage, task, tool, _userid, '2', _iframe)
  6814. })
  6815. if (onloadListener) {
  6816. _iframe.contentDocument.location.reload()
  6817. } else {
  6818. _iframe.contentDocument.location.reload()
  6819. }
  6820. } else {
  6821. _iframe.onload = () => {
  6822. _iframe.contentWindow.document.body.appendChild(script1);
  6823. _iframe.contentWindow.document.body.appendChild(script2);
  6824. // _iframe.contentWindow.document.body.appendChild(script3);
  6825. _iframe.contentWindow.document.body.appendChild(script4);
  6826. };
  6827. }
  6828. _jie.onclick = async () => {
  6829. let text = ''
  6830. if (aTool == 6) {
  6831. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  6832. } else if (aTool == 3) {
  6833. text = await U.MD.D.I.getEditorContent(_iframe);
  6834. }
  6835. _loading.style.display = 'flex'
  6836. console.log(_loading);
  6837. var _ajs = _iframe.contentWindow.document.createElement("script");
  6838. _ajs.type = "text/javascript";
  6839. _ajs.innerHTML =
  6840. // 'console.log(' + _loading + ');\n' +
  6841. 'var _js = document.createElement("script");\n' +
  6842. '_js.type="text/javascript";\n' +
  6843. '_js.charset="UTF-8";\n' +
  6844. '_js.src="https://cloud.cocorobo.hk/js/Common/html2canvas.min.js";\n' +
  6845. "_js.onload = function(){\n" +
  6846. ' var a = document.getElementsByTagName("img")\n' +
  6847. ' for(var i = 0;i<a.length;i++){a[i].crossOrigin="anonymous"}\n' +
  6848. " html2canvas(document.body,{allowTaint: true,useCORS: true,height: document.body.scrollHeight,windowHeight: document.body.scrollHeight}).then(canvas => {\n" +
  6849. '  var base64Url = canvas.toDataURL("image/png");\n' +
  6850. 'var base64 = "<img src=" + base64Url + " />"\n' +
  6851. 'var file = dataURLtoFile_shishi(base64Url, "截圖")\n' +
  6852. "beforeUpload_shishi(file," +
  6853. "'" +
  6854. _userid +
  6855. "'" +
  6856. ", " +
  6857. "'" +
  6858. _cid +
  6859. "'" +
  6860. ", " +
  6861. "'" +
  6862. _stage +
  6863. "'" +
  6864. ", " +
  6865. "'" +
  6866. _task +
  6867. "'" +
  6868. ", " +
  6869. "'" +
  6870. _tool +
  6871. "'" +
  6872. ", " +
  6873. "'" +
  6874. (str + '_loadLi_JieStudio' + cid + stage + task + tool + _userid) +
  6875. "'" +
  6876. ", " +
  6877. "'" +
  6878. aTool +
  6879. "'" +
  6880. ", " +
  6881. "`" +
  6882. text +
  6883. "`" +
  6884. ")\n" +
  6885. " });\n" +
  6886. "}\n" +
  6887. "document.head.appendChild(_js);\n";
  6888. _iframe.contentWindow.document.head.appendChild(_ajs);
  6889. }
  6890. }
  6891. //U.MD.D.I.openClick(str);
  6892. //如果有任務欄信息
  6893. // if (_taskbar) {
  6894. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  6895. // }
  6896. }
  6897. U.MD.D.I.openApplicationYu = function (str, cid, stage, task, tool) {
  6898. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  6899. _formdiv, //創建任務欄時同時彈出的窗體元素。
  6900. _userinfo = US.userInfo, //登錄用戶信息
  6901. _userid = US.userInfo.userid //登錄用戶id
  6902. let _iframe;
  6903. let _cid = cid,
  6904. _stage = stage,
  6905. _task = task,
  6906. _tool = tool;
  6907. var _jie = $$("div", {
  6908. "style": {
  6909. "position": "absolute",
  6910. "bottom": "50px",
  6911. "right": "50px",
  6912. "zIndex": "9999",
  6913. "backgroundColor": "#2268bc",
  6914. "color": "#fff",
  6915. "padding": "12px 20px",
  6916. "cursor": "pointer",
  6917. "borderRadius": "4px",
  6918. },
  6919. "innerHTML": "上傳模板"
  6920. })
  6921. let aTool = ''
  6922. let _loading = document.createElement('div')
  6923. _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;"
  6924. // _loading.id = "";
  6925. let _lchild = document.createElement('div')
  6926. let _limg = document.createElement('img')
  6927. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  6928. _limg.style = "width: 26px;margin-right: 10px;"
  6929. _lchild.appendChild(_limg)
  6930. let _lspan = document.createElement('span')
  6931. _lspan.innerHTML = "上傳中..."
  6932. _lchild.appendChild(_lspan)
  6933. _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%);"
  6934. _loading.appendChild(_lchild)
  6935. var _box = $$('div', {
  6936. "style": {
  6937. "position": "relative",
  6938. "width": "100%",
  6939. "height": "100%",
  6940. },
  6941. })
  6942. _box.appendChild(_loading)
  6943. _box.id = str + '_loadLi_Yu' + cid + stage + task + tool + _userid
  6944. switch (str) {
  6945. case "whiteboard":
  6946. aTool = 1;
  6947. _iframe = $$("iframe", {
  6948. "frameborder": "no",
  6949. "border": "0",
  6950. "scrolling ": "no",
  6951. "style": {
  6952. "cssText": "border:0;width:100%;height:100%"
  6953. },
  6954. "src": "https://iwb.cocorobo.hk/"
  6955. })
  6956. _box.appendChild(_iframe);
  6957. _box.appendChild(_jie);
  6958. _formdiv = new U.UF.UI.form(
  6959. "電子白板",
  6960. _box, {
  6961. "id": "whiteboards_Yu" + cid + stage + task + tool,
  6962. "style": {
  6963. "width": "90%",
  6964. "height": "90%",
  6965. "overflow": 'hidden'
  6966. },
  6967. "onresize": function () { }
  6968. }, {
  6969. closecallback: function () { }
  6970. }, {
  6971. "style": {
  6972. "height": "36px"
  6973. }
  6974. }).form; //創建窗體
  6975. _taskbar = {
  6976. "id": str + _formdiv.id,
  6977. "style": {
  6978. "backgroundImage": "url(/img/icon/whiteBoard.png)"
  6979. },
  6980. "name": "電子白板",
  6981. "forms": _formdiv,
  6982. "click": function () {
  6983. U.MD.D.I.openApplication(str, obj, info);
  6984. }
  6985. }
  6986. break;
  6987. case "mind":
  6988. aTool = 3;
  6989. _iframe = $$("iframe", {
  6990. "frameborder": "no",
  6991. "border": "0",
  6992. "scrolling ": "no",
  6993. "style": {
  6994. "cssText": "border:0;width:100%;height:100%"
  6995. },
  6996. "src": "/kityminder-editor/dist/index.html"
  6997. });
  6998. _box.appendChild(_iframe);
  6999. _box.appendChild(_jie);
  7000. _formdiv = new U.UF.UI.form(
  7001. "思維導圖",
  7002. _box, { //"/jsmind/example/demo.html"
  7003. "id": "minds_Yu" + cid + stage + task + tool,
  7004. "style": {
  7005. "width": "90%",
  7006. "height": "90%",
  7007. "overflow": 'hidden'
  7008. },
  7009. "onresize": function () { }
  7010. }, {
  7011. closecallback: function () { }
  7012. }, {
  7013. "style": {
  7014. "height": "36px"
  7015. }
  7016. }).form; //創建窗體
  7017. _taskbar = {
  7018. "id": str + _formdiv.id,
  7019. "style": {
  7020. "backgroundImage": "url(/img/icon/mindMapping.png)"
  7021. },
  7022. "name": "思維導圖",
  7023. "forms": _formdiv,
  7024. "click": function () {
  7025. U.MD.D.I.openApplication(str, obj, info);
  7026. }
  7027. }
  7028. break;
  7029. case "doc":
  7030. aTool = 6;
  7031. _iframe = $$("iframe", {
  7032. "frameborder": "no",
  7033. "border": "0",
  7034. "scrolling ": "no",
  7035. "style": {
  7036. "cssText": "border:0;width:100%;height:100%"
  7037. },
  7038. "src": "/Office/Word/WordEditArea.htm"
  7039. })
  7040. _box.appendChild(_iframe);
  7041. _box.appendChild(_jie);
  7042. _formdiv = new U.UF.UI.form(
  7043. "協同文檔",
  7044. _box, {
  7045. "id": "docs_Yu" + cid + stage + task + tool,
  7046. "style": {
  7047. "width": "90%",
  7048. "height": "90%",
  7049. "overflow": 'hidden'
  7050. },
  7051. "onresize": function () { }
  7052. }, {
  7053. closecallback: function () { }
  7054. }, {
  7055. "style": {
  7056. "height": "36px"
  7057. }
  7058. }).form; //創建窗體
  7059. U.UF.DL.iframeLoad($("iframe", _formdiv)[0], function () {
  7060. $("iframe", _formdiv)[0].contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7061. })
  7062. _taskbar = {
  7063. "id": str + _formdiv.id,
  7064. "style": {
  7065. "backgroundImage": "url(/img/icon/doc.png)"
  7066. },
  7067. "name": "協同文檔",
  7068. "forms": _formdiv,
  7069. "click": function () {
  7070. U.MD.D.I.openApplication(str, obj, info);
  7071. }
  7072. }
  7073. break;
  7074. case "CocoPi":
  7075. aTool = 57;
  7076. _iframe = $$("iframe", {
  7077. "allowpaymentrequest": "allowpaymentrequest",
  7078. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7079. "webkitallowfullscreen": "",
  7080. "mozallowfullscreen": "",
  7081. "frameborder": "no",
  7082. "border": "0",
  7083. "scrolling ": "no",
  7084. "style": {
  7085. "cssText": "border:0;width:100%;height:100%"
  7086. },
  7087. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7088. })
  7089. _box.appendChild(_iframe);
  7090. _box.appendChild(_jie);
  7091. _formdiv = new U.UF.UI.form(
  7092. "CocoPi",
  7093. _box, {
  7094. "id": "CocoPi_Yu" + cid + stage + task + tool,
  7095. "style": {
  7096. "width": "90%",
  7097. "height": "90%",
  7098. "overflow": 'hidden'
  7099. },
  7100. "onresize": function () { }
  7101. }, {
  7102. closecallback: function () { }
  7103. }, {
  7104. "style": {
  7105. "height": "36px"
  7106. }
  7107. }).form; //創建窗體
  7108. _taskbar = {
  7109. "id": str + _formdiv.id,
  7110. "style": {
  7111. "backgroundImage": "url(/img/icon/cocopi.png)"
  7112. },
  7113. "name": "CocoPi",
  7114. "forms": _formdiv,
  7115. "click": function () {
  7116. U.MD.D.I.openApplication(str, obj, info);
  7117. }
  7118. }
  7119. break;
  7120. }
  7121. if (_iframe) {
  7122. if (str == 'doc') {
  7123. _iframe = _formdiv.querySelector('iframe')
  7124. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7125. _iframe.contentWindow.U.MD.O.W.load(cid, stage, task, tool, '2');
  7126. })
  7127. if (onloadListener) {
  7128. _iframe.contentDocument.location.reload()
  7129. } else {
  7130. _iframe.contentDocument.location.reload()
  7131. }
  7132. } else if (str == 'mind') {
  7133. _iframe = _formdiv.querySelector('iframe')
  7134. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7135. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '2', _iframe)
  7136. })
  7137. if (onloadListener) {
  7138. _iframe.contentDocument.location.reload()
  7139. } else {
  7140. _iframe.contentDocument.location.reload()
  7141. }
  7142. } else if (str == 'whiteboard') {
  7143. _iframe = _formdiv.querySelector('iframe')
  7144. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7145. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '3', _iframe)
  7146. })
  7147. if (onloadListener) {
  7148. _iframe.contentDocument.location.reload()
  7149. } else {
  7150. _iframe.contentDocument.location.reload()
  7151. }
  7152. } else if (str == 'CocoPi') {
  7153. _iframe = _formdiv.querySelector('iframe')
  7154. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7155. U.MD.D.I.getContents2(cid, stage, task, tool, _userid, '4', _iframe)
  7156. })
  7157. if (onloadListener) {
  7158. _iframe.contentDocument.location.reload()
  7159. } else {
  7160. _iframe.contentDocument.location.reload()
  7161. }
  7162. } else {
  7163. _iframe.onload = () => { };
  7164. }
  7165. _jie.onclick = async () => {
  7166. let text = ''
  7167. let type = '2'
  7168. if (aTool == 1) {
  7169. text = JSON.stringify(_iframe.contentWindow.h.app.scene.elements)
  7170. type = '3'
  7171. } else if (aTool == 6) {
  7172. text = _iframe.contentWindow.$("#U_MD_O_H_wordEditor")[0].innerHTML.escapeQuotes()
  7173. type = '1'
  7174. } else if (aTool == 3) {
  7175. text = await U.MD.D.I.getEditorContent(_iframe);
  7176. type = '2'
  7177. } else if (aTool == 57) {
  7178. text = encodeURIComponent(_iframe.contentWindow.getLoadXmlStr())
  7179. type = '4'
  7180. }
  7181. _loading.style.display = 'flex'
  7182. U.MD.D.I.setContents(_cid, _stage, _task, _tool, _userid, type, text, _loading, _lspan)
  7183. }
  7184. }
  7185. //U.MD.D.I.openClick(str);
  7186. //如果有任務欄信息
  7187. // if (_taskbar) {
  7188. // U.MD.D.T.taskbar(_taskbar); //創建任務處理
  7189. // }
  7190. }
  7191. U.MD.D.I.getContents = function (cid, s, task, t, uid, type, iframe) {
  7192. var xmlhttp;
  7193. var Mac, Sn, DeviceId
  7194. if (window.XMLHttpRequest) {
  7195. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7196. xmlhttp = new XMLHttpRequest();
  7197. }
  7198. else {
  7199. // IE6, IE5 瀏覽器執行代碼
  7200. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7201. }
  7202. xmlhttp.onreadystatechange = function () {
  7203. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7204. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7205. // resolve(res.value[0][0].text);
  7206. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7207. }
  7208. }
  7209. }
  7210. xmlhttp.open("GET", US.Config.pbl + "selectWords?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7211. xmlhttp.send();
  7212. }
  7213. U.MD.D.I.getContents2 = function (cid, s, task, t, uid, type, iframe) {
  7214. var xmlhttp;
  7215. var Mac, Sn, DeviceId
  7216. if (window.XMLHttpRequest) {
  7217. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7218. xmlhttp = new XMLHttpRequest();
  7219. }
  7220. else {
  7221. // IE6, IE5 瀏覽器執行代碼
  7222. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7223. }
  7224. xmlhttp.onreadystatechange = function () {
  7225. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7226. if (xmlhttp.response && JSON.parse(xmlhttp.response)[0].length > 0) {
  7227. // resolve(res.value[0][0].text);
  7228. if (type == '2') {
  7229. iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text)
  7230. } else if (type == '3') {
  7231. iframe.contentWindow.h.app.updateScene({ elements: JSON.parse(JSON.parse(xmlhttp.response)[0][0].text) })
  7232. } else if (type == '4') {
  7233. iframe.contentWindow.loadingXml(JSON.parse(xmlhttp.response)[0][0].text)
  7234. }
  7235. } else {
  7236. if (type == '2') {
  7237. iframe.contentWindow.editor.minder.importData('json', '')
  7238. } else if (type == '3') {
  7239. iframe.contentWindow.h.app.updateScene({ elements: [] })
  7240. } else if (type == '4') {
  7241. iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7242. }
  7243. }
  7244. }
  7245. }
  7246. xmlhttp.open("GET", US.Config.pbl + "selectWordsY?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&type=" + type, true);
  7247. xmlhttp.send();
  7248. }
  7249. U.MD.D.I.setContents = function (cid, s, task, t, uid, type, text, loading, span) {
  7250. var xmlhttp;
  7251. var Mac, Sn, DeviceId
  7252. if (window.XMLHttpRequest) {
  7253. // IE7+, Firefox, Chrome, Opera, Safari 瀏覽器執行代碼
  7254. xmlhttp = new XMLHttpRequest();
  7255. }
  7256. else {
  7257. // IE6, IE5 瀏覽器執行代碼
  7258. xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  7259. }
  7260. xmlhttp.onreadystatechange = function () {
  7261. if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
  7262. if (xmlhttp.response) {
  7263. // resolve(res.value[0][0].text);
  7264. // iframe.contentWindow.editor.minder.importData('json', JSON.parse(xmlhttp.response)[0][0].text).then(function (data) {
  7265. // $(fileInput).val('');
  7266. // });
  7267. span.innerHTML = '上傳成功'
  7268. setTimeout(() => {
  7269. loading.style.display = 'none'
  7270. }, 1000);
  7271. }
  7272. }
  7273. }
  7274. // xmlhttp.open("GET", US.Config.pbl + "insertWord2y?uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t+ "&text=" + text + "&type=" + type, true);
  7275. xmlhttp.open("POST", US.Config.pbl + "insertWord2y", true);
  7276. // xmlhttp.open("POST", "http://localhost:7003/api/pbl/" + "insertWord2y", true);
  7277. xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
  7278. // 設置請求頭,表示請求體的編碼格式
  7279. xmlhttp.send("uid=" + uid + "&cid=" + cid + "&s=" + s + "&task=" + task + "&t=" + t + "&text=" + text.replaceAll(/%/g, "%25") + "&type=" + type);
  7280. // 設置請求體,使用url-encoded格式的數據
  7281. }
  7282. U.MD.D.I.openApplicationUpload = function (str, cid, stage, task, tool) {
  7283. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7284. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7285. _userinfo = US.userInfo, //登錄用戶信息
  7286. _userid = US.userInfo.userid //登錄用戶id
  7287. let _iframe;
  7288. let _cid = cid,
  7289. _stage = stage,
  7290. _task = task,
  7291. _tool = tool;
  7292. var _jie = $$("div", {
  7293. "style": {
  7294. "position": "absolute",
  7295. "bottom": "50px",
  7296. "right": "50px",
  7297. "zIndex": "9999",
  7298. "backgroundColor": "#2268bc",
  7299. "color": "#fff",
  7300. "padding": "12px 20px",
  7301. "cursor": "pointer",
  7302. "borderRadius": "4px",
  7303. },
  7304. "innerHTML": "提交作業"
  7305. })
  7306. let aTool = ''
  7307. let _loading = document.createElement('div')
  7308. _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;"
  7309. // _loading.id = "";
  7310. let _lchild = document.createElement('div')
  7311. let _limg = document.createElement('img')
  7312. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7313. _limg.style = "width: 26px;margin-right: 10px;"
  7314. _lchild.appendChild(_limg)
  7315. let _lspan = document.createElement('span')
  7316. _lspan.innerHTML = "上傳中..."
  7317. _lchild.appendChild(_lspan)
  7318. _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%);"
  7319. _loading.appendChild(_lchild)
  7320. var _box = $$('div', {
  7321. "style": {
  7322. "position": "relative",
  7323. "width": "100%",
  7324. "height": "100%",
  7325. },
  7326. })
  7327. _box.appendChild(_loading)
  7328. _box.id = str + '_loadLi_Upload' + cid + stage + task + tool + _userid
  7329. switch (str) {
  7330. case "CocoPi":
  7331. aTool = 57;
  7332. _iframe = $$("iframe", {
  7333. "allowpaymentrequest": "allowpaymentrequest",
  7334. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7335. "webkitallowfullscreen": "",
  7336. "mozallowfullscreen": "",
  7337. "frameborder": "no",
  7338. "border": "0",
  7339. "scrolling ": "no",
  7340. "style": {
  7341. "cssText": "border:0;width:100%;height:100%"
  7342. },
  7343. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7344. })
  7345. _box.appendChild(_iframe);
  7346. _box.appendChild(_jie);
  7347. _formdiv = new U.UF.UI.form(
  7348. "CocoPi",
  7349. _box, {
  7350. "id": "CocoPi_Upload" + cid + stage + task + tool,
  7351. "style": {
  7352. "width": "90%",
  7353. "height": "90%",
  7354. "overflow": 'hidden'
  7355. },
  7356. "onresize": function () { }
  7357. }, {
  7358. closecallback: function () { }
  7359. }, {
  7360. "style": {
  7361. "height": "36px"
  7362. }
  7363. }).form; //創建窗體
  7364. _taskbar = {
  7365. "id": str + _formdiv.id,
  7366. "style": {
  7367. "backgroundImage": "url(/img/icon/cocopi.png)"
  7368. },
  7369. "name": "CocoPi",
  7370. "forms": _formdiv,
  7371. "click": function () {
  7372. U.MD.D.I.openApplication(str, obj, info);
  7373. }
  7374. }
  7375. break;
  7376. }
  7377. if (_iframe) {
  7378. if (str == 'CocoPi') {
  7379. _iframe = _formdiv.querySelector('iframe')
  7380. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7381. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7382. })
  7383. if (onloadListener) {
  7384. _iframe.contentDocument.location.reload()
  7385. } else {
  7386. _iframe.contentDocument.location.reload()
  7387. }
  7388. }
  7389. _jie.onclick = async () => {
  7390. let text = ''
  7391. if (aTool == 57) {
  7392. text = _iframe.contentWindow.getLoadXmlStr()
  7393. }
  7394. _loading.style.display = 'flex'
  7395. console.log(_loading);
  7396. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7397. _loading.style.display = 'none'
  7398. let _div = document.createElement('div')
  7399. _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;"
  7400. let _inner = document.createElement('div')
  7401. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7402. _inner.innerHTML = "上傳成功"
  7403. _div.appendChild(_inner)
  7404. _iframe.contentWindow.window.document.body.appendChild(_div)
  7405. _div.onclick = () => {
  7406. _iframe.contentWindow.window.document.body.removeChild(_div)
  7407. }
  7408. setTimeout(() => {
  7409. _iframe.contentWindow.window.document.body.removeChild(_div)
  7410. }, 1000);
  7411. }, [], { "type": "POST", "withCredentials": true });
  7412. }
  7413. }
  7414. }
  7415. U.MD.D.I.openApplicationTeacherUpload = function (str, cid, stage, task, tool, student) {
  7416. var _taskbar, //_taskbar 作為任務欄顯示的元素,包含圖標和名字
  7417. _formdiv, //創建任務欄時同時彈出的窗體元素。
  7418. _userid = student.userid, //登錄用戶id
  7419. _username = student.student //用戶名字
  7420. let _iframe;
  7421. let _cid = cid,
  7422. _stage = stage,
  7423. _task = task,
  7424. _tool = tool;
  7425. var _jie = $$("div", {
  7426. "style": {
  7427. "position": "absolute",
  7428. "bottom": "50px",
  7429. "right": "50px",
  7430. "zIndex": "9999",
  7431. "backgroundColor": "#2268bc",
  7432. "color": "#fff",
  7433. "padding": "12px 20px",
  7434. "cursor": "pointer",
  7435. "borderRadius": "4px",
  7436. },
  7437. "innerHTML": "提交作業"
  7438. })
  7439. let aTool = ''
  7440. let _loading = document.createElement('div')
  7441. _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;"
  7442. // _loading.id = "";
  7443. let _lchild = document.createElement('div')
  7444. let _limg = document.createElement('img')
  7445. _limg.src = US.Config.bpbl + '/pbl-student-table/dist/js/loading.gif'
  7446. _limg.style = "width: 26px;margin-right: 10px;"
  7447. _lchild.appendChild(_limg)
  7448. let _lspan = document.createElement('span')
  7449. _lspan.innerHTML = "上傳中..."
  7450. _lchild.appendChild(_lspan)
  7451. _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%);"
  7452. _loading.appendChild(_lchild)
  7453. var _box = $$('div', {
  7454. "style": {
  7455. "position": "relative",
  7456. "width": "100%",
  7457. "height": "100%",
  7458. },
  7459. })
  7460. _box.appendChild(_loading)
  7461. _box.id = str + '_loadLi_TeacherUpload' + cid + stage + task + tool + _userid
  7462. switch (str) {
  7463. case "CocoPi":
  7464. aTool = 57;
  7465. _iframe = $$("iframe", {
  7466. "allowpaymentrequest": "allowpaymentrequest",
  7467. "allow": "camera *; microphone *;display-capture;midi;encrypted-media;usb",
  7468. "webkitallowfullscreen": "",
  7469. "mozallowfullscreen": "",
  7470. "frameborder": "no",
  7471. "border": "0",
  7472. "scrolling ": "no",
  7473. "style": {
  7474. "cssText": "border:0;width:100%;height:100%"
  7475. },
  7476. "src": "https://pi.cocorobo.hk/?lang=zh-hant"
  7477. })
  7478. _box.appendChild(_iframe);
  7479. _box.appendChild(_jie);
  7480. _formdiv = new U.UF.UI.form(
  7481. "CocoPi-" + _username,
  7482. _box, {
  7483. "id": "CocoPi_TeacherUpload" + cid + stage + task + tool + _userid,
  7484. "style": {
  7485. "width": "90%",
  7486. "height": "90%",
  7487. "overflow": 'hidden'
  7488. },
  7489. "onresize": function () { }
  7490. }, {
  7491. closecallback: function () { }
  7492. }, {
  7493. "style": {
  7494. "height": "36px"
  7495. }
  7496. }).form; //創建窗體
  7497. _taskbar = {
  7498. "id": str + _formdiv.id,
  7499. "style": {
  7500. "backgroundImage": "url(/img/icon/cocopi.png)"
  7501. },
  7502. "name": "CocoPi",
  7503. "forms": _formdiv,
  7504. "click": function () {
  7505. U.MD.D.I.openApplication(str, obj, info);
  7506. }
  7507. }
  7508. break;
  7509. }
  7510. if (_iframe) {
  7511. if (str == 'CocoPi') {
  7512. _iframe = _formdiv.querySelector('iframe')
  7513. let onloadListener = U.UF.DL.iframeLoad(_iframe, function () {
  7514. U.MD.D.I.getUploadContent(cid, stage, task, tool, _userid, aTool, '15', _iframe)
  7515. })
  7516. if (onloadListener) {
  7517. _iframe.contentDocument.location.reload()
  7518. } else {
  7519. _iframe.contentDocument.location.reload()
  7520. }
  7521. }
  7522. _jie.onclick = async () => {
  7523. let text = ''
  7524. if (aTool == 57) {
  7525. text = _iframe.contentWindow.getLoadXmlStr()
  7526. }
  7527. _loading.style.display = 'flex'
  7528. console.log(_loading);
  7529. U.A.Request(US.Config.pbl + "addCourseWorks4-u", [_userid, _cid, _stage, _task, _tool, text.replaceAll(/%/g, "%25"), 15, aTool, text], function (res) {
  7530. _loading.style.display = 'none'
  7531. let _div = document.createElement('div')
  7532. _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;"
  7533. let _inner = document.createElement('div')
  7534. _inner.style = "color: #fff;padding: 15px;background: #00000070;border-radius: 5px;font-size: 18px;"
  7535. _inner.innerHTML = "上傳成功"
  7536. _div.appendChild(_inner)
  7537. _iframe.contentWindow.window.document.body.appendChild(_div)
  7538. _div.onclick = () => {
  7539. _iframe.contentWindow.window.document.body.removeChild(_div)
  7540. }
  7541. setTimeout(() => {
  7542. _iframe.contentWindow.window.document.body.removeChild(_div)
  7543. }, 1000);
  7544. }, [], { "type": "POST", "withCredentials": true });
  7545. }
  7546. }
  7547. }
  7548. U.MD.D.I.getUploadContent = function (cid, s, task, t, uid, atool, type, iframe) {
  7549. U.A.Request(US.Config.pbl + "selectWorksDetail2u", [uid, cid, s, task, t, type, atool], function (res) {
  7550. if (res.value[0].length > 0) {
  7551. if (atool == 57) {
  7552. iframe.contentWindow.loadingXml(res.value[0][0].content)
  7553. }
  7554. } else {
  7555. if (atool == 57) {
  7556. U.MD.D.I.getContents2(cid, s, task, t, uid, '4', iframe)
  7557. // iframe.contentWindow.window.blockpy.components.editor.blockly.clear();
  7558. }
  7559. }
  7560. }, [], { "type": "POST", "withCredentials": true });
  7561. }